summaryrefslogtreecommitdiffstats
path: root/cmd
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [PLT-4843] Add CLI tool for deleting channels (#6430)Carlos Tadeu Panato Junior2017-05-171-1/+52
| | | | | | | | * rename delete channel to archive channel * add Permanently delete the channels * fix typo
* PLT-6478 Fixed copyright date on login screen (#6329)Harrison Healey2017-05-041-1/+1
|
* Parallelise Bulk Import. (#6267)George Goldberg2017-04-281-1/+7
| | | | | | * Parallelise Bulk Import. * Set worker count through command line flag.
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-0/+11
| | | | (#6213)
* PLT-6317 disable file watcher while running from makefile (#6103)Corey Hulen2017-04-173-0/+4
| | | | | | * PLT-6317 disable file watcher while running from make file * Removing debug stmt
* Add CLI tool for validating the config.json file (#6041)Simon Soriano2017-04-172-1/+67
|
* PLT-6113 Added initial unit tests for cmd package (#6086)Harrison Healey2017-04-157-19/+511
| | | | | | | | * Fixed app.CreateUser not using the provided locale * Added initial unit tests for cmd package * Disabled unit tests while we move to 'go build'
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-1215-15/+15
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Add CLI command to search for users based on username, email, or user ID (#5918)Simon Soriano2017-04-051-5/+44
|
* PLT-6207: Fix EE policy application. (#5988)George Goldberg2017-04-051-0/+2
|
* PLT-6198: Use added to channel system message on default channels. (#5969)George Goldberg2017-04-041-1/+1
| | | | Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves.
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-042-3/+2
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* Fixing config file watch and config reload on license save (#5954)Corey Hulen2017-04-041-0/+1
| | | | | | | | | | * Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue
* PLT-6076 Read config file info from enviroment vars (#5873)Corey Hulen2017-03-291-0/+2
| | | | | | | | | | | | * Adding viper libs for config file changes * Removing the old fsnotify lib * updating some missing libs * PLT-6076 Read config file info from enviroment vars * Changing unit test to use less important props
* Move WebSocket API to it's own package and add websocket v4 endpoint (#5881)Joram Wilander2017-03-282-0/+8
|
* PLT-5755: Infrastructure for Component Testing. (#5814)George Goldberg2017-03-231-0/+29
| | | | | | | | | | This migrates the existing webapp tests to using Jest and Enzyme. The infrastructure is put in place for React component testing, and a few simple example component tests are implemented. This also adds snapshot testing of components, coverage checking for the webapp (although that is not yet integrated to Coveralls), and the ability to run npm run test:watch to automatically re-run affected tests when working on the webapp codebase.
* Removing old CLI (#5797)Christopher Speller2017-03-204-1127/+3
|
* PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-103-5/+6
|
* PLT-5697: Add --validate flag to bulk import CLI. (#5642)George Goldberg2017-03-061-1/+10
|
* Reload license from DB for all cluster app servers (#5525)Joram Wilander2017-02-284-7/+6
| | | | | | * Reload license from DB for all cluster app servers * Increase test timeout
* PLT-5070: Server side component of Telemetry. (#5514)George Goldberg2017-02-241-137/+16
|
* Bulk import success message not shown on error. (#5401)George Goldberg2017-02-161-5/+5
|
* Fix CLI panic on invalid team (#5246)Christopher Speller2017-02-021-0/+3
|
* Fix verifying a missing user panics (#5240)Christopher Speller2017-01-311-0/+1
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+2
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-272-3/+3
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* PLT-5366, PLT-5364, PLT-5363: Bulk Import Part 1. (#5204)George Goldberg2017-01-271-0/+56
| | | | | | | This commit provides the first part of the bulk import system. The CLI command is provided, complete with validation & apply modes. All the basic properties of Teams and Channels can be imported. Users & Posts will follow separately in a future commit.