Carlos Tadeu Panato Junior
7eb09dbffd
[APIV4] POST /teams/{team_id}/import for apiv4 ( #5920 )
2017-04-03 17:38:26 +01:00
Carlos Tadeu Panato Junior
88b8df3146
implement GET /commands ( #5865 )
2017-04-03 08:12:50 -04:00
Joram Wilander
84826bf563
Re-enable MFA test ( #5911 )
2017-03-31 10:00:01 -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
Joram Wilander
4e224c2996
Implement PUT /channels/{channel_id}/members/{user_id}/notify_props for APIv4 ( #5901 )
2017-03-31 09:55:37 -04:00
Carlos Tadeu Panato Junior
29e6db5713
Implement POST /users/status/ids for apiv4 ( #5894 )
2017-03-30 08:09:39 -07:00
Harrison Healey
6ac87d82e3
PLT-2713 Added ability for admins to list users not in any team ( #5844 )
...
* PLT-2713 Added ability for admins to list users not in any team
* Updated style of unit test
2017-03-29 21:11:40 -04:00
George Goldberg
a4764a5c10
PLT-6083: API to get users not in a specific team. ( #5888 )
2017-03-29 21:10:51 -04:00
prixone
8b868828bf
PLT 6125 Allow system admins to create users on closed servers ( #5908 )
...
* Update user.go
Added method to create user accounts using a privileged system_admin account
* Update user.go
Added respective method to handle the the APIv4 call to create users with privileged account(system_admin) by passing server restrictions of EnableUserCreation and/or EnableOpenServer set to false.
* Update user_test.go
Added test case
2017-03-29 21:05:32 -04:00
Saturnino Abril
8a31718db1
APIv4 get /channels/{channel_id}/pinned ( #5893 )
2017-03-29 08:09:05 -07: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
daca0d93f6
Move WebSocket API to it's own package and add websocket v4 endpoint ( #5881 )
2017-03-28 09:58:19 +01:00
Harrison Healey
022627f940
Disabled problematic unit test ( #5891 )
2017-03-27 13:13:30 -07:00
Joram Wilander
58397f853a
Implement some MFA endpoints for APIv4 ( #5864 )
2017-03-27 09:21:48 -04:00
Joram Wilander
a0d5c01dfd
Implement client config/license endpoints for APIv4 ( #5867 )
2017-03-27 09:19:53 -04:00
Joram Wilander
d145c35838
Implement PUT /users/sessions/device endpoint for APIv4 ( #5866 )
2017-03-27 09:17:34 -04:00
Saturnino Abril
01aaccb340
APIv4 post /channels/ids ( #5845 )
...
* APIv4 post /channels/ids
* updated enpoint as /teams/{team_id}/channels/ids
2017-03-27 08:41:40 -03:00
George Goldberg
720ee81113
PLT-6063: AddUserToTeam permission depends on policy. ( #5869 )
...
Uses same policy setting as InviteUserToTeam.
2017-03-26 09:37:39 -04:00
Joram Wilander
ea74613444
Implement some team endpoints for APIv4 ( #5870 )
...
* Implement GET /users/{user_id}/teams/members endpoint for APIv4
* Implement DELETE /teams/{team_id}/members/{user_id} endpoint for APIv4
2017-03-25 03:38:24 -03: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
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