summaryrefslogtreecommitdiffstats
path: root/api4/post_test.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
* APIv4 GET /users/{user_id}/posts/flagged (#5984)Saturnino Abril2017-04-051-0/+181
| | | | | | * APIv4 GET /users/{user_id}/posts/flagged * change permission check
* Fix blanking out of FileIds and backwards compatability issue with v3 (#5950)Joram Wilander2017-04-041-0/+13
|
* APIv4 POST /posts/{post_id/pin & unpin (#5906)Saturnino Abril2017-03-311-0/+70
| | | | | | * APIv4 get /posts/{post_id}/pin & unpin * remove PinnedPost from api test helper
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+1
|
* APIv4 put /posts/{post_id}/patch (#5883)Saturnino Abril2017-03-291-0/+102
| | | | | | * APIv4 put /posts/{post_id}/patch * Add props and edit permission
* Add query parameters to get posts v4 endpoint (#5858)Joram Wilander2017-03-241-4/+115
| | | | | | * Add since query paremeter to get posts v4 endpoint * Add query paremeters for before/after to get posts v4 endpoint
* Fxing some unit tests (#5817)Christopher Speller2017-03-201-4/+4
|
* ApiV4: PUT /posts/{post_id} (#5521)Andrei Stanciu2017-02-281-0/+69
|
* Implement GET /posts/{post_id}/files/info endpoint for APIv4 (#5519)Joram Wilander2017-02-241-0/+60
|
* Implement posts endpoints for APIv4 (#5480)Ruzette Tanyag2017-02-211-0/+257
| | | | | | | | | | * Implement delete post endpoint for apiv4 * Implement POST search post endpoint for APIv4 * removed delete post quotes * rearrange formatting
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-1/+1
| | | | | | | | | | | | * 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/+249
* 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