summaryrefslogtreecommitdiffstats
path: root/app/admin.go
Commit message (Collapse)AuthorAgeFilesLines
* Structured logging (#8673)Christopher Speller2018-04-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* MM-8180 Improve error message for testing smtp connections (#8608)Joram Wilander2018-04-121-1/+1
| | | | | | * Improve error message for testing smtp connections * Update error message
* MM-9849 Added tracking of which settings are set through environment ↵Harrison Healey2018-04-091-0/+4
| | | | | | | | | | | | | | | | variables (#8586) * MM-9849 Added tracking of which settings are set through environment variables * Removed old version of viper * Added forked version of viper * Fixed unit tests * Fixed more unit tests * Removed copy from App.GetEnvironmentConfig
* MM-9664 Add invalidation metrics for store caches (#8340)Joram Wilander2018-03-051-5/+5
| | | | | | | | * Add invalidation metrics for store caches * Increment session invalidation metric * Fix tests
* Remove license globals entirely (#8229)Chris2018-02-091-1/+2
| | | | | | | | * remove license globals entirely * fix infinite recursion * test fix
* Remove global cfg vars (#8099)Chris2018-01-121-1/+1
| | | | | | * remove global cfg vars * enterprise update
* Remove global config watcher (#8080)Chris2018-01-111-2/+2
| | | | | | | | | | * remove global config watcher * keep config watcher disabled for tests * compile fix * fix resource leak
* PLT-6896 per-paging for logs (#7903)Yusuke Nemoto2017-12-131-15/+40
| | | | | | | | | | * PLT-6896 Read logs from last * Getting rid of file.Stats * remove deprecated value * Make non-reassigned value constant
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-10/+5
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Remove more global refs / state (#7723)Chris2017-10-261-4/+4
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Reduce utils.Cfg references (#7650)Chris2017-10-181-12/+12
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Miscellaneous app cleanup (#7594)Chris2017-10-091-5/+5
| | | | | | | | | | | | * 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/+1
| | | | | | | | | | * sqlstore cleanup / postgres tests * remove stopped containers * cmd/platform compile fix * remove test-postgres target from makefile
* remove jobs.Srv and other jobs-related globals (#7535)Chris2017-09-291-2/+1
|
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-2/+2
|
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-5/+6
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* remove more global refs (#7480)Chris2017-09-211-2/+2
|
* remove einterface gets (#7455)Chris2017-09-191-21/+20
|
* Renaming repoChristopher Speller2017-09-061-5/+5
|
* app type transition (#7167)Chris2017-09-061-11/+12
|
* Revert "[PLT-7475] Add S3 region to system console and add S3 validation ↵Saturnino Abril2017-09-061-30/+1
| | | | | | | | (#7373)" (#7387) This reverts commit 8d680cf64ec7fb6c8b242b8048989d0f0550cb68. Move to 4.3. Will discuss more if validation is necessary.
* [PLT-7475] Add S3 region to system console and add S3 validation (#7373)Saturnino Abril2017-09-061-1/+30
| | | | | | | | | | * add S3 region to system console and add S3 validation * update translation message * add bool as return value to Validate* functions * update Validate* functions to be pure
* Fixing leader election (#7267)Corey Hulen2017-09-051-1/+1
|
* App: NewLocAppError -> NewAppError (#7327)George Goldberg2017-09-011-4/+5
| | | | | | * App: NewLocAppError -> NewAppError * Remove statuscode that got missed.
* [PLT-1015] Make all Mattermost system emails Multi-Part, with both a HTML ↵Carlos Tadeu Panato Junior2017-08-211-1/+0
| | | | | | | | | | | | and Plain Text version. (#5698) * Implementation to Make all Mattermost system emails Multi-Part, with both a HTML and Plain Text version * update lib * update code per review * update to use the mattermost repo
* lint all the things (#7154)Chris2017-08-091-1/+1
| | | | | | * lint all the things * remove extra echo
* PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-0/+3
| | | | | | | | | | | | | | 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
|
* Setting per-paging for logs to load 10K initially like the old apis (#6697)Corey Hulen2017-06-201-0/+3
| | | | | | * Setting per-paging for logs to load 10K initially like the old apis * Fixing unit test
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-6317 disable file watcher while running from makefile (#6103)Corey Hulen2017-04-171-1/+1
| | | | | | * PLT-6317 disable file watcher while running from make file * Removing debug stmt
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * 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
* Fixing config file watch and config reload on license save (#5954)Corey Hulen2017-04-041-0/+2
| | | | | | | | | | * 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
* Implement GET /logs endpoint for APIv4 (#5778)Joram Wilander2017-03-161-5/+16
|
* Reload license from DB for all cluster app servers (#5525)Joram Wilander2017-02-281-0/+1
| | | | | | * Reload license from DB for all cluster app servers * Increase test timeout
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-271-0/+1
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* Fix cluster logs (#5195)Joram Wilander2017-01-261-9/+18
|
* More app code migration (#5170)Joram Wilander2017-01-251-0/+182
* Migrate admin functions into app package * More user function refactoring * Move post functions into app package