summaryrefslogtreecommitdiffstats
path: root/api4
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| * PLT-7818 Updates to post type (#7579)Joram Wilander2017-10-091-3/+11
| | | | | | | | | | | | * Updates to post type * Update tests
* | [PLT-7396] Add the ability to revoke user sessions in System Console > Users ↵Rick Batka2017-10-162-0/+65
| | | | | | | | | | | | | | | | #7493 (#7623) * add endpoint and tests for revoking all sessions for a user * fix failing test build
* | parallel tests (#7629)Chris2017-10-162-6/+12
| |
* | Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-122-2/+104
| | | | | | | | | | | | | | | | | | | | | | | | * use tmpfs containers for api/api4, move and speed up cli tests * minor optimizations * add missing files, fix pre-existing race condition * add . to TestMain check * add requested log message
* | Add User To Channel api route returns a 400 error when trying to add users ↵Santos Solorzano2017-10-121-0/+5
| | | | | | | | to a DM or GM channel (#7587)
* | Miscellaneous app cleanup (#7594)Chris2017-10-092-27/+14
|/ | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-5/+0
| | | | | | | | | | | | * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up
* PLT-7718 Patch for files (#7564)Joram Wilander2017-10-043-6/+11
| | | | | | | | | | * Patch for files * Fix merge * Fix tests * Fix another test
* PLT-7785: Slash commands can be issued to a channel in a team without it (#7567)Jonathan2017-10-042-6/+38
| | | | | | * Ensured that specified channel is a part of specified team * Simplified approach to just infer team id from specified channel id to eliminate the attack vector entirely
* PLT-7781 Some more OAuth fixes (#7568)Joram Wilander2017-10-042-23/+129
| | | | | | * Some other oauth fixes * Fix unit test
* Updates to session revoking in v4 (#7565)Joram Wilander2017-10-042-1/+21
|
* Only update session activity on specific endpoints (#7549)Joram Wilander2017-10-034-1/+5
|
* Goroutine wranglin (#7556)Chris2017-10-031-2/+1
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* Fix bad merge (#7553)Joram Wilander2017-10-021-1/+1
|
* PLT-7705: API to get data retention policy. (#7539)George Goldberg2017-10-023-0/+50
| | | | | | * PLT-7705: API to get data retention policy. * Fix review comments.
* Don't use global app for api / api4 tests (#7528)Chris2017-10-0225-262/+269
| | | | | | | | | | | | | | * don't use global app for api / api4 tests * put sleep back. we're gonna have to do some goroutine wrangling * fix oauth test config assumptions * jobs package, i'm comin' for you next * app test fix * try increasing sleep a little
* PLT-7404 Return viewed at times in view channel API response (#7428)Joram Wilander2017-09-292-5/+19
| | | | | | | | * Return viewed at times in view channel API response * Updated transaction to read and write once * Remove transaction and only update if new value greater than older
* remove jobs.Srv and other jobs-related globals (#7535)Chris2017-09-292-5/+4
|
* PLT-7684 Add support to outgoing webhooks and slash commands to set post ↵Joram Wilander2017-09-282-0/+10
| | | | | | | | type and props (#7531) * Add support to outgoing webhooks and slash commands to set post type and props * Fix nil access
* PLT-7633 (E20) Add session idle timeout config setting (#7524)Joram Wilander2017-09-281-0/+1
| | | | | | | | | | * Add session idle timeout config setting * Modify config setting name to SessionIdleTimeoutInMinutes * Small re-org of if statement * Merge with latest master
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-283-5/+4
|
* PLT-7470: Add metrics for searches. (#7507)George Goldberg2017-09-251-0/+12
|
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-4/+4
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* remove global refs from api/api4 (#7496)Chris2017-09-2227-400/+415
|
* remove more global refs (#7480)Chris2017-09-211-2/+1
|
* fix error message escaping (#7467)Chris2017-09-201-2/+2
|