ivaosthu
31c1f85287
chore: move metrics-helper.js
2019-08-04 11:15:40 +02:00
Moritz Johner
3f7040772e
feat: add db query latency metrics ( #473 )
...
* feat: add db metrics
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
* fix: use base unit
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2019-08-04 11:10:50 +02:00
ivaosthu
19e7b34812
chore: add a test to verify eventHook registration
2019-06-18 19:59:24 +02:00
Ran Magen
530bfcec1b
feat: add option and functionality that allows a user to hook into feature mutations ( #457 )
...
* Add option and functionality that allows a user to hook into feature mutations.
* Fix function argument to include the entire event.
2019-06-18 19:22:18 +02:00
Ran Magen
b2ce6f7a48
fix: Add DATABASE_URL_FILE for loading a db url from a file ( #455 )
2019-06-14 18:10:38 +02:00
Ivar Conradi Østhus
ab579fe710
chore: remove console.log in test
2019-06-08 13:05:06 +02:00
Ivar Conradi Østhus
0907d4749f
fix: none authentication should have a mock user ( #449 )
...
This also fix the bug introduces where authentication mode triggers readOnly mode in the UI.
2019-06-08 12:50:59 +02:00
ivaosthu
5ae61e6fc3
chore: Make options more testable
2019-05-22 09:31:01 +02:00
ivaosthu
0e6f5acdd1
chore: use undefined instead of null
2019-05-22 08:56:30 +02:00
Thinh Tran
898a658694
feat: Separate DATABASE_URL to multiple DATABASE_* variable ( #437 )
...
* Support construct database by multiple env variable
* fix typo for test
* Add small change for passord and support ssl
* consider ssl should be true always
2019-05-22 08:24:22 +02:00
ivaosthu
261da3714c
fix: Application fields should be optional.
2019-05-10 13:53:14 +02:00
ivaosthu
826174dfb5
fix: should be more allow about empty metrics
2019-05-06 10:50:50 +02:00
ivaosthu
de16a7854d
fix: LogProvider as option injected to unleash.
...
Instead of instructing users to do static calls
in to Unleash, she should instead be allwed to
specify the log provider as an option to Unleash.
This commit introduces the "getLogger" option,
a function responsible for creating a logger.
2019-05-04 05:01:28 +02:00
ivaosthu
032721083a
fix: Session cookie should set path to baseUriPath
2019-04-28 12:30:39 +02:00
ivaosthu
cc750dc866
fix(package): update mime to version 2.4.1
...
closes #418
2019-04-26 10:36:17 +02:00
ivaosthu
2ff49e573e
Fix: Add support for IPC connections.
...
Read this for more details:
https://nodejs.org/api/net.html#net_identifying_paths_for_ipc_connections
2019-04-26 10:30:36 +02:00
Ivar Conradi Østhus
e50630790c
fix: trigger actual logout on request
2019-04-03 19:24:57 +02:00
Benjamin Ludewig
72f5f95639
fix: import should use mime.lookup() for filename
2019-03-16 12:05:18 +01:00
Benjamin Ludewig
1f55eaedad
Refactored state-service, schemas, added e2e tests #395
2019-03-15 15:07:32 +01:00
Benjamin Ludewig
5e8059dcf1
feat: Added import & export through stateService #395
2019-03-15 15:07:32 +01:00
ivaosthu
66bfcecadc
feat: Add customizable ui config
2019-03-13 10:04:08 +01:00
ivaosthu
ae63e08263
fix: Application list should be alphabetically sorted
...
closes #403
2019-03-13 08:56:02 +01:00
ivaosthu
79a10d1107
fix: Add explicit endpoints for toggle on/off
...
closes #394
2019-03-09 15:02:33 +01:00
ivaosthu
f39507444d
fix: SimpleAuthentication should work with custom basePaths
2019-03-09 15:02:01 +01:00
ivaosthu
756ece1dae
fix: Metrics poller should start even if inital fetch fails.
...
Currently if the intial metrics-fetch fails unleash will not
setup a metrics-poller. This fix ensures that the metrics
poller will start regardless of whether the inital fetch
fails or succeeds.
closes #396
2019-03-09 14:54:19 +01:00
ivaosthu
494a98f926
fix: Variants should be allowed to be 'null'
2019-02-08 13:56:47 +01:00
ivaosthu
e317a65983
fix: metric-schema for variant counts
2019-02-08 09:38:23 +01:00
ivaosthu
0f4d7df735
fix: override field changed name to contextName
2019-02-08 09:38:23 +01:00
ivaosthu
b36fc73a7b
feat: Add suppport for variant overrides
2019-02-08 09:38:23 +01:00
sveisvei
7044522670
fix: Gracefully handle variant metrics
2019-02-08 09:38:23 +01:00
ivaosthu
13e431ed17
fix: Update variant protocol
2019-02-08 09:38:23 +01:00
ivaosthu
24ca56e041
fix: variant tests more stable
2019-02-08 09:38:23 +01:00
Juan Hoyos
8c12ead2ae
feat: Added feature toggle variants
2019-02-08 09:38:23 +01:00
ivaosthu
e6b55cba60
fix: Critical bugfix 'databaseSchema' not defaulting to 'public'
2019-02-01 15:53:22 +01:00
ivaosthu
49a1dc0343
fix: Database migrator does use the databaseSchema option
...
closes #387
2019-02-01 08:06:02 +01:00
Benjamin Ludewig
9450f6e54a
Refactored controllers, moved checkPermission to permission-checker.js middleware
2019-01-17 09:25:12 +01:00
Benjamin Ludewig
29257c2228
Don't expose user permissions when extendedPermissions is disabled, cleanup controller.js
2019-01-17 09:25:12 +01:00
Benjamin Ludewig
d9804c0114
Use full name instead of perms, 403 error message now includes expected permission
2019-01-17 09:25:12 +01:00
Benjamin Ludewig
f4a7aaa861
Removed REVIVE_FEATURE permission in favor of UPDATE_FEATURE
2019-01-17 09:25:12 +01:00
Benjamin Ludewig
1af921c535
feature: Add action specific user permissions
2019-01-17 09:25:12 +01:00
ivaosthu
59ef1d356b
fix(http-status): Client errors should use 400 status codes
2019-01-02 12:38:58 +01:00
ivaosthu
e83e3694c6
chore: Upgrade ava to 1.0.1
2018-12-17 10:16:18 +01:00
ivaosthu
f9760427f3
chore(modernize): Use joi for url-friendly name validation
2018-12-17 08:27:49 +01:00
ivaosthu
7819c45351
chore(modernize): remove express-validator
2018-12-17 08:27:49 +01:00
ivaosthu
a5f65a51dc
chore(modernize): Admin cleanup error-handlers
2018-12-17 08:27:49 +01:00
ivaosthu
8b734d1ef5
chore(modernize): Admin StrategyController
2018-12-17 08:27:49 +01:00
ivaosthu
a6d61f421b
fix(strategy): Correct error message
2018-12-17 08:27:49 +01:00
ivaosthu
271cfcbfb8
chore(modernize): Admin MetricsController
2018-12-17 08:27:49 +01:00
ivaosthu
c9cda79727
chore(modernize): UserController
2018-12-17 08:27:49 +01:00
ivaosthu
2ce0f074bb
chore(modernize): Use base controller for all client controllers
2018-12-17 08:27:49 +01:00