summaryrefslogtreecommitdiffstats
path: root/plugin/interface_generator
Commit message (Collapse)AuthorAgeFilesLines
* MM-11734: better plugin `error` handling (#9405)Jesse Hallam2018-09-131-2/+43
| | | | | | | | * MM-11734: encode unregistered error implementations as an ErrorString * MM-11734: test error string handling * more idiomatic error handling
* add megacheck as makefile target (#9288)Daniel Schalla2018-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fix code issues in channel_test.go Fix Channel Test Issues detected by Megacheck Fix API Emoji Test Issues detected by Megacheck Fixed API Issues Reported by Megacheck Fixed App issues reported by megacheck Remaining fixes removed test added by mistake from old HEAD gofmt Store Fixes simplified returns Fix test for multi member channel delete revert to delete unused function
* Remove accidential dependency (#9203)Christopher Speller2018-08-011-1/+1
|
* s/mlog/log/ in apiRPCClient (#9171)Jesse Hallam2018-07-271-1/+1
| | | | | We never actually initialized `log` on apiRPCClient, and it can't log without making an RPC call anyway, so just switch to logging errors from the plugin to STDERR instead.
* Adding FileWillBeUploaded plugin hook (#9169)Christopher Speller2018-07-271-0/+1
| | | | | | | | | | | | | | * Adding file upload hook. * Adding hook test for FileWillBeUploaded * Some debugging fixes. * Fix typo. * Fixing double close * Fix capitalization on docs.
* MM-11292: clean up plugins GoDoc (#9109)Jesse Hallam2018-07-131-13/+16
| | | | | | | | | | | | | | | | | | | * 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
* MM-11029 Adding plugin logging functionality. (#9034)Christopher Speller2018-07-031-2/+19
| | | | | | | | | | | | * Capturing stdout, stderr of plugins in logs. * Cleanup go-plugin debug logs. * Adding logging to plugin API * Generating mocks. * godoc convention
* MM-10702 Moving plugins to use hashicorp go-plugin. (#8978)Christopher Speller2018-06-251-0/+377
* Moving plugins to use hashicorp go-plugin. * Tweaks from feedback.