summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Config to make town square read only (#7140)David Meza2017-09-0111-14/+130
| | | | | | | | | | | | | | | | | | | | | | * Be able to make Town Square read-only (Disable typing messages for non admins). * Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square. * Add unit tests for TownSquareIsReadOnly config value and logic. * Add TownSquareIsReadOnly to System console>Policy. Added Telemetry. * Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20. * Update en.json * Update en.json * Update policy_settings.jsx * Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly. * Refactored to simplify. Avoid code repeat and multiple db calls.
* PLT-7496 Add missing telemetry for a few config settings (#7318)Jason Blais2017-09-011-0/+4
| | | | | | * Update diagnostics.go * Fix
* Implement experimental REST API endpoints for plugins (#7279)Joram Wilander2017-09-0128-76/+965
| | | | | | | | | | | | | | | | | | * Implement experimental REST API endpoints for plugins * Updates per feedback and rebase * Update tests * Further updates * Update extraction of plugins * Use OS temp dir for plugins instead of search path * Fail extraction on paths that attempt to traverse upward * Update pluginenv ActivePlugins()
* PLT-3893: Structured Logging Continues (#7252)Jonathan2017-08-316-12/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3893: Imported logger work from https://github.com/MusikPolice/platform * PLT-3893: Integrated logger with system config * PLT-3893: Integrated Mattermost config with logging solution, modified log message serialization so entire message is serialized as a JSON object * PLT-3893: Added support for format strings in Debug methods. Added an overload that does not require a Context object for cases when one isn't available * PLT-3893: Added context and format string support to debug and error methods * PLT-3893: A few updates from pull request feedback * PLT-3893: Changed tests to use testify * Fixed TestAddRemoveConfigListener to no longer assume that there are zero config listeners when the test begins, since other tests could add config listeners * Updated TestGetDeletedChannelsForTeam so that it doesn't assume state when it begins * PLT-3893: Changed File property of log message so that it's relative to /mattermost directory, rather than to wherever the user is running the application from on their machine * Flipped expected/actual assert arguments, added an explicit test for getCallerFilename(...), since it's failing on Jenkins * Added printlns to debug failing tests on Jenkins * Relaxed test cases to avoid failure on Jenkins caused by code coverage calculations. Removed printlns. * Changed the way that caller filename is determined to make it more robust, updated tests to make them more lax, while not choking on the strange paths that Jenkins uses. * Fixed gofmt issues * Added debug output to tests to diagnose Jenkins build failures * Still trying to get some useful debug logging on Jenkins * Changed getCallerFilename to handle the strange paths that runtime.Caller(...) returns on Jenkins * Fixing checkstyle issues
* PLT-7448: Searching submits multiple API requests. (#7334)George Goldberg2017-08-311-2/+1
| | | | This fixes all the main cases where duplicate search API requests were issued.
* APIv4: NewLocAppError -> NewAppError (#7328)George Goldberg2017-08-319-68/+34
|
* Fix setting profile image for other users (#7306)Joram Wilander2017-08-312-1/+10
|
* Update mattermost-redux to latest (#7333)Joram Wilander2017-08-311-1/+1
|
* sort compliance report (#7326)Saturnino Abril2017-08-311-1/+5
|
* Add minimum channel name length in rename modal (#7308)Joram Wilander2017-08-312-0/+12
|
* [PLT-5170] Add join the channel system message for the person who created ↵Saturnino Abril2017-08-305-12/+46
| | | | | | | | the channel (#7299) * add join the channel system message for the person who created the channel * update test
* PLT-7220: Jumping to a GM from a flagged messages doesn't add the GM to your ↵Jonathan2017-08-301-1/+8
| | | | | | | | | | LHS (#7319) * Ensured that DM/GM channel is added to LHS when jump link is clicked in RHS * Moved sidebar channel loading logic into global_actions so that it happens after the users' channels have been loaded * Fixing checkstyle issues
* Minor bug fixes (#7305)Asaad Mahmood2017-08-306-22/+29
| | | | | | | | | | | | * PLT-7063 - Changing search bar bg and color * PLT-7064 - Adjusting info popover styling * PLT-7124 - Fixing sidebar with webrtc call ongoing * PLT-7400 - Fixing semi transparent options list * PLT-7491 - Showing send button on mobile
* PLT-7206: Remove the "Delete Channel" option for private channels if you're ↵Jonathan2017-08-302-4/+2
| | | | | | | | the last channel member and policy setting restricts channel deletion (#7314) * Removed restriction that prevented last occupant of a channel from leaving. Any user can now leave any channel, except for the default Town Square channel * Also removed last user leave limitation from navbar
* set to default value with config is missing (#7320)Saturnino Abril2017-08-3041-196/+253
|
* PLT-7379: Timestamp on deleted, ephemeral, or pending post is a permalink ↵Jonathan2017-08-304-17/+35
| | | | | | | | | | | | | | | | (#7295) * Removed permalink from system messages, general cleanup * Removed permalink from deleted messages * Removed permalink from pending messages * Fixed post_info tests * Changed permalink logic to remove permalinks from ephemeral messages, but leave them in place for system messages. * Fixed check style
* PLT-6403: Interactive messages (#7274)Chris2017-08-2918-11/+366
| | | | | | | | | | * wip * finish first pass * requested changes * add DoPostAction to Client4
* Fix permalink loading for non-loaded posts (#7310)Joram Wilander2017-08-292-2/+2
|
* Show loading message if a team has been selected, in addition to showing it ↵Jonathan2017-08-291-1/+1
| | | | while loading the list of available teams. (#7307)
* PLT-3638: Fix re-opening of collapsed preview on refresh (#7301)atp2017-08-292-5/+15
| | | | In this change, user action for toggling the preview is stored in the browser localstorage. Hence If there us a preview visibility value is present in the localstorage, that will be given the preference compared to the overall preview setting.
* Experimental implementation for webapp plugins (#7185)Joram Wilander2017-08-2915-32/+354
| | | | | | | | | | * Start of experimental implementation for webapp plugins * Updates to webapp plugin architecture * Update pluggable test * Remove debug code
* Enforce channel display name limits on slash command (#7309)Joram Wilander2017-08-294-0/+44
|
* Fix yarn.lock getting changed by make run (#7311)Joram Wilander2017-08-281-183/+29
|
* add client4 apis needed for jira plugin (#7292)Chris2017-08-285-5/+212
|
* add plugin http handler (#7289)Chris2017-08-2810-30/+403
|
* Manage version configurations client versions (#7220)Chris Duarte2017-08-289-1/+255
| | | | | | | | | | | | * Add config values for client versions. Return client versions in ping response. * Manage client version through System Console. * Added client versions to diagnostics * Added translations messages en.json file. * Hide Client Versions on System Console.
* PLT-7221 differentiate between RN and Classic sessions (#7303)enahum2017-08-282-16/+48
|
* Include post_id and root_id to handle actions from the PN (#7286)enahum2017-08-282-5/+12
|
* PLT-5745 Cleaning up duplicate calls (#7298)Corey Hulen2017-08-2816-79/+79
| | | | | | | | * PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test
* Set charset for OAuth2 authorize page (#7304)Joram Wilander2017-08-281-1/+1
|
* Use path.Join to form log filename (#7293)Stan Hu2017-08-281-1/+2
| | | | Omitting the trailing backslash in the directory could cause Mattermost to crash due to permission issues.
* update test snapshot for post_info (#7297)Saturnino Abril2017-08-251-8/+28
|
* PLT-7356 and 7378 Reduce size of emoji test posts (#7291)lindalumitchell2017-08-256-34/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-7356 Split emoji test 1 into smaller test files Prevent test files from splitting into multiple posts. Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md * PLT-7356 Split emoji test 2 into smaller test files Prevent test files from splitting into multiple posts. Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md * PLT-7378 Split emoji test 3 into smaller test files Prevent test files from splitting into multiple posts. Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md * PLT-7378 Split emoji test 4 into smaller test files Prevent test files from splitting into multiple posts. Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md * PLT-7356 and 7378 Create test-emoticons5.md Prevent test files from splitting into multiple posts. Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md * PLT-7356 and 7378 Create test-emoticons6.md Prevent test files from splitting into multiple posts. Reducing the number of emoji in each file (test-emoticons1.md through test-emoticons4.md) so each post is <4000 characters. Adding two new files to accommodate the emoji overflow: test-emoticons5.md and test-emoticons6.md
* PLT-7318 fixing focus issue with IPad (#7287)Corey Hulen2017-08-253-3/+3
| | | | | | * PLT-7318 fixing focus issue with IPad * Fixing for RHS
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-2520-299/+678
| | | | | | | | | | | | | | | | | * Prepare file upload infrastructure for Data Retention. This commit prepares the file upload infrastructure for the data retention feature that is under construction. Changes are: * Move file management code to utils to allow access to it from jobs. * From now on, store all file uploads in a top level folder which is the date of the day on which they were uploaded. This commit is based on Harrison Healey's branch, but updated to work with the latest master. * Use NewAppError
* PLT-5478: Hide collapse/expand arrow for image links when no image is ↵atp2017-08-251-1/+28
| | | | available (#7216)
* PLT-7224 - Updating post textbox UI (#7153)Asaad Mahmood2017-08-2513-195/+160
| | | | | | | | * PLT-7224 - Updating post textbox UI * Updating post textbox spacing * Updating emoji icon
* PLT-7417/PLT-7425 (#7278)Harrison Healey2017-08-254-50/+14
| | | PLT-7417/PLT-7425 Update config.json defaults and removed admin console link settings
* Fix log error message for UpdateLastActivityAtIfNeeded (#7282)enahum2017-08-251-1/+1
|
* add attachments to rhs search results (#7290)Chris2017-08-251-1/+9
|
* Other Packages: NewLocAppError -> NewAppError (#7283)George Goldberg2017-08-255-21/+25
|
* [PLT-7390] Add Type = 'O' in getting open teams at sql store (#7207)Saturnino Abril2017-08-242-5/+126
| | | | | | * add Type = 'O' in getting open teams at sql store * updated PR
* Switch hook debug msg to info (#7272)Corey Hulen2017-08-222-4/+4
|
* Fixing logging errors for Franz (#7273)Corey Hulen2017-08-221-24/+26
|
* Fixed not being able to scroll down in message preview mode when using (#7194)Sudheer2017-08-221-0/+4
| | | only couple of sentences in edit mode.
* Hiding the rogue webkit file input button (#7130)Alex White2017-08-221-0/+4
|
* Fixing race in update channel (#7269)Corey Hulen2017-08-223-1/+15
| | | | | | * Fixing race in update channel * Switching to struct copy
* Add a + next to direct message on sidebar to open 'Direct Messages' modal ↵David Meza2017-08-221-0/+30
| | | | | | | | (#7159) * Add a + next to direct message on sidebar to open 'Direct Messages' modal * Change + cick to display direct message modal without group message.
* [PLT-1015] Make all Mattermost system emails Multi-Part, with both a HTML ↵Carlos Tadeu Panato Junior2017-08-215-26/+30
| | | | | | | | | | | | and Plain Text version. (#5698) * Implementation to Make all Mattermost system emails Multi-Part, with both a HTML and Plain Text version * update lib * update code per review * update to use the mattermost repo
* make hooks optional, short circuit if unimplemented (#7263)Chris2017-08-215-49/+156
|