summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
...
* eliminate more utils.Cfg references (#7701)Chris2017-10-247-53/+53
|
* Reduce cfg boilerplate (#7689)Chris2017-10-233-230/+223
| | | | | | | | | | | | * reduce cfg boilerplate * fix compile error * user test fix * another test fix * simplify diagnostics / testing
* refactor max users per team (#7691)Chris2017-10-202-2/+2
|
* refactor max channels per team enforcement (#7690)Chris2017-10-202-3/+3
|
* [PLT-7362] Option to add user to channel if mentioned user is not currently ↵Saturnino Abril2017-10-212-4/+33
| | | | | | | | | | | | | | | | 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-6712/PLT-7182] /remove and /kick slash command: Remove a member from ↵Carlos Tadeu Panato Junior2017-10-191-0/+114
| | | | the channel (#7523)
* [PLT-7794] Add user access token enable/disable endpoints (#7630)Nick Frazier2017-10-191-0/+38
| | | | | | | | | | | | * 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-1837-222/+190
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Merge branch 'release-4.3'Christopher Brown2017-10-167-11/+283
|\
| * PLT-7811 Standardized team sanitization flow (#7586)Harrison Healey2017-10-092-5/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-095-0/+40
| | | | | | | | | | | | * Updates to post type * Update tests
| * PLT-7826: Don't fetch posts from store if ES returns none. (#7596)George Goldberg2017-10-091-6/+8
| |
* | Add two missing diagnostics entries (#7634)Jason Blais2017-10-161-0/+2
| | | | | | | | | | | | | | | | * Update diagnostics.go * Fix config setting name SessionIdleTimeoutInMinutes * Update diagnostics.go
* | Fix webconn shutdown race (#7631)Chris2017-10-163-7/+31
| | | | | | | | | | | | | | | | | | | | * fix webconn shutdown race * make sure writePump returns promptly if readPump returns first * fix app shutdown race * minor improvement
* | PLT-7809: Add support for Kopano Webmeetings WebRTC server (#7590)Simon Eisenmann2017-10-161-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for Kopano Webmeetings WebRTC server Add an option to select which WebRTC server to use and add support to use Kopano Webmeetings as backend instead of Janus. If the new configuration is not set, WebRTC assumes Janus is used as backend. * Fixup: remove redundant case. default to janus * Fixup: use GatewayAdminUrl as direct prefix to admin URL entry point * Fixup: consumeAndClose
* | parallel tests (#7629)Chris2017-10-165-28/+193
| |
* | Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | PLT-7883: Fix database race in bulk importer in GetByUsername. (#7611)George Goldberg2017-10-121-19/+20
| |
* | Add back consumeAndClose functionality. (#7608)Christopher Speller2017-10-127-10/+17
| | | | | | | | | | | | | | * consume bodies for action button integrations, webrtc gateway, oauth endpoint * Fixing a couple more places, switching to io.Copy to ioutil.Discard, adding a comment to help prevent future performance regressions
* | Remove duplicate post edit WS event and cache invalidation (#7576)Joram Wilander2017-10-091-3/+0
| |
* | Miscellaneous app cleanup (#7594)Chris2017-10-0910-69/+108
| | | | | | | | | | | | | | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* | store/sqlstore cleanup and postgres tests (#7595)Chris2017-10-094-5/+9
| | | | | | | | | | | | | | | | | | | | * sqlstore cleanup / postgres tests * remove stopped containers * cmd/platform compile fix * remove test-postgres target from makefile
* | Do not require server restart when enabling/disabling plugins (#7592)Joram Wilander2017-10-061-2/+8
|/
* fix websocket deadlock (#7577)Chris2017-10-041-4/+16
|
* Fix races / finally remove global app for good (#7570)Chris2017-10-0420-57/+128
| | | | | | | | | | | | * 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-7218: CLI to move slash commands between teams. (#7574)George Goldberg2017-10-042-0/+56
|
* PLT-7789: Fix raciness on Aurora with importing team members. (#7573)George Goldberg2017-10-042-17/+19
| | | | | | * PLT-7789: Fix raciness on Aurora with importing team members. * Fix and document return values.
* [PLT-7787] remove an extra ephemeral message posted for slash commands (#7572)Carlos Tadeu Panato Junior2017-10-041-1/+1
|
* PLT-7718 Patch for files (#7564)Joram Wilander2017-10-043-1/+21
| | | | | | | | | | * Patch for files * Fix merge * Fix tests * Fix another test
* PLT-7782 Fix for OAuth (#7566)Joram Wilander2017-10-041-6/+1
| | | | | | * Fix for oauth * Fix test
* Updates to session revoking in v4 (#7565)Joram Wilander2017-10-041-0/+9
|
* Goroutine wranglin (#7556)Chris2017-10-0320-104/+216
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* PLT-7705: API to get data retention policy. (#7539)George Goldberg2017-10-022-6/+33
| | | | | | * PLT-7705: API to get data retention policy. * Fix review comments.
* Don't use global app for api / api4 tests (#7528)Chris2017-10-024-11/+43
| | | | | | | | | | | | | | * 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-6/+9
| | | | | | | | * 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-7712: Add data retention settings to diagnostics. (#7534)George Goldberg2017-09-291-25/+34
|
* remove jobs.Srv and other jobs-related globals (#7535)Chris2017-09-293-8/+49
|
* PLT-7758: jira url fix (#7536)Chris2017-09-282-7/+25
| | | | | | * jira url fix * whoops, forgot a file (the test file)
* PLT-7684 Add support to outgoing webhooks and slash commands to set post ↵Joram Wilander2017-09-282-3/+5
| | | | | | | | type and props (#7531) * Add support to outgoing webhooks and slash commands to set post type and props * Fix nil access
* Only check LDAP attributes if auth data set (#7530)Joram Wilander2017-09-281-0/+4
|
* PLT-7633 (E20) Add session idle timeout config setting (#7524)Joram Wilander2017-09-282-0/+131
| | | | | | | | | | * 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-2826-151/+154
|
* PLT-7542 Converting LDAP sync to the job server (#7452)Corey Hulen2017-09-252-3/+1
| | | | | | | | | | | | | | | | | | | | * PLT-7542 Converting LDAP sync to the job server * Fixing minor issues * Fixing build failure * Translate error message * Translate error message * Translate error message * Translate error message * Fixing merge * Fixing bad merge
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-252-6/+8
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* Finally do away with NewLocAppError function. (#7498)George Goldberg2017-09-253-4/+3
| | | | | This cleans up the few NewLocAppError calls that crept in since the main bulk of them were removed, and finally removes the NewLocAppError function altogether.
* plugin CRUD operations for users, posts, channels, and teams (#7479)Chris2017-09-212-18/+108
|
* remove more global refs (#7480)Chris2017-09-215-21/+99
|
* PLT-7508: Add settings to disable wide mention confirmation (#7416)Jesús Espino2017-09-201-0/+1
|
* remove einterface gets (#7455)Chris2017-09-1927-182/+194
|
* allow ephemeral command responses without text (#7478)Chris2017-09-191-4/+0
|