summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* rename DefaultTeamName to ExperimentalPrimaryTeam (#8039)Chris Duarte2018-01-051-1/+1
|
* Add color properties to config to white label login buttons (#7826)Chris Duarte2018-01-021-3/+12
|
* Allow default team to be configured (#7846)Chris Duarte2017-12-191-1/+2
|
* add config option to hide tutorial screens (#7840)Chris Duarte2017-12-081-1/+2
|
* PLT-8289 Added ability to change location of client plugins (#7942)Harrison Healey2017-12-051-0/+1
|
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Created message export scheduled task * Added CLI command to immediately kick off an export job * Added email addresses for users joining and leaving the channel to the export * Added support for both MySQL and PostgreSQL * Fixing gofmt error * Added a new ChannelMemberHistory store and associated tests * Updating the ChannelMemberHistory channel as users create/join/leave channels * Added user email to the message export object so it can be included in the actiance export xml * Don't fail to log a leave event if a corresponding join event wasn't logged * Adding copyright notices * Adding message export settings to daily diagnostics report * Added System Console integration for message export * Cleaned up TODOs * Made batch size configurable * Added export from timestamp to CLI command * Made ChannelMemberHistory table updates best effort * Added a context-based timeout option to the message export CLI * Minor PR updates/improvements * Removed unnecessary fields from MessageExport object to reduce query overhead * Removed JSON functions from the message export query in an effort to optimize performance * Changed the way that channel member history queries and purges work to better account for edge cases * Fixing a test I missed with the last refactor * Added file copy functionality to file backend, improved config validation, added default config values * Fixed file copy tests * More concise use of the testing libraries * Fixed context leak error * Changed default export path to correctly place an 'export' directory under the 'data' directory * Can't delete records from a read replica * Fixed copy file tests * Start job workers when license is applied, if configured to do so * Suggestions from the PR * Moar unit tests * Fixed test imports
* Add Config to disable Auth Transfers. (#7843)Chris Duarte2017-11-281-0/+1
| | | | | | * Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
* Don't force AmazonS3Region (#7830)Bret Mogilefsky2017-11-241-1/+1
| | | | | In [this issue](https://mattermost.atlassian.net/browse/PLT-7475), it says that the UI text should be `Help Text: (Optional) AWS region you selected when creating your S3 bucket. If no region is set, Mattermost attempts to get the appropriate region from AWS, or sets it to "us-east-1" if none found.` The [Mattermost documentation](https://docs.mattermost.com/administration/config-settings.html#amazon-s3-region) says the default for this value is `""`, but it's set here. For this reason the behavior described above (getting the appropriate region from AWS, then falling back to `us-east-1` only if that fails) **does not happen**; Mattermost tries region `us-east-1` even if `AmazonS3Endpoint` points to a different region.
* Replace Channel Name for Team in Email Notifications (#7839)Chris Duarte2017-11-241-0/+1
| | | | | | * allow option to set channel name in email notification subject * Added TeamName to title when UseChannelInEmailNotifications=true
* Added CloseUnusedDirectMessages to default.json (#7899)Harrison Healey2017-11-241-1/+2
|
* Hide pre-release features section of advanced settings pane. (#7847)Chris Duarte2017-11-211-1/+2
|
* Fixing SAML sync (#7763)Corey Hulen2017-11-021-0/+1
|
* PLT-5813 support SAML sync via LDAP (#7668)Corey Hulen2017-10-311-0/+1
| | | | | | * PLT-5813 support SAML sync via LDAP * Cleaning up based on review
* Add config setting to configure plugins directory (#7725)Joram Wilander2017-10-261-1/+3
|
* PLT-7976: Configurable timeout for Elasticsearch requests. (#7716)George Goldberg2017-10-251-1/+2
|
* PLT-7849 Add config setting to disable plugin uploads (#7666)Joram Wilander2017-10-251-1/+2
| | | | | | * Add config setting to disable plugin uploads * Update unit test
* PLT-7934: Make query for bulk elasticsearch indexing more efficient. (#7664)George Goldberg2017-10-251-1/+2
|
* PLT-7862: Support batched live indexing. (#7640)George Goldberg2017-10-181-1/+2
|
* Add two missing diagnostics entries (#7634)Jason Blais2017-10-161-1/+1
| | | | | | | | * Update diagnostics.go * Fix config setting name SessionIdleTimeoutInMinutes * Update diagnostics.go
* PLT-7633 (E20) Add session idle timeout config setting (#7524)Joram Wilander2017-09-281-0/+1
| | | | | | | | | | * Add session idle timeout config setting * Modify config setting name to SessionIdleTimeoutInMinutes * Small re-org of if statement * Merge with latest master
* PLT-7694: Allow setting a prefix for Elasticsearch indexes. (#7500)George Goldberg2017-09-221-1/+2
|
* PLT-7508: Add settings to disable wide mention confirmation (#7416)Jesús Espino2017-09-201-0/+1
|
* PLT-6558: Basic data retention job scheduler/worker implementation. (#7449)George Goldberg2017-09-151-1/+5
| | | | | | * PLT-7639: Batch delete methods for data retention. * PLT-6558: Basic data retention job worker/scheduler implementation.
* Configs for themes in `Display Settings`: hide themes options, hide custom ↵David Meza2017-09-051-0/+6
| | | | | | | | | | | | | | themes, specific list of themes (#7173) * Add configuration to enable or disable choosing themes in Display Settings. Only for Licensed servers. * Add configuration to enable or disable choosing custom themes in Display Settings. Only for Licensed servers. * Add configuration to enable or disable a specific list of themes to choose in Display Settings. Only for Licensed servers. * Added config value and logic for "DefaultTheme" * Fix problem with undefined values when the server is not licensed
* PLT-7517 Added setting to enable tracing of Amazon S3 connections (#7349)Harrison Healey2017-09-051-1/+2
| | | | | | | | | | | | * PLT-7517 Added setting to enable tracing of Amazon S3 connections * Removed unnecessary placeholders on boolean settings * Added AmazonS3Trace to diagnostics * Updated AmazonS3Trace setting name in system console * Removing extra colon
* Add x to be able to leave public and private channels (#7145)David Meza2017-09-011-0/+1
| | | | | | | | | | * Add config value EnableXToLeaveChannelsFromLHS that if true displays x to the right of private and public channels on the LHS. * Displays x to the right of private and public channels on the LHS based on if EnableXToLeaveChannelsFromLHS=true. * change the tooltip for private and public channels to `Leave channel` * Add client-side event for when user clicks the "x" button. Different for public, private, DM.
* Config to make town square read only (#7140)David Meza2017-09-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | * Be able to make Town Square read-only (Disable typing messages for non admins). * Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square. * Add unit tests for TownSquareIsReadOnly config value and logic. * Add TownSquareIsReadOnly to System console>Policy. Added Telemetry. * Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20. * Update en.json * Update en.json * Update policy_settings.jsx * Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly. * Refactored to simplify. Avoid code repeat and multiple db calls.
* Implement experimental REST API endpoints for plugins (#7279)Joram Wilander2017-09-011-0/+1
| | | | | | | | | | | | | | | | | | * Implement experimental REST API endpoints for plugins * Updates per feedback and rebase * Update tests * Further updates * Update extraction of plugins * Use OS temp dir for plugins instead of search path * Fail extraction on paths that attempt to traverse upward * Update pluginenv ActivePlugins()
* Manage version configurations client versions (#7220)Chris Duarte2017-08-281-0/+8
| | | | | | | | | | | | * Add config values for client versions. Return client versions in ping response. * Manage client version through System Console. * Added client versions to diagnostics * Added translations messages en.json file. * Hide Client Versions on System Console.
* PLT-7417/PLT-7425 (#7278)Harrison Healey2017-08-251-5/+3
| | | PLT-7417/PLT-7425 Update config.json defaults and removed admin console link settings
* make config.json play nicely with version control (#7221)Chris2017-08-201-0/+0
|
* Merge branch 'release-4.1'Christopher Speller2017-08-171-1/+1
|\
| * PLT-7375: Email batching not on by default for accounts that have never ↵Jonathan2017-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | touched their email settings (#7206) * PLT-7375: Send batched emails if batching is enabled and user has not explicitly set their email interval preference * PLT-7375: Reverting 4cf316fcd * PLT-7375: Send batched emails if batching is enabled and user has not explicitly set their email interval preference * PLT-7375: EnableEmailBatching was accidentally flipped to true in 10dcdeca4b, causing config_test.go::TestConfigFromEnviroVars to fail * PLT-7375: EnableEmailBatching was accidentally flipped to true in 10dcdeca4b, causing config_test.go::TestConfigFromEnviroVars to fail * PLT-7375: Reverted accidental changes to config * PLT-7375: Manually fixing config.
* | PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224)George Goldberg2017-08-171-1/+3
| | | | | | | | | | | | | | | | | | * PLT-7302: Aggregate Elasticsearch indexes over a certain age. This is done by a scheduled daily job, in order to keep the shard count to a sensible level in Elasticsearch. * Use map[string]string instead of StringMap
* | PLT-6358: Server HTTP client improvements (#6980)Chris2017-08-091-0/+1
|/ | | | | | | | | | | | | | | | * restrict untrusted, internal http connections by default * command test fix * more test fixes * change setting from toggle to whitelist * requested ui changes * add isdefault diagnostic * fix tests