Commit Graph

7154 Commits

Author SHA1 Message Date
Jason Blais
db56771344 Fix incorrect id + typos in en.json (#4157) 2016-10-05 10:25:36 -04: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
George Goldberg
cd5bf7cb5a Correctly import Slack topic and purpose. (#4152)
In order to maintain consistency with how topic and purpose are used in
Slack, the mapping is as follows:

Slack   -> Mattermost
=====      ==========
Purpose -> Purpose
Topic   -> Header
2016-10-05 08:14:36 -04: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
George Goldberg
1a5a624470 Fix import of Slack file_comment messages. (#4132)
At the moment, the importer fails to parse the JSON of these types of
message, and so ignores them.

This fix means they are now parsed and imported just as if they were
standalone messages (not file comments), which is better, and what the
existing code clearly intended to happen.

For the future, they should probably be changed to be imported as
replies to the message with the file attached that they are commenting
on.

Fixes #4131.
2016-10-04 08:51:38 -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
fc54aececc Added a short wait to TestSetActiveChannel to stop randomly failing tests (#4115)
* Added a short wait to TestSetActiveChannel to stop randomly failing tests

* Increased the timeout in TestWebSocketEvent
2016-09-29 12:57:37 -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
caeadde2f2 PLT-4155 Show correct login method in system console (#4102)
* PLT-4155 Show correct login method in system console

* Remove checking for system admin privileges in getProfiles
2016-09-28 08:49:54 -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
Corey Hulen
bfca752940 Fixing the console level debug statements (#4092) 2016-09-27 11:07:32 -03:00
Christopher Speller
667db6e10c Cleaning up some old code from the permissions system change (#4090) 2016-09-26 13:41: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
David Lu
b39d903f63 changed user diagnostic naming (#4086) 2016-09-26 10:55:29 -04:00
Ryan Wang
1479c4a2ca Message is displayed when user joins Off_Topic (#4067) 2016-09-26 07:47:17 -04:00
Arif Usman
6a59913609 Removed duplicate code (#4082) 2016-09-26 07:45:46 -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
George Goldberg
90f113dcda Add Slack Import functionality to CLI. (#4080)
* Add Slack Import functionality to CLI.

* Remove pointless line.
2016-09-23 10:22:28 -04:00
Christopher Speller
2ca0e8f9a0 Updating golang dependancies (#4075) 2016-09-23 10:17:51 -04:00
Christopher Speller
6d62d65b2d Fixing build failure caused by dependancies updating (#4076) 2016-09-22 17:26:28 -04:00
Joram Wilander
353761b917 Fix TestSetActiveChannel unit test (#4071) 2016-09-22 16:59:33 -04:00
Christopher Speller
efdb0dfa0b Fixing update roles API (#4060) 2016-09-22 08:31:38 -04:00
George Goldberg
de79343b9a Fix !channel linking in Slack import. (#4065)
Original version of the patch didn't take into account that, like with
@mentions, there's an "old" and a "new" format in the Slack export files
for channel mentions. This version imports both correctly.
2016-09-21 15:17:48 -03:00
Corey Hulen
185387e277 Fixing build break (#4063) 2016-09-21 10:36:38 -07:00
Corey Hulen
1b7e12caa5 Fixing make file so you can build linx on mac easily (#4058) 2016-09-21 07:59:11 -04:00
David Lu
f7297d5a31 Fixed ALT+SHIFT+UP breaking ALT+UP (#4042) 2016-09-21 07:18:28 -04:00
Corey Hulen
fc5df5c435 Fix issue when saving session has an error (#4053)
* Fix issue is saving session has an error

* Fixing break break
2016-09-21 07:17:58 -04:00