Commit Graph

27 Commits

Author SHA1 Message Date
Joram Wilander
2e6fd031d1 Add GET /teams/invite/{invite_id} endpoint for v4 (#6685) 2017-06-20 14:55:43 +01:00
Zeger-Jan van de Weg
0c04c5334f Add APIv4 endpoint to permanently delete teams (#6604)
Tests are added, however, it only tests the property if its soft deleted. In the
background it will be hard deleted, but that is untestable through a integration
test.
2017-06-15 08:13:18 -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
George Goldberg
32460bf63b PLT-6198: Use added to channel system message on default channels. (#5969)
Use a different sytem message when a user was added to a default channel
by someone else than when they joined themselves.
2017-04-04 18:19:42 +01:00
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
Carlos Tadeu Panato Junior
9dce502814 Implement POST /teams/{team_id}/invite/email for apiV4 (#5944) 2017-04-03 21:32:09 -04:00
George Goldberg
1bcb5cdb9d PLT-6169: Batch add users to teams. (#5953) 2017-04-03 19:32:57 +01:00
Saturnino Abril
997eacd4b6 APIv4 DELETE /teams/{team_id} (#5937) 2017-04-03 10:35:29 -07:00
Saturnino Abril
43e795448f APIv4 post /teams/search (#5931) 2017-04-03 10:34:14 -07:00
Carlos Tadeu Panato Junior
7eb09dbffd [APIV4] POST /teams/{team_id}/import for apiv4 (#5920) 2017-04-03 17:38:26 +01:00
Joram Wilander
5f6d50bff1 Use 201 status code where appropriate for APIv4 (#5903) 2017-03-31 09:56:20 -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
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
George Goldberg
7f266c1951 Merge branch 'release-3.7' into master. 2017-03-17 16:29:26 +00: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
Harrison Healey
a8e68bd890 PLT-5765 Passed SiteURL to SendNotifications (#5705) 2017-03-10 10:18:18 +00:00
Carlos Tadeu Panato Junior
19ec4c4298 add team exists endpoint for APIv4 (#5517) 2017-03-07 19:30:33 -05:00
Andrei Stanciu
25b9b7d26b ApiV4: GET /users/{user_id}/teams/unread (#5539) 2017-02-28 15:47:30 +00:00
Andrei Stanciu
45edfbe719 Get all teams api4 (#5542) 2017-02-28 08:41:38 +00:00
Saturnino Abril
fff0b2bd86 APIv4: GET /teams/{team_id}/members (#5460)
* APIv4: GET /teams/{team_id}/members

* removed unecessary comment

* changed route to session required, and logout test to unauthorized

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2017-02-22 18:55:31 -05:00
Saturnino Abril
a14e44b4ec Implement endpoint for APIv4: PUT /teams/{team_id}/members/{user_id}/roles (#5471) 2017-02-21 12:13:26 +00:00
Joram Wilander
a5f8bdd3a0 Various APIv4 fixes (#5474) 2017-02-20 15:35:02 -05:00
Saturnino Abril
623560481b Implementation endpoint for APIv4: GET /teams/name/{name} (#5473)
* APIv4: GET /teams/name/{name}

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* reorganized test with SystemAdminClient

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2017-02-20 13:27:57 -03:00
Saturnino Abril
00d11e961f Implement GET teams/{team_id}/stats - apiv4 (#5453)
* api4 GET teams/{team_id}/stats

* api4 GET teams/{team_id}/stats

* moved TeamStats router to team.go
2017-02-17 15:50:17 -05:00
Joram Wilander
ba18374bd1 Implement a few team endpoints for APIv4 (#5296)
* Implement GET /teams/{team_id} endpoint for APIv4

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

* Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
2017-02-07 08:57:41 -08:00
Joram Wilander
7431050b42 Implement POST /teams endpoint (#5220) 2017-01-31 07:59:36 -05:00