summaryrefslogtreecommitdiffstats
path: root/app/channel.go
Commit message (Collapse)AuthorAgeFilesLines
* 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