summaryrefslogtreecommitdiffstats
path: root/model/config.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
* PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224)George Goldberg2017-08-171-13/+36
| | | | | | | | | * 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/+5
| | | | | | | | | | | | | | | | * 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
* FIXES PLT-6648 Add support for Server Side Encryption on S3 (#6467)Tejay Cardon2017-08-081-0/+6
| | | | | Help from Jason Blais on wording Update storage_settings.jsx Update en.json
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-0/+13
| | | | | | | | | | | | | | | | * PLT-7195: Added new config option, new license feature, and config UI to system console. Still need to implement behaviour change in email batching code * PLT-7195: Modified batch emails to respect email notification content type setting * PLT-7195: Tweaking the colours a bit * PLT-7195: Added support for email notification content type setting in immediate (non-batched) notification messages. Attempted to clean up the code somewhat. Unit tests coming in a future commit * PLT-7195: Added unit tests for non-batched emails * Checked license when applying email content settings * Changed return type of getFormattedPostTime
* Set Elasticsearch replica count default to 1. (#7108)George Goldberg2017-08-041-1/+1
|
* PLT-7130 adding more generic push notificaiton message. (#7044)Corey Hulen2017-08-031-2/+3
| | | | | | * PLT-7130 adding more generic push notificaiton message. * Fixing strings
* PLT-7275: Configure replica/shard count for Elasticsearch indexes. (#7093)George Goldberg2017-08-021-9/+23
|
* PLT-6965 jira integration (plus plugin scaffolding) (#6918)Chris2017-08-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * plugin scaffolding / jira integration * add vendored testify packages * webhook fix * don't change i18n ids * support configuration watching * add basic jira plugin configuration to admin console * fix eslint errors * fix another eslint warning * polish * undo unintentional config.json commit >:( * test fix * add jira plugin diagnostics, remove dm support, add bot tag, generate web-safe secrets * rebase, implement requested changes * requested changes * remove tests and minimize makefile change * add missing license headers * add missing comma * remove bad line from Makefile
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-311-0/+6
| | | | | | | | | | | | | | | | * Implement user access tokens and new roles * Update config.json * Add public post permission to apiv3 * Remove old comment * Fix model unit test * Updates to store per feedback * Updates per feedback from CS
* Allow regions to be set and honored for S3 driver. (#7010)Harshavardhana2017-07-311-5/+0
| | | | | | | | | This is necessary for certain users where GetBucketLocation API is disabled using IAM policies. There is a field AmazonS3Region which we need to re-purpose and use to support this properly. Fixes https://github.com/mattermost/platform/issues/6999
* PLT-6961: Add Elasticsearch settings to diagnostics. (#7021)George Goldberg2017-07-311-3/+7
|
* [GH-6366] Add functionality to disable Authentication when connecting to ↵AJ Moon2017-07-311-0/+14
| | | | | | | | | | | | | | SMTP (#6639) * Issue #6366: Add feature to disable auth for Encrypted connections to SMTP settings. * Clean PLAIN AUTH Option * Reorder SMTP server setup and change helptext * remove unneeded setting and modify logic * text description change
* PLT-6924 Added config options to disable file uploads/downloads on mobile ↵Harrison Healey2017-07-281-0/+12
| | | | (#7049)
* PLT-7040: Fix capitalisation of Elasticsearch in Config. (#7020)George Goldberg2017-07-271-24/+24
|
* Merge branch 'release-4.0'Christopher Speller2017-07-181-1/+1
|\
| * Enable emoji picker by default in config.json (#6871)Saturnino Abril2017-07-081-1/+1
| |