Граф коммитов

1059 Коммитов

Автор SHA1 Сообщение Дата
Jason Blais
ae79fabf4b Fix bad merge from #4130 (#4196) 2016-10-11 08:45:15 -04:00
Jason Blais
fe1503d9e7 Add text banner to SAML System Console settings (#4195)
* Update saml_settings.jsx

* Update en.json

* Text tweak

* Fix build error

* Use classnames in saml_settings.jsx to fix build errors
2016-10-11 08:44:46 -04:00
Harrison Healey
7fb818d4ce PLT-3105 Fixed bugs with FileInfos migration, including duplicate FileInfos being saved (#4134)
* Added a limit to GetByPath for the rare cases when two old files had the same path

* Fixed files still being displayed for deleted posts

* Added a lock to prevent migrateFilenamesToFileInfos from migrating multiple posts at once
2016-10-06 17:44:41 -03:00
Brendan Bowidas
c9793a566a PLT-3252 Bring up profile popover after clicking on a profile picture… (#4144)
* PLT-3252 Bring up profile popover after clicking on a profile picture in a channel

* PLT-3252 Bring up profile popover after clicking on a profile picture in a channel

remove important

* fixed 'Cannot read property first_name of undefined' bug

* fix status indicator position

* refactoring per request
2016-10-06 17:43:53 -03:00
Asaad Mahmood
d67b2b4832 Minor bug fixes (#4172) 2016-10-06 17:42:08 -03:00
lfbrock
ba3c6d909a Text change to About dialog (#4166)
* Update about_build_modal.jsx

* Update en.json
2016-10-05 18:45:22 -07:00
William Gathoye
968d890a76 Fix usage of example (e.g. vs Ex) abbreviations (#4136) 2016-10-05 18:43:04 -07:00
Yusuke Nemoto
26099d89e9 PLT-3487 Preview uploaded txt file (#4145)
* fix filename

* Add 'txt' to hilighted language
2016-10-05 10:34:03 -03:00
Harrison Healey
816a738d28 PLT-4343 Fixes for mobile main menu (#4148)
* Fixed mobile app link in the main menu to be displayed on mobile browsers

* Fixed doubled up dividers in mobile menu

* Added scrolling to mobile main menu
2016-10-04 14:38:19 -04:00
enahum
b9dc759449 translations PR 20160929 (#4123) 2016-10-04 14:37:05 -04:00
Harrison Healey
f92cf34307 PLT-3907 Added a javascript library to prevent the <body> from scrolling on iOS (#4147)
* Added a javascript library to prevent the <body> from scrolling on iOS

* Added iNoBounce to NOTICE.txt
2016-10-04 14:36:47 -04:00
Jared Shields
3bac3a0061 Updated make files/scripts to accomodate execution/building in windows in addition to linux/mac (#4135) 2016-10-04 08:56:01 -04:00
David Lu
38c34017a3 PLT-4200/3708 Fixed outside team DM switching, allowed switching to uncreated DMs (#4111)
* Fixed outside team DM switching, allowed switching to uncreated DMs

* Update channel_switch_modal.jsx
2016-10-04 08:49:57 -04:00
David Lu
2dd666cb8a PLT-4234 Sorted channels in LHS numerically, alphabetically, and based on locale (#4110)
* Sorted channels in LHS numerically, alphabetically, and based on locale

* Choose case based on locale
2016-10-04 08:48:42 -04:00
Christopher Speller
8f91c77755 Adding ability to serve TLS directly from Mattermost server (#4119) 2016-10-03 16:03:15 -04:00
Jason Blais
5f8e5c401b Change "Max Burst" to "Maximum Burst Size" (#4130)
* Update en.json

* Update rate_settings.jsx

* Update en.json
2016-10-03 09:04:38 -04:00
Harrison Healey
8a0e649f98 PLT-3105 Files table migration (#4068)
* Implemented initial changes for files table

* Removed *_benchmark_test.go files

* Re-implemented GetPublicFile and added support for old path

* Localization for files table

* Moved file system code into utils package

* Finished server-side changes and added initial upgrade script

* Added getPostFiles api

* Re-add Extension and HasPreviewImage fields to FileInfo

* Removed unused translation

* Fixed merge conflicts left over after permissions changes

* Forced FileInfo.extension to be lower case

* Changed FileUploadResponse to contain the FileInfos instead of FileIds

* Fixed permissions on getFile* calls

* Fixed notifications for file uploads

* Added initial version of client code for files changes

* Permanently added FileIds field to Post object and removed Post.HasFiles

* Updated PostStore.Update to be usable in more circumstances

* Re-added Filenames field and switched file migration to be entirely lazy-loaded

* Increased max listener count for FileStore

* Removed unused fileInfoCache

* Moved file system code back into api

* Removed duplicate test case

* Fixed unit test running on ports other than 8065

* Renamed HasPermissionToPostContext to HasPermissionToChannelByPostContext

* Refactored handleImages to make it more easily understandable

* Renamed getPostFiles to getFileInfosForPost

* Re-added pre-FileIds posts to analytics

* Changed files to be saved as their ids as opposed to id/filename.ext

* Renamed FileInfo.UserId to FileInfo.CreatorId

* Fixed detection of language in CodePreview

* Fixed switching between threads in the RHS not loading new files

* Add serverside protection against a rare bug where the client sends the same file twice for a single post

* Refactored the important parts of uploadFile api call into a function that can be called without a web context
2016-09-30 11:06:30 -04:00
Harrison Healey
a2deeed597 Fixed the YouTube link regex referencing removed capture groups (#4129) 2016-09-30 10:59:41 -04:00
George Goldberg
29a3706ec3 PLT-4307 - fix !channel link hrefs. (#4122)
* PLT-4307 - fix !channel link hrefs.

* Fix style.
2016-09-30 10:19:00 -03:00
Christopher Speller
49c6b42d38 Fixing manage members dialog not opening (#4128) 2016-09-30 10:18:10 -03:00
lfbrock
a2516743f3 Update LDAP help text (#4124)
* Update ldap_settings.jsx

* Update en.json
2016-09-30 09:15:07 -04:00
Harrison Healey
13bd14d626 Added spinner icon to select_team listing after clicking on a team to load (#4120) 2016-09-30 07:26:52 -04:00
Asaad Mahmood
d42eb46133 Multiple UI Improvements (#4117) 2016-09-29 12:58:14 -04:00
Harrison Healey
53ba8ec9c2 Renamed NavbarDropdown to SidebarHeaderDropdown and switched it to react-bootstrap (#4109) 2016-09-29 10:58:30 -04:00
lfbrock
ac6ae23c8e Add 'm.youtube.com/...' to be recognized as a YouTube link in the embedded post content. (#4114) 2016-09-29 09:56:50 -04:00
Harrison Healey
d298e99d9b Made SuggestionBox take back keyboard focus after the user clicks on a suggestion (#4112) 2016-09-28 19:35:13 -03:00
Joram Wilander
b666ef6254 Show statuses correctly for cached post views (#4094) 2016-09-28 14:00:53 -04:00
Jason Blais
40c0a85b2d Specify WebRTC calls available on Chrome, Firefox and Desktop Apps (#4107)
* Update webrtc_settings.jsx

* Update en.json
2016-09-28 08:50:39 -04:00
enahum
45ca052482 PLT-4298 Remove "Return to ongoing call" (#4101) 2016-09-28 08:48:19 -04:00
Joram Wilander
5288255ca3 Fix missing confirm password error on LDAP claim page (#4099) 2016-09-28 08:47:27 -04:00
Joram Wilander
e5cf22bc98 Show create account link for office365, ldap and saml (#4098) 2016-09-28 08:46:59 -04:00
Joram Wilander
b640114edd Check if user logged in before making setActiveChannel request (#4097) 2016-09-28 08:43:22 -04:00
enahum
60347559c7 PLT-3734 Cleaning up shouldSendEvent function (#4024)
* PLT-3734 Cleaning up shouldSendEvent function

* Fix LHS unread highlight and jewel mentions
2016-09-27 10:19:50 -04:00
Christopher Speller
7fcc004beb Modifications to rate limiting settings. (#4091) 2016-09-26 09:56:12 -07:00
Asaad Mahmood
dff985a924 Multiple UI Improvements (#4069)
Minor contast fix for file uploading text.

Updating icon markup

Fixing icon for mentions

Removing irrelevant characters

Updating closing tag for mentions icon
2016-09-26 11:21:37 -04:00
Christopher Speller
93f2b6a833 Updating ESLint (#4085) 2016-09-23 12:29:54 -04:00
Christopher Speller
214f9c13a2 Updating client dependancies (#4083) 2016-09-23 10:22:35 -04:00
Christopher Speller
6d62d65b2d Fixing build failure caused by dependancies updating (#4076) 2016-09-22 17:26:28 -04:00
Christopher Speller
efdb0dfa0b Fixing update roles API (#4060) 2016-09-22 08:31:38 -04:00
David Lu
f7297d5a31 Fixed ALT+SHIFT+UP breaking ALT+UP (#4042) 2016-09-21 07:18:28 -04:00
enahum
33e20b874e PLT-4202 fix javascript error manage OAuth2 apps (#4039)
* PLT-4202 fix javascript error manage OAuth2 apps

* Fix unit tests
2016-09-20 12:02:08 -04:00
enahum
f8108efe35 PLT-3338 Show username on Direct message search result (#4041) 2016-09-20 12:00:21 -04:00
Harrison Healey
e455bee39f PLT-4096 Fixed highlighting of hashtags in search (#4043)
* PLT-4096 Fixed highlighting of hashtags in search

* Added unit tests for hashtag rendering on the client
2016-09-20 11:59:42 -04:00
enahum
b072fdb23f PLT-4239 fixes getUserMedia (#4038) 2016-09-20 11:58:39 -04:00
Jason Blais
0157e613bd Add a link to OAuth 2 docs in help texts (#4034)
* Update installed_oauth_apps.jsx

* Update custom_integrations_settings.jsx

* Update confirm_integration.jsx

* Update installed_oauth_apps.jsx

* Update en.json

* Change FormattedMessage to FormattedHTMLMessage

* Fix proper coding of links in en.json

* Update en.json
2016-09-19 21:00:07 -07:00
Yi EungJun
bb69e98631 PLT-4182 Fix incorrect listing for at-mention in comment (#4031)
* Add missing eol

* PLT-4182 Fix incorrect listing for at-mention in comment

Suggestion box for at-mention listed users for the center channel even
if the current textbox is for reply for a post which belongs to a
different channel.
2016-09-19 17:41:19 -04:00
Asaad Mahmood
80b2ce9c3f Minor UI Improvements (#4033) 2016-09-19 09:40:38 -03:00
George Goldberg
8443ca5828 PLT-1759 - Auto-complete for !channels when posting messages. (#3890)
* Auto-complete for !channels when posting messages.

This is part 1 of the fix for PLT-1759 to make channels linkable.

Still to do:
- Make the !channels clickable when they appear in messages. This is
  blocked until PR #3865 is resolved as it looks like that refactors
  some of the code that would be touched by making this change.

- Unit tests. Again, I think the above referenced PR should be merged
  before tackling this.

* Fix style problems.

* Highlighting of !channel-names in messages.

This only identifies the !channel-name (not the display name). The
implementation of the auto-complete on channel names now needs to be
modified to convert to the channel handle before sending the message.

* Display !channel-name as !Display Name.

When we encounter !channel-name in a message, display it as a link using
the channel's actual name rather than it's handle (name).

* Match on names and display name, and use name.

* Autocomplete channels matching on both the name and the the display
  name.
* Use the name as the text we fill in instead of the display name. It's
  potentially a bit ugly, but it minimises complexity for now as
  otherwise we'd have to do complicated things to the message box.

* Fix style issues.

* Load more channels everywhere.

Whenever we load the list of channels, we should also load the list of
more channels. This is to enable auto-completing and auto-linking of all
channels whether or not the user is in them currently.

* Include more channels in the map for linking.

* Listen for channel list updates for autolinking.

* Remove accidental console.log.

* Autocomplete on more channels too.

* i18n for channel autocomplete.

* Link directly to channels in !channel mentions.

This currently does not work if you aren't a member of that channel.
Need to decide what the correct behaviour is in that case.

* Fix style issues.

* Show channel name and handle in suggestion.

* Match channels only at start or after space.

* Better matching in text-formatting.

Only match channels after a space-type character or at the start in the
posts list too.

* Move the route construction to make tests work.

Moves route-construction out of text_formatting.jsx and into utils.jsx
so that the unit tests work once again.
2016-09-19 08:21:22 -04:00
enahum
781ff323db Webrtc client side (#4026)
* WebRTC Server side

* WebRTC client side

* Bug fixes and improvements

* Pushing UI improvements for webrtc (#3728)

* Pushing UI improvements for webrtc

* Updating webrtc css

* PLT-3943 WebRTC P1: bug fixes and improvements

* Video resolution set to std, reduce volume of ringtone and flip video horizontally

* Fix calling a user B while WebRTC RHS is still opened

* Leave RHS opened when call ends, Fix isBusy on popover and channel_header

* Fix pre-release feature, RHS & System Console

* PLT-3945 - Updating UI for webrtc (#3908)

* PLT-3943 Webrtc p1

* Add ongoing call indicator when RHS is opened

* UI updates to to webrtc notifcation (#3959)
2016-09-16 15:35:13 -03:00
William Gathoye
df2d61d941 Switch to right-hand sidebar statement instead of the acronym RHS nobody knows about (#4008) 2016-09-16 09:18:56 -03:00