summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Fix import of Slack file_comment messages. (#4132)George Goldberg2016-10-041-12/+20
| | | | | | | | | | | | | | 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.
* Adding ability to serve TLS directly from Mattermost server (#4119)Christopher Speller2016-10-031-6/+65
|
* PLT-3105 Files table migration (#4068)Harrison Healey2016-09-3010-1107/+1320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Added a short wait to TestSetActiveChannel to stop randomly failing tests ↵Harrison Healey2016-09-292-2/+4
| | | | | | | | (#4115) * Added a short wait to TestSetActiveChannel to stop randomly failing tests * Increased the timeout in TestWebSocketEvent
* PLT-4155 Show correct login method in system console (#4102)enahum2016-09-281-0/+1
| | | | | | * PLT-4155 Show correct login method in system console * Remove checking for system admin privileges in getProfiles
* PLT-3734 Cleaning up shouldSendEvent function (#4024)enahum2016-09-2713-77/+77
| | | | | | * PLT-3734 Cleaning up shouldSendEvent function * Fix LHS unread highlight and jewel mentions
* Fixing the console level debug statements (#4092)Corey Hulen2016-09-272-2/+3
|
* Cleaning up some old code from the permissions system change (#4090)Christopher Speller2016-09-262-46/+40
|
* Modifications to rate limiting settings. (#4091)Christopher Speller2016-09-262-7/+8
|
* Message is displayed when user joins Off_Topic (#4067)Ryan Wang2016-09-262-9/+20
|
* Updating golang dependancies (#4075)Christopher Speller2016-09-232-19/+50
|
* Fix TestSetActiveChannel unit test (#4071)Joram Wilander2016-09-221-1/+2
|
* Fixing update roles API (#4060)Christopher Speller2016-09-224-221/+179
|
* Fix !channel linking in Slack import. (#4065)George Goldberg2016-09-211-4/+9
| | | | | 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.
* Fixing build break (#4063)Corey Hulen2016-09-211-1/+5
|
* Fix issue when saving session has an error (#4053)Corey Hulen2016-09-211-0/+9
| | | | | | * Fix issue is saving session has an error * Fixing break break
* PLT-4202 fix javascript error manage OAuth2 apps (#4039)enahum2016-09-202-2/+3
| | | | | | * PLT-4202 fix javascript error manage OAuth2 apps * Fix unit tests
* PLT-4179 send push notifications with override_username (#4040)enahum2016-09-201-1/+5
|
* PLT-1764 #channels => !channels on Slack import. (#4028)George Goldberg2016-09-191-0/+19
|
* PLT-4157 CLI to make a user active or inactive (#4025)enahum2016-09-151-0/+24
|
* PLT-3412 WebRTC Server side & System Console (#3706)enahum2016-09-155-0/+88
| | | | | | | | | | * WebRTC Server side * WebRTC System Console * Consistency on variable names * Add turn and stun uri validation
* Update getUser API and add it to the JS driver (#4020)Joram Wilander2016-09-142-9/+50
|
* Modifying permissions system. (#3897)Christopher Speller2016-09-1323-513/+527
|
* Accept nil values for incoming webhook attachments (#4011)Joram Wilander2016-09-131-6/+3
|
* Unescape HTML entities in e-mail titles (fixes #3906) (#3969)Pierre Rudloff2016-09-121-1/+2
|
* Some improvments to slack import (#4010)Christopher Speller2016-09-122-12/+45
|
* PLT-3766 Change remaining LDAP references to AD/LDAP (#3985)Jason Blais2016-09-081-1/+1
| | | | | | | | | | * Update user.go * Update en.json * Update ldap_test_button.jsx * Update en.json
* Include build number in server version given to the client (#3984)Joram Wilander2016-09-082-2/+2
|
* PLT-3775/PLT-4067 Fixes for email notifications for 3.4Harrison Healey2016-09-061-2/+37
|
* PLT-3766 Change LDAP references to AD/LDAP in the UI (#3925)Jason Blais2016-09-061-3/+3
|
* PLT-3921 Fix System Console Recent Active Users (#3856)enahum2016-09-062-0/+50
| | | * PLT-3921 System Console Recent Active Users
* Fix @channel, @here and @everyone Slack import. (#3946)George Goldberg2016-09-061-0/+5
| | | | | | Does this by adding special case regexes to the @mention importing code in the Slack importer for these three special mention types. Fixes PLT-4053
* PLT-3875 Update error page to use Markdown and add error for missing OAuth ↵Joram Wilander2016-09-061-9/+6
| | | | | | | | | | | | code (#3934) * Update error page to use Markdown and add error for missing OAuth code * Add line breaks to error messages This is to make the error message easier to read. * Update en.json
* Send hello event containing server version on WebSocket connect (#3936)Joram Wilander2016-09-041-0/+5
|
* Do not send push notifications for channels being actively viewed (#3931)Joram Wilander2016-09-025-14/+115
|
* Fixing SanitizeProfile (#3930)Christopher Speller2016-09-022-10/+85
|
* Update LastViewAt in create post API if not from a webhook (#3913)enahum2016-09-021-2/+5
|
* Adding LDAP test connection button. Reordering LDAP settings. (#3912)Christopher Speller2016-09-012-1/+32
|
* PLT-3462 Add the ability to clear push notifications after channel is viewed ↵Joram Wilander2016-08-312-65/+113
| | | | | | | | (#3834) * Add the ability to clear push notifications after channel is viewed * Fix race condition between updating the mention count and reading it when sending push notifications
* Add debug logging when receiving an oauth redirect (#3916)Joram Wilander2016-08-311-0/+2
|
* PLT-1527 Add a slash command to set yourself away (#3752)Dmitri Aizenberg2016-08-3110-20/+206
| | | | | | | | | | | | | | * added handlers for slash commands * added manual status persistance * added tests * removed extra debug output and comments * rebase - fixing the PR * making echo messages after slash commands ephemeral
* PLT-3984 Add the ability to regenerate OAuth Client Secret (#3899)enahum2016-08-302-1/+75
|
* PLT-3994 Fix OAuth2: Properly handle allowing an app fails (#3888)enahum2016-08-301-2/+4
| | | | | | * PLT-3994 Fix OAuth2: Properly handle allowing an app fails * Remove Content-Type from allowOAuth
* PLT-4026 Use client dir constant for OAuth Authorization page (#3895)enahum2016-08-301-1/+1
|
* Revert/Fix PLT-2805 (#3873)David Lu2016-08-297-51/+71
|
* Convert @mentions on Slack import. (#3837)George Goldberg2016-08-291-0/+26
| | | | | | | Converts @mentions in Slack imports for regular messages, comments and Slack upload messages. Updates the description on the Team Settings Import tab to remove mention of @mentions not importing.
* Moving CheckBrowserCompatability to debug (#3889)Corey Hulen2016-08-261-1/+1
|
* Fixing license (#3878)Corey Hulen2016-08-252-3/+9
| | | | | | | | * Fixing sanitize license * Fixing license * Fixing unit tests
* PLT-3942 Add real-time updates for center channel profile picture popover ↵enahum2016-08-241-44/+21
| | | | | | | | | | (#3871) * PLT-3942 Add real-time updates for center channel profile picture pop-over * Send user data with the websocket event to prevent further requests * Add helper for profile sanitation
* Add channel name on email notification. (#3824)Sang Jun Lee2016-08-241-11/+29
|