Commit Graph

15 Commits

Author SHA1 Message Date
Corey Hulen
e2cc0df2e8 PLT-6761 fixing unit tests (#6671) 2017-06-19 09:08:52 -07:00
Carlos Tadeu Panato Junior
a5d2d6503d [PTL-6301] debug randon failing test (#6161)
* debug randon failing test

* add another check.
2017-05-15 11:44:04 -04:00
Harrison Healey
fb6f2a123c PLT-5860 Updated copyright date (#6058)
* 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
2017-04-12 08:27:57 -04:00
Saturnino Abril
d8b732a488 APIv4 GET /users/{user_id}/posts/flagged (#5984)
* APIv4 GET /users/{user_id}/posts/flagged

* change permission check
2017-04-05 16:18:23 -04:00
Joram Wilander
97de1d0982 Fix blanking out of FileIds and backwards compatability issue with v3 (#5950) 2017-04-04 15:17:47 -04:00
Saturnino Abril
5d56fbb036 APIv4 POST /posts/{post_id/pin & unpin (#5906)
* APIv4 get /posts/{post_id}/pin & unpin

* remove PinnedPost from api test helper
2017-03-31 09:58:47 -04:00
Joram Wilander
5f6d50bff1 Use 201 status code where appropriate for APIv4 (#5903) 2017-03-31 09:56:20 -04:00
Saturnino Abril
2f15523fe8 APIv4 put /posts/{post_id}/patch (#5883)
* APIv4 put /posts/{post_id}/patch

* Add props and edit permission
2017-03-29 08:06:51 -07:00
Joram Wilander
69fb47b88b Add query parameters to get posts v4 endpoint (#5858)
* Add since query paremeter to get posts v4 endpoint

* Add query paremeters for before/after to get posts v4 endpoint
2017-03-24 13:46:11 -07:00
Christopher Speller
7caab35cfa Fxing some unit tests (#5817) 2017-03-20 16:47:53 -04:00
Andrei Stanciu
6ff350380b ApiV4: PUT /posts/{post_id} (#5521) 2017-02-28 09:34:32 +00:00
Joram Wilander
ace228c4e5 Implement GET /posts/{post_id}/files/info endpoint for APIv4 (#5519) 2017-02-24 11:15:13 +00:00
Ruzette Tanyag
9646bddd21 Implement posts endpoints for APIv4 (#5480)
* Implement delete post endpoint for apiv4

* Implement POST search post endpoint for APIv4

* removed delete post quotes

* rearrange formatting
2017-02-21 07:36:52 -05:00
Ruzette Tanyag
28aa7cdbf2 Implement GET channels endpoints for APIv4 (#5363)
* 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
2017-02-14 10:28:08 -05:00
Joram Wilander
e4effd0c15 Implement some post endpoints for APIv4 (#5353)
* 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
2017-02-13 10:52:50 -05:00