summaryrefslogtreecommitdiffstats
path: root/api4/system_test.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-10987 Turn on ExperimentalLimitClientConfig by default and remove setting ↵Harrison Healey2018-10-241-44/+2
| | | | (#9696)
* if EnableLinkPreviews not enabled, do not call url (#9461)Jesse Haka2018-10-021-0/+19
|
* MM-11786: Adds API endpoint to retrieve redirect locations. (#9284)Martin Kraft2018-08-241-0/+34
|
* avoid t.Fatal() in tests (#9189)Jesse Hallam2018-08-091-19/+4
| | | | | | I've been burned a few times by tests that simply fatal, requiring me to run another build to learn more about what the mismatch was. Avoid this. This is part of a long running goal of mine to make testing "better".
* Add missed translations (#8959)Jesús Espino2018-06-191-3/+1
|
* MM-8701 Limit the number of client config fields sent before user logs in ↵Harrison Healey2018-06-181-15/+93
| | | | | | | | | | (#8954) * MM-8701 Limit the number of client config fields sent before user logs in * Fixed missing client config field * Reduced duplication between limited and regular client config
* fix test and add new (#8759)Carlos Tadeu Panato Junior2018-05-101-0/+12
|
* Removing bad test.Christopher Speller2018-05-091-7/+0
|
* Add inactive user count to analytics and fix client analytics function (#8695)Joram Wilander2018-05-021-4/+13
|
* Structured logging (#8673)Christopher Speller2018-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-10375 Fixing connected socket count (#8682)Corey Hulen2018-04-271-0/+22
| | | | | | * Fixing connected socket count * Adding unit test
* MM-9849 Added tracking of which settings are set through environment ↵Harrison Healey2018-04-091-0/+64
| | | | | | | | | | | | | | | | 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
* Timezone feature (#8185)Chris Duarte2018-03-221-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add supported timezones into config Remove Timezone list creation in favor of timezone from configs Add Timezone field to Users table Clean up format of SupportedTimezones in config * Remove unwanted change * Add test for updating user timezone * Add empty map[string]string if Timezone is null * Add EnableTimezoneSelection config * Revert back to map[string]string for ClientConfig * Refactor SupportedTimezones into timezones.json * Include timezones.json in TestConfigFlag * Add timezone api endpoint * Bump varchar size to 256 and setMaxSize in user_store * Refactor LoadConfig to LoadConfig and LoadTimezoneConfig * Remove unnecessary argument in LoadConfig, mail_test * Add test for timezone endpoint * Add license header * Refactor timezones endpoint to system.go * Add system base route to timezone endpoint * db timezone upgrade in db v4.9 * Avoid saving SupportedTimezones to config.json * Add timezonePath support in config * Remove EnableTimezoneSelection from config * Use return statement without return parameter * Refactor test for SupportedTimezones * Check for supportedTimezone != nil instead of using len * Decouple SupportedTimezones out of Config * Fix failing test * Add LastTeamIconUpdate back in upgrade.go * Write timezone config in config_flag_test * Add code fallback for default timezone support
* remove s3 region to be mandatory and fix when user call test s3 when the ↵Carlos Tadeu Panato Junior2018-03-141-13/+4
| | | | config is saved (#8454)
* update email test in the driver to be able to send the config in the body ↵Carlos Tadeu Panato Junior2018-03-131-17/+23
| | | | | (#8453) Signed-off-by: cpanato <ctadeu@gmail.com>
* [PLT-8186] add support for ec2 instance profile authentication (#8243)Carlos Tadeu Panato Junior2018-02-281-0/+64
|
* ABC-176 Prevent changing PluginSettings.EnableUploads through the API (#8249)Joram Wilander2018-02-131-2/+20
| | | | | | * Prevent changing PluginSettings.EnableUploads through the API * Contain api4 test case in it's own test
* PLT-6896 per-paging for logs (#7903)Yusuke Nemoto2017-12-131-8/+8
| | | | | | | | | | * PLT-6896 Read logs from last * Getting rid of file.Stats * remove deprecated value * Make non-reassigned value constant
* simplify things (#7735)Chris2017-10-301-4/+4
|
* Update v4 POST log endpoint to match v3 permissions (#7653)Joram Wilander2017-10-201-0/+16
|
* Reduce utils.Cfg references (#7650)Chris2017-10-181-19/+18
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-5/+0
| | | | | | | | | | | | * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up
* Don't use global app for api / api4 tests (#7528)Chris2017-10-021-15/+20
| | | | | | | | | | | | | | * 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
* remove einterface gets (#7455)Chris2017-09-191-2/+1
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* App: NewLocAppError -> NewAppError (#7327)George Goldberg2017-09-011-1/+1
| | | | | | * App: NewLocAppError -> NewAppError * Remove statuscode that got missed.
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-2/+2
|
* Setting per-paging for logs to load 10K initially like the old apis (#6697)Corey Hulen2017-06-201-8/+8
| | | | | | * Setting per-paging for logs to load 10K initially like the old apis * Fixing unit test
* Add GET /analytics/old endpoint for v4 (#6666)Joram Wilander2017-06-191-0/+42
|
* Add POST and DELETE /license endpoints for v4 (#6665)Joram Wilander2017-06-191-0/+36
| | | | | | * Add POST and DELETE /license endpoints for v4 * Fix comment text
* [PLT-5465/APIV4] GET /system/health - Improve ping health check to have ↵Carlos Tadeu Panato Junior2017-05-301-5/+17
| | | | | | | | | | limits (#6331) * implement PLT-5465 - Improve ping health check to have limits * update /ping and delete /health * remove permission check
* Removing password reset salt (#6334)Christopher Speller2017-05-041-3/+0
|
* PLT-6355: Use separate Read Replicas for Search. (#6216)George Goldberg2017-05-011-0/+3
|
* PLT-6268 Clear blue bar correctly when removing expiring license (#6247)Joram Wilander2017-04-271-0/+7
| | | | | | | | * Don't sanitize license for system admin * Clear blue bar error whe removing expiring license * Fix unit test
* implement POST /logs for apiV4 (#6143)Carlos Tadeu Panato Junior2017-04-211-0/+20
|
* Implement client config/license endpoints for APIv4 (#5867)Joram Wilander2017-03-271-0/+53
|
* Implement GET /audits endpoint for APIv4 (#5779)Joram Wilander2017-03-211-1/+37
| | | | | | * Implement GET /audits endpoint for APIv4 * Fix log unit test
* Add updateConfig endpoint for apiV4 (#5706)Carlos Tadeu Panato Junior2017-03-201-0/+42
|
* Implement GET /logs endpoint for APIv4 (#5778)Joram Wilander2017-03-161-0/+41
|
* [APIV4] POST /caches/invalidate - endpoint for apiV4 (#5756)Carlos Tadeu Panato Junior2017-03-141-0/+17
|
* Add implementation for POST /config/reload apiV4 - Reload Configuration (#5713)Carlos Tadeu Panato Junior2017-03-141-0/+21
|
* Add implementation for POST /database/recycle apiV4 - Recycle database ↵Carlos Tadeu Panato Junior2017-03-131-0/+13
| | | | connection (#5717)
* Add implementation for POST /email/test apiV4 - Send Test Email (#5716)Carlos Tadeu Panato Junior2017-03-131-0/+30
|
* [APIV4] GET /config - getConfig endpoint for apiV4 (#5701)Carlos Tadeu Panato Junior2017-03-131-1/+49
|
* Add APIv4 /system/ping endpoint (#5443)Robin Naundorf2017-02-171-0/+18