summaryrefslogtreecommitdiffstats
path: root/model/config.go
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | PLT-6474 Basic Elasticsearch System Console Page (#6825)George Goldberg2017-07-131-2/+0
| | | | | | | | | | | | | | | | | | | | * PLT-6474: Basic System Console Elasticsearch Config. * Fix review comments. * More review fixes. * Review comments.
* | PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-0/+16
|/ | | | | | | | | | | | | | This commit redesigns the jobserver to be based around an architecture of "workers", which carry out jobs of a particular type, and "jobs" which are a unit of work carried by a particular worker. It also introduces "schedulers" which are responsible for scheduling jobs of a particular type automatically (jobs can also be scheduled manually when apropriate). Workers may be run many times, either in instances of the platform binary, or the standalone jobserver binary. In any mattermost cluster, only one instance of platform OR jobserver must run the schedulers. At the moment this is controlled by a config variable, but in future will be controlled through the cluster leader election process.
* teammate name display setting: username as default or full_name when ↵Saturnino Abril2017-07-051-5/+9
| | | | LDAP/SAML is enabled (#6857)
* [PLT-6969] System console setting for the emoji picker (#6809)Saturnino Abril2017-07-061-1/+7
| | | | | | | | * system console setting for the emoji picker * remove state.emojiPickerEnable * update url to /admin_console/customization/emoji
* PLT-6554 Add config setting to control enabling API version 3 (#6835)Joram Wilander2017-07-041-0/+6
| | | | | | | | | | * Add config setting to control enabling API version 3 * Update help text for APIv3 config setting (#6843) * Update configuration_settings.jsx * Update en.json
* Fix EnablChannelViewedMessages typo (#6822)Jason Blais2017-07-031-4/+4
| | | | | | | | | | | | | | | | * Update config.json * Update config.go * Update config.go * Update channel.go * Update post.go * Update diagnostics.go * Update config.go
* PLT-6955: Add new config fields to diagnostics. (#6791)George Goldberg2017-06-301-2/+5
| | | | | | * PLT-6955: Add new config fields to diagnostics. * Fix review comments.
* [PLT-5864] Move teammate name display setting to the System Console (#6681)Saturnino Abril2017-06-301-0/+14
| | | | | | | | | | * move teammate name display setting to the system console * update all the likes of TeammateNameDisplay names * fix gofmt error * rebase and fix conflict
* PLT-6610 sending websocket event for last channel viewed (#6787)Corey Hulen2017-06-291-0/+6
|
* [PLT-6496] Remove System Console and config settings for image height and ↵Saturnino Abril2017-06-291-30/+0
| | | | | | | | | | width (#6688) * remove System Console and config settings for image height and width * add constants and update config.json * updated as per review
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-10/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6080 adding cluster discovery service * Adding memberlist lib * Adding memberlist lib * WIP * WIP * WIP * WIP * Rolling back config changes * Fixing make file * Fixing config for cluster * WIP * Fixing system console for clustering * Fixing default config * Fixing config * Fixing system console for clustering * Tweaking hub setting * Bumping up time * merging vendor dir * Updating vendor dir * Fixing unit test * Fixing bad merge * Remove some testing code * Moving comment * PLT-6868 adding db ping retry * Removing unused loc strings * Adding defer to cancel
* PLT-3466 E10: Add announcement bar feature (#6509)Joram Wilander2017-06-051-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | * E10 - Add announcement bar feature * Updates per feedback * Add component tests and snapshots * Update snapshots * Updating color picker UI (#6543) * Add class to body tag when banner is not dismissable and clean up localstorage items when banner changes * Fixing links (#6544) * Updating UI for fixed error bar (#6552) * Truncating text on fixed banner (#6561) * Plt 3466 - Error bar link states (#6577) * Updating error bar hover state * Updating error bar link states
* [PLT-5465/APIV4] GET /system/health - Improve ping health check to have ↵Carlos Tadeu Panato Junior2017-05-301-0/+6
| | | | | | | | | | limits (#6331) * implement PLT-5465 - Improve ping health check to have limits * update /ping and delete /health * remove permission check
* Support AWS Signature V2 for Mattermost for S3 storage. (#6462)Harshavardhana2017-05-301-0/+6
| | | | | | | Certain S3 compatible servers only use Legacy Signature (AWS Signature V2), current code only supports signature v4. This PR adds facility to click a button on the UI to enable legacy signature with S3 compatible servers.
* PLT-6341/PLT-6342 Update gorp to mattermost fork and add connection timeout ↵Joram Wilander2017-05-291-0/+11
| | | | | | | | | | | | setting (#6410) * Update gorp to mattermost fork and add connection timeout setting * Add go dependency * Rename from connection timeout to query timeout * Properly add gorp dependency
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-181-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added initial job server * Added job server to be ran as part of platform * Added test job to the enterprise repo * Fixed job server not loading license * Renamed job package to jobs * Fixed TE not being buildable * Added JobStatus table to database * Changed fields used by JobStatus * Added APIs to query job status * Added config change listener to server * Added option to run job server from Makefile * Added ability to enable/disable jobs from config * Commented out placeholder for search indexing job * Fixed govet * Removed debug messages and fixed job api init message