| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
* fix return search posts on date filters
* add name to test cases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* (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
|
| |
|
|
|
|
|
|
| |
* Move CustomServiceTermsEnabled to the correct table in diagnostics
* Fix style error
|
|
|
| |
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add KVList method
* Add KVList method
Add KVList method
* Add pagination support
* Change offset, limit to page, perPage
* Rename constant
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, mattermost-server would always request with the default
user-agent of Go's net/http package that is `Go-http-client/1.1` or
something similar.
This has several disadvantages, one is that the default user-agent
made it pretty hard to distinguish mattermost requests from other
service requests in a network log for example.
Now a user-agent of the form `mattermost-<current-version>` is set in
the client.
- [x] Added or updated unit tests (required for all new features)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* MM-12193: remove auto configuration unmarshalling
Since plugin hook events are called concurrently, there's no way for the plugin framework to coordinate safe access to the automatically unmarshalled configuration fields. Remove this functionality, and update documentation to illustrate a safe way to do this.
* better Fprint example
* fix unit tests
* log when OnConfigurationChange fails through OnActivate
* clarify lifecycle when OnConfigurationChange returns an error
* call SetAPI even if OnConfigurationChange not implemented
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
generated one (#9449)
* MM-12067: Add SetDefaultProfileImage to reset the user profile image to a generated one
* Allow to get the default profile image for my user
* Allowing to reset the last update image date to 0
* PR reviews
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* fix gofmt for go 1.11
* fix test
* comment out one test
|
| |
|
|
|
|
|
|
|
|
| |
service terms to terms of service (#9488)
* Fix incorrect key in en.json and changes some translations from service terms to terms of service
* Improved translated messages
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
the channel's team id (#9481)
* MM-12192: unit test
* MM-1292: autocompleteUsers: if a teamId is provided, require it to match the channel's team id
|
|
|
|
|
|
|
|
| |
* Fix style error in diagnostics.go
* Add EnablePublicChannelsMaterialization to diagnostics.go
* Fix build error
|
|
|
|
|
| |
Purpose of this is to make in-field debugging of cluster leader issues
(particularly around duplicate job scheduling) easier to debug from
production server logs.
|
|
|
| |
Resolves MM-12000
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* MM-11567: Autocomplete search in: for DMs and GMs
* Adding unit tests
* Allowing to search Direct Messages in the autocompletion
* Fix it in TE
|
| |
|