Commit Graph

36 Commits

Author SHA1 Message Date
Robin Naundorf
0a20e8d326 PLT-6019: Add APIv4 Endpoint for restoring Channels (#6263) 2017-05-15 16:12:30 -04:00
JoramWilander
9d109b0700 Merge branch 'release-3.9' into merge-3.9 2017-05-12 08:00:28 -04:00
Harrison Healey
a21a06afd9 PLT-6556 Fixed last member of a channel not being able to delete channel with api v4 (#6397) 2017-05-11 16:32:14 -04:00
Christopher Speller
4f589e077c Removing channel list alias from apiv4 client (#6383) 2017-05-10 08:41:56 -07:00
Robin Naundorf
5efcd2d9d3 Add API Endpoint for deleted Channels (#5889) 2017-05-09 07:52:46 -05:00
Joram Wilander
96906482ce PLT-6214 Move channel store and actions over to redux (#6235)
* Move channel store and actions over to redux

* Fix style errors

* Fix unit test

* Various fixes

* More fixes

* Revert config changes
2017-04-28 13:16:03 -04:00
Saturnino Abril
b0e5713680 APIv4 POST /channels/group (#6166) 2017-04-20 09:55:43 -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
5986c4a847 PLT-4858: Unit tests to cover this bug. (#5990) 2017-04-05 11:41:33 -04: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
George Goldberg
e49f5928c5 PLT-6139 (Server): Private Channel member managing (#5941)
Adds an EE policy feature to allow restricting system-wide which level of
Admins can manage the membership of private channels.
2017-04-03 13:13:28 -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
Saturnino Abril
8a31718db1 APIv4 get /channels/{channel_id}/pinned (#5893) 2017-03-29 08:09:05 -07: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
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
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
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
Christopher Speller
7caab35cfa Fxing some unit tests (#5817) 2017-03-20 16:47:53 -04:00
Saturnino Abril
7e89077a93 Endpoint for APIv4 POST /channels/{channel_id}/members (#5775) 2017-03-20 12:44:08 +00:00
George Goldberg
7f266c1951 Merge branch 'release-3.7' into master. 2017-03-17 16:29:26 +00:00
Joram Wilander
d757645c24 Implement some channel endpoints for APIv4 (#5767) 2017-03-16 11:58:33 -07:00
George Goldberg
91d430b2a3 Fix policy application in team edition. (#5771) 2017-03-15 19:32:02 +00:00
Saturnino Abril
a71a9fc3bf APIv4 DELETE channels/{channel_id} (#5723) 2017-03-14 12:08:58 +00:00
Carlos Tadeu Panato Junior
b299bc8999 add update channel endpoint for APIv4 (#5624) 2017-03-13 09:24:30 -04:00
Saturnino Abril
8731465957 Endpoint for APIv4: GET /team/{team_id}/channels (#5681) 2017-03-13 12:26:51 +00:00
Joram Wilander
e739a91c94 Fix JS error when receiving reply during channel switch (#5582) 2017-03-03 12:25:32 -05:00
Joram Wilander
dd4d8440ea Implement a few channel member endpoints for APIv4 (#5444)
* Implement POST /channels/members/{user_id}/view endpoint for APIv4

* Implement PUT /channels/{channel_id}/members/{user_id}/roles endpoint for APIv4

* Implement DELETE /channels/{channel_id}/members/{user_id} endpoint for APIv4
2017-02-20 13:31:52 -03: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
Joram Wilander
5462f0119e Implement a few channel member endpoints for APIv4 (#5304)
* Implement GET /channels/{channel_id}/members

* Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4

* Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4

* Fix unit test
2017-02-07 14:58:27 -08:00
Joram Wilander
7ff2aef7fa Implement GET /users endpoint for APIv4 (#5277) 2017-02-03 15:17:34 -05:00
Joram Wilander
9312469ad5 Implement POST /channels/direct endpoint for APIv4 (#5283) 2017-02-03 10:27:12 -05:00
Joram Wilander
609d4f43d9 Implement POST /channels endpoint for APIv4 (#5241) 2017-02-02 09:04:36 -05:00