Commit Graph

295 Commits

Author SHA1 Message Date
Joram Wilander
28a78d7607 Implement some channel endpoints for APIv4 (#5846)
* Add v4 endpoint for getting the channels on a team for a user

* Implement PUT /channels/{channel_id}/patch endpoint for APIv4

* Implement POST /teams/{team_id}/channels/search endpoint for APIv4

* Update permission check
2017-03-24 13:45:34 -07:00
Joram Wilander
11b7aa859c Implement POST /users/email/verify/send endpoint for APIv4 (#5825) 2017-03-24 13:42:05 -07:00
Carlos Tadeu Panato Junior
5bf6ae04df [APIV4] GET /users/{user_id}/status - user status endpoint for apiV4 (#5824) 2017-03-24 17:23:32 +00:00
Saturnino Abril
d0af931e6e APIv4 put /teams/{team_id}/patch (#5860) 2017-03-24 08:17:46 -04:00
Saturnino Abril
f1274a7ec2 Endpoint for APIv4 POST /teams/{team_id}/members (#5804) 2017-03-24 09:13:27 +00:00
Carlos Tadeu Panato Junior
6935e2d5ea implement POST /commands for apiv4 (#5849) 2017-03-23 19:42:32 -04:00
Joram Wilander
42c3ea64a9 Fix delete channel test (#5863) 2017-03-23 15:37:39 -07:00
George Goldberg
c6ded1dbfd Merge branch 'release-3.7' 2017-03-23 17:38:24 +00:00
Carlos Tadeu Panato Junior
34cb70d005 add implementation for endpoint DELETE outgoing webhook for apiv4 (#5828) 2017-03-23 12:50:06 +00:00
Carlos Tadeu Panato Junior
78e5b803cc add implementation to get outgoing webhook for apiv4 (#5827) 2017-03-23 11:02:42 +00:00
Joram Wilander
2a753949f1 Implement POST /users/search endpoint for APIv4 (#5822)
* Implement POST /users/search endpoint for APIv4

* PLT-2713 Added store functions for searching users that don't have a team

* PLT-2713 Added 'without_team' option when searching users

* PLT-2713 Added 'without_team' option when searching users (v4)
2017-03-23 10:34:22 +00:00
Christopher Speller
8d68de000a Fxing some unit tests 2017-03-22 15:51:57 -04:00
Joram Wilander
61b1237c20 Update channel permissions for v4 endpoints (#5829)
* Fix join channel permission for v4 endpoint

* Allow regular users to get public channels they are not in

* Fix unit test
2017-03-22 08:13:44 -07: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
Joram Wilander
fd6e2f3f73 Implement GET /audits endpoint for APIv4 (#5779)
* Implement GET /audits endpoint for APIv4

* Fix log unit test
2017-03-21 09:06:08 -04:00
Carlos Tadeu Panato Junior
4968ef0759 implement PUT /hooks/outgoing/{hook_id} - update outgoing hook (#5793) 2017-03-21 11:56:42 +00:00
Christopher Speller
7caab35cfa Fxing some unit tests (#5817) 2017-03-20 16:47:53 -04:00
Joram Wilander
dcdea9b54c Fix compile error on master (#5813) 2017-03-20 10:12:43 -04:00
Carlos Tadeu Panato Junior
3d14573b8c [APIV4] POST /hooks/outgoing/{hook_id}/regen_token - regentoken endpoint for apiV4 (#5783) 2017-03-20 12:56:23 +00:00
Saturnino Abril
7e89077a93 Endpoint for APIv4 POST /channels/{channel_id}/members (#5775) 2017-03-20 12:44:08 +00:00
Carlos Tadeu Panato Junior
ac8282cda1 Add updateConfig endpoint for apiV4 (#5706) 2017-03-20 12:37:34 +00:00
Joram Wilander
f4473cf312 PLT-5943 Reduce minimum username length (#5798) 2017-03-17 16:42:23 +00:00
George Goldberg
7f266c1951 Merge branch 'release-3.7' into master. 2017-03-17 16:29:26 +00:00
Christopher Speller
9298315ce9 Fxing code coverage numbers + APIv4 tests with EE (#5789) 2017-03-16 14:00:00 -07:00
Joram Wilander
0bc3e46082 Implement GET /logs endpoint for APIv4 (#5778) 2017-03-16 11:59:44 -07:00
Joram Wilander
d757645c24 Implement some channel endpoints for APIv4 (#5767) 2017-03-16 11:58:33 -07:00
Carlos Tadeu Panato Junior
241f9e8888 Implement update IncomingHook for apiV4 (#5762) 2017-03-15 19:47:15 -04:00
George Goldberg
91d430b2a3 Fix policy application in team edition. (#5771) 2017-03-15 19:32:02 +00:00
Carlos Tadeu Panato Junior
fa47132b8f [APIV4] POST /caches/invalidate - endpoint for apiV4 (#5756) 2017-03-14 16:06:07 +00:00
Joram Wilander
ad0ed008fe Implement brand image endpoints for APIv4 (#5733)
* Implement brand image endpoints for APIv4

* Fix unit test
2017-03-14 09:35:48 -04:00
Carlos Tadeu Panato Junior
d03367c560 Add implementation for POST /config/reload apiV4 - Reload Configuration (#5713) 2017-03-14 08:52:27 -04:00
Joram Wilander
ee457176bd Implement admin LDAP endpoints for APIv4 (#5720) 2017-03-14 08:43:40 -04:00
Saturnino Abril
a71a9fc3bf APIv4 DELETE channels/{channel_id} (#5723) 2017-03-14 12:08:58 +00:00
Saturnino Abril
aafc63933a APIv4: GET /files/{file_id}/public (#5665) 2017-03-13 17:13:48 -04:00
Saturnino Abril
3cbe05e0f4 APIv4: GET /files/{file_id}/info (#5591) 2017-03-13 16:34:43 -04:00
Saturnino Abril
8b59a2a291 APIv4: GET /files/{file_id}/preview (#5568)
patch 1
2017-03-13 15:40:32 -04:00
Joram Wilander
59d06b5c56 Implement GET /cluster/status endpoint for APIv4 (#5732) 2017-03-13 12:49:19 -04:00
Carlos Tadeu Panato Junior
27d2c1f6fe Add implementation for POST /database/recycle apiV4 - Recycle database connection (#5717) 2017-03-13 15:47:33 +00:00
Carlos Tadeu Panato Junior
38958d9ac4 Add implementation for POST /email/test apiV4 - Send Test Email (#5716) 2017-03-13 15:09:00 +00:00
Joram Wilander
19c67d7fe3 Implement GET and POST /hooks/outgoing endpoints for APIv4 (#5645) 2017-03-13 10:40:43 -04: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
Joram Wilander
a284cd8c18 Implement some team endpoints for APIv4 (#5745)
* Implement PUT /teams/{team_id} endpoint for APIv4

* Implement GET /users/{user_id}/teams/{team_id}/unread endpoint for APIv4

* Implement POST /teams/{team_id}/members/ids endpoint for APIv4

* Remove debug statement
2017-03-13 09:46:28 -04:00
Carlos Tadeu Panato Junior
b299bc8999 add update channel endpoint for APIv4 (#5624) 2017-03-13 09:24:30 -04:00
Joram Wilander
8b0eedbbcd Implement PUT /users/{user_id}/mfa endpoint for APIv4 (#5743) 2017-03-13 12:29:56 +00:00
Joram Wilander
1860d05d62 Implement GET /users/autocomplete endpoint for APIv4 (#5742) 2017-03-13 12:29:41 +00:00
Carlos Tadeu Panato Junior
c372ceebf8 [APIV4] GET /config - getConfig endpoint for apiV4 (#5701) 2017-03-13 12:27:27 +00:00
Saturnino Abril
8731465957 Endpoint for APIv4: GET /team/{team_id}/channels (#5681) 2017-03-13 12:26:51 +00:00
Joram Wilander
3559fb7959 Implement SAML endpoints for APIv4 (#5671)
* Implement SAML endpoints for APIv4

* Fix unit test

* Only disable encryption when removing puplic/private certs
2017-03-13 12:26:23 +00:00
Poornima
482a0fb5fc Adding functionality to get & delete incoming webhooks (#5648) 2017-03-11 19:40:56 -03:00
Carlos Tadeu Panato Junior
11f1859de1 improvements for inbucket email test and re-enable Email mention test (#5647)
Now if we dont get the mailbox to check the email we try 5 times, if
still no message we disable the email verification.
2017-03-11 19:39:00 -03:00