| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* add GetUsersByUsernames to plugin api
* fix GetUsersByUsernames comment
|
|
|
|
|
|
|
|
| |
* add GetFileLink method to plugin API
* Update plugin/api.go
* add translations for new plugin API errors
|
| |
|
|
|
|
|
|
|
|
| |
* add GetUsersInChannel to plugin api
* compute offset value instead of page
* Add version comment
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* unit test cleanup
* allow limiting user search results
* clean up test users before starting
* model UserSearchOptions to simplify parameters
|
|
|
|
|
|
| |
* add GetTeamsForUser to plugin api
* Add version comment, fix comment typo
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the mattermost-server repo (#9592)
* Add idiomatic error handling
* Remove unused else statement and fix compilation errors
* Add an inline error initialization
The error its just been use once for the return no need to have it in
separate lines.
* Remove uneeded code
- Remove extra line
- Remove initializing in two lines when not needed
|
|
|
|
|
|
|
|
|
|
| |
(#9600)
* Added capability to export reactions of posts
* Added capability to export reactions of replies of a post
* Added test case to test the reactions of a post
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Config Checks at StartUp Part1
Config Checks; Tests for TLS Server
HSTS header implementation + tests
make gofmt happy with new go version...
make gofmt happy with new go version #2...
fix logic bug
fix typo
Fix unnecessary code block
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
Plugins that listen for config changes might incorrectly re-register
their commands before being /actually/ deactivated, leaving the new
commands alive thereafter.
|
|
|
|
|
|
|
|
|
|
| |
in the mattermost-server (#9573)
* Refactor and make error handling idiomatic
* Golint gives a warning when using method parameters with names like
'deviceId', so rename them to `deviceID`
* Change all ID back to Id
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the mattermost-server (#9575) (#9576)
* Make changes to function getPlatformName.
* Make changes to the function getOSName, use switch statement inside instead of nested if
* create helper function and make getBrowserVersion() more idiomatic
* update getUAVersion
* update getBrowserName
* changes required in review done
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
documentation (#9658)
|
| |
|
| |
|
|
|
|
|
|
| |
* add GetUsersInTeam in plugin api
* remove extra space in comment
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the mattermost-server (#9574) (#9589)
* Perform idiomatic error handling
* Golint gives warning when using the variable name 'userId' so change
it to 'userID'
* Change all ID back to Id
|
|
|
|
|
| |
the mattermost-server repo. (#9586) (#9593)
* Refactor and make idiomatic changes in error handling
|
|
|
|
|
|
|
| |
the mattermost-server repo. (#9585) (#9587)
* Refactor function 'GetSamlMetadata'
* Run make check-style, make changes
|
|
|
|
|
|
|
|
|
|
| |
* Add create command
* Create CreateCommand Tests
* Change method flag description
* Change nil test assertion
|
|
|
|
|
|
|
|
| |
* add getChannelMembersTimezone
* update per feedback review
* add delimeter to error
|
|
|
|
|
|
|
|
| |
* defer plugin tear down for testing
* test expected plugin command unregistration
* MM-11905: uninstall plugin commands on remove
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Expire K/V Values
Regenerate Code
pathfix
Update Expiry on Update
Check for Exit Signal
gofmt
Rewrote Go Routine
Remove tempoarily cleanup loop
fix expiretime
TEST: Expired Watchdog as GoRoutine
Check if Srv is nil
Use Scheduler/Worker for Expired Key CleanUp
add license
fix scheduler job type; DoJob Restructuring
Remove unused imports and constants
move db migration from 5.4 to 5.5
|
|
|
| |
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #124 renamed identififers from service terms to terms of service
* #124 renamed identififers from service terms to terms of service
* 124 renamed ServiceTerms model to TermsOfService
* 124 Renamed EnableCustomServiceTerms feature flag to EnableCustomTermsOfService
* 124 Renamed EnableCustomServiceTerms feature flag to EnableCustomTermsOfService
* #124 fixed formatting
* #124 fixed formatting
* #132 renamed table ServiceTerms to TermsOfService
* #124 renamed some missed files from 'service_terms' to 'terms_of_service'
* #124 removed fixed TODOs
* drop migrate of ServiceTerms table, since backporting
* s/ServiceTerms/TermsOfService/ in tests
* s/AcceptedServiceTermsId/AcceptedTermsOfServiceId/
Change the model attribute, even though the column name will eventually be removed.
* s/accepted_service_terms_id/accepted_terms_of_service_id/ to match redux
* s/serviceTerms/termsOfService
* rename column too, and add max size constraint
* s/EnableCustomServiceTerms/EnableCustomTermsOfService
|
|
|
| |
This handles clients sending a team id in a direct message or group channel autocomplete, when it necessarily won't match. Just verify that the user has permission for the team in question, whenever it is provided.
|
|
|
|
|
| |
(#9578)
MM-8860: Bulk import email intervals (#8498)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix trailing slash in ServiceSettings.SiteURL
* Add test for LoadConfig
* Fix test
* Simplify test
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #MM-12130 changes for custom service terms
* Fixed styling
* Added getServiceTerms API
* removed unnecessary panic
* removed custom service terms text from flat config
* reverted user sql store as those changes are no longer needed
* added tests
* Updated a config key to be more standard
* Added copyright info
* Loading service terms only if the feature is enabled
* Loading service terms only if the feature is enabled
* removed unused index
* added createservice termns API
* made a param to bool instead of string
* added createservice termns API
* review fixes
* fixed styling
* Minor refactoring
* removed saveConfig and loadConfig magic
* added empty service terms text check to createServiceTerms API
* refactoed some urls to be terms_of_service instead of service_terms
* removed check for support settings
* changed URLs in tests
* removed unused code
* fixed a bug
* added service termd id in conif
* fixed a test
* review fixes
* minor fixes
* Fixed TestCreateServiceTerms
* Fix incorrect key in en.json and changes some translations from service terms to terms of service
* Improved translated messages
* Added permission check in createServiceTerms API
|