Commit Graph

9442 Commits

Author SHA1 Message Date
Harrison Healey
36777057f2 PLT-8289 Added ability to change location of client plugins (#7942) 2017-12-05 12:25:49 -06:00
Jonathan
154a502f8e Adding more temp files to Stopping docker containers (#7916)
* Adding more temp files to Stopping docker containers
* Removed unnecessary deletes
2017-12-05 11:03:19 -05:00
Chris
3c7b40063d call OnActivate after plugin crash, update example (#7940) 2017-12-05 09:19:32 -05:00
Joram Wilander
7a1f81cd52 Add GetChannelMember method to plugin API (#7930) 2017-12-05 09:14:03 -05:00
Chris
46f51197fb update jira plugin (#7934) 2017-12-04 13:23:49 -06:00
Christopher Speller
81c1fad4d4 Revert "Hash key for plugin store table and limit plugin ID length (#7915)" (#7931)
This reverts commit c3af878573.
2017-12-01 23:20:11 -08:00
Joram Wilander
c3af878573 Hash key for plugin store table and limit plugin ID length (#7915)
* Hash plugin store keys and update column limits

* Limit plugin ID length on install

* Add note to manifest id and allow zero length keys
2017-12-01 15:20:08 -05:00
Chris
739d91f213 better plugin LoadConfiguration mock (#7928) 2017-12-01 11:26:05 -06:00
Chris
1c1c184bed plugin http fixes and tests (#7929) 2017-12-01 10:07:32 -05:00
Jonathan
9791c3e8d2 Changed config behaviour such that exportFromTimestamp is set/unset when message export is enabled/disabled (#7925) 2017-12-01 09:25:14 -05:00
enahum
b51d9e8eab translations PR 20171127 (#7909) 2017-12-01 08:22:29 -05:00
Joram Wilander
239e8df3f4 Fix oauth app update (#7913) 2017-12-01 08:21:44 -05:00
Jason Blais
965a1bf784 Remove webapp dependancies from server NOTICE.txt (#7917) 2017-12-01 08:21:30 -05:00
Chris
d879a7621f recommit: ordered plugin settings (#7919) (#7926) 2017-11-30 18:20:29 -06:00
amyblais
422292eea0 Update README.md (#7911) 2017-11-30 16:50:21 -05:00
Martin Kraft
8701479e1a Adds dev db for postgres so that one doesn't need to make it manually. (#7924) 2017-11-30 13:41:03 -08:00
Chris
daebd26a28 PLT-8018: Bundled jira plugin (#7920)
* bundled jira plugin

* fix generated file formatting, add prepackaged key

* whoops, uploaded wrong file

* whitelist generated files for license check

* make it work for people without go/bin in their path
2017-11-30 14:55:44 -06:00
Chris
eaca461ee3 ordered plugin settings (#7919) 2017-11-30 10:57:47 -06:00
Jonathan
c30a3aff9f Dropped unnecessary info log to debug (#7922) 2017-11-30 10:04:23 -05:00
Jonathan
375c0632fa PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)
* 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
2017-11-30 09:07:04 -05:00
Chris
d0d9ba4a7e expose vendored mock package with plugintest/mock (#7914) 2017-11-29 10:54:14 -08:00
Chris
b87fae646a PLT-5458: If someone posts a channel link to channel_A that you don't belong to, it doesn't render properly (#7833)
* add channel link hints to post props

* optimization

* update regex, add unit test

* fix rebase issue
2017-11-28 13:02:56 -08:00
Chris Duarte
27ba68a789 Add Config to disable Auth Transfers. (#7843)
* Add Config to disable Auth Transfers.

* Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
2017-11-28 11:46:48 -08:00
Joram Wilander
785a410936 Decrease plugin key value store table index name size (#7910) 2017-11-27 18:49:28 -05:00
Joram Wilander
6176bcff69 PLT-8131 (part2) Add plugin key value store support (#7902)
* Add plugin key value store support

* Add localization strings

* Updates per feedback
2017-11-27 17:23:35 -05:00
Bret Mogilefsky
e85ec38301 Don't force AmazonS3Region (#7830)
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.
2017-11-24 09:58:12 -08:00
Chris Duarte
fdbfb9a4ed Replace Channel Name for Team in Email Notifications (#7839)
* allow option to set channel name in email notification subject

* Added TeamName to title when UseChannelInEmailNotifications=true
2017-11-24 12:57:02 -05:00
Chris Duarte
7ac35548c8 Add token to header for commands (#7841)
* add token to header for commands

* Change Header value to Authorization: Token thecommandtoken
2017-11-24 12:56:10 -05:00
Jason Blais
45ffa1438c Remove dev dependancies from NOTICE.txt (#7900) 2017-11-24 09:45:17 -08:00
Harrison Healey
fed7a59d6a Added CloseUnusedDirectMessages to default.json (#7899) 2017-11-24 10:48:49 +00:00
Corey Hulen
a72b3231f0 PLT-8184 Fixing LDAP test connection button for master (#7888) 2017-11-23 09:45:22 -05:00
Martin Kraft
942b5b5cc0 PLT-8058: Logging api.context.invalid_session.error app errors to log level 'info'. (#7893) 2017-11-23 09:44:56 -05:00
Chris
bbb301b7de send-mail refactor (#7885) 2017-11-23 09:44:19 -05:00
Chris
1ccf093803 origin checker refactor (#7889) 2017-11-22 13:58:03 -08:00
Chris
77a1dc1f2f HTTP client refactor (#7884)
* http client refactor

* simplification
2017-11-22 10:15:03 -05:00
Christopher Speller
cf9cd6a4b6 Fixing missing default for EnablePreviewFeatures (#7887) 2017-11-21 14:30:08 -08:00
Joram Wilander
0bc17001c4 Do not allow installation of plugins with the same ID (#7870) 2017-11-21 14:15:10 -05:00
Chris
a6694058a7 Revert "workaround for go smtp bug (#7620)" (#7866)
This reverts commit 8966452d11.
2017-11-21 11:11:04 -08:00
Chris
816a30397d Role refactor (#7867)
* role refactor

* add missing file

* fix web test
2017-11-21 11:08:32 -08:00
Jason Blais
01e652ed48 Fix minimun --> minimum typo (#7872) 2017-11-21 12:10:56 -05:00
Chris Duarte
cfa09ce0ef Hide pre-release features section of advanced settings pane. (#7847) 2017-11-21 10:45:41 -05:00
Carlos Tadeu Panato Junior
fdba2d50fd [PLT-840] Add option to outgoing webhooks to reply to the posted message as a comment (#7807) 2017-11-20 15:57:35 -08:00
Jesús Espino
e2b165cf3e Small fix to run webapp tests (#7777) 2017-11-20 15:53:46 -08:00
Jason Blais
deff850115 Update "display name" --> "title" for integration errors (#7854)
Related to https://github.com/mattermost/mattermost-webapp/pull/308
2017-11-20 15:51:25 -08:00
lindalumitchell
be00e242d7 Updated to Google Drive location (#7856)
Missed a link to the sample files when I updated before. Also tidied a sentence and added some clarifying instructions.
2017-11-20 12:36:19 -08:00
Chris
e36ab04416 add error message to forwarding log error (#7857) 2017-11-20 11:20:53 -08:00
Chris
5cf45d2155 refactor template code (#7860) 2017-11-20 12:57:45 -05:00
Joram Wilander
7eb7509393 Include current user in WebSocket update event when setting profile image (#7862) 2017-11-20 12:19:28 -05:00
Chris
d1cee02247 Refactor password validation and config defaults (#7859)
* refactor password validation and config defaults

* reorder config lines for clarity
2017-11-20 11:04:04 -06:00
Tsilavina Razafinirina
ab6ef954b4 PLT-6217 Fixes system message posted to Town Square when a member leaves a 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)
2017-11-20 10:15:33 -05:00