summaryrefslogtreecommitdiffstats
path: root/api4/apitestlib.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Implement GET teams/{team_id}/stats - apiv4 (#5453)Saturnino Abril2017-02-171-0/+14
| | | | | | | | * api4 GET teams/{team_id}/stats * api4 GET teams/{team_id}/stats * moved TeamStats router to team.go
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-171-0/+68
| | | | | | * Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-2/+2
| | | | | | | | | | | | * implement get channels endpoints and updated drivers and unittests * removed channel deletion on tear down, removed manage permission on get channels endpoints, and updated utils to add constant channel length * added constants for user, team and channel length, updated context to use the model functions * make sure team name length should be less than the minimum length and revert underscore to team name validity * changed post test condition from notfound to unauthorized
* Implement some post endpoints for APIv4 (#5353)Joram Wilander2017-02-131-0/+27
| | | | | | | | | | | | * Implement POST /posts endpoint for APIv4 * Implement GET /channels/{channel_id}/posts endpoint for APIv4 * Implement GET /posts/{post_id} endpoint for APIv4 * Implement GET /posts/{post_id}/thread endpoint for APIv4 * Skip team get if it's a DM channel in handlePostEvents
* Implement GET `/users/username/{username}` endpoint for APIv4 (#5310)Ruzette Tanyag2017-02-081-1/+1
| | | | | | | | | | | | * added get user by username endpoint * added get user by username unit test and driver * changed username length to 22 characters max * changed Params to UserName to Username * reorganized get user by username and get user by email formatting in model/client4
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-071-1/+5
|
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-0/+2
|
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-021-0/+28
| | | | | | * Add tear down to APIv4 tests * Defer tear downs
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-0/+30
|
* Implement PUT /users/{user_id}/roles endpoint for APIv4 (#5238)Joram Wilander2017-02-011-1/+15
|
* Improve APIv4 test lib (#5237)Joram Wilander2017-01-311-13/+97
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+211
* Implement APIv4 infrastructure * Update parameter requirement functions per feedback