summaryrefslogtreecommitdiffstats
path: root/model/config_test.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-11301: Validates listen address config value. (#9138)Martin Kraft2018-07-301-0/+42
| | | | | | | | | | * MM-11301: Validates listen address config value. * MM-11301: Adds some invalid port test cases. * MM-11301: Accept domain names. * MM-11301: Fix for max port.
* Update custom url schemes error message to reflect what we actually support ↵Harrison Healey2018-07-091-2/+2
| | | | (#9061)
* MM-9547 Added config setting to control url autolinking schemes (#8862)Harrison Healey2018-05-301-0/+83
| | | | | | * MM-9547 Added config setting to control autolinking schemes * Renamed AutolinkingSchemes to CustomUrlSchemes
* MM-10731 Revert site url kill server (#8877)Christopher Speller2018-05-301-7/+0
| | | | | | | | * Revert "MM-9983 Requiring SiteURL to be set. (#8769)" This reverts commit 0432f995ec27de9ee6cc2f5847d4a17fcc095a26. * Add log message for SiteURL not being set.
* MM-9983 Requiring SiteURL to be set. (#8769)Christopher Speller2018-05-181-0/+7
| | | | | | | | * Requiring SiteURL to be set. * Modifying to make tests pass. * Fixing test.
* MM-9977: test config.SetDefaults leaves nothing nil (#8610)Jesse Hallam2018-04-131-0/+46
| | | | | | | | | | * MM-9977: test config.SetDefaults leaves nothing nil * clarify test default config test cases * comment re: allowing nil slice * extend config SetDefaults to handle partially initialized configs
* MM-8840: Add GlobalRelay Configuration Settings (#8304)Jonathan2018-03-081-9/+111
| | | | | | | | * Added new GlobalRelay config settings * Adding default values to global relay config * Migrate global relay config tests to table driven tests
* XYZ-35: Added Support for GlobalRelay Compliance Export FormatJonathan2018-02-071-1/+51
| | | | | | | | | * Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export * Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo * Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests * Moving templates in from enterprise to solve test issues * Added export format to diagnostics * Changed email attachment code to use FileBackend so that S3 storage is properly supported
* ICU-715 Change ExperimentalGroupUnreadChannels setting to allow for default ↵Harrison Healey2018-02-061-0/+32
| | | | on/off (#8211)
* PLT-8314: Test Message Export Against S3 Bucket (#7957)Jonathan2017-12-071-32/+0
| | | | | | * 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
* Changed config behaviour such that exportFromTimestamp is set/unset when ↵Jonathan2017-12-011-0/+95
| | | | message export is enabled/disabled (#7925)
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-301-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* simplify things (#7735)Chris2017-10-301-1/+1
|
* FIXES PLT-6648 Add support for Server Side Encryption on S3 (#6467)Tejay Cardon2017-08-081-0/+9
| | | | | Help from Jason Blais on wording Update storage_settings.jsx Update en.json
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-0/+9
| | | | | | | | | | | | | | | | * 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
* PLT-4113 Added default for FileSettings.Directory (#6188)Justin Wyer2017-04-251-0/+17