summaryrefslogtreecommitdiffstats
path: root/model/client4.go
Commit message (Collapse)AuthorAgeFilesLines
* Add APIv4 /system/ping endpoint (#5443)Robin Naundorf2017-02-171-0/+13
|
* Implement PUT /users/{user_id}/patch endpoint for APIv4 (#5418)Joram Wilander2017-02-161-0/+10
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-0/+42
| | | | | | | | | | | | * 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/+51
| | | | | | | | | | | | * 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-0/+14
| | | | | | | | | | | | * 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 a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-071-0/+39
| | | | | | | | | | * Implement GET /channels/{channel_id}/members * Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4 * Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4 * Fix unit test
* Implement password reset endpoints for APIv4 (#5256)Joram Wilander2017-02-071-0/+23
|
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-071-0/+11
|
* Implement a few team endpoints for APIv4 (#5296)Joram Wilander2017-02-071-4/+39
| | | | | | | | * Implement GET /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams endpoint for APIv4 * Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
* Implement GET `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-071-0/+14
| | | | | | | | | | * added get user by email endpoint for APIv4 * added get user by email endpoint unit test and driver * removed the appended return of user ids on logout * Added RequireEmail to validate user email. Also updated the get user by email endpoint and unit test
* Implement DELETE /users/{user_id endpoint for APIv4 - rebase cleanup (#5307)Ruzette Tanyag2017-02-051-0/+10
| | | | | | | | * added delete user endpoint * added unit test for delete user endpoint * added delete user driver
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-0/+44
|
* Implement POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-031-0/+12
|
* Implement POST /users/ids endpoint for APIv4 (#5274)Joram Wilander2017-02-031-0/+10
|
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-1/+18
|
* Implement PUT /users/{user_id}/roles endpoint for APIv4 (#5238)Joram Wilander2017-02-011-0/+11
|
* Implement POST /teams endpoint (#5220)Joram Wilander2017-01-311-1/+10
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+222
* Implement APIv4 infrastructure * Update parameter requirement functions per feedback