summaryrefslogtreecommitdiffstats
path: root/api4/apitestlib.go
Commit message (Collapse)AuthorAgeFilesLines
* Role refactor (#7867)Chris2017-11-211-6/+5
| | | | | | | | * role refactor * add missing file * fix web test
* more global config ref cleanup (#7802)Chris2017-11-091-13/+14
|
* PLT-7978 Add websocket event for user role update (#7745)Joram Wilander2017-10-311-3/+3
| | | | | | | | * Add websocket event for user role update * Fix tests * More test fixes
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-9/+5
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* [PLT-7726] adjustments for the mm-server jenkinsfile (#7688)Carlos Tadeu Panato Junior2017-10-251-1/+1
|
* Reduce cfg boilerplate (#7689)Chris2017-10-231-1/+8
| | | | | | | | | | | | * reduce cfg boilerplate * fix compile error * user test fix * another test fix * simplify diagnostics / testing
* Reduce utils.Cfg references (#7650)Chris2017-10-181-8/+9
| | | | | | | | | | | | * 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
|
* PLT-7193: Regression - Custom slash commands don't work in direct or group ↵Jonathan2017-10-171-1/+5
| | | | | | | | 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
* parallel tests (#7629)Chris2017-10-161-3/+8
|
* Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-121-2/+56
| | | | | | | | | | | | * 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-091-21/+14
| | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* Don't use global app for api / api4 tests (#7528)Chris2017-10-021-34/+26
| | | | | | | | | | | | | | * 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
* remove jobs.Srv and other jobs-related globals (#7535)Chris2017-09-291-3/+2
|
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-2/+2
|
* remove global refs from api/api4 (#7496)Chris2017-09-221-1/+1
|
* 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-121-44/+22
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Renaming repoChristopher Speller2017-09-061-6/+6
|
* Adding jenkinsfile for new build server.Christopher Speller2017-09-061-6/+0
|
* app type transition (#7167)Chris2017-09-061-35/+39
|
* Revert "[PLT-7475] Add S3 region to system console and add S3 validation ↵Saturnino Abril2017-09-061-3/+3
| | | | | | | | (#7373)" (#7387) This reverts commit 8d680cf64ec7fb6c8b242b8048989d0f0550cb68. Move to 4.3. Will discuss more if validation is necessary.
* [PLT-7475] Add S3 region to system console and add S3 validation (#7373)Saturnino Abril2017-09-061-3/+3
| | | | | | | | | | * add S3 region to system console and add S3 validation * update translation message * add bool as return value to Validate* functions * update Validate* functions to be pure
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-6/+6
|
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-1/+1
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* Allow regions to be set and honored for S3 driver. (#7010)Harshavardhana2017-07-311-5/+15
| | | | | | | | | This is necessary for certain users where GetBucketLocation API is disabled using IAM policies. There is a field AmazonS3Region which we need to re-purpose and use to support this properly. Fixes https://github.com/mattermost/platform/issues/6999
* PLT-6595-Server: Job Management APIs. (#6931)George Goldberg2017-07-201-0/+9
| | | | | | | | * PLT-6595-Server: Job Management APIs. * MANAGE_JOBS Permission * Fix test.
* add stop server to API 4 tests (#6638)Saturnino Abril2017-06-141-0/+6
|
* Support AWS Signature V2 for Mattermost for S3 storage. (#6462)Harshavardhana2017-05-301-1/+9
| | | | | | | Certain S3 compatible servers only use Legacy Signature (AWS Signature V2), current code only supports signature v4. This PR adds facility to click a button on the UI to enable legacy signature with S3 compatible servers.
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-231-1/+1
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* Implement v4 endpoints for OAuth (#6040)Joram Wilander2017-04-201-22/+53
| | | | | | | | | | | | | | | | | | * Implement POST /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps/{app_id} and /oauth/apps/{app_id}/info endpoints for APIv4 * Refactor API version independent oauth endpoints * Implement DELETE /oauth/apps/{app_id} endpoint for APIv4 * Implement /oauth/apps/{app_id}/regen_secret endpoint for APIv4 * Implement GET /user/{user_id}/oauth/apps/authorized endpoint for APIv4 * Implement POST /oauth/deauthorize endpoint
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* implement POST /emoji for apiV4 (#5868)Carlos Tadeu Panato Junior2017-04-061-0/+15
|
* PLT-6198: Use added to channel system message on default channels. (#5969)George Goldberg2017-04-041-1/+1
| | | | Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves.
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-1/+1
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+9
|
* APIv4 get /channels/{channel_id}/pinned (#5893)Saturnino Abril2017-03-291-0/+22
|
* Move WebSocket API to it's own package and add websocket v4 endpoint (#5881)Joram Wilander2017-03-281-0/+9
|
* APIv4 put /teams/{team_id}/patch (#5860)Saturnino Abril2017-03-241-0/+10
|
* Update channel permissions for v4 endpoints (#5829)Joram Wilander2017-03-221-8/+12
| | | | | | | | * Fix join channel permission for v4 endpoint * Allow regular users to get public channels they are not in * Fix unit test
* Endpoint for APIv4 POST /channels/{channel_id}/members (#5775)Saturnino Abril2017-03-201-2/+2
|
* Merge branch 'release-3.7' into master.George Goldberg2017-03-171-1/+1
|\
| * PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-1/+1
| |
* | APIv4 DELETE channels/{channel_id} (#5723)Saturnino Abril2017-03-141-0/+46
| |
* | Add implementation for POST /email/test apiV4 - Send Test Email (#5716)Carlos Tadeu Panato Junior2017-03-131-0/+15
| |
* | Implement SAML endpoints for APIv4 (#5671)Joram Wilander2017-03-131-0/+31
| | | | | | | | | | | | | | | | * Implement SAML endpoints for APIv4 * Fix unit test * Only disable encryption when removing puplic/private certs
* | Adding functionality to get & delete incoming webhooks (#5648)Poornima2017-03-111-0/+8
|/
* add implementation for verify email for apiv4 (#5502)Carlos Tadeu Panato Junior2017-02-241-0/+4
|
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-211-0/+15
| | | | | | | | * Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback
* Implement posts endpoints for APIv4 (#5480)Ruzette Tanyag2017-02-211-0/+19
| | | | | | | | | | * Implement delete post endpoint for apiv4 * Implement POST search post endpoint for APIv4 * removed delete post quotes * rearrange formatting