summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-032-3/+7
|
* prevent deactivation of sso users (#7759)Chris2017-11-021-1/+1
|
* PLT-7810 Track if an APIv3 endpoint was used in the last day (#7744)Joram Wilander2017-10-311-0/+5
| | | | | | * Track if an APIv3 endpoint was used in the last day * Make it atomic
* [PLT-7362] Add post' root ID to APIv4 addChannelMember to render added user ↵Saturnino Abril2017-10-311-1/+1
| | | | | | | | | | (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-315-8/+8
| | | | | | | | * Add websocket event for user role update * Fix tests * More test fixes
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-316-24/+14
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Remove unused variables / code (#7736)Chris2017-10-302-5/+0
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* simplify things (#7735)Chris2017-10-303-8/+6
|
* Remove more global refs / state (#7723)Chris2017-10-264-12/+2
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-2511-81/+75
| | | | | | | | | | | | | | | | | | | | | | * 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/+2
|
* PLT-7599: webhook post splitting (#7707)Chris2017-10-241-2/+2
| | | | | | | | * webhook post splitting * style fix * update old webhook test
* eliminate more utils.Cfg references (#7701)Chris2017-10-244-204/+2
|
* add model.NewX funcs for builtin types (#7692)Chris2017-10-231-2/+1
| | | | | | * add model.NewX funcs for builtin types * whoops, forgot to add the new file
* Reduce cfg boilerplate (#7689)Chris2017-10-236-303/+36
| | | | | | | | | | | | * reduce cfg boilerplate * fix compile error * user test fix * another test fix * simplify diagnostics / testing
* [PLT-7362] Option to add user to channel if mentioned user is not currently ↵Saturnino Abril2017-10-211-1/+9
| | | | | | | | | | | | | | | | 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
* Reduce utils.Cfg references (#7650)Chris2017-10-1827-550/+641
| | | | | | | | | | | | * 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-2/+5
|
* Merge branch 'release-4.3'Christopher Brown2017-10-164-17/+387
|\
| * fix race condition in tests (#7609)Chris2017-10-111-0/+16
| |
| * PLT-7811 Standardized team sanitization flow (#7586)Harrison Healey2017-10-093-14/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+7
| | | | | | | | | | | | * Updates to post type * Update tests
* | parallel tests (#7629)Chris2017-10-165-20/+36
| |
* | Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-123-419/+103
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Miscellaneous app cleanup (#7594)Chris2017-10-092-26/+15
|/ | | | | | | | | | | | * 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-041-2/+20
| | | | | | | | | | * Patch for files * Fix merge * Fix tests * Fix another test
* PLT-7782 Fix for OAuth (#7566)Joram Wilander2017-10-041-8/+0
| | | | | | * Fix for oauth * Fix test
* Goroutine wranglin (#7556)Chris2017-10-034-9/+14
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* Don't use global app for api / api4 tests (#7528)Chris2017-10-0234-180/+561
| | | | | | | | | | | | | | * 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-291-1/+1
| | | | | | | | * 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
* PLT-7684 Add support to outgoing webhooks and slash commands to set post ↵Joram Wilander2017-09-281-0/+10
| | | | | | | | type and props (#7531) * Add support to outgoing webhooks and slash commands to set post type and props * Fix nil access
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-288-31/+10
|
* 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-7/+8
| | | | | | | | | | * 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-2221-340/+349
|
* remove more global refs (#7480)Chris2017-09-212-19/+18
|
* remove einterface gets (#7455)Chris2017-09-193-29/+26
|
* Fixing profile image tag (#7435)Corey Hulen2017-09-192-3/+3
| | | | | | | | * Fixing profile image tag * Fixing unit test * Fixing unit test
* generate web error when opening an invalid public file link (#7475)Saturnino Abril2017-09-191-0/+4
|
* PLT-7539: Remove redundant license checks from CLI commands. (#7451)George Goldberg2017-09-151-106/+57
|
* Fix update SQL query to include refresh token (#7425)Joram Wilander2017-09-141-0/+29
|
* fix plugin test (#7436)Chris2017-09-121-3/+5
| | | | | | | | | | | | * fix plugin test * ugh. global state * Fix plugin test * Fix TestDeleteChannel * Remove plugin config listener when shutting down
* Remove global app references (#7433)Chris2017-09-123-50/+37
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Disabling oauth testChristopher Speller2017-09-071-2/+2
|
* Adjustments to JenkinsfileChristopher Speller2017-09-071-20/+20
|
* Renaming repoChristopher Speller2017-09-0649-146/+146
|
* Adding jenkinsfile for new build server.Christopher Speller2017-09-062-16/+2
|
* Merge release-4.2Christopher Speller2017-09-064-6/+70
|\
| * Various patchesJoramWilander2017-09-064-6/+70
| |