Chris
61db2ff59b
fix builtin plugin http router ( #7797 )
2017-11-06 19:53:40 -08:00
George Goldberg
72ae0ab9bb
PLT-8011: Make Elasticsearch startup fully async. ( #7761 )
...
* PLT-8011: Make Elasticsearch startup fully async.
* Use a.Go
2017-11-06 10:05:28 -08:00
Joram Wilander
2acb548615
PLT-8086 Fix plugin config watcher for enabling and disabling ( #7770 )
...
* Fix plugin config watcher for enabling and disabling
* Make sure HTTP routes are served
* Set content-type explicitly
2017-11-03 17:47:52 -04:00
Chris
d5dbdb2737
several one-line panic, race, and logic fixes ( #7766 )
2017-11-03 08:25:38 -07:00
Joram Wilander
06ec648cf3
PLT-7978 Add websocket event for user role update ( #7745 )
...
* Add websocket event for user role update
* Fix tests
* More test fixes
2017-10-31 16:00:21 +00:00
Chris
ce2b2be5de
Refactoring cfg refs and load / save functions ( #7749 )
...
* refactoring cfg refs and load / save functions
* improve error output
2017-10-31 10:39:31 -04:00
Chris
3cbacb6858
Remove unused variables / code ( #7736 )
...
* remove unused variables / code
* fix bug in testPostStoreGetOldest
2017-10-30 11:58:00 -05:00
Chris
c5e8cb25ca
simplify things ( #7735 )
2017-10-30 11:57:24 -05:00
Joram Wilander
a0bfd2885d
Add config setting to configure plugins directory ( #7725 )
2017-10-26 13:21:35 -04:00
Chris
5dd4466ab3
add missing license headers, test to makefile ( #7711 )
2017-10-25 09:33:19 -07:00
Joram Wilander
16b845c0d7
Differentiate between installed and activated states for plugins ( #7706 )
2017-10-25 08:17:17 -04:00
Chris
2a2af0e390
eliminate more utils.Cfg references ( #7701 )
2017-10-24 09:00:05 -07:00
Ema Panz
897d83fdf9
Fix teams create example ( #7655 )
...
Fix the "team create" command wrongly shows a `teams create` example, where an extra "s" is appended to the command name.
2017-10-18 13:22:51 -07:00
Chris
917e4789c2
Use tmpfs containers for api/api4 tests, move and speed up CLI tests ( #7606 )
...
* use tmpfs containers for api/api4, move and speed up cli tests
* minor optimizations
* add missing files, fix pre-existing race condition
* add . to TestMain check
* add requested log message
2017-10-12 12:24:54 -07:00
Chris
bff2b5e735
Miscellaneous app cleanup ( #7594 )
...
* app cleanup
* whoops, forgot a file
* some minor cleanup
* longer container deadline
* defensive checks
2017-10-09 14:59:48 -07:00
Chris
0f66b6e726
store/sqlstore cleanup and postgres tests ( #7595 )
...
* sqlstore cleanup / postgres tests
* remove stopped containers
* cmd/platform compile fix
* remove test-postgres target from makefile
2017-10-09 13:16:14 -04:00
Joram Wilander
d1958bdc49
Do not require server restart when enabling/disabling plugins ( #7592 )
2017-10-06 10:58:23 -07:00
George Goldberg
f3fc6d11fa
PLT-7218: CLI to move slash commands between teams. ( #7574 )
2017-10-04 11:08:59 -07:00
Chris
5e69ce099f
Goroutine wranglin ( #7556 )
...
* goroutine wranglin
* synchronize WebConn.WritePump
2017-10-03 10:53:53 -05:00
Chris
9bc7af0c57
Don't use global app for api / api4 tests ( #7528 )
...
* 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
2017-10-02 09:50:56 +01:00
Christopher Speller
b84736e9b6
Updating server dependancies. ( #7538 )
2017-09-29 12:46:30 -07:00
Chris
4e79d2d4d0
remove jobs.Srv and other jobs-related globals ( #7535 )
2017-09-29 10:29:29 +01:00
Chris
8c80cdde38
remove remaining Global() calls (outside of tests) ( #7521 )
2017-09-28 00:52:34 +08:00
Corey Hulen
81c18a01bd
PLT-7542 Converting LDAP sync to the job server ( #7452 )
...
* PLT-7542 Converting LDAP sync to the job server
* Fixing minor issues
* Fixing build failure
* Translate error message
* Translate error message
* Translate error message
* Translate error message
* Fixing merge
* Fixing bad merge
2017-09-25 13:30:33 -07:00
Chris
49fe5fbf3d
Move sql store code into store/sqlstore package ( #7502 )
...
* move sql store code into store/sqlstore package
* move non-sql constants back up to store
* fix api test
* derp
2017-09-25 10:11:25 -04:00
Chris
dcf9e96a0b
remove global refs from api/api4 ( #7496 )
2017-09-22 13:54:27 -04:00
Chris
266ff86702
remove more global refs ( #7480 )
2017-09-21 10:13:34 +01:00
Chris
ac74066f0e
remove einterface gets ( #7455 )
2017-09-19 18:31:35 -05:00
George Goldberg
fd878bd50c
PLT-7539: Remove redundant license checks from CLI commands. ( #7451 )
2017-09-15 09:40:37 -07:00
Joram Wilander
2628022275
PLT-7622 Improvements to server handling of webapp plugins ( #7445 )
...
* Improvements to server handling of webapp plugins
* Fix newline
* Update manifest function names
2017-09-15 08:51:46 -04:00
Chris
b066b6df13
Remove global app references ( #7433 )
...
* remove global app references
* test fix
* fix api4 test compilation
2017-09-12 09:19:52 -05:00
Chris
402491b7e5
PLT-7407: Back-end plugins ( #7409 )
...
* 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
2017-09-11 10:02:02 -05:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
George Goldberg
ba2868775d
PLT-7216: CLI Command to move channels between teams. ( #7149 )
...
* PLT-7216: CLI Command to move channels between teams.
* Add comment
2017-09-04 18:54:24 +01:00
George Goldberg
50fc6e1e9e
PLT-???? Prepare file upload infrastructure for Data Retention. ( #7266 )
...
* Prepare file upload infrastructure for Data Retention.
This commit prepares the file upload infrastructure for the data
retention feature that is under construction. Changes are:
* Move file management code to utils to allow access to it from jobs.
* From now on, store all file uploads in a top level folder which is the
date of the day on which they were uploaded.
This commit is based on Harrison Healey's branch, but updated to work
with the latest master.
* Use NewAppError
2017-08-25 10:38:13 -04:00
Corey Hulen
2b3f7d0bc3
Fixing bad merge ( #7259 )
2017-08-18 13:26:12 -07:00
Christopher Speller
17098fb2a3
Adding check for file write or minio/s3 bucket before server start. ( #7254 )
2017-08-18 12:22:29 -07:00
George Goldberg
42c6686602
PLT-7217: CLI command to change channel public/private type. ( #7225 )
...
This adds a channel modify CLI command, with the one property that it
can modify being the channel public/private type.
2017-08-18 12:14:52 -07:00
Corey Hulen
0ab490845a
PLT-6226 Fixing races with licensing ( #7213 )
...
* PLT-6226 Fixing races with licensing
* Fixing build issue
* Fixing licensing issue
* removing commented code
2017-08-16 09:51:45 -07:00
Chris
b122381e87
PLT-1649: add response_url support for custom slash commands ( #6739 )
...
* add response_url support for custom slash commands
* pr suggestions
* pr update / suggestion
* test fix
2017-08-16 08:17:57 -04:00
Jonathan
ca80b7fe31
PLT-7145: platform user deleteall expects a user as argument ( #7002 )
...
* PLT-7145: Fixed typo preventing deleteall command from working as expected. Cleaned up spelling and error messages throughout the user module
* PLT-7145: Grammar and wording suggestions from PR 7002
2017-08-02 07:26:27 -07:00
Chris
65817e13c7
PLT-6965 jira integration (plus plugin scaffolding) ( #6918 )
...
* plugin scaffolding / jira integration
* add vendored testify packages
* webhook fix
* don't change i18n ids
* support configuration watching
* add basic jira plugin configuration to admin console
* fix eslint errors
* fix another eslint warning
* polish
* undo unintentional config.json commit >:(
* test fix
* add jira plugin diagnostics, remove dm support, add bot tag, generate web-safe secrets
* rebase, implement requested changes
* requested changes
* remove tests and minimize makefile change
* add missing license headers
* add missing comma
* remove bad line from Makefile
2017-08-02 01:36:54 -07:00
Christopher Speller
0331409488
Add jobserver command to platform binary ( #7067 )
...
* Add jobserver command to platform binary
* Fixing jobserver config. Adding jobserver flags.
* Fixing govet in makefile
2017-08-01 08:53:42 -04:00
Carlos Tadeu Panato Junior
6330f7f637
fix wording ( #6640 )
2017-07-10 08:49:26 -07:00
George Goldberg
db2f6cf076
PLT-6976: Elasticsearch capitalisation and tests. ( #6839 )
...
* Fixes Elasticsearch to have consistent capitalisation everywhere
across the code and UI (except the config file unfortunately).
* Adds basic unit tests for Elastichsearch.
* Adds a Elasticsearch docker image to the Makefile to enable testing
the Elasticsearch feature.
2017-07-07 15:36:17 +01:00
George Goldberg
0495a51949
PLT-6916: Redesign the jobs package and Jobserver. ( #6733 )
...
This commit redesigns the jobserver to be based around an architecture
of "workers", which carry out jobs of a particular type, and "jobs"
which are a unit of work carried by a particular worker. It also
introduces "schedulers" which are responsible for scheduling jobs of a
particular type automatically (jobs can also be scheduled manually when
apropriate).
Workers may be run many times, either in instances of the platform
binary, or the standalone jobserver binary. In any mattermost cluster,
only one instance of platform OR jobserver must run the schedulers. At
the moment this is controlled by a config variable, but in future will
be controlled through the cluster leader election process.
2017-07-07 15:21:02 +01:00
Christopher Speller
9659a6da06
Stage 1 of caching layer. Framework ( #6693 )
2017-06-27 08:02:08 -07:00
Corey Hulen
36f216cb7c
PLT-6080 moving clustering to memberlist ( #6499 )
...
* PLT-6080 adding cluster discovery service
* Adding memberlist lib
* Adding memberlist lib
* WIP
* WIP
* WIP
* WIP
* Rolling back config changes
* Fixing make file
* Fixing config for cluster
* WIP
* Fixing system console for clustering
* Fixing default config
* Fixing config
* Fixing system console for clustering
* Tweaking hub setting
* Bumping up time
* merging vendor dir
* Updating vendor dir
* Fixing unit test
* Fixing bad merge
* Remove some testing code
* Moving comment
* PLT-6868 adding db ping retry
* Removing unused loc strings
* Adding defer to cancel
2017-06-19 08:44:04 -07:00
Christopher Speller
04088009f8
Adding force flag to migrate auth command ( #6593 )
2017-06-06 14:42:53 -04:00