summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* Renaming repoChristopher Speller2017-09-062-3/+3
|
* app type transition (#7167)Chris2017-09-063-3/+6
|
* 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.
* pre 4.2 cut (#7380)Chris2017-09-051-0/+1
|
* Configs for themes in `Display Settings`: hide themes options, hide custom ↵David Meza2017-09-052-0/+35
| | | | | | | | | | | | | | 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
* PLT-6226 fixing race in IsAuth (#7296)Corey Hulen2017-09-051-0/+5
| | | | | | | | | | * Fixing race in isAuth function * PLT-6226 fixing race in IsAuth * Moving int64 to top so it's aligned * Adding comment and fixing asymmetric call
* Add status codes to model/config.go errors. (#7369)George Goldberg2017-09-051-58/+58
|
* Fix elasticsearch purge index url in client4. (#7368)George Goldberg2017-09-051-1/+1
|
* 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-016-0/+373
| | | | | | | | | | | | | | | | | | * 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
|
* PLT-6403: Interactive messages (#7274)Chris2017-08-294-2/+108
| | | | | | | | | | * wip * finish first pass * requested changes * add DoPostAction to Client4
* Enforce channel display name limits on slash command (#7309)Joram Wilander2017-08-291-0/+1
|
* 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.
* Include post_id and root_id to handle actions from the PN (#7286)enahum2017-08-281-1/+5
|
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-251-0/+3
| | | | | | | | | | | | | | | | | * Prepare file upload infrastructure for Data Retention. This commit prepares the file upload infrastructure for the data retention feature that is under construction. Changes are: * Move file management code to utils to allow access to it from jobs. * From now on, store all file uploads in a top level folder which is the date of the day on which they were uploaded. This commit is based on Harrison Healey's branch, but updated to work with the latest master. * Use NewAppError
* 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
* Fixing race in update channel (#7269)Corey Hulen2017-08-222-0/+14
| | | | | | * Fixing race in update channel * Switching to struct copy
* Adding debugging for webhook (#7199)Corey Hulen2017-08-182-7/+7
| | | | | | | | * Adding debugging for webhook * Fixing build error * Moving error down
* PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224)George Goldberg2017-08-172-24/+49
| | | | | | | | | * 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-6079 Adding leader election (#7105)Corey Hulen2017-08-161-0/+1
|
* PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-164-0/+160
| | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* 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
* Added unit tests for getFile headers (#7045)Harrison Healey2017-08-081-49/+153
| | | | | | | | | | | | * Added unit tests for getFile headers * Fixed exe type test to run correctly on multiple platforms * Make sure we close the body on all Client4 calls * Changed Response.Response field to Response.Header * Clarified type of Response.Header
* FIXES PLT-6648 Add support for Server Side Encryption on S3 (#6467)Tejay Cardon2017-08-082-0/+15
| | | | | Help from Jason Blais on wording Update storage_settings.jsx Update en.json
* uncomment upgrade for 4.1 (#7128)Saturnino Abril2017-08-081-0/+1
|
* System Console: Email notification content setting (#7122)Jonathan2017-08-064-27/+61
| | | | | | | | | | | | | | | | * 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-7212: fix missing webhook post attachments (#7011)Chris2017-08-034-23/+21
| | | | | | * fix missing webhook post attachments * make ProcessSlackAttachments return a new slice instead of modifying it
* 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-6987 User access token UI (#7007)Joram Wilander2017-08-011-0/+22
| | | | | | | | | | * Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
* Revert " #4755 Combining consecutive user join/leave system messages to ↵Saturnino Abril2017-08-012-54/+0
| | | | | | | | | | | | single message and few other changes." (#7072) * Revert "PLT-6603: Don't return all posts on invalid query. (#7061)" This reverts commit 25a2013890c7e07b4621fa9b18342e7f35363049. * Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)" This reverts commit 8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.
* PLT-6595 (Client): Elasticsearch indexing system console UI (#6991)George Goldberg2017-08-011-3/+3
| | | | | | | | | | | | | | | | | | | | * PLT-6595: System Console for Elasticsearch Job Management. * Fixing UI issues * Fixing colors * ESLint Fixes. * Update test snapshots. * Fixing cancel button * Fix review comments. * Config capitalisation. * Review fixes.
* #4755 Combining consecutive user join/leave system messages to single ↵Debanshu Kundu2017-08-012-0/+54
| | | | | | | | | message and few other changes. (#5945) fix 7 and 8 remove @ at "{username} joined the channel" refactor and update test
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-316-10/+284
| | | | | | | | | | | | | | | | * 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
|
* PLT-7177: Change the default email frequency to 15 minutes if batching is ↵Jonathan2017-07-311-1/+3
| | | | | | | | | | | | | | | | enabled on the server. (#7036) * PLT-7177: Found default preference that needs to be changed * PLT-7177: Front end behaves as desired * PLT-7177: Changed default batching interval on server side * PLT-7177: Added unit tests for new default interval * PLT-7177: Removed unused import * PLT-7177: Renamed constants to increase clarity
* [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)
* Fixing issue with compliance export encoding (#7042)Corey Hulen2017-07-282-8/+41
|
* Added websocket event and webapp handler for updating user roles (#6953)Nick Frazier2017-07-271-0/+1
|
* Migrate add and edit incoming webhook components to redux (#6885)Carlos Tadeu Panato Junior2017-07-271-8/+10
| | | | | | | | * Migrate add incoming webhook components to redux * Migrate edit incoming webhook components to redux * Add tests
* PLT-7040: Fix capitalisation of Elasticsearch in Config. (#7020)George Goldberg2017-07-271-24/+24
|
* PLT-7183: User/Channel NotifyProps Bulk Import. (#7019)George Goldberg2017-07-262-10/+49
|