summaryrefslogtreecommitdiffstats
path: root/api4
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [PLT-4341] add dnd command (#7694)Carlos Tadeu Panato Junior2017-10-252-0/+26
|
* PLT-7849 Add config setting to disable plugin uploads (#7666)Joram Wilander2017-10-252-5/+19
| | | | | | * Add config setting to disable plugin uploads * Update unit test
* Differentiate between installed and activated states for plugins (#7706)Joram Wilander2017-10-252-10/+120
|
* eliminate more utils.Cfg references (#7701)Chris2017-10-242-28/+1
|
* add model.NewX funcs for builtin types (#7692)Chris2017-10-234-28/+14
| | | | | | * add model.NewX funcs for builtin types * whoops, forgot to add the new file
* Reduce cfg boilerplate (#7689)Chris2017-10-233-156/+12
| | | | | | | | | | | | * reduce cfg boilerplate * fix compile error * user test fix * another test fix * simplify diagnostics / testing
* Expose user.Props through REST API (#7661)Joram Wilander2017-10-201-1/+7
|
* Update v4 POST log endpoint to match v3 permissions (#7653)Joram Wilander2017-10-202-5/+29
|
* [PLT-7362] Option to add user to channel if mentioned user is not currently ↵Saturnino Abril2017-10-211-1/+77
| | | | | | | | | | | | | | | | in the channel (#7619) * Option to add user to channel if mentioned user is not currently in the channel * instead of link from server, just add component on client side to add channel member * change implementation using post.props * do clean up and add test * sanitize post.props['add_channel_member'] on post creation * move sanitize to app.CreatePost and also apply to app.UpdatePost
* PLT-7740 Update encoding of filename in file headers (#7552)Joram Wilander2017-10-191-2/+4
| | | | | | * Remove URL escaping of filename in file headers * Add encoding for filename
* [PLT-7794] Add user access token enable/disable endpoints (#7630)Nick Frazier2017-10-192-1/+173
| | | | | | | | | | | | * Add column to UserAccessTokens table * PLT-7794 Add user access token enable/disable endpoints * replaced eliminated global variable * updates to user_access_token_store and upgrade.go * style fix and cleanup
* Reduce utils.Cfg references (#7650)Chris2017-10-1826-500/+555
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* fix email race condition (#7656)Chris2017-10-181-1/+4
|
* fix job test race condition (#7647)Chris2017-10-181-3/+4
|
* fix preference test races (#7645)Chris2017-10-181-0/+8
|
* PLT-7193: Regression - Custom slash commands don't work in direct or group ↵Jonathan2017-10-173-7/+148
| | | | | | | | message channels (#7635) * No longer overriding specified team id for DMs/GMs, as these types of channels don't belong to a team, and doing so breaks slash commands for them * Ensured user is on specified team in case of GM/DM, extended test suite
* Merge branch 'release-4.3'Christopher Brown2017-10-163-17/+482
|\
| * fix race condition in tests (#7609)Chris2017-10-111-0/+16
| |
| * PLT-7811 Standardized team sanitization flow (#7586)Harrison Healey2017-10-092-14/+471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * post-4.3 commit (#7581) * reduce store boiler plate (#7585) * fix GetPostsByIds error (#7591) * PLT-7811 Standardized team sanitization flow * Fixed TestGetAllTeamListings * Stopped sanitizing teams for team admins * Removed debug logging * Added TearDown to sanitization tests that needed it