summaryrefslogtreecommitdiffstats
path: root/api4
Commit message (Collapse)AuthorAgeFilesLines
* add App.License, remove utils.IsLicensed / utils.License calls (#8203)Chris2018-02-062-3/+3
|
* User based rate limiting (#8152)Christopher Speller2018-01-311-32/+13
|
* ABC-79: Optimize channel autocomplete query (#8163)Chris2018-01-311-0/+22
| | | | | | * optimize channel autocomplete query * move to new autocomplete endpoint
* Add GET /emojis/name/{emoji_name} API endpoint (#8142)Joram Wilander2018-01-243-2/+47
|
* ABC-90 Add POST /emoji/search and GET /emoji/autocomplete API endpoints (#8125)Joram Wilander2018-01-233-1/+179
| | | | | | * Add POST /emoji/search and GET /emoji/autocomplete API endpoints * Add constant to be clearer
* PLT-3383: image proxy support (#7991)Chris2018-01-222-12/+12
| | | | | | | | | | | | * image proxy support * go vet fix, remove mistakenly added coverage file * fix test compile error * add validation to config settings and documentation to model functions * add message_source field to post
* Add sort query parameter to GET /emojis (#8121)Joram Wilander2018-01-192-1/+14
|
* Finally remove utils.Cfg (#8113)Chris2018-01-174-81/+90
| | | | | | | | * finally remove utils.Cfg * fix compile error * another test compilation fix
* [PLT-8430] Auto lowercase team and channel names in API requests (#7992)Carlos Tadeu Panato Junior2018-01-123-2/+10
|
* redirect error uri when OAuth SSO is setup but account creation is disabled ↵Saturnino Abril2018-01-111-1/+1
| | | | (#8086)
* [PLT-7793] Add /users/tokens/search endpoint (#8088)Adrian Carolli2018-01-112-0/+71
| | | | | | | | * Add /users/tokens/search endpoint + tests * Fix check-style * Unnecessary deletion
* Remove global config watcher (#8080)Chris2018-01-111-2/+7
| | | | | | | | | | * remove global config watcher * keep config watcher disabled for tests * compile fix * fix resource leak
* [XYZ-6] Add sampledata platform command (#8027)Jesús Espino2018-01-112-2/+2
| | | | | | | | * Add fake dependency * [XYZ-6] Add sampledata platform command * Creating EMOJI_NAME_MAX_LENGTH as a constant and using it where needed
* [PLT-6936] Translate AppError.Message automatically by default (#8063)Jesús Espino2018-01-082-2/+1
|
* Remove utils.ClientCfg and utils.ClientCfgHash (#8041)Chris2018-01-053-3/+3
| | | | | | * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
* [PLT-7793] Added /users/tokens endpoint (#8038)Adrian Carolli2018-01-052-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added /users/tokens/all endpoint - UserAccessStore now has getAll method - Added tests - Added route - Added handler * Remove space fix check-style * Remove blank space check-style * Fixes for make check-style * Remove extra code that is un-needed in user_test.go * Rename endpoint + grammar - Renamed /users/tokens/all to /users/tokens - Renamed getUserAccessTokens to getUserAccessTokensForUser - Renamed getAllUserAccessTokens to getUserAccessTokens - Minor Grammar changes * Add localization for sql_user_access_token.get_all * Fix minor plural spelling
* Add admin update endpoint that can update authservice and authdata (#7842)Chris Duarte2018-01-042-0/+90
| | | | | | | | | | * add admin update endpoint that can upate authservice and authdata * Control only SystemAdmin access * Refactored AdminUpdate endpoint to only be able to update AuthData, AuthService and Password by User.Id * Refactor to move `PUT /api/v4/users/{user_id}/auth`. Created a struct to hold UserAuth info.
* [PLT-8173] Strip the post_ prefix on incoming webhook overrides. (#8019)Jesse Hallam2018-01-031-8/+8
|
* [PLT-8173] Add username and profile picture to webhook set up pages (#8002)Jesse Hallam2018-01-021-0/+61
|
* Allow for custom subject in TestInviteUsersToTeam (#7999)Chris Duarte2018-01-021-1/+5
|
* Reduce logging data races, fix MySQL test race condition (#7994)Chris2017-12-2227-93/+4
| | | | | | | | * fix races * revert unintentional change * fix test as intended
* Merge branch 'release-4.5'Christopher Speller2017-12-181-1/+1
|\
| * fix PUT webhook permissions (#7970)Chris2017-12-121-1/+1
| |
* | fix reaction test (#7978)Chris2017-12-141-10/+5
| |
* | PLT-6896 per-paging for logs (#7903)Yusuke Nemoto2017-12-133-12/+23
| | | | | | | | | | | | | | | | | | | | * PLT-6896 Read logs from last * Getting rid of file.Stats * remove deprecated value * Make non-reassigned value constant
* | Add plugin slash command support (#7941)Chris2017-12-081-1/+1
| | | | | | | | | | | | | | | | * add plugin slash command support * remove unused string * rebase
* | Allow deactivation of SSO users (#7952)Joram Wilander2017-12-082-3/+20
|/
* Fix oauth app update (#7913)Joram Wilander2017-12-012-1/+8
|
* PLT-8018: Bundled jira plugin (#7920)Chris2017-11-301-1/+1
| | | | | | | | | | | | * bundled jira plugin * fix generated file formatting, add prepackaged key * whoops, uploaded wrong file * whitelist generated files for license check * make it work for people without go/bin in their path
* Add Config to disable Auth Transfers. (#7843)Chris Duarte2017-11-281-0/+51
| | | | | | * Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
* PLT-8058: Logging api.context.invalid_session.error app errors to log level ↵Martin Kraft2017-11-231-2/+13
| | | | 'info'. (#7893)
* origin checker refactor (#7889)Chris2017-11-221-3/+1
|
* HTTP client refactor (#7884)Chris2017-11-221-2/+1
| | | | | | * http client refactor * simplification
* Role refactor (#7867)Chris2017-11-218-137/+114
| | | | | | | | * role refactor * add missing file * fix web test
* [PLT-840] Add option to outgoing webhooks to reply to the posted message as ↵Carlos Tadeu Panato Junior2017-11-201-12/+53
| | | | a comment (#7807)
* refactor template code (#7860)Chris2017-11-201-2/+0
|
* PLT-6217 Fixes system message posted to Town Square when a member leaves a ↵Tsilavina Razafinirina2017-11-202-3/+3
| | | | | | | | | | | | | | | | | | team (#7752) * Fixes system message posted to Town Square when adding/removing team member (#6483) Fixes unit test method call to match RemoveUserFromTeam modification (#6483) Fixes system message posted to Town Square when adding/removing team member (#6483) Removes unnessary error message * Updates system message when a user leaves a team (#6483) * Changes system message when a user is removed from team (#6483) * Adds a new string to be post to town-square when a member is added to a team (#6483)
* Reorganize file util functionality (#7848)Chris2017-11-162-6/+5
| | | | | | | | * reorganize file util functionality * fix api test compilation * fix rebase issue
* more global config ref cleanup (#7802)Chris2017-11-095-34/+29
|
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-033-5/+9
|
* prevent deactivation of sso users (#7759)Chris2017-11-022-3/+3
|
* [PLT-7362] Add post' root ID to APIv4 addChannelMember to render added user ↵Saturnino Abril2017-10-312-8/+41
| | | | | | | | | | (as system post) at RHS (#7730) * add post' root ID to apiv4 addChannelMember to render added user (as system post) at RHS * add check to post_root_id parameter * add AddChannelMemberWithRootId function for backward compatibility
* PLT-7978 Add websocket event for user role update (#7745)Joram Wilander2017-10-314-15/+15
| | | | | | | | * Add websocket event for user role update * Fix tests * More test fixes
* Remove license requirement for plugins (#7747)Joram Wilander2017-10-311-1/+1
|
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-314-24/+15
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* simplify things (#7735)Chris2017-10-308-27/+24
|
* Remove more global refs / state (#7723)Chris2017-10-262-14/+12
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Add config setting to configure plugins directory (#7725)Joram Wilander2017-10-261-5/+6
|
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-2521-188/+174
| | | | | | | | | | | | | | | | | | | | | | * Optimizing get root posts SQL query * Setting session invalidation to be reliable * Adding app reciever to SessionHasPermissionToUser * Adding app reciever to SessionHasPermissionToTeam * Adding app reciever to SessionHasPermissionTo * Clear session cache if permission was denied * Fixing rebase issues * Revert "Optimizing get root posts SQL query" This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7. * Fixing build
* [PLT-7726] adjustments for the mm-server jenkinsfile (#7688)Carlos Tadeu Panato Junior2017-10-251-1/+1
|