summaryrefslogtreecommitdiffstats
path: root/api4/channel_test.go
Commit message (Collapse)AuthorAgeFilesLines
* [PLT-6838] Restrict channel delete option per permission policy even for ↵Saturnino Abril2017-07-051-3/+11
| | | | | | | | | | last channel member (#6706) * channel delete option is hidden from the menu unless there is appropriate permissions as set in the policy page * apply to public channel only and add restriction to API layer * updated channel deletion
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-2/+2
|
* PLT-6019: Add APIv4 Endpoint for restoring Channels (#6263)Robin Naundorf2017-05-151-0/+26
|
* Merge branch 'release-3.9' into merge-3.9JoramWilander2017-05-121-0/+10
|\
| * PLT-6556 Fixed last member of a channel not being able to delete channel ↵Harrison Healey2017-05-111-0/+10
| | | | | | | | with api v4 (#6397)
* | Removing channel list alias from apiv4 client (#6383)Christopher Speller2017-05-101-19/+19
| |
* | Add API Endpoint for deleted Channels (#5889)Robin Naundorf2017-05-091-0/+49
|/
* PLT-6214 Move channel store and actions over to redux (#6235)Joram Wilander2017-04-281-1/+1
| | | | | | | | | | | | | | * Move channel store and actions over to redux * Fix style errors * Fix unit test * Various fixes * More fixes * Revert config changes
* APIv4 POST /channels/group (#6166)Saturnino Abril2017-04-201-0/+73
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * 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
* PLT-4858: Unit tests to cover this bug. (#5990)George Goldberg2017-04-051-0/+24
|
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-1/+1
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* PLT-6139 (Server): Private Channel member managing (#5941)George Goldberg2017-04-031-0/+248
| | | | Adds an EE policy feature to allow restricting system-wide which level of Admins can manage the membership of private channels.
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+2
|
* Implement PUT /channels/{channel_id}/members/{user_id}/notify_props for ↵Joram Wilander2017-03-311-0/+50
| | | | APIv4 (#5901)
* APIv4 get /channels/{channel_id}/pinned (#5893)Saturnino Abril2017-03-291-0/+39
|
* APIv4 post /channels/ids (#5845)Saturnino Abril2017-03-271-0/+63
| | | | | | * APIv4 post /channels/ids * updated enpoint as /teams/{team_id}/channels/ids
* Implement some channel endpoints for APIv4 (#5846)Joram Wilander2017-03-241-0/+159
| | | | | | | | | | * 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
* Fix delete channel test (#5863)Joram Wilander2017-03-231-0/+12
|
* Merge branch 'release-3.7'George Goldberg2017-03-231-1/+14
|\
| * Fxing some unit testsChristopher Speller2017-03-221-1/+1
| |
| * Fix policy application in team edition. (#5771)George Goldberg2017-03-151-1/+14
| |
* | Update channel permissions for v4 endpoints (#5829)Joram Wilander2017-03-221-3/+50
| | | | | | | | | | | | | | | | * Fix join channel permission for v4 endpoint * Allow regular users to get public channels they are not in * Fix unit test
* | Fxing some unit tests (#5817)Christopher Speller2017-03-201-1/+1
| |
* | Endpoint for APIv4 POST /channels/{channel_id}/members (#5775)Saturnino Abril2017-03-201-0/+88
| |
* | Merge branch 'release-3.7' into master.George Goldberg2017-03-171-1/+1
|\|
* | Implement some channel endpoints for APIv4 (#5767)Joram Wilander2017-03-161-0/+125
| |
* | APIv4 DELETE channels/{channel_id} (#5723)Saturnino Abril2017-03-141-0/+239
| |
* | add update channel endpoint for APIv4 (#5624)Carlos Tadeu Panato Junior2017-03-131-0/+72
| |
* | Endpoint for APIv4: GET /team/{team_id}/channels (#5681)Saturnino Abril2017-03-131-0/+80
|/
* Fix JS error when receiving reply during channel switch (#5582)Joram Wilander2017-03-031-0/+11
|
* Implement a few channel member endpoints for APIv4 (#5444)Joram Wilander2017-02-201-3/+196
| | | | | | | | * 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
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-1/+79
| | | | | | | | | | | | * 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
* Implement some post endpoints for APIv4 (#5353)Joram Wilander2017-02-131-2/+2
| | | | | | | | | | | | * 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
* Implement a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-071-0/+146
| | | | | | | | | | * 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
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-031-6/+6
|
* Implement POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-031-0/+52
|
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-0/+169