summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | 7740: Set auto-submitted and precedence headers for emails (#7741)Carsten Pfeiffer2017-11-151-0/+2
|/ | | | | | | | * Set auto-submitted and precedence headers for emails This prevents auto-responses from out-of-office agents. * Apply gofmt
* invoke config listeners when app.UpdateConfig is used (#7773)Chris2017-11-031-3/+7
|
* config watcher fix (#7772)Chris2017-11-031-1/+1
|
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-031-1/+1
|
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-314-91/+119
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Add autoclose dm config parameter (#7734)Chris2017-10-301-0/+1
| | | | | | * add autoclose dm config parameter * update naming
* Remove unused variables / code (#7736)Chris2017-10-302-287/+5
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* simplify things (#7735)Chris2017-10-306-32/+8
|
* less impactful fix (#7729)Chris2017-10-271-0/+6
|
* Remove more global refs / state (#7723)Chris2017-10-261-1/+3
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* [PLT-7726] adjustments for the mm-server jenkinsfile (#7688)Carlos Tadeu Panato Junior2017-10-252-6/+33
|
* add missing license headers, test to makefile (#7711)Chris2017-10-255-0/+15
|
* PLT-7743: Data retention in client side config. (#7695)George Goldberg2017-10-231-0/+7
|
* Merge branch 'release-4.3'Christopher Brown2017-10-162-9/+27
|\
| * workaround for go smtp bug (#7620)Chris2017-10-121-3/+21
| |
| * Fixing LDAP and SAML settings detection (#7605)Christopher Speller2017-10-111-6/+6
| |
* | parallel tests (#7629)Chris2017-10-161-4/+8
|/
* PLT-7668: Elasticsearch & DataRetention in client license. (#7548)George Goldberg2017-10-031-0/+2
|
* PLT-7641: Cleanup the jsonl files from `make test` (#7466)Jonathan2017-09-251-1/+1
| | | | | | * Disabled automatic log rotation to avoid multiple log file creation, added mattermost.log.jsonl files to gitignore * Added log file delete to make clean
* PLT-7666: Clean up files on disk/s3 in data retention. (#7503)George Goldberg2017-09-252-0/+72
|
* Finally do away with NewLocAppError function. (#7498)George Goldberg2017-09-251-27/+27
| | | | | This cleans up the few NewLocAppError calls that crept in since the main bulk of them were removed, and finally removes the NewLocAppError function altogether.
* Run file tests on Minio and local drivers. (#7482)George Goldberg2017-09-221-77/+98
|
* remove more global refs (#7480)Chris2017-09-211-18/+3
|
* PLT-7508: Add settings to disable wide mention confirmation (#7416)Jesús Espino2017-09-201-0/+1
|
* remove einterface gets (#7455)Chris2017-09-191-8/+0
|
* PLT-7563 Fixed template handling to support more values (#7404)Harrison Healey2017-09-131-2/+5
|
* PLT-7407: Back-end plugins (#7409)Chris2017-09-111-20/+13
| | | | | | | | | | | | * tie back-end plugins together * fix comment typo * add tests and a bit of polish * tests and polish * add test, don't let backend executable paths escape the plugin directory
* Renaming repoChristopher Speller2017-09-0616-30/+24
|
* 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-062-92/+18
| | | | | | | | (#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-1/+7
| | | | | | | | | | | | | | 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
* Experimental plugin system console UI (#7338)Joram Wilander2017-09-051-0/+2
| | | | | | | | | | | | | | | | * Add system console UI for uploading/listing/removing plugins * Add localization strings * Add banner to plugin settings * Updating UI for experimental plugins (#7362) * Text updates * Updating UI for experimental plugin stuff (#7377) * Properly clear file input after upload
* PLT-7468 Moved more error pages to use predefined error types (#7378)Harrison Healey2017-09-051-10/+2
| | | | | | | | * PLT-7468 Moved more errors to use error types * PLT-7468 Moved 404 error page to use error types * Made helper function for rendering external links on error page
* PLT-7522 Cleaned up translation of templates (#7351)Harrison Healey2017-09-052-2/+76
| | | | | | | | * PLT-7522 Cleaned up translation of templates * Added unit tests * Changed TranslateAsHtml to not be variadic
* [PLT-7475] Add S3 region to system console and add S3 validation (#7373)Saturnino Abril2017-09-062-18/+92
| | | | | | | | | | * 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-7519: Better rate-limiting. (#7365)George Goldberg2017-09-052-1/+65
|