summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* ldap: Add own ldap authenticationsplineAlexander Sulfrian2020-01-073-9/+4
|
* MM-12342: merge the experimental channel store (#9681)HEADmasterJesse Hallam2018-10-252-17/+8
| | | | | | * MM-12342: merge the experimental channel store * gofmt after upgrading to go 1.11
* GH-9612 Add plugin API for GetChannelStats method (#9627)Jason Mojica2018-10-251-0/+8
| | | | | | | | * Add GetChannelStats plugin api * Fix to return channel stats correctly * Add server version; Handle error idiomatically
* GH-9617 Add plugin API for GetEmoji method (#9656)Jason Mojica2018-10-251-0/+4
| | | | | | * Add GetEmoji plugin api * Add server version
* MM-12459 Include User Notify Props in the Bulk Export (#9724)Vadim2018-10-242-1/+53
|
* MM-10987 Turn on ExperimentalLimitClientConfig by default and remove setting ↵Harrison Healey2018-10-241-1/+0
| | | | (#9696)
* MM-12356 Add cli command "command delete" (#9553)Shobhit Gupta2018-10-231-4/+3
| | | | | | | | | | | | | | | | * 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
* Migrate to idiomatic error handling in app/slackimport.go (#9694)Sergey Shpak2018-10-231-74/+80
| | | | | | | | * MM-12610 Migrate to idiomatic error handling in the file in the mattermost-server repo (#9686) * MM-12610 Migrate to idiomatic error handling in the file in the mattermost-server repo (mattermost#9686) * MM-12610 Migrate to idiomatic error handling in the file in the mattermost-server repo (#9686)
* Migrate to idiomatic error handling in app/user.go (#9711)Hanzei2018-10-221-346/+317
|
* GH-9636 plugins api GetUsersInChannelByStatus (#9645)Jason Simmons2018-10-221-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds GetUsersInChannelByStatus to plugin api with generated rpc code. * fixed typo in comment with actual func name * replaced Response model with AppError in output of GetUsersInChannelByStatus * removed etag param from GetUsersInChannelByStatus since it is not used * plugin api for GetUsersInChannelByStatus updated to take the limit, conforming to the app api. * fixed an issue in my own logic on app/plugin integration. * adds GetUsersInChannelByStatus to plugin api with generated rpc code. * fixed typo in comment with actual func name * replaced Response model with AppError in output of GetUsersInChannelByStatus * removed etag param from GetUsersInChannelByStatus since it is not used * plugin api for GetUsersInChannelByStatus updated to take the limit, conforming to the app api. * fixed an issue in my own logic on app/plugin integration. * GetUsersInChannelByStatus changed to more generic GetUsersInChannel which takes a sortBy parameter, allowing for more granular/extensible sorting functionality in the future * GetUsersInChannel accepts sort parameter of 'username' and 'status'. Both values are consts in model pkg. * Documents minimum server version for GetUsersInChannel. * adds GetUsersInChannelByStatus to plugin api with generated rpc code. * fixed typo in comment with actual func name * replaced Response model with AppError in output of GetUsersInChannelByStatus * removed etag param from GetUsersInChannelByStatus since it is not used * plugin api for GetUsersInChannelByStatus updated to take the limit, conforming to the app api. * fixed an issue in my own logic on app/plugin integration. * adds GetUsersInChannelByStatus to plugin api with generated rpc code. * Resolved conflict on rebase * replaced Response model with AppError in output of GetUsersInChannelByStatus * removed etag param from GetUsersInChannelByStatus since it is not used * plugin api for GetUsersInChannelByStatus updated to take the limit, conforming to the app api. * fixed an issue in my own logic on app/plugin integration. * GetUsersInChannelByStatus changed to more generic GetUsersInChannel which takes a sortBy parameter, allowing for more granular/extensible sorting functionality in the future * GetUsersInChannel accepts sort parameter of 'username' and 'status'. Both values are consts in model pkg. * Documents minimum server version for GetUsersInChannel. * replaces GetUsersInChannel from #9608 / #9643 with sortBy functionality
* GH-9688: Migrate to idiomatic error handling in app/post.go (#9697)Hanzei2018-10-191-243/+222
| | | | | | * Migrate to idiomatic error handling in app/post.go * Revert import changes
* Migrate to idiomatic error handling in app/web_conn.go (#9709)Hanzei2018-10-191-23/+14
|
* GH-9619 GetEmojiImage added to plugin API (#9628)S4KH2018-10-181-0/+4
| | | | | | * GH-9619 conflict fix * GH-9619 fixed conflicts, version comment
* MM-12505: remove all things WebRTC (#9700)Jesse Hallam2018-10-184-108/+0
|
* Migrate to idiomatic error handling in app/preference.go (#9594)Hanzei2018-10-181-11/+12
|
* Add GetPostsAfter() to plugin API (#9650)Hanzei2018-10-181-0/+4
|
* Migrate to idiomatic error handling in app/websocket_router.go (#9708)Hanzei2018-10-181-17/+15
|
* Migrate to idiomatic error handling in app/security_update_check.go (#9691)Hanzei2018-10-181-21/+21
|
* MM-12670: Accept and use "" for user/pass AuthService in import/export. (#9689)George Goldberg2018-10-183-14/+3
|
* GH-9635: Add GetUsersByUsernames to plugin API (#9647)Daniel Hodan2018-10-181-0/+4
| | | | | | * add GetUsersByUsernames to plugin api * fix GetUsersByUsernames comment
* Add GetFileLink method to plugin API (#9665)Charles Kenney2018-10-171-0/+17
| | | | | | | | * add GetFileLink method to plugin API * Update plugin/api.go * add translations for new plugin API errors
* GH-9608: Add GetUsersInChannel to plugin API (#9643)Daniel Hodan2018-10-171-0/+4
| | | | | | | | * add GetUsersInChannel to plugin api * compute offset value instead of page * Add version comment
* MM-12234: configurable limit to user autocomplete and search matches (#9499)Jesse Hallam2018-10-171-29/+29
| | | | | | | | | | * unit test cleanup * allow limiting user search results * clean up test users before starting * model UserSearchOptions to simplify parameters
* GH-9607: Add GetTeamsForUser to plugin API (#9644)Daniel Hodan2018-10-171-0/+4
| | | | | | * add GetTeamsForUser to plugin api * Add version comment, fix comment typo
* [MM-12608] Migrate to idiomatic error handling in the file `app/scheme.go` ↵Rafael George2018-10-171-28/+26
| | | | | | | | | | | | | | | | | | 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
* [MM-12465] Added capability to export reactions of posts during bulk export ↵Wasim Thabraze2018-10-173-1/+75
| | | | | | | | | | (#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
* Migrate to idiomatic error handling in app/notification_email.go (#9676)Hanzei2018-10-171-73/+28
|
* Migrate to idiomatic error handling in app/command.go (#9675)Hanzei2018-10-171-120/+130
|
* Set default ciphers, set tls 1.2 via config, set curve prefs (#9315)Daniel Schalla2018-10-162-8/+204
| | | | | | | | | | | | | | | | | 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 GetEmojiByName method to plugin API (#9641)Charles Kenney2018-10-151-0/+4
|
* MM-11905: deactivate plugins before unregistering (#9666)Jesse Hallam2018-10-151-2/+1
| | | | | Plugins that listen for config changes might incorrectly re-register their commands before being /actually/ deactivated, leaving the new commands alive thereafter.
* [MM-12538] Migrate to idiomatic error handling the file `app/session.go` (#9590)Mukul Rawat2018-10-151-86/+93
| | | | | | | | | | 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
* [MM-12536] Migrate to idiomatic error handling the file `app/user_agent.go` ↵Mukul Rawat2018-10-151-39/+42
| | | | | | | | | | | | | | | 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
* Add GetPostsBefore() to plugin API (#9651)Hanzei2018-10-151-0/+4
|
* add GetChannelsForTeamForUser to plugin api (#9646)Daniel Hodan2018-10-151-0/+4
|
* GH-9609: Add GetUsersInTeam in plugin API (#9642)Daniel Hodan2018-10-151-0/+4
| | | | | | * add GetUsersInTeam in plugin api * remove extra space in comment
* Add SearchChannels plugin api (#9657)Jason Mojica2018-10-151-0/+4
|
* Add a delete brand image action on the APIv4 (#9552)Julien Levesy2018-10-151-0/+16
|
* GH-9633 Added plugin API method to return user's profile image (#9653)Alexander Akhmetov2018-10-152-1/+27
|
* Add GetPostsSince() to plugin API (#9649)Hanzei2018-10-151-0/+4
|
* Add GetPostThread() to plugin API (#9652)Hanzei2018-10-151-0/+4
|
* [MM-12537] Migrate to idiomatic error handling the file `app/status.go` in ↵Mukul Rawat2018-10-141-23/+23
| | | | | | | | | | 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
* [MM-12606] Migrate to idiomatic error handling in the file `app/role.go` in ↵Mukul Rawat2018-10-131-17/+20
| | | | | the mattermost-server repo. (#9586) (#9593) * Refactor and make idiomatic changes in error handling
* [MM-12607] Migrate to idiomatic error handling in the file `app/saml.go` in ↵Mukul Rawat2018-10-131-3/+3
| | | | | | | the mattermost-server repo. (#9585) (#9587) * Refactor function 'GetSamlMetadata' * Run make check-style, make changes
* [APIv4] add getChannelMembersTimezone (#9286)Carlos Tadeu Panato Junior2018-10-132-0/+56
| | | | | | | | * add getChannelMembersTimezone * update per feedback review * add delimeter to error
* MM-11905: delete plugin commands on removal (#9601)Jesse Hallam2018-10-103-21/+147
| | | | | | | | * defer plugin tear down for testing * test expected plugin command unregistration * MM-11905: uninstall plugin commands on remove
* DeleteAll for KV (#9431)Daniel Schalla2018-10-103-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add GetPostsForChannel method to plugin API (#9557)Akash Srivastava2018-10-101-0/+4
| | | Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
* Refactored to rename "service terms" to "terms of service" (#9581)Harshil Sharma2018-10-096-60/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #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
* Added the changes requested for MM-8860: Bulk import email intervals (#8498) ↵Simone Salsi2018-10-085-0/+51
| | | | | (#9578) MM-8860: Bulk import email intervals (#8498)