summaryrefslogtreecommitdiffstats
path: root/api4/plugin_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Make plugin IDs case insensitive (#9117)Joram Wilander2018-07-161-0/+4
|
* MM-10702 Moving plugins to use hashicorp go-plugin. (#8978)Christopher Speller2018-06-251-21/+5
| | | | | | * Moving plugins to use hashicorp go-plugin. * Tweaks from feedback.
* Fix various segfaults when running `go test` manually (#8448)Jesse Hallam2018-03-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * failing to find i18n shouldn't segfault The server was trying to handle the fact that it couldn't find the i18n directory, by emitting a translated log message... * fix utils.FindDir The attempts to find the directory in the parent or grandparent directory don't work if the current working directory was inside `enterprise`, with `enterprise` itself being a symlink as per the usual developer setup. Recurse to the root of the filesystem, cleaning the path along the way to work around this limitation (and allow tests to be run from an arbitrarily deep nesting level.) Fix corresponding usages to employ filepath.Join. * failing to find html templates shouldn't segfault * fail fast if the test user cannot be created * rework utils.FindDir to retain backwards compatibility
* Add plugin slash command support (#7941)Chris2017-12-081-1/+1
| | | | | | | | * add plugin slash command support * remove unused string * rebase
* Remove license requirement for plugins (#7747)Joram Wilander2017-10-311-1/+1
|
* Add config setting to configure plugins directory (#7725)Joram Wilander2017-10-261-5/+6
|
* PLT-7849 Add config setting to disable plugin uploads (#7666)Joram Wilander2017-10-251-3/+17
| | | | | | * Add config setting to disable plugin uploads * Update unit test
* Differentiate between installed and activated states for plugins (#7706)Joram Wilander2017-10-251-7/+66
|
* Reduce utils.Cfg references (#7650)Chris2017-10-181-9/+10
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Don't use global app for api / api4 tests (#7528)Chris2017-10-021-1/+1
| | | | | | | | | | | | | | * don't use global app for api / api4 tests * put sleep back. we're gonna have to do some goroutine wrangling * fix oauth test config assumptions * jobs package, i'm comin' for you next * app test fix * try increasing sleep a little
* PLT-7622 Improvements to server handling of webapp plugins (#7445)Joram Wilander2017-09-151-9/+17
| | | | | | | | * Improvements to server handling of webapp plugins * Fix newline * Update manifest function names
* fix plugin test (#7436)Chris2017-09-121-6/+8
| | | | | | | | | | | | * fix plugin test * ugh. global state * Fix plugin test * Fix TestDeleteChannel * Remove plugin config listener when shutting down
* Remove global app references (#7433)Chris2017-09-121-1/+1
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* PLT-7407: Back-end plugins (#7409)Chris2017-09-111-1/+1
| | | | | | | | | | | | * 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
|
* app type transition (#7167)Chris2017-09-061-3/+2
|
* Implement experimental REST API endpoints for plugins (#7279)Joram Wilander2017-09-011-0/+115
* Implement experimental REST API endpoints for plugins * Updates per feedback and rebase * Update tests * Further updates * Update extraction of plugins * Use OS temp dir for plugins instead of search path * Fail extraction on paths that attempt to traverse upward * Update pluginenv ActivePlugins()