summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-3041-59/+1446
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* expose vendored mock package with plugintest/mock (#7914)Chris2017-11-292-0/+36
|
* PLT-5458: If someone posts a channel link to channel_A that you don't belong ↵Chris2017-11-289-0/+252
| | | | | | | | | | | | to, it doesn't render properly (#7833) * add channel link hints to post props * optimization * update regex, add unit test * fix rebase issue
* Add Config to disable Auth Transfers. (#7843)Chris Duarte2017-11-287-1/+75
| | | | | | * Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
* Decrease plugin key value store table index name size (#7910)Joram Wilander2017-11-273-6/+14
|
* PLT-8131 (part2) Add plugin key value store support (#7902)Joram Wilander2017-11-2722-230/+888
| | | | | | | | * Add plugin key value store support * Add localization strings * Updates per feedback
* Don't force AmazonS3Region (#7830)Bret Mogilefsky2017-11-241-1/+1
| | | | | In [this issue](https://mattermost.atlassian.net/browse/PLT-7475), it says that the UI text should be `Help Text: (Optional) AWS region you selected when creating your S3 bucket. If no region is set, Mattermost attempts to get the appropriate region from AWS, or sets it to "us-east-1" if none found.` The [Mattermost documentation](https://docs.mattermost.com/administration/config-settings.html#amazon-s3-region) says the default for this value is `""`, but it's set here. For this reason the behavior described above (getting the appropriate region from AWS, then falling back to `us-east-1` only if that fails) **does not happen**; Mattermost tries region `us-east-1` even if `AmazonS3Endpoint` points to a different region.
* Replace Channel Name for Team in Email Notifications (#7839)Chris Duarte2017-11-243-0/+8
| | | | | | * allow option to set channel name in email notification subject * Added TeamName to title when UseChannelInEmailNotifications=true
* Add token to header for commands (#7841)Chris Duarte2017-11-241-0/+1
| | | | | | * add token to header for commands * Change Header value to Authorization: Token thecommandtoken
* Remove dev dependancies from NOTICE.txt (#7900)Jason Blais2017-11-241-65/+0
|
* Added CloseUnusedDirectMessages to default.json (#7899)Harrison Healey2017-11-241-1/+2
|
* PLT-8184 Fixing LDAP test connection button for master (#7888)Corey Hulen2017-11-231-1/+1
|
* PLT-8058: Logging api.context.invalid_session.error app errors to log level ↵Martin Kraft2017-11-231-2/+13
| | | | 'info'. (#7893)
* send-mail refactor (#7885)Chris2017-11-236-27/+27
|
* origin checker refactor (#7889)Chris2017-11-224-18/+17
|
* HTTP client refactor (#7884)Chris2017-11-2211-83/+65
| | | | | | * http client refactor * simplification
* Fixing missing default for EnablePreviewFeatures (#7887)Christopher Speller2017-11-211-0/+4
|
* Do not allow installation of plugins with the same ID (#7870)Joram Wilander2017-11-212-7/+26
|
* Revert "workaround for go smtp bug (#7620)" (#7866)Chris2017-11-211-21/+3
| | | This reverts commit 8966452d1183e94fecc373b9d08c65a0573cbbc6.
* Role refactor (#7867)Chris2017-11-2138-499/+466
| | | | | | | | * role refactor * add missing file * fix web test
* Fix minimun --> minimum typo (#7872)Jason Blais2017-11-211-1/+1
|
* Hide pre-release features section of advanced settings pane. (#7847)Chris Duarte2017-11-213-1/+4
|
* [PLT-840] Add option to outgoing webhooks to reply to the posted message as ↵Carlos Tadeu Panato Junior2017-11-204-23/+72
| | | | a comment (#7807)
* Small fix to run webapp tests (#7777)Jesús Espino2017-11-201-1/+6
|
* Update "display name" --> "title" for integration errors (#7854)Jason Blais2017-11-201-3/+3
| | | Related to https://github.com/mattermost/mattermost-webapp/pull/308
* Updated to Google Drive location (#7856)lindalumitchell2017-11-201-3/+3
| | | Missed a link to the sample files when I updated before. Also tidied a sentence and added some clarifying instructions.
* add error message to forwarding log error (#7857)Chris2017-11-201-1/+1
|
* refactor template code (#7860)Chris2017-11-2014-129/+245
|
* Include current user in WebSocket update event when setting profile image ↵Joram Wilander2017-11-201-3/+1
| | | | (#7862)
* Refactor password validation and config defaults (#7859)Chris2017-11-207-914/+1112
| | | | | | * refactor password validation and config defaults * reorder config lines for clarity
* PLT-6217 Fixes system message posted to Town Square when a member leaves a ↵Tsilavina Razafinirina2017-11-208-12/+81
| | | | | | | | | | | | | | | | | | team (#7752) * Fixes system message posted to Town Square when adding/removing team member (#6483) Fixes unit test method call to match RemoveUserFromTeam modification (#6483) Fixes system message posted to Town Square when adding/removing team member (#6483) Removes unnessary error message * Updates system message when a user leaves a team (#6483) * Changes system message when a user is removed from team (#6483) * Adds a new string to be post to town-square when a member is added to a team (#6483)
* PLT-7824 Added support for mentions with <@userid> and <!here> (#7615) (#7737)Joey Lee2017-11-179-123/+170
|
* make `config validate` exit with non-zero code on failure (#7855)Chris2017-11-173-23/+12
|
* Reorganize file util functionality (#7848)Chris2017-11-1622-619/+649
| | | | | | | | * reorganize file util functionality * fix api test compilation * fix rebase issue
* add one more config test (#7853)Chris2017-11-161-0/+49
|
* Merge branch 'release-4.4'Christopher Speller2017-11-1613-164/+319
|\
| * translations PR 20171113 (#7827)enahum2017-11-1410-163/+163
| |
| * add codecov.ymlChristopher Brown2017-11-131-0/+8
| |
| * Replace os.Rename with directory copy util in plugin extraction (#7825)Joram Wilander2017-11-133-1/+156
| |
* | fix config cli option (#7850)Chris2017-11-168-19/+85
| |
* | improve rpcplugin tests (#7837)Chris2017-11-152-0/+26
| |
* | PLT-7111: Fix for groupmsgProvider.GetCommand method signature. (#7835)Martin Kraft2017-11-151-1/+1
| |
* | 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
* | PLT-7111 Add groupmsg command (#7419)Jesús Espino2017-11-144-0/+283
| | | | | | | | | | | | | | | | * Coping command_msg to use as command_groupmsg base * Changing msg to groupmsg names in groumsg command * Add groupmsg command
* | fix ee make targets (#7828)Chris2017-11-141-10/+10
| |
* | Disable codecov PR commentsChris2017-11-131-0/+1
| | | | | | Hoping one day we can get rid of the noise from racey stuff and re-enable them.
* | Improve test coverage reporting / accuracy (#7819)Chris2017-11-1312-293/+408
| | | | | | | | | | | | | | | | | | | | * improve test coverage reporting / accuracy * handle absolute coverpaths * move tests into multiple files * rename codecov.yml (https://github.com/codecov/support/issues/426)
* | Updating server dependancies. (#7816)Christopher Speller2017-11-13474-8837/+84167
| |
* | Add placeholder field and user_autocomplete type to plugin manifest (#7817)Joram Wilander2017-11-132-0/+11
| | | | | | | | | | | | * Add placholder field and user_autocomplete type to plugin manifest * user_autocomplete -> username
* | Add codecov yaml file (#7818)Chris2017-11-112-0/+36
| | | | | | | | | | | | | | | | | | | | * add codecov yaml file * ignore storetest directory * add a test * relax status checks a bit for now