summaryrefslogtreecommitdiffstats
path: root/cmd
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-312-12/+13
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Remove unused variables / code (#7736)Chris2017-10-302-57/+0
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* simplify things (#7735)Chris2017-10-301-5/+1
|
* Add config setting to configure plugins directory (#7725)Joram Wilander2017-10-261-1/+1
|
* add missing license headers, test to makefile (#7711)Chris2017-10-251-0/+3
|
* Differentiate between installed and activated states for plugins (#7706)Joram Wilander2017-10-251-8/+0
|
* eliminate more utils.Cfg references (#7701)Chris2017-10-241-3/+3
|
* Fix teams create example (#7655)Ema Panz2017-10-181-1/+1
| | | Fix the "team create" command wrongly shows a `teams create` example, where an extra "s" is appended to the command name.
* Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-121-0/+287
| | | | | | | | | | | | * 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
* Miscellaneous app cleanup (#7594)Chris2017-10-094-22/+4
| | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* store/sqlstore cleanup and postgres tests (#7595)Chris2017-10-091-1/+2
| | | | | | | | | | * sqlstore cleanup / postgres tests * remove stopped containers * cmd/platform compile fix * remove test-postgres target from makefile
* Do not require server restart when enabling/disabling plugins (#7592)Joram Wilander2017-10-061-0/+10
|
* PLT-7218: CLI to move slash commands between teams. (#7574)George Goldberg2017-10-043-1/+133
|
* Goroutine wranglin (#7556)Chris2017-10-031-3/+2
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* Don't use global app for api / api4 tests (#7528)Chris2017-10-022-4/+4
| | | | | | | | | | | | | | * 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
* Updating server dependancies. (#7538)Christopher Speller2017-09-294-434/+0
|
* remove jobs.Srv and other jobs-related globals (#7535)Chris2017-09-292-14/+12
|
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-282-6/+6
|
* PLT-7542 Converting LDAP sync to the job server (#7452)Corey Hulen2017-09-251-2/+4
| | | | | | | | | | | | | | | | | | | | * 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
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-252-2/+6
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* remove global refs from api/api4 (#7496)Chris2017-09-222-8/+8
|
* remove more global refs (#7480)Chris2017-09-219-49/+51
|
* remove einterface gets (#7455)Chris2017-09-193-21/+19
|
* PLT-7539: Remove redundant license checks from CLI commands. (#7451)George Goldberg2017-09-151-25/+0
|
* PLT-7622 Improvements to server handling of webapp plugins (#7445)Joram Wilander2017-09-151-6/+11
| | | | | | | | * Improvements to server handling of webapp plugins * Fix newline * Update manifest function names
* Remove global app references (#7433)Chris2017-09-1212-150/+184
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* PLT-7407: Back-end plugins (#7409)Chris2017-09-111-11/+13
| | | | | | | | | | | | * 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-0617-48/+48
|
* app type transition (#7167)Chris2017-09-0615-63/+66
|
* PLT-7216: CLI Command to move channels between teams. (#7149)George Goldberg2017-09-041-0/+77
| | | | | | * PLT-7216: CLI Command to move channels between teams. * Add comment
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-251-1/+1
| | | | | | | | | | | | | | | | | * 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
* Fixing bad merge (#7259)Corey Hulen2017-08-181-1/+1
|
* Adding check for file write or minio/s3 bucket before server start. (#7254)Christopher Speller2017-08-181-0/+4
|
* PLT-7217: CLI command to change channel public/private type. (#7225)George Goldberg2017-08-181-0/+54
| | | | This adds a channel modify CLI command, with the one property that it can modify being the channel public/private type.
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-162-7/+7
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-161-0/+10
| | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* PLT-7145: `platform user deleteall` expects a user as argument (#7002)Jonathan2017-08-021-34/+32
| | | | | | * 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
* PLT-6965 jira integration (plus plugin scaffolding) (#6918)Chris2017-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add jobserver command to platform binary (#7067)Christopher Speller2017-08-013-3/+69
| | | | | | | | * Add jobserver command to platform binary * Fixing jobserver config. Adding jobserver flags. * Fixing govet in makefile
* fix wording (#6640)Carlos Tadeu Panato Junior2017-07-101-2/+2
|
* PLT-6976: Elasticsearch capitalisation and tests. (#6839)George Goldberg2017-07-071-2/+2
| | | | | | | * 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.
* PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-2/+5
| | | | | | | | | | | | | | 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.
* Stage 1 of caching layer. Framework (#6693)Christopher Speller2017-06-271-1/+1
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Adding force flag to migrate auth command (#6593)Christopher Speller2017-06-061-1/+5
|
* PLT-6700 Fixed nil pointer exception on 'ldap sync' command (#6535)Harrison Healey2017-06-021-0/+4
|
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-2311-40/+128
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-183-21/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added initial job server * Added job server to be ran as part of platform * Added test job to the enterprise repo * Fixed job server not loading license * Renamed job package to jobs * Fixed TE not being buildable * Added JobStatus table to database * Changed fields used by JobStatus * Added APIs to query job status * Added config change listener to server * Added option to run job server from Makefile * Added ability to enable/disable jobs from config * Commented out placeholder for search indexing job * Fixed govet * Removed debug messages and fixed job api init message
* PLT-6472: Basic Elastic Search implementation. (#6382)George Goldberg2017-05-181-0/+6
| | | | | | | | | | | | | | * PLT-6472: Basic Elastic Search implementation. This currently supports indexing of posts at create/update/delete time. It does not support batch indexing or reindexing, and does not support any entities other than posts yet. The purpose is to more-or-less replicate the existing full-text search feature but with some of the immediate benefits of using elastic search. * Alter settings for AWS compatability. * Remove unneeded i18n strings.
* Upgrading server dependancies (#6431)Christopher Speller2017-05-171-0/+6
|