Commit Graph

9471 Commits

Author SHA1 Message Date
Martin Kraft
e561f727c8 Updates 'make help'. (#7982)
* Updates 'make help'.

* Updates description of all.
2017-12-20 14:49:45 -05:00
George Goldberg
dcc2016755 PLT-8354: Fix user search error when terms end up as empty space. (#7984) 2017-12-20 19:29:43 +00:00
Joram Wilander
0a2ffbc737 Set default for DefaultTeamName setting if not present in config (#7987) 2017-12-19 18:51:23 -05:00
Chris Duarte
15347b5527 Allow default team to be configured (#7846) 2017-12-19 10:12:25 -08:00
Christopher Speller
917e2417cf Merge branch 'release-4.5' 2017-12-18 09:15:18 -08:00
Siyuan Liu
a37d53c732 PLT-8350 "mention" when channel user count equals to max allowed num (#7976) 2017-12-15 14:16:31 -06:00
Chris
95bdb51f40 fix reaction test (#7978) 2017-12-14 06:31:11 -06:00
Chris
4127474b47 fix posts created at test (#7977) 2017-12-14 05:37:51 -06:00
Yusuke Nemoto
ddd99f7476 PLT-6896 per-paging for logs (#7903)
* PLT-6896 Read logs from last

* Getting rid of file.Stats

* remove deprecated value

* Make non-reassigned value constant
2017-12-13 13:04:55 -06:00
Siyuan Liu
c39788b64b Do not auto-join 'off-topic' channel if it is private (#7950) 2017-12-13 12:50:07 -06:00
Chris
03f5c939de fix PUT webhook permissions (#7970) v4.5.2 v4.5.1 v4.5.1-rc1 v4.5.0 v4.5.0-rc4 v4.5.0-rc3 v4.5.0-rc2 v4.5.2-rc1 2017-12-12 17:44:01 -06:00
enahum
e57a7667ef translations PR 20171211 (#7966) 2017-12-12 08:13:20 -08:00
Jonathan
ab30c4daf9 PLT-8297: Message Export Should Still Produce Valid Exports if ChannelMemberHistory Data is Missing (#7951)
* Added a less accurate ChannelMembers fallback that is used if export period occurs before MessageExport was enabled

* Fixed test names

* Improved testing

* Made hasDataFromBefore() a little less strict

* Fixed the test to cleanly truncate the ChannelMemberHistory table without exposing the db via the interface

* Renamed a function for better clarity

* Binary logic is hard
2017-12-12 09:42:29 -05:00
Christopher Speller
fa9aa85705 Fixing formating on SQL errors for get parent posts. (#7965) 2017-12-12 08:15:32 -05:00
Chris
4c17bdff1b Add plugin slash command support (#7941)
* add plugin slash command support

* remove unused string

* rebase
2017-12-08 13:55:41 -06:00
Chris Duarte
7ed1177a2b add config option to hide tutorial screens (#7840) 2017-12-08 11:15:48 -08:00
Tsilavina Razafinirina
0cdf969ac7 PLT-6217-bis Fixes system message posted to Town Square when a user joins a team #7863 (#7864)
* Adds new string post message when a user has joined a team (#6483)

* Simplifies long if statement in post.go (#6483)
2017-12-08 11:15:33 -08:00
Joram Wilander
617a98d6d8 Allow deactivation of SSO users (#7952) 2017-12-08 11:14:55 -08:00
Christopher Speller
ae931ae6b6 Add upgrade code for 4.6 2017-12-08 11:12:09 -08:00
Christopher Speller
39cf3a998d Uncomment upgrae for 4.5 2017-12-08 11:04:23 -08:00
Joram Wilander
5358b9c42c Update zoom plugin to latest (#7959) v4.5.0-rc1 2017-12-07 14:05:09 -08:00
Joram Wilander
4da0257bd5 Add diagnostic for zoom plugin (#7958) 2017-12-07 14:03:11 -08:00
Jonathan
ef597f6fe4 PLT-8314: Test Message Export Against S3 Bucket (#7957)
* 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
2017-12-07 15:56:14 -05:00
Chris
98620d5aa3 update jira plugin (#7949) 2017-12-05 18:14:41 -06:00
Chris
eb027c0d3b make slack attachments gobable (#7948) 2017-12-05 15:34:10 -08:00
Joram Wilander
7cefef6d21 Hash key for plugin store and limit id length (#7933) 2017-12-05 15:19:33 -08:00
Joram Wilander
150de584c3 PLT-8131 Bundled zoom plugin (#7947)
* Bundled zoom plugin

* Update plugin to latest
2017-12-05 16:35:46 -05:00
Jonathan
c171872472 PLT-8233: Purge ChannelMemberHistory Data when Data Retention Job runs (#7937)
* Changed the channel member history purge function to match pattern established by other data retention purge methods

* Simplifying the channel member history store and associated tests

* Regenerating mocks

* Using a constant
2017-12-05 16:32:23 -05:00
Chris
e7725106ed fix post editing when channel links are present (#7938) 2017-12-05 14:18:45 -05:00
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