summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* MM-12342: merge the experimental channel store (#9681)HEADmasterJesse Hallam2018-10-251-2/+1
| | | | | | * MM-12342: merge the experimental channel store * gofmt after upgrading to go 1.11
* MM-10987 Turn on ExperimentalLimitClientConfig by default and remove setting ↵Harrison Healey2018-10-241-1/+0
| | | | (#9696)
* MM-12505: remove all things WebRTC (#9700)Jesse Hallam2018-10-181-10/+0
|
* Set default ciphers, set tls 1.2 via config, set curve prefs (#9315)Daniel Schalla2018-10-161-0/+4
| | | | | | | | | | | | | | | | | 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
* Revert "disable EnablePublicChannelsMaterialization by default (#9418)" (#9427)Jesse Hallam2018-09-181-1/+1
| | | | This reverts commit 5786b0d6d57b90bbb0c262235dd9d19b497b5fae, now that the feature is safe to enable by default.
* disable EnablePublicChannelsMaterialization by default (#9418)Jesse Hallam2018-09-171-1/+1
| | | | | | | | | * disable EnablePublicChannelsMaterialization by default Creating triggers on Amazon RDS seems to reqiure extra privileges. More investigation is required. * update model/config.go too
* MM-11886: materialize channel search (#9349)Jesse Hallam2018-09-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * materialize PublicChannels table Introduce triggers for each supported database that automatically maintain a subset of the Channels table corresponding to only public channels. This improves corresponding queries that no longer need to filter out 99% DM channels. This initial commit modifies the channel store directly for easier code reviewing, but the next wraps an experimental version around it to enable a kill switch in case there are unforeseen performance regressions. This addresses [MM-11886](https://mattermost.atlassian.net/browse/MM-11886) and [MM-11945](https://mattermost.atlassian.net/browse/MM-11945). * extract the experimental public channels materialization Wrap the original channel store with an experimental version that leverages the materialized public channels, but can be disabled to fallback to the original implementation. This addresses MM-11947. * s/ExperimentalPublicChannelsMaterialization/EnablePublicChannelsMaterialization/ * simplify error handling * move experimental config listener until after store is initialized
* MM-10532: Add EnableSyncWithLdapIncludeAuth config (#9319)Jesús Espino2018-08-281-0/+1
|
* Adding IdAttribute setting for SAML (#9291)Jesús Espino2018-08-281-0/+1
| | | | | | | | * Adding IdAttribute setting for SAML * Adding Saml Id Attribute to the diagnostics information * Adding entry to default.json
* Merge release-5.2Carlos Tadeu Panato Junior2018-08-241-1/+1
|\
| * MM-11782: Make archived channels experimental and off-by-default. (#9281)George Goldberg2018-08-221-1/+1
| | | | | | | | | | | | * MM-11782: Make archived channels experimental and off-by-default. * Fix test.
* | Update default.json (#9256)Jason Blais2018-08-161-1/+2
|/
* Pr 9039 (#9187)Martin Kraft2018-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * MM-11065: Allow to search and get archived channels from the API * Fixing more tests * Add some unit tests * Add includeDeleted parameter to session permissions check function * More test fixing * Adding archive channels list in channels search * Add restriction for archived channel edition * Reverting permissions checks modification * Changed the query parameter to include_deleted * Enable search archive channels as true by default * Adding tests for verify search on deleted channels * Allowing to override archive channels during the imports * Fixed test * Search in archive channels from the API must be explicitly requested * Removing includeDeleted parameter from GetChannelByName and GetChannelByNameForTeam * Back to ViewArchivedChannels config * Fixing tests * Reverting GetChannelByName parameter * Add include deleted parameter on GetChannel functions in plugins api * Fixing tests
* MM-11160 Adding proper CORS support. (#9152)Christopher Speller2018-07-261-0/+3
| | | | | | * Adding proper CORS support. * Better CORS tests.
* Add ExperimentalSidebarPreference in the config (#9013)Chris Duarte2018-07-231-0/+1
| | | | | | | | | | | | * Add ExperimentalSidebarPreference in the config * Override Sidebar preference based on GroupUnread settings * Rename to ExperimentalChannelOrganization * Add Sidebar config in diagnostics * Fix diagnostics for experimental_channel_organization
* Support for Embeded chat (#9129)Chris Duarte2018-07-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ucLive support crazy testing lovely logs more cookie work arounds Added Access-Control-Expose-Headers to user login Add complete_saml_body template and revert loginWithSaml endpoint Set Access-Control-Allow-Credentials to true in user login Login via email instead of username Clean up code Add comment to give some context Move faml logic into saml function Communicate via chrome sendMessage api Remove unused code Add config to support multiple extensions Clean up embedded complete_saml template Fix indentation for templates Added license header to extension.go Add EnableExperimentalExtensions flag Extension validated for email auth Clean up api auth code Remove complete_saml_body.html * Add extension support in saml * Clean up code * Clean up extension validation
* MM-11120 Adding setting to disable email invitations and rate limiting. (#9063)Christopher Speller2018-07-101-1/+2
| | | | | | | | | | * 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-10766 - Replacing default profile image font (#8955)Asaad Mahmood2018-07-051-1/+1
| | | | | | | | | | | | * Updating default profile pic font * Updating profile image font * Updating test * Use new default font if configured for old one * Update OFL.txt
* Disable Gfycat by default during Beta and move default keys to server (#9027)Jason Blais2018-07-031-3/+3
| | | | | | | | | | * Update default.json * Update diagnostics.go * Added default Gfycat API credentials to server * Fixed default Gfycat credentials
* add MaxLifetimeconns to server (#9004)Jerry Kurian2018-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | Update e.json string names and remove console log reorder variables update db.setConnMaxLifetime to take in *settings.MaxLifetimeConns Add MaxLifetimeConns to test Update variable names like MaxLifetimeConns to ConnMaxLifetimeMilliseconds Update time passed to SetConnMaxLifetime Revert "Update time passed to SetConnMaxLifetime" This reverts commit dc1c1b6d5a6404d4ee11c65d4756c19f9316794f. update en.json Update supplier_test.go and docker.go ConnMaxLifetimeMilliseconds to 3600000
* Gfycat integration (#8971)Kenny Au2018-06-271-0/+3
| | | | | | * Gfycat integration * Added gfycat api credentials to config.
* MM-8701 Limit the number of client config fields sent before user logs in ↵Harrison Healey2018-06-181-1/+2
| | | | | | | | | | (#8954) * MM-8701 Limit the number of client config fields sent before user logs in * Fixed missing client config field * Reduced duplication between limited and regular client config
* Prototype for CBA (#8475)Corey Hulen2018-06-121-0/+4
| | | | | | | | | | | | | | * Prototype for CBA * Fixing gofmt issues * Do not require password if logging in with certificate * Fixing issues from feedback * Adding unit tests * Fixing feedback
* MM-10348 Adding experimental hardened mode. (#8881)Christopher Speller2018-06-041-1/+2
| | | | | | * Adding experimental hardened mode. * Sanitizing all 500 errors.
* MM-9547 Added config setting to control url autolinking schemes (#8862)Harrison Healey2018-05-301-0/+1
| | | | | | * MM-9547 Added config setting to control autolinking schemes * Renamed AutolinkingSchemes to CustomUrlSchemes
* [MM-1915] Add Deactivate Account - server side (#8699)Carlos Tadeu Panato Junior2018-05-281-0/+1
|
* add ExperimentalHideTownSquareinLHS in config setting (#8751)Saturnino Abril2018-05-241-0/+1
|
* allow tuning *IdleConn* for intra-cluster messages (#8799)Jesse Hallam2018-05-231-1/+4
| | | | | | * allow tuning *IdleConn* for inter cluster messages * default MaxIdleConnsPerHost to 128
* add EnablePreviewModeBanner in config (#8834)Saturnino Abril2018-05-221-0/+1
| | | Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* MM-9983 Requiring SiteURL to be set. (#8769)Christopher Speller2018-05-181-1/+1
| | | | | | | | * Requiring SiteURL to be set. * Modifying to make tests pass. * Fixing test.
* Add config setting for API team deletion (#8800)Joram Wilander2018-05-181-1/+2
|
* MM-4998 Adding LoginIdAttribute to allow LDAP users to change their login ID ↵Christopher Speller2018-05-101-0/+1
| | | | | | | | | | | | | | without losing their account (#8756) * Adding LoginIdAttribute * Modifying LDAP to use loginIDAttribute. * Adding IDAttribute migration and AD objectGUID support. * Removing unused idea. * Fix typo.
* Structured logging (#8673)Christopher Speller2018-04-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* Add Auto Responder handler (#8386)Stan Chan2018-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WIP Out Of Office Return error for status command if user status is OOO Ignore notifications if Out Of Office Disable AutoResponder if status is set to online Add test for AutoResponder DisableAutoResponse when manually setting status Remove check on status slash command return early if user does not exists in SendAutoResponse method Add proper error handling Add a newline after error handling Revert back to err == nil in api4/status.go Remove a.Go when using a.Publish Add name consistency with the feature auto responder Last changes for name consistency, also fix failing test with auto_responder Fix names of functions in auto responder test Add ExperimentalEnableAutomaticReplies flag Auto Responder reply to a post
* Add ExperimentalTimezone flag (#8539)Chris Duarte2018-03-291-0/+3
|
* Merge branch 'master' into advanced-permissions-phase-1Martin Kraft2018-03-232-0/+601
|\
| * Timezone feature (#8185)Chris Duarte2018-03-222-0/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add supported timezones into config Remove Timezone list creation in favor of timezone from configs Add Timezone field to Users table Clean up format of SupportedTimezones in config * Remove unwanted change * Add test for updating user timezone * Add empty map[string]string if Timezone is null * Add EnableTimezoneSelection config * Revert back to map[string]string for ClientConfig * Refactor SupportedTimezones into timezones.json * Include timezones.json in TestConfigFlag * Add timezone api endpoint * Bump varchar size to 256 and setMaxSize in user_store * Refactor LoadConfig to LoadConfig and LoadTimezoneConfig * Remove unnecessary argument in LoadConfig, mail_test * Add test for timezone endpoint * Add license header * Refactor timezones endpoint to system.go * Add system base route to timezone endpoint * db timezone upgrade in db v4.9 * Avoid saving SupportedTimezones to config.json * Add timezonePath support in config * Remove EnableTimezoneSelection from config * Use return statement without return parameter * Refactor test for SupportedTimezones * Check for supportedTimezone != nil instead of using len * Decouple SupportedTimezones out of Config * Fix failing test * Add LastTeamIconUpdate back in upgrade.go * Write timezone config in config_flag_test * Add code fallback for default timezone support
| * add config for saml home realm discovery bypass (#8480)Chris2018-03-201-0/+2
| |
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-131-1/+7
|\|
| * Adding new global relay settings to diagnostics and default.json (#8441)Jesús Espino2018-03-121-1/+7
| |
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-021-1/+3
|\|
| * MM-8593 Default APIv3 to disabled for new installs (#8353)Joram Wilander2018-02-231-1/+1
| | | | | | | | | | | | | | | | * Default APIv3 to disabled for new installs * Add EnableAPIv3 setting to client config * Enable APIv3 for needed tests
| * MM-8681 Adding config settings necessary for using CloudFront. (#8307)Christopher Speller2018-02-201-0/+2
| | | | | | | | | | | | * Adding config settings nessisary for using CloudFront. * Adding new config settings to diagnostics.
* | AllowEditPost and PostEditTimeLimit migration (#8208)Jesús Espino2018-02-091-1/+1
|/ | | | | | | | * AllowEditPost and PostEditTimeLimit migration * Not set EDIT_POST permission to sysadmin_role if ALLOW_EDIT_POST is configured to NEVER * Remove a bit of code duplication
* ICU-715 Change ExperimentalGroupUnreadChannels setting to allow for default ↵Harrison Healey2018-02-061-1/+1
| | | | on/off (#8211)
* add ImageProxyOptions to default.json (#8193)Chris2018-02-021-0/+1
|
* User based rate limiting (#8152)Christopher Speller2018-01-311-0/+1
|
* [ICU-621] Add ExperimentalGroupUnreadChannels setting (#8127)enahum2018-01-231-0/+1
| | | | | | * Add ExperimentalGroupUnreadChannels setting * track ExperimentalGroupUnreadChannels in diagnostics
* PLT-3383: image proxy support (#7991)Chris2018-01-221-1/+3
| | | | | | | | | | | | * image proxy support * go vet fix, remove mistakenly added coverage file * fix test compile error * add validation to config settings and documentation to model functions * add message_source field to post
* Add EnableDefaultChannelLeaveJoinMessages config setting (#7961)Chris Duarte2018-01-101-1/+2
|