summaryrefslogtreecommitdiffstats
path: root/utils/config.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
* MM-9849 Added tracking of which settings are set through environment ↵Harrison Healey2018-04-091-17/+73
| | | | | | | | | | | | | | | | variables (#8586) * MM-9849 Added tracking of which settings are set through environment variables * Removed old version of viper * Added forked version of viper * Fixed unit tests * Fixed more unit tests * Removed copy from App.GetEnvironmentConfig
* MM-8400 Provide default config values to viper so that it reads all ↵Harrison Healey2018-04-061-8/+85
| | | | | | | | environment variables (#8581) * MM-8400 Provide default config values to viper so that it reads all environment variables * Added unit tests
* Add ExperimentalTimezone flag (#8539)Chris Duarte2018-03-291-0/+1
|
* Merge branch 'master' into advanced-permissions-phase-1Martin Kraft2018-03-231-20/+61
|\
| * MM-9804: emit defaults for all enterprise config (#8490)Jesse Hallam2018-03-221-2/+49
| | | | | | | | | | | | | | | | | | * MM-9804: emit defaults for all enterprise config This prevents the client from having to write inverted checks if a certain value defaults as `'true'` instead of `'false'`. * move EnableMobileFile(Upload|Download) to a defaulted enterprise configuration
| * Fix various segfaults when running `go test` manually (#8448)Jesse Hallam2018-03-211-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * failing to find i18n shouldn't segfault The server was trying to handle the fact that it couldn't find the i18n directory, by emitting a translated log message... * fix utils.FindDir The attempts to find the directory in the parent or grandparent directory don't work if the current working directory was inside `enterprise`, with `enterprise` itself being a symlink as per the usual developer setup. Recurse to the root of the filesystem, cleaning the path along the way to work around this limitation (and allow tests to be run from an arbitrarily deep nesting level.) Fix corresponding usages to employ filepath.Join. * failing to find html templates shouldn't segfault * fail fast if the test user cannot be created * rework utils.FindDir to retain backwards compatibility
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-191-0/+3
|\|
| * Merge remote-tracking branch 'origin/release-4.8' into t2releasetomasterDerrick Anderson2018-03-131-0/+3
| |\
| | * MM-9795: Fix theme chooser for non-EE builds (#8440)Michał Odziemczyk2018-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix theme chooser for non-EE builds * fix compilation * remove whitespace * fix
* | | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-131-3/+0
|\| |
| * | general cleanup (#8387)Chris2018-03-071-3/+0
| |/
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-021-9/+2
|\|
| * MM-8593 Default APIv3 to disabled for new installs (#8353)Joram Wilander2018-02-231-0/+1
| | | | | | | | | | | | | | | | * Default APIv3 to disabled for new installs * Add EnableAPIv3 setting to client config * Enable APIv3 for needed tests
| * Remove global site url (#8343)Chris2018-02-221-9/+0
| | | | | | | | | | | | | | | | * remove global site url * missed one * revert mysterious change
| * MM-8681 Adding config settings necessary for using CloudFront. (#8307)Christopher Speller2018-02-201-0/+1
| | | | | | | | | | | | * Adding config settings nessisary for using CloudFront. * Adding new config settings to diagnostics.
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-02-131-16/+18
|\|
| * Add /v4/image api (#8230)Chris2018-02-091-0/+3
| | | | | | | | | | | | | | | | * add image api * i suppose i should add a test... * only redirect to image proxy
| * Remove license globals entirely (#8229)Chris2018-02-091-16/+15
| | | | | | | | | | | | | | | | * remove license globals entirely * fix infinite recursion * test fix
* | Updates migration tests to reflect front-end mapping changes. (#8237)Martin Kraft2018-02-131-1/+1
|/
* ICU-715 Change ExperimentalGroupUnreadChannels setting to allow for default ↵Harrison Healey2018-02-061-1/+1
| | | | on/off (#8211)
* [ICU-621] Add ExperimentalGroupUnreadChannels setting (#8127)enahum2018-01-231-0/+1
| | | | | | * Add ExperimentalGroupUnreadChannels setting * track ExperimentalGroupUnreadChannels in diagnostics
* Finally remove utils.Cfg (#8113)Chris2018-01-171-1/+0
| | | | | | | | * finally remove utils.Cfg * fix compile error * another test compilation fix
* Remove global cfg vars (#8099)Chris2018-01-121-113/+8
| | | | | | * remove global cfg vars * enterprise update
* Remove global config watcher (#8080)Chris2018-01-111-91/+75
| | | | | | | | | | * remove global config watcher * keep config watcher disabled for tests * compile fix * fix resource leak
* Add EnableDefaultChannelLeaveJoinMessages config setting (#7961)Chris Duarte2018-01-101-0/+1
|
* [PLT-6936] Translate AppError.Message automatically by default (#8063)Jesús Espino2018-01-081-7/+1
|
* Remove utils.ClientCfg and utils.ClientCfgHash (#8041)Chris2018-01-051-12/+2
| | | | | | * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
* 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-0/+10
|
* Allow default team to be configured (#7846)Chris Duarte2017-12-191-0/+1
|
* add config option to hide tutorial screens (#7840)Chris Duarte2017-12-081-0/+1
|
* Add Config to disable Auth Transfers. (#7843)Chris Duarte2017-11-281-1/+1
| | | | | | * Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
* Role refactor (#7867)Chris2017-11-211-1/+0
| | | | | | | | * role refactor * add missing file * fix web test
* Hide pre-release features section of advanced settings pane. (#7847)Chris Duarte2017-11-211-0/+1
|
* fix config cli option (#7850)Chris2017-11-161-6/+15
|
* invoke config listeners when app.UpdateConfig is used (#7773)Chris2017-11-031-3/+7
|
* config watcher fix (#7772)Chris2017-11-031-1/+1
|
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-77/+94
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Add autoclose dm config parameter (#7734)Chris2017-10-301-0/+1
| | | | | | * add autoclose dm config parameter * update naming
* less impactful fix (#7729)Chris2017-10-271-0/+6
|
* Remove more global refs / state (#7723)Chris2017-10-261-1/+3
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* PLT-7743: Data retention in client side config. (#7695)George Goldberg2017-10-231-0/+7
|
* Fixing LDAP and SAML settings detection (#7605)Christopher Speller2017-10-111-6/+6
|
* remove more global refs (#7480)Chris2017-09-211-18/+3
|
* PLT-7508: Add settings to disable wide mention confirmation (#7416)Jesús Espino2017-09-201-0/+1
|
* remove einterface gets (#7455)Chris2017-09-191-8/+0
|
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* Revert "[PLT-7475] Add S3 region to system console and add S3 validation ↵Saturnino Abril2017-09-061-74/+0
| | | | | | | | (#7373)" (#7387) This reverts commit 8d680cf64ec7fb6c8b242b8048989d0f0550cb68. Move to 4.3. Will discuss more if validation is necessary.
* Configs for themes in `Display Settings`: hide themes options, hide custom ↵David Meza2017-09-051-1/+7
| | | | | | | | | | | | | | 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