summaryrefslogtreecommitdiffstats
path: root/model/config.go
Commit message (Collapse)AuthorAgeFilesLines
* [ICU-621] Add ExperimentalGroupUnreadChannels setting (#8127)enahum2018-01-231-0/+5
| | | | | | * Add ExperimentalGroupUnreadChannels setting * track ExperimentalGroupUnreadChannels in diagnostics
* PLT-3383: image proxy support (#7991)Chris2018-01-221-1/+26
| | | | | | | | | | | | * 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-56/+61
|
* rename DefaultTeamName to ExperimentalPrimaryTeam (#8039)Chris Duarte2018-01-051-3/+3
|
* Add color properties to config to white label login buttons (#7826)Chris Duarte2018-01-021-0/+47
|
* Set default for DefaultTeamName setting if not present in config (#7987)Joram Wilander2017-12-191-0/+4
|
* 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/+5
|
* PLT-8314: Test Message Export Against S3 Bucket (#7957)Jonathan2017-12-071-17/+4
| | | | | | * Removed export directory config setting, in favour of hard-coding it to an 'export' directory under the local file directory. Improved the local file backend copy implementation to implicitly create the destination directory if it's missing * Fixed the tests
* PLT-8289 Added ability to change location of client plugins (#7942)Harrison Healey2017-12-051-6/+16
|
* Changed config behaviour such that exportFromTimestamp is set/unset when ↵Jonathan2017-12-011-1/+9
| | | | message export is enabled/disabled (#7925)
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-301-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+5
| | | | | | * Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
* Replace Channel Name for Team in Email Notifications (#7839)Chris Duarte2017-11-241-0/+5
| | | | | | * allow option to set channel name in email notification subject * Added TeamName to title when UseChannelInEmailNotifications=true
* Fixing missing default for EnablePreviewFeatures (#7887)Christopher Speller2017-11-211-0/+4
|
* Hide pre-release features section of advanced settings pane. (#7847)Chris Duarte2017-11-211-0/+1
|
* Refactor password validation and config defaults (#7859)Chris2017-11-201-878/+942
| | | | | | * refactor password validation and config defaults * reorder config lines for clarity
* Revert PLT-7809 (#7793)Jason Blais2017-11-061-1/+0
| | | | | | | | | | * Update webrtc_test.go * Update webrtc.go * Update config.go * Update webrtc.go
* PLT-5813 support SAML sync via LDAP (#7668)Corey Hulen2017-10-311-1/+15
| | | | | | * PLT-5813 support SAML sync via LDAP * Cleaning up based on review
* Add autoclose dm config parameter (#7734)Chris2017-10-301-0/+5
| | | | | | * add autoclose dm config parameter * update naming
* Remove unused variables / code (#7736)Chris2017-10-301-4/+0
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* simplify things (#7735)Chris2017-10-301-6/+1
|
* Remove more global refs / state (#7723)Chris2017-10-261-0/+2
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Add config setting to configure plugins directory (#7725)Joram Wilander2017-10-261-1/+12
|
* PLT-7976: Configurable timeout for Elasticsearch requests. (#7716)George Goldberg2017-10-251-0/+10
|
* PLT-7849 Add config setting to disable plugin uploads (#7666)Joram Wilander2017-10-251-3/+8
| | | | | | * 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-21/+32
|
* Differentiate between installed and activated states for plugins (#7706)Joram Wilander2017-10-251-2/+11
|
* Fix crash due to null data retention config parameter. (#7702)George Goldberg2017-10-241-1/+1
|
* add model.NewX funcs for builtin types (#7692)Chris2017-10-231-394/+197
| | | | | | * add model.NewX funcs for builtin types * whoops, forgot to add the new file
* Reduce cfg boilerplate (#7689)Chris2017-10-231-0/+8
| | | | | | | | | | | | * reduce cfg boilerplate * fix compile error * user test fix * another test fix * simplify diagnostics / testing
* PLT-7862: Support batched live indexing. (#7640)George Goldberg2017-10-181-0/+11
|
* PLT-7809: Add support for Kopano Webmeetings WebRTC server (#7590)Simon Eisenmann2017-10-161-0/+1
| | | | | | | | | | | | | | * Add support for Kopano Webmeetings WebRTC server Add an option to select which WebRTC server to use and add support to use Kopano Webmeetings as backend instead of Janus. If the new configuration is not set, WebRTC assumes Janus is used as backend. * Fixup: remove redundant case. default to janus * Fixup: use GatewayAdminUrl as direct prefix to admin URL entry point * Fixup: consumeAndClose
* PLT-5549: No feedback when trying to save localization settings in System ↵Jonathan2017-10-031-104/+197
| | | | | | | | Console when Available Languages doesn't include the default client language (#7554) * Added server-side validation check for localization settings. Refactored validation checks to be easier to read * Fixed gofmt issues
* PLT-7644: Improve job scheduler architecture. (#7532)George Goldberg2017-09-281-2/+2
|
* PLT-7633 (E20) Add session idle timeout config setting (#7524)Joram Wilander2017-09-281-0/+6
| | | | | | | | | | * 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-0/+7
|
* PLT-7508: Add settings to disable wide mention confirmation (#7416)Jesús Espino2017-09-201-0/+6
|
* PLT-6558: Basic data retention job scheduler/worker implementation. (#7449)George Goldberg2017-09-151-4/+44
| | | | | | * PLT-7639: Batch delete methods for data retention. * PLT-6558: Basic data retention job worker/scheduler implementation.
* Revert "[PLT-7475] Add S3 region to system console and add S3 validation ↵Saturnino Abril2017-09-061-19/+6
| | | | | | | | (#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-0/+29
| | | | | | | | | | | | | | 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-7475] Add S3 region to system console and add S3 validation (#7373)Saturnino Abril2017-09-061-6/+19
| | | | | | | | | | * add S3 region to system console and add S3 validation * update translation message * add bool as return value to Validate* functions * update Validate* functions to be pure
* PLT-7517 Added setting to enable tracing of Amazon S3 connections (#7349)Harrison Healey2017-09-051-0/+6
| | | | | | | | | | | | * 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 status codes to model/config.go errors. (#7369)George Goldberg2017-09-051-58/+58
|
* Add x to be able to leave public and private channels (#7145)David Meza2017-09-011-0/+6
| | | | | | | | | | * 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-0/+6
| | | | | | | | | | | | | | | | | | | | | | * 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/+6
| | | | | | | | | | | | | | | | | | * 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()
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-31/+87
|
* Manage version configurations client versions (#7220)Chris Duarte2017-08-281-0/+14
| | | | | | | | | | | | * 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-36/+6
| | | PLT-7417/PLT-7425 Update config.json defaults and removed admin console link settings