summaryrefslogtreecommitdiffstats
path: root/cmd/mattermost/commands
Commit message (Collapse)AuthorAgeFilesLines
* MM-8810: Add CSV Compliance export (#8966)Jesús Espino2018-06-223-14/+70
| | | | | | | | | | | | * MM-8810: Add CSV Compliance export * Only allowing to schedule actiances export throught the cli * De-duplicating some code * Fixes on texts * Fixes on translations
* MM-10370: serve subpath (#8968)Jesse Hallam2018-06-211-3/+2
| | | | | | | | | | | | | | | | | | | | | | | * factor out GetSubpathFromConfig * mv web/subpath.go to utils/subpath.go * serve up web, api and ws on /subpath if configured * pass config to utils.RenderWeb(App)?Error This allows the methods to extract the configured subpath and redirect to the appropriate `/subpath/error` handler. * ensure GetSubpathFromConfig returns trailing slashes deterministically * fix error 404 handling * redirect /subpath to /subpath/ This is necessary for the static handler to match, otherwise none of the registered routes find anything. This also makes it no longer necessary to add trailing slashes in the root router.
* MM-10367: rewrite subpath assets on startup (#8944)Jesse Hallam2018-06-141-2/+36
| | | | | | | | | Examine ServiceSettings.SiteURL on startup and rewrite assets accordingly if not in a development environment. Also export `mattermost config subpath` command to manually do same. This accompanies a webapp PR to use the updated `root.html` to define the necessary webpack asset path for dynamically loading assets.
* MM-10684: Show logs on Slack Import CLI. (#8936)George Goldberg2018-06-111-1/+10
|
* Merge branch 'advanced-permissions-phase-2'George Goldberg2018-05-316-5/+168
|\
| * Add note about clearing caches when permissions reset CLI done. (#8823)George Goldberg2018-05-301-1/+3
| | | | | | | | | | | | * Add note about clearing caches when permissions reset CLI done. * Adjust text.
| * MM-8853: Adding MANAGE_EMOJIS and MANAGE_OTHERS_EMOJIS permissions (#8860)Jesús Espino2018-05-292-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * MM-8853: Adding MANAGE_EMOJIS and MANAGE_OTHERS_EMOJIS permissions * MM-8853: Removing unnecesary emoji enterprise feature * Create emojis migration * Adding MANAGE_EMOJIS and MANAGE_OTHERS_EMOJIS always to system admins * Simplifing permissions checks * Revert "Simplifing permissions checks" This reverts commit e2cafc1905fc9e20125dd9a1552d2d0c7340ae59.
| * Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-2Martin Kraft2018-05-224-5/+27
| |\
| * | Merge fix.Martin Kraft2018-05-181-0/+40
| | |
| * | Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-2Martin Kraft2018-05-183-4/+123
| | |
* | | MM-10731 Revert site url kill server (#8877)Christopher Speller2018-05-302-23/+7
| |/ |/| | | | | | | | | | | | | * Revert "MM-9983 Requiring SiteURL to be set. (#8769)" This reverts commit 0432f995ec27de9ee6cc2f5847d4a17fcc095a26. * Add log message for SiteURL not being set.
* | Fixing CMD docs. (#8827)Christopher Speller2018-05-182-3/+3
| |
* | MM-9983 Requiring SiteURL to be set. (#8769)Christopher Speller2018-05-182-2/+24
|/ | | | | | | | * Requiring SiteURL to be set. * Modifying to make tests pass. * Fixing test.
* Renaming platform binary to mattermost. (#8801)Christopher Speller2018-05-1736-0/+4377