| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add cli command for deleting commands
* Add code/test for delete command
* Fix test
* Add confirm flag
* Update as per comments
* Uncomment test
* Fix test
|
|
|
|
|
|
| |
* MM-12372 Add modify-incoming webhook command
* Review comments
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add the subcommand by creating a new Command instance.
* Implemented the structure of the subcommand function.
* Register our new command
* Write some helper functions
* finish the pretty print function
* write some test for config show
* Refactor and extract the tab printing functionality in its own function
* Use app.Config() to create our config object & accept incoming changes
* Removed reading the file, make helper functions return string and perform printing inside the command
* Remove the previous code for checking presence of arguments and use 'cobra.NoArgs()' instead
* Remove named return and instead declare the variable and then return it.
* Remove printTab function and simplify printing out tabs using strings.Repeat
* Add some functions to test the output
* Update the usage and remove a comment
* Update the print
|
|
|
|
|
|
|
|
| |
* Added Team archive command to archive a team by name
* Team archive command now uses SoftDelete method
Team search and list command now shows archived teams with the term '(archived)' appended to them
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added the get command to get the value of a config setting.
* Depending on the config setting it can work on any depth of the
setting.
* Added test for the get command.
* Add print tabs
* Remove excess else statements
* Return with the value and remove named return variable
* Refactor the printMap function and return a string, remove side effects
* Improve the error message, use the name argument
* Use app.Config() to create our config object
* Remove reading the file, make helper functions return string and perform printing inside the command
* Remove the tab printing
* Add extra quotes on the output
* Remove extra code for checking arguments and replaced it with cobra.ExactArgs(1)
* Remove buffer from printConfigValues
* Add some tests to check the output of the command
* Write test for the function 'structToMap' and test for complext nested structs
* Write test for the function 'configToMap' and test for complext nested structs
* Write test for the function 'printMap' and test for complext maps as input
* Write test for the function 'printConfigValues' and test for complext maps as input
* Remove commented code
* Update the description of the command
|
|
|
|
|
|
|
|
|
|
| |
* Add create command
* Create CreateCommand Tests
* Change method flag description
* Change nil test assertion
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* (feat:command list)add command list for teams
Signed-off-by: sonasingh46 <sonasingh46@gmail.com>
* address review comments
Signed-off-by: sonasingh46 <sonasingh46@gmail.com>
* address review comments
Signed-off-by: sonasingh46 <sonasingh46@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added start of the webhook command
* start of unit tests
* created a simple hook for unit test
* added outgoing as well
* have it all working
* Add license headers to the files
* Addressing code review, fixed print reverted sql change
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added 'search' sub-command for the command 'team' to search across teams with name
* Addressed code review
* Moved 'removeDuplicatesAndSortTeams' function to team.go
Addressed more code reviews
* Added unit test case for team search command
* Added unit test case to test searching of teams by display name
|
|
|
|
|
|
| |
* MM-10699: Disallow renaming direct and group message channels
* Replacing errors.New with errors.Wrapf
|
| |
|
|
|
|
|
|
| |
* Move file backend to its own service
* Moving utils/inbucket to mailservice package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* MM-11781: Basic Data Export Command Line.
* ChannelStore new unit tests.
* TeamStore new unit tests.
* Unit test for new UserStore function.
* Unit tests for post store new methods.
* Review fixes.
* Fix duplicate command name.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixing log messages
* update per review
* Update notification.go
* Update server.go
* Update notification.go
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix code issues in channel_test.go
Fix Channel Test Issues detected by Megacheck
Fix API Emoji Test Issues detected by Megacheck
Fixed API Issues Reported by Megacheck
Fixed App issues reported by megacheck
Remaining fixes
removed test added by mistake from old HEAD
gofmt
Store Fixes
simplified returns
Fix test for multi member channel delete
revert to delete unused function
|
|
|
|
|
|
| |
* add --username in the example for the commands
* update per review
|
| |
|
|\
| |
| |
| | |
release-5.2-daily-merge-20180810
|
| |
| |
| |
| |
| | |
The new locking primitives in 5.2 around jobs assume the
worker/scheduler was actually started, so don't try to stop if not
started.
|
|/
|
|
|
|
| |
I've been burned a few times by tests that simply fatal, requiring me to
run another build to learn more about what the mismatch was. Avoid this.
This is part of a long running goal of mine to make testing "better".
|
| |
|
|
|
|
|
|
| |
* MM-11243: Make Elasticsearch work after enabling without restart.
* Also cope with config vars changing whilst enabled.
|
|
|
|
|
|
| |
* unpack prepackaged plugins on plugins initialization
* leverage utils.FindDir
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Testing caching for emojis
* MM-10117 Add support to add/delete and activate/deactivate plugins via CLI
* Removing old work
* MM-10117 Moved files and addedd plugin test
* MM-10117 Renamed commands to enable/disable and updated add test
* MM-10117 Finished plugin test and improved error message for plugin commands
* MM-10117 Fixing plugin directories for test
* MM-10117 Renamed commands and updated commands to support multiple plugins
* MM-10117 Updating removed to deleted textclear
* MM-10117 Fixing nil pointer error for listing plugins
* MM-10117 Removing fileReader close
* MM-10117 Declaring error for GetPlugins
* MM-10117 Removing unnecessary nil check
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Moving plugins to use hashicorp go-plugin.
* Tweaks from feedback.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Adding setting to disable email invitations.
* Adding a setting and rate limiting for email invite sending.
* Modifying email rate limit to 20/user/hour
* Adding EnableEmailInvitations to client side config and command.
|
| |/
|/| |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
* Add note about clearing caches when permissions reset CLI done.
* Adjust text.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |\ |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
* Revert "MM-9983 Requiring SiteURL to be set. (#8769)"
This reverts commit 0432f995ec27de9ee6cc2f5847d4a17fcc095a26.
* Add log message for SiteURL not being set.
|
| | |
|