summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MM-10254 Add plugin APIs for getting/updating user statuses (#9101)Joram Wilander2018-07-1620-18/+332
| | | | | | | | * Add plugin APIs for getting/updating user statuses * Add and update tests * Updates per feedback
* Merge consecutive text nodes when inspecting markdown (#9112)Adrian2018-07-163-23/+57
| | | | | | | | | | | | | * Fix assertion order expected/actual were in wrong order, resulting in misleading output in case of failing tests * Merge consesutive markdown text nodes This ensures that parser quirks such as "hello!" being parsed as two separate nodes ("hello" and "!") are not exposed to code inspecting a markdown strings.
* add pre-package plugins to the MM package (#9114)Carlos Tadeu Panato Junior2018-07-162-0/+25
|
* MM-11172: Don't allow reacting in read-only town square. (#9106)George Goldberg2018-07-163-0/+104
|
* Merge remote-tracking branch 'upstream/release-5.1' into ↵cpanato2018-07-161-3/+3
|\ | | | | | | release-5.1-daily-merge-20180716
| * Update privacy policy for v5.1 (#9102)Jason Blais2018-07-121-3/+3
| |
* | Add localized timestamp support for email notification (#8674)Chris Duarte2018-07-133-34/+209
| | | | | | | | | | | | * Add localized timestamp support for email notification * Move localTime logic over to getFormattedPostTime
* | MM-11292: clean up plugins GoDoc (#9109)Jesse Hallam2018-07-1320-544/+668
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clean up plugins GoDoc: - eliminate plugin.NewBlankContext() as unnecessary - export ValidIdRegex as a string vs. the less readable var - add/update various documentation strings - hide everything by default, except where used by client plugins or the mattermost-server. The exception to this rule are the `*(Args|Returns)` structs which must be public for go-plugin, but are now prefixed with `Z_` with a warning not to use. - include a top-level example to get plugin authors started This is not a breaking change for existing plugins compiled against plugins-v2. * remove commented out ServeHTTPResponseWriter * update examples to match developer docs * add missing plugin/doc.go license header
* | Avoid using app function so bulk loading does not fail when custom emojis ↵Joram Wilander2018-07-121-6/+6
| | | | | | | | are disabled (#9064)
* | Merge remote-tracking branch 'upstream/release-5.1' into ↵cpanato2018-07-1224-335/+797
|\| | | | | | | release-5.1-daily-merge-20180712
| * translations PR 20180711 (#9099)Elias Nahum2018-07-1114-304/+616
| |
| * push notifications follow teammate name display user or server setting (#9049)Elias Nahum2018-07-112-23/+25
| | | | | | | | | | | | * push notifications follow teammate name display user or server setting * Feedback review
| * Restore config after finisht the test case (#9085)Carlos Tadeu Panato Junior2018-07-116-5/+152
| |
| * MM-11241: fix context site url header (#9079)Jesse Hallam2018-07-112-3/+4
| | | | | | | | | | | | | | | | | | * fix context's SiteURLHeader to use the subpath This fixes various commands such as /open and /groupmsg, as well as OAuth related redirects. * MM-11246: also leverage GetSiteHeader() in completeSaml
* | GH-6278 hasReactions flag is set to true only if the post contains reactions ↵Pradeep Murugesan2018-07-121-4/+9
| | | | | | | | (#9053)
* | Add telemetry for ServiceSettings.EnableEmailInvitations (#9105)Jason Blais2018-07-121-0/+1
| |
* | Enhance Log Output from Permanent Delete (#9044)Daniel Schalla2018-07-121-5/+17
| | | | | | | | | | | | | | use structured logging Missed Structured Log Using Err for Errors in Structured Logging
* | [MM-10117] Add support to add/delete and enable/disable plugins via CLI (#8745)Santos Solorzano2018-07-114-0/+642
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Testing caching for emojis * MM-10117 Add support to add/delete and activate/deactivate plugins via CLI * Removing old work * MM-10117 Moved files and addedd plugin test * MM-10117 Renamed commands to enable/disable and updated add test * MM-10117 Finished plugin test and improved error message for plugin commands * MM-10117 Fixing plugin directories for test * MM-10117 Renamed commands and updated commands to support multiple plugins * MM-10117 Updating removed to deleted textclear * MM-10117 Fixing nil pointer error for listing plugins * MM-10117 Removing fileReader close * MM-10117 Declaring error for GetPlugins * MM-10117 Removing unnecessary nil check
* | Expose range information for markdown text nodes [WIP] (#9067)Adrian2018-07-112-14/+147
| | | | | | | | | | | | * Track positions of markdown text * Add tests for markdown text ranges
* | GH-8964 enable notification for text and preText fields in Attachments (#9069)Pradeep Murugesan2018-07-112-15/+95
| |
* | Deduplicating some code in app/status.go (#9095)Jesús Espino2018-07-111-17/+3
| |
* | Merge branch 'plugins-2'JoramWilander2018-07-10314-9430/+54637
|\ \
| * \ Merge branch 'master' into plugins-2JoramWilander2018-07-103-0/+12
| |\ \
| * | | Don't panic if plugin manifest does not have settings (#9086)Joram Wilander2018-07-101-2/+4
| | | |
| * | | Adding ability for plugin system to respect the defaults listed in the ↵Christopher Speller2018-07-094-20/+28
| | | | | | | | | | | | | | | | plugin manifest. (#9066)
| * | | Merge branch 'master' into plugins-2JoramWilander2018-07-0740-8524/+2234
| |\ \ \
| * | | | First batch of new plugin api methods (#9022)Daniel Schalla2018-07-0610-16/+1215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update api mocks Generated new hooks ChannelHasJoinedChannel Implementation User Left Team/Channel Hook; User Joined Team Hook Implementation Update RPC Client and Mocks gofmt go tests fix Add Config API Methods codegne Add Channel Has Been Created Hook Fix ChannelHasBeenCreated hook fix missing context param fix duplicate hooks; remove redudandcy
| * | | | MM-10703 Adding blank request context to plugin hooks for future use. (#9043)Christopher Speller2018-07-0613-74/+890
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding blank request context to plugin hooks for future use. * Rename RequestContext to Context * Adding context to ServeHTTP and ExecuteCommand * Fixing import cycle in test.
| * | | | Add back enable/disable WS events (#9052)Joram Wilander2018-07-053-1/+21
| | | | |
| * | | | MM-11029 Adding plugin logging functionality. (#9034)Christopher Speller2018-07-0313-38/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Capturing stdout, stderr of plugins in logs. * Cleanup go-plugin debug logs. * Adding logging to plugin API * Generating mocks. * godoc convention
| * | | | Merge branch 'master' into plugins-2JoramWilander2018-06-3023-735/+683
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into plugins-2JoramWilander2018-06-2747-26268/+12238
| |\ \ \ \ \
| * | | | | | MM-9674 Add plugin API for publishing custom WebSocket events (#8999)Joram Wilander2018-06-275-2/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add plugin API for publishing custom WebSocket events * Add clearer payload comment * Update comment
| * | | | | | MM-10702 Moving plugins to use hashicorp go-plugin. (#8978)Christopher Speller2018-06-25303-9370/+52116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moving plugins to use hashicorp go-plugin. * Tweaks from feedback.
* | | | | | | Merge remote-tracking branch 'upstream/release-5.1' into ↵cpanato2018-07-1037-660/+1201
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | / | | |_|_|_|/ | |/| | | | release-5.1-daily-merge-20180710
| * | | | | fix TestInvitePeopleProvider test (#9084)Carlos Tadeu Panato Junior2018-07-101-0/+6
| | | | | |
| * | | | | translations PR 20180709 (#9082)Elias Nahum2018-07-1013-620/+672
| | | | | |
| * | | | | MM-11229: Fix invite people slash command and add test case. (#9074)George Goldberg2018-07-103-0/+48
| | | | | |
| * | | | | MM-11228: Fix channel update/patch API endpoints. (#9073)George Goldberg2018-07-103-21/+104
| | | | | |
| * | | | | MM-11189: Do not close the connection abruptly on too big emojis (#9071)Jesús Espino2018-07-101-0/+4
| | | | | |
| * | | | | MM-11227: Fix group msg slash command. (#9070)George Goldberg2018-07-104-4/+102
| | | | | |
| * | | | | MM-11120 Adding setting to disable email invitations and rate limiting. (#9063)Christopher Speller2018-07-1010-6/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding setting to disable email invitations. * Adding a setting and rate limiting for email invite sending. * Modifying email rate limit to 20/user/hour * Adding EnableEmailInvitations to client side config and command.
| * | | | | MM-11174: Fix /msg slash command. (#9059)George Goldberg2018-07-103-0/+42
| | | | | |
| * | | | | Update custom url schemes error message to reflect what we actually support ↵Harrison Healey2018-07-093-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | (#9061)
| * | | | | MM-11110: Fixes CLI error message. (#9062)Martin Kraft2018-07-091-1/+1
| | | | | |
| * | | | | MM-11194: Fix channel header slash command. (#9057)George Goldberg2018-07-083-4/+118
| | | | | |
* | | | | | Add preparatory upgrade code for 5.2.0 (#9047)Carlos Tadeu Panato Junior2018-07-101-0/+10
| | | | | |
* | | | | | Blacklist System as Username (#9060)Daniel Schalla2018-07-092-0/+2
| |_|_|_|/ |/| | | | | | | | | adapted tests
* | | | | [MM-10754] Remove unnecessary command_test route (#9050)Saturnino Abril2018-07-062-41/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove unnecessary command_test route * replaced localhost with ts.URL
* | | | | Merge remote-tracking branch 'upstream/release-5.1' into ↵cpanato2018-07-0613-23/+207
|\| | | | | | | | | | | | | | | | | | | release-5.1-daily-merge-20180706