summaryrefslogtreecommitdiffstats
path: root/plugin/plugintest/hooks.go
Commit message (Collapse)AuthorAgeFilesLines
* Login Hooks (#9177)Daniel Schalla2018-07-301-0/+43
| | | Tests; gofmt
* make GetChannelByName take teamId first (#9134)Jesse Hallam2018-07-201-1/+1
| | | | | | | | | | | | | | * make GetChannelByName take teamId first I think it is more natural to accept `teamId`, then `channelName`, given the pattern followed by other Plugin API methods and even the SQL Store itself. The App layer seems unusual in accepting `channelName` first. This also re-generates the mocks fixing the parameter order for the recently added `UserStatus` APIs. * add GetChannelByNameForTeamName
* MM-10254 Add plugin APIs for getting/updating user statuses (#9101)Joram Wilander2018-07-161-1/+1
| | | | | | | | * Add plugin APIs for getting/updating user statuses * Add and update tests * Updates per feedback
* First batch of new plugin api methods (#9022)Daniel Schalla2018-07-061-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-061-30/+31
| | | | | | | | | | * 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.
* MM-11029 Adding plugin logging functionality. (#9034)Christopher Speller2018-07-031-1/+1
| | | | | | | | | | | | * Capturing stdout, stderr of plugins in logs. * Cleanup go-plugin debug logs. * Adding logging to plugin API * Generating mocks. * godoc convention
* MM-9674 Add plugin API for publishing custom WebSocket events (#8999)Joram Wilander2018-06-271-1/+1
| | | | | | | | * 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-251-9/+31
| | | | | | * Moving plugins to use hashicorp go-plugin. * Tweaks from feedback.
* MM-10249 Adding plugin ability to intercept posts before they reach the DB. ↵Christopher Speller2018-05-151-29/+123
| | | | | | | | (#8791) * Adding plugin ability to intercept posts before they reach the DB. * s/envoked/invoked/
* Add plugin slash command support (#7941)Chris2017-12-081-1/+16
| | | | | | | | * add plugin slash command support * remove unused string * rebase
* add missing license headers, test to makefile (#7711)Chris2017-10-251-0/+3
|
* PLT-7407: Back-end plugins (#7409)Chris2017-09-111-0/+4
| | | | | | | | | | | | * 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-061-1/+1
|
* add plugin http handler (#7289)Chris2017-08-281-0/+6
|
* PLT-7407: Back-end plugin mechanism (#7177)Chris2017-08-161-0/+21
* begin backend plugin wip * flesh out rpcplugin. everything done except for minor supervisor stubs * done with basic plugin infrastructure * simplify tests * remove unused test lines