summaryrefslogtreecommitdiffstats
path: root/app/channel.go
Commit message (Collapse)AuthorAgeFilesLines
* Implement a few channel member endpoints for APIv4 (#5444)Joram Wilander2017-02-201-3/+19
| | | | | | | | * 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
* Fix issue with Aurora read replica (#5448)Corey Hulen2017-02-171-0/+30
|
* Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430)Joram Wilander2017-02-151-55/+0
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-2/+31
| | | | | | | | | | | | * 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
* Fix unread error (#5390)Joram Wilander2017-02-131-1/+1
|
* Increase performance when receiving messages (#5375)Joram Wilander2017-02-131-5/+13
|
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
* Implement a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-071-3/+11
| | | | | | | | | | * 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/+4
|
* Implement POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-031-3/+8
|
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-021-0/+16
| | | | | | * Add tear down to APIv4 tests * Defer tear downs
* PLT-5407: Bulk importing of User memberships. (#5273)George Goldberg2017-02-021-1/+11
|
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-0/+33
|
* PLT-5225 Added separate post types for certain system messages (#5193)Harrison Healey2017-01-271-36/+94
| | | | | | | | | | | | * Added separate post types for system_join_leave and system_add_remove posts * Added username prop to channel deleted posts * Changed slack import to properly generate the new join/leave messages * Added username prop to channel update posts * Moved Post(AddTo/RemoveFrom)ChanneMessage into app package
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-271-9/+10
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* PLT-4858: Allow system admin to delete all channels. (#5180)George Goldberg2017-01-251-4/+0
| | | | | | | The app-package refactor means that the check for a Channel Member object before allowing to delete the channel is now redundant, as the check is already carried out by using HasPermissionToChannel() on the user requesting it. As a result, System Admins can now delete channels through the API even if they aren't members.
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-3/+337
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* PLT-2978: Add channel purpose change system message. (#5094)George Goldberg2017-01-171-0/+35
| | | Completes original patch by David Lu.
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-1/+186
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+216
* Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge