Commit Graph

14 Commits

Author SHA1 Message Date
Harrison Healey
c7bdce8a66 PLT-5900 Removed automatic configuration of SiteURL (#5952)
* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)"

This reverts commit a8e68bd890.

* Removed automatic configuration of SiteURL

* Reverted unintentional config changes

* Updated help text

* Added link to docs in Site URL warning

* Fixed merge conflict
2017-04-04 11:54:52 -04:00
George Goldberg
c6ded1dbfd Merge branch 'release-3.7' 2017-03-23 17:38:24 +00:00
Joram Wilander
bea49cbcf3 Add ability to use 'me' in place of user id for APIv4 (#5826) 2017-03-21 18:43:16 -04:00
George Goldberg
91d430b2a3 Fix policy application in team edition. (#5771) 2017-03-15 19:32:02 +00:00
Joram Wilander
3ebfb36953 Implement compliance endpoints for APIv4 (#5683)
* Implement compliance endpoints for APIv4

* Add paging to get reports endpoint
2017-03-13 10:14:16 -04:00
Poornima
482a0fb5fc Adding functionality to get & delete incoming webhooks (#5648) 2017-03-11 19:40:56 -03:00
Ruzette Tanyag
cef5028cbe Implemented preferences endpoints for apiv4 (#5531)
* implemented preferences endpoints for apiv4

* added user id in preferences endpoints
2017-02-28 09:14:16 +00:00
Joram Wilander
a5f8bdd3a0 Various APIv4 fixes (#5474) 2017-02-20 15:35:02 -05:00
Joram Wilander
91fe8bb2c0 Implement upload and get file endpoints for APIv4 (#5396)
* Implement POST /files endpoint for APIv4

* Implement GET /files/{file_id} endpoint for APIv4
2017-02-17 10:31:21 -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
Ruzette Tanyag
0162d8ad08 Implement GET /users/username/{username} endpoint for APIv4 (#5310)
* 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
2017-02-08 02:00:16 -08:00
Ruzette Tanyag
d91fea6518 Implement GET /users/email/{email} endpoint for APIv4 (#5309)
* 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
2017-02-07 11:54:07 -05:00
Joram Wilander
c01d9ad6cf Implement APIv4 infrastructure (#5191)
* Implement APIv4 infrastructure

* Update parameter requirement functions per feedback
2017-01-30 08:30:02 -05:00