summaryrefslogtreecommitdiffstats
path: root/api4/context.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-3.7'George Goldberg2017-03-231-1/+1
|\
| * Fix policy application in team edition. (#5771)George Goldberg2017-03-151-1/+1
| |
* | Add ability to use 'me' in place of user id for APIv4 (#5826)Joram Wilander2017-03-211-0/+4
| |
* | Implement compliance endpoints for APIv4 (#5683)Joram Wilander2017-03-131-0/+11
| | | | | | | | | | | | * Implement compliance endpoints for APIv4 * Add paging to get reports endpoint
* | Adding functionality to get & delete incoming webhooks (#5648)Poornima2017-03-111-0/+12
|/
* Implemented preferences endpoints for apiv4 (#5531)Ruzette Tanyag2017-02-281-0/+24
| | | | | | * implemented preferences endpoints for apiv4 * added user id in preferences endpoints
* Various APIv4 fixes (#5474)Joram Wilander2017-02-201-0/+2
|
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-171-4/+14
| | | | | | * 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-8/+28
| | | | | | | | | | | | * 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/+11
| | | | | | | | | | | | * 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/+17
| | | | | | | | | | | | * 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 GET `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-071-0/+13
| | | | | | | | | | * 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 APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+360
* Implement APIv4 infrastructure * Update parameter requirement functions per feedback