summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Changing map to array for web_hub connections. (#5226)Christopher Speller2017-01-301-17/+30
|
* Add initial tests for app/team.go (#5208)Carlos Tadeu Panato Junior2017-01-301-0/+114
| | | | | | * . * add initial tests for app/team.go
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-304-3/+424
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* PLT-5225 Added separate post types for certain system messages (#5193)Harrison Healey2017-01-272-37/+106
| | | | | | | | | | | | * 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-278-25/+50
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* PLT-5366, PLT-5364, PLT-5363: Bulk Import Part 1. (#5204)George Goldberg2017-01-273-2/+792
| | | | | | | This commit provides the first part of the bulk import system. The CLI command is provided, complete with validation & apply modes. All the basic properties of Teams and Channels can be imported. Users & Posts will follow separately in a future commit.
* Notifications fix from 3.6 branchChristopher Speller2017-01-271-9/+7
|
* Fix cluster logs (#5195)Joram Wilander2017-01-261-9/+18
|
* Add tests for app/email.go (#5187)Carlos Tadeu Panato Junior2017-01-261-0/+419
| | | | | | | | * Add tests for app/email.go * fix issue related with inbucket * applied go fmt
* PLT-4378 Slack import when channel name is deleted (#4649)George Goldberg2017-01-251-6/+16
| | | | | This fixes the issue where the channel fails to Import from Slack if there is already a channel with the same name on Mattermost that has been deleted.
* More app code migration (#5170)Joram Wilander2017-01-2512-14/+1167
| | | | | | | | * Migrate admin functions into app package * More user function refactoring * Move post functions into app package
* 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.
* Move permissions code into app package (#5146)Joram Wilander2017-01-234-14/+341
| | | | | | * Move permissions code into app package * Revert getPosts permission
* Move Slack Import to App Layer. (#5135)George Goldberg2017-01-204-1/+1208
|
* PLT-5284 Fix webhook notifications for channel creator is not in (#5119)Joram Wilander2017-01-203-17/+15
| | | | | | * Fix webhook notifications for channel creator is not in * Fix unit test
* Migrate functions to app package (#5106)Joram Wilander2017-01-198-15/+1331
| | | | | | | | | | | | | | | | | | * 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.
* Add inbucket docker image to allow local and automated testing of emails (#4901)Carlos Tadeu Panato Junior2017-01-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * add docker container for inbucket * Add way to get the emails using inbucket and add a test for reset password * add config setting to send emails * update TestEmailTest update * add another test and fix wrong assert * update per review fix lint change senders email * Revert config.json to default values for EmailSettings section * update test * add setup to make the test run
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-1313-205/+1396
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-1318-0/+3608
* 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