summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Small fix in the webhook list error handling (#9567)Jesús Espino2018-10-051-1/+1
|
* #MM-12130 Added permission check for createServiceTerms API (#9556)Harshil Sharma2018-10-052-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #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
* [MM-12484] Fix return search posts on date filters (#9568)Saturnino Abril2018-10-054-36/+154
| | | | | | * fix return search posts on date filters * add name to test cases
* MM-12357: Add CLI command "team list" (#9531)Ashutosh Kumar2018-10-051-0/+47
| | | | | | | | | | | | | | * (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>
* MM-12371 Add webhook list command (#9528)Ben Echols2018-10-042-0/+135
| | | | | | | | | | | | | | | | * 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 missed translations (#9554)Jesús Espino2018-10-041-0/+60
|
* Move CustomServiceTermsEnabled to the correct table in diagnostics (#9521)Jason Blais2018-10-041-1/+1
| | | | | | * Move CustomServiceTermsEnabled to the correct table in diagnostics * Fix style error
* Add GetChannelMembers method to plugin API (#9525)Akash Srivastava2018-10-034-0/+63
| | | Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
* MM-11863 Add KVList method (#9467)Shobhit Gupta2018-10-039-0/+156
| | | | | | | | | | | | | | * Add KVList method * Add KVList method Add KVList method * Add pagination support * Change offset, limit to page, perPage * Rename constant
* Fix CMD Init. Error Checks (#9547)Daniel Schalla2018-10-031-1/+1
|
* Set a proper HTTP user-agent header (#9482)Andreas Linz2018-10-035-9/+46
| | | | | | | | | | | | | 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 unmarshalling (#9519)Jesse Hallam2018-10-036-53/+105
| | | | | | | | | | | | | | | | * 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
* [MM-12367] Added CLI command 'team search' (#9512)Wasim Thabraze2018-10-032-0/+87
| | | | | | | | | | | | | | * 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 (#9518)Jesús Espino2018-10-024-10/+59
| | | | | | * MM-10699: Disallow renaming direct and group message channels * Replacing errors.New with errors.Wrapf
* MM-12067: Add SetDefaultProfileImage to reset the user profile image to a ↵Jesús Espino2018-10-028-28/+242
| | | | | | | | | | | | 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
* if EnableLinkPreviews not enabled, do not call url (#9461)Jesse Haka2018-10-022-3/+26
|
* Bump prerequisite go version check to 1.11 (#9517)George Goldberg2018-10-011-1/+1
|
* fix gofmt for go 1.11 (#9516)Carlos Tadeu Panato Junior2018-10-015-2164/+2160
| | | | | | | | * fix gofmt for go 1.11 * fix test * comment out one test
* MM-12110: Don't /invite or /kick deactivated users. (#9494)George Goldberg2018-10-015-18/+84
|
* #MM-12130 - Fix incorrect key in en.json and changes some translations from ↵Harshil Sharma2018-10-012-11/+7
| | | | | | | | 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
* Migrate to idiomatic error handling app/notification*.go (#9487)Jesús Espino2018-10-013-73/+81
|
* Updating server dependancies. (#9498)Christopher Speller2018-09-28272-4213/+23290
|
* Add preparatory upgrade code for 5.5.0 (#9479)Carlos Tadeu Panato Junior2018-09-281-0/+10
|
* Idiomatic error handling for app/{job,license,login}.go (#9474)Jesús Espino2018-09-283-50/+46
|
* MM-12192: autocompleteUsers: if a teamId is provided, require it to match ↵Jesse Hallam2018-09-283-0/+23
| | | | | | | | 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
* Add EnablePublicChannelsMaterialization to diagnostics.go (#9495)Jason Blais2018-09-281-8/+9
| | | | | | | | * Fix style error in diagnostics.go * Add EnablePublicChannelsMaterialization to diagnostics.go * Fix build error
* MM-12080: Added some extra logging to cluster leader changed. (#9475)George Goldberg2018-09-272-1/+6
| | | | | 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.
* Bump AuthorizeRequest State max length to 1024 (#9468)Mark Vainomaa2018-09-271-1/+1
| | | Resolves MM-12000
* MM-12013: Fix post-permission checks to cascade for DM/GM channels. (#9476)George Goldberg2018-09-273-1/+42
|
* Fixing non elastic search paging. (#9471)Christopher Speller2018-09-272-0/+19
|
* Add plugin API methode to return the current server version (#9429)Hanzei2018-09-274-0/+48
|
* Idiomatic error handling for app/import*.go (#9473)Jesús Espino2018-09-273-125/+107
|
* MM-11567: Autocomplete search in: for DMs and GMs (#9430)Jesús Espino2018-09-275-34/+280
| | | | | | | | | | * MM-11567: Autocomplete search in: for DMs and GMs * Adding unit tests * Allowing to search Direct Messages in the autocompletion * Fix it in TE
* When leave a channel the push notification can fail (#9478)Jesús Espino2018-09-271-1/+7
|
* Uncomment upgrade for 5.4.0 (#9477)Carlos Tadeu Panato Junior2018-09-272-10/+11
|
* emit CustomTermsOfService in license (#9472)Jesse Hallam2018-09-271-0/+1
|
* ensure subpath redirect preserves query string correctly (#9444)Jesse Hallam2018-09-271-1/+2
| | | | The previous code appended a `/` to the end of the URL, breaking if a query string was present.
* translations PR 20180924 (#9454)Elias Nahum2018-09-2614-1919/+2031
|
* #MM-12130 changes for custom service terms (#9450)Harshil Sharma2018-09-2638-44/+933
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #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
* Move HTTPService and ConfigService into services package (#9422)Harrison Healey2018-09-2611-110/+147
| | | | | | | | * Move HTTPService and ConfigService into utils package * Re-add StaticConfigService * Move config and http services into their own packages
* MM-7188: Cleaning push notification on every read, not only on channel ↵Jesús Espino2018-09-2613-102/+238
| | | | | | | | | | | | switch (#9348) * MM-7188: Cleaning push notification on every read, not only on channel switch * Removed unnecesary goroutine * Fixing tests * Applying suggestion from PR
* Adding paging to elasticsearch API. (#9425)Christopher Speller2018-09-266-32/+68
|
* Idiomatic error handling for app/file.go (#9456)Jesús Espino2018-09-251-48/+56
|
* Migrate to idiomatic error handling app/a*.go and app/b*.go (#9455)Jesús Espino2018-09-255-84/+91
|
* Adding arg spec to bulk export. (#9453)Christopher Speller2018-09-251-0/+1
|
* Migrate to idiomatic error handling app/authentication.go (#9411)Jesús Espino2018-09-241-27/+35
|
* Update NOTICE.txt (#9433)Dan Maas2018-09-241-1664/+2233
| | | | | - Update homepage, owner, and copyright info for all dependencies - Add SPDX open-source license IDs - Alphabetize dependency list so future updates will cause smaller diffs
* Add missing dots (fixing compilation error on go 1.11) (#9448)Jesús Espino2018-09-241-1/+1
|
* add translation strings and add test case (#9294)Carlos Tadeu Panato Junior2018-09-242-0/+13
|
* MM-11707: Change the default setting for EDIT_OTHERS_POSTS (#9447)Jesús Espino2018-09-245-12/+15
| | | | | | | | | | | | * MM-11707: Removes edit_others_posts permission from the team_admin role in MakeDefaultRoles(). * MM-11707: Tests fix. * MM-11707: Update test store. * MM-11707: Allow to change the permission for edit the others posts on TE * Fixing tests