summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
| * | optimize lru purging (#8381)Chris2018-02-282-103/+43
| |/
| * Temporarily disable flaky TestSendMailUsingConfigAdvanced test (#8379)Joram Wilander2018-02-271-8/+2
| | | | | | | | | | | | * Temporarily disable flaky TestSendMailUsingConfigAdvanced test * Remove imports
| * MM-9698 Fixing Minio with server side encryption. (#8367)Christopher Speller2018-02-262-7/+39
| | | | | | | | | | | | * Fixig Minio with server side encryption. * Add png file backend test
| * MM-8593 Default APIv3 to disabled for new installs (#8353)Joram Wilander2018-02-231-0/+1
| | | | | | | | | | | | | | | | * Default APIv3 to disabled for new installs * Add EnableAPIv3 setting to client config * Enable APIv3 for needed tests
| * Remove global site url (#8343)Chris2018-02-222-10/+1
| | | | | | | | | | | | | | | | * remove global site url * missed one * revert mysterious change
| * MM-8681 Adding config settings necessary for using CloudFront. (#8307)Christopher Speller2018-02-201-0/+1
| | | | | | | | | | | | * Adding config settings nessisary for using CloudFront. * Adding new config settings to diagnostics.
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-02-192-16/+36
|\|
| * Modified advanced mail implementation to properly support multiple ↵Jonathan2018-02-152-16/+36
| | | | | | | | attachments with the same file name (#8289)
* | MM-9618: Don't change default role permissions for policy. (#8303)George Goldberg2018-02-192-33/+33
| |
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-02-1310-233/+103
|\|
| * Add /v4/image api (#8230)Chris2018-02-091-0/+3
| | | | | | | | | | | | | | | | * add image api * i suppose i should add a test... * only redirect to image proxy
| * Remove license globals entirely (#8229)Chris2018-02-099-238/+41
| | | | | | | | | | | | | | | | * remove license globals entirely * fix infinite recursion * test fix
| * ABC-132: sign error page parameters (#8197)Chris2018-02-072-5/+69
| | | | | | | | | | | | * sign error page parameters * add comments
* | Updates migration tests to reflect front-end mapping changes. (#8237)Martin Kraft2018-02-134-29/+59
| |
* | XYZ-51: Unit tests for and changes to SetRolePermissionsFromConfig. (#8160)Martin Kraft2018-02-093-27/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * XYZ-10: Role store. * XYZ-37: Update unit tests to work with database roles. * XYZ-51: Tests 'SetRolePermissionsFromConfig' against JSON from policy page. * XYZ-51: Adds permissions in non-licensed cases also. * XYZ-51: Removes some permissions from team_user role. * XYZ-51: Merge fix for change to default permissions from PR 8208. * XYZ-51: Removes unused function.
* | AllowEditPost and PostEditTimeLimit migration (#8208)Jesús Espino2018-02-091-0/+23
| | | | | | | | | | | | | | | | * AllowEditPost and PostEditTimeLimit migration * Not set EDIT_POST permission to sysadmin_role if ALLOW_EDIT_POST is configured to NEVER * Remove a bit of code duplication
* | Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-1Jesús Espino2018-02-075-26/+183
|\|
| * XYZ-35: Added Support for GlobalRelay Compliance Export FormatJonathan2018-02-074-25/+182
| | | | | | | | | | | | | | | | | | * 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-1/+1
| | | | | | | | on/off (#8211)
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-02-062-26/+25
|\|
| * ABC-153: don't use http redirects with 4xx/5xx status codes (#8178)Chris2018-02-021-9/+14
| | | | | | | | | | | | * don't use http redirects with 4xx/5xx status codes * minor html syntax fix
| * Upgrading server dependancies (#8154)Christopher Speller2018-01-291-17/+11
| |
* | XYZ-37: Advanced Permissions Phase 1 Backend. (#8159)George Goldberg2018-02-061-15/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | * XYZ-13: Update Permission and Role structs to new design. * XYZ-10: Role store. * XYZ-9/XYZ-44: Roles API endpoints and WebSocket message. * XYZ-8: Switch server permissions checks to store backed roles. * XYZ-58: Proper validation of roles where required. * XYZ-11/XYZ-55: Migration to store backed roles from policy config. * XYZ-37: Update unit tests to work with database roles. * XYZ-56: Remove the "guest" role. * Changes to SetDefaultRolesFromConfig. * Short-circuit the store if nothing has changed. * Address first round of review comments. * Address second round of review comments.
* [ICU-621] Add ExperimentalGroupUnreadChannels setting (#8127)enahum2018-01-231-0/+1
| | | | | | * Add ExperimentalGroupUnreadChannels setting * track ExperimentalGroupUnreadChannels in diagnostics
* PLT-3383: image proxy support (#7991)Chris2018-01-2218-0/+5078
| | | | | | | | | | | | * 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
* Finally remove utils.Cfg (#8113)Chris2018-01-172-3/+2
| | | | | | | | * finally remove utils.Cfg * fix compile error * another test compilation fix
* Remove global cfg vars (#8099)Chris2018-01-125-289/+101
| | | | | | * remove global cfg vars * enterprise update
* Remove global config watcher (#8080)Chris2018-01-111-91/+75
| | | | | | | | | | * remove global config watcher * keep config watcher disabled for tests * compile fix * fix resource leak
* Add EnableDefaultChannelLeaveJoinMessages config setting (#7961)Chris Duarte2018-01-101-0/+1
|
* [PLT-6936] Translate AppError.Message automatically by default (#8063)Jesús Espino2018-01-081-7/+1
|
* Remove utils.ClientCfg and utils.ClientCfgHash (#8041)Chris2018-01-053-15/+20
| | | | | | * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
* rename DefaultTeamName to ExperimentalPrimaryTeam (#8039)Chris Duarte2018-01-051-1/+1
|
* Add color properties to config to white label login buttons (#7826)Chris Duarte2018-01-021-0/+10
|
* 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/+1
|
* PLT-8314: Test Message Export Against S3 Bucket (#7957)Jonathan2017-12-072-3/+26
| | | | | | * 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-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-305-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+1
| | | | | | * Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
* send-mail refactor (#7885)Chris2017-11-232-13/+9
|
* origin checker refactor (#7889)Chris2017-11-221-10/+6
|
* HTTP client refactor (#7884)Chris2017-11-222-69/+14
| | | | | | * http client refactor * simplification
* Revert "workaround for go smtp bug (#7620)" (#7866)Chris2017-11-211-21/+3
| | | This reverts commit 8966452d1183e94fecc373b9d08c65a0573cbbc6.
* Role refactor (#7867)Chris2017-11-212-102/+107
| | | | | | | | * role refactor * add missing file * fix web test
* Hide pre-release features section of advanced settings pane. (#7847)Chris Duarte2017-11-211-0/+1
|
* refactor template code (#7860)Chris2017-11-202-94/+178
|
* Refactor password validation and config defaults (#7859)Chris2017-11-202-31/+158
| | | | | | * refactor password validation and config defaults * reorder config lines for clarity
* Reorganize file util functionality (#7848)Chris2017-11-166-531/+532
| | | | | | | | * reorganize file util functionality * fix api test compilation * fix rebase issue
* Merge branch 'release-4.4'Christopher Speller2017-11-162-0/+155
|\
| * Replace os.Rename with directory copy util in plugin extraction (#7825)Joram Wilander2017-11-132-0/+155
| |
* | fix config cli option (#7850)Chris2017-11-162-6/+34
| |