summaryrefslogtreecommitdiffstats
path: root/cmd
Commit message (Collapse)AuthorAgeFilesLines
* PLT-8289 Added ability to change location of client plugins (#7942)Harrison Healey2017-12-051-12/+8
|
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-303-1/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Created message export scheduled task * Added CLI command to immediately kick off an export job * Added email addresses for users joining and leaving the channel to the export * Added support for both MySQL and PostgreSQL * Fixing gofmt error * Added a new ChannelMemberHistory store and associated tests * Updating the ChannelMemberHistory channel as users create/join/leave channels * Added user email to the message export object so it can be included in the actiance export xml * Don't fail to log a leave event if a corresponding join event wasn't logged * Adding copyright notices * Adding message export settings to daily diagnostics report * Added System Console integration for message export * Cleaned up TODOs * Made batch size configurable * Added export from timestamp to CLI command * Made ChannelMemberHistory table updates best effort * Added a context-based timeout option to the message export CLI * Minor PR updates/improvements * Removed unnecessary fields from MessageExport object to reduce query overhead * Removed JSON functions from the message export query in an effort to optimize performance * Changed the way that channel member history queries and purges work to better account for edge cases * Fixing a test I missed with the last refactor * Added file copy functionality to file backend, improved config validation, added default config values * Fixed file copy tests * More concise use of the testing libraries * Fixed context leak error * Changed default export path to correctly place an 'export' directory under the 'data' directory * Can't delete records from a read replica * Fixed copy file tests * Start job workers when license is applied, if configured to do so * Suggestions from the PR * Moar unit tests * Fixed test imports
* Role refactor (#7867)Chris2017-11-211-1/+0
| | | | | | | | * role refactor * add missing file * fix web test
* Small fix to run webapp tests (#7777)Jesús Espino2017-11-201-1/+6
|
* refactor template code (#7860)Chris2017-11-201-3/+0
|
* PLT-6217 Fixes system message posted to Town Square when a member leaves a ↵Tsilavina Razafinirina2017-11-201-1/+1
| | | | | | | | | | | | | | | | | | team (#7752) * Fixes system message posted to Town Square when adding/removing team member (#6483) Fixes unit test method call to match RemoveUserFromTeam modification (#6483) Fixes system message posted to Town Square when adding/removing team member (#6483) Removes unnessary error message * Updates system message when a user leaves a team (#6483) * Changes system message when a user is removed from team (#6483) * Adds a new string to be post to town-square when a member is added to a team (#6483)
* make `config validate` exit with non-zero code on failure (#7855)Chris2017-11-173-23/+12
|
* Reorganize file util functionality (#7848)Chris2017-11-161-4/+8
| | | | | | | | * reorganize file util functionality * fix api test compilation * fix rebase issue
* add one more config test (#7853)Chris2017-11-161-0/+49
|
* fix config cli option (#7850)Chris2017-11-164-3/+32
|
* Improve test coverage reporting / accuracy (#7819)Chris2017-11-137-287/+341
| | | | | | | | | | * improve test coverage reporting / accuracy * handle absolute coverpaths * move tests into multiple files * rename codecov.yml (https://github.com/codecov/support/issues/426)
* Updating server dependancies. (#7816)Christopher Speller2017-11-131-5/+1
|
* more global config ref cleanup (#7802)Chris2017-11-091-7/+11
|
* fix builtin plugin http router (#7797)Chris2017-11-061-2/+0
|
* PLT-8011: Make Elasticsearch startup fully async. (#7761)George Goldberg2017-11-061-3/+5
| | | | | | * PLT-8011: Make Elasticsearch startup fully async. * Use a.Go
* PLT-8086 Fix plugin config watcher for enabling and disabling (#7770)Joram Wilander2017-11-031-0/+7
| | | | | | | | * Fix plugin config watcher for enabling and disabling * Make sure HTTP routes are served * Set content-type explicitly
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-033-3/+3
|
* PLT-7978 Add websocket event for user role update (#7745)Joram Wilander2017-10-312-3/+3
| | | | | | | | * Add websocket event for user role update * Fix tests * More test fixes
* 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
|