ivaosthu
f5d4f618ae
fix: Application list should be alphabetically sorted
...
closes #403
2020-02-20 08:34:21 +01:00
ivaosthu
1c1b1edd83
fix: Add explicit endpoints for toggle on/off
...
closes #394
2020-02-20 08:34:21 +01:00
ivaosthu
e14d7fc5f0
fix: SimpleAuthentication should work with custom basePaths
2020-02-20 08:34:21 +01:00
ivaosthu
227c6c2e7a
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
2020-02-20 08:34:21 +01:00
ivaosthu
c3798d5858
fix: Variants should be allowed to be 'null'
2020-02-20 08:34:21 +01:00
ivaosthu
f6af62528b
fix: metric-schema for variant counts
2020-02-20 08:34:20 +01:00
ivaosthu
f51500ec78
fix: override field changed name to contextName
2020-02-20 08:34:20 +01:00
ivaosthu
df5ef09008
feat: Add suppport for variant overrides
2020-02-20 08:34:20 +01:00
sveisvei
a95a2b0973
fix: Gracefully handle variant metrics
2020-02-20 08:34:20 +01:00
ivaosthu
c25e994322
fix: Update variant protocol
2020-02-20 08:34:20 +01:00
ivaosthu
82bf748341
fix: variant tests more stable
2020-02-20 08:34:20 +01:00
Juan Hoyos
3623052c36
feat: Added feature toggle variants
2020-02-20 08:34:20 +01:00
ivaosthu
81c33312a2
fix: Critical bugfix 'databaseSchema' not defaulting to 'public'
2020-02-20 08:34:19 +01:00
ivaosthu
8b9f9dbd2c
fix: Database migrator does use the databaseSchema option
...
closes #387
2020-02-20 08:34:19 +01:00
Benjamin Ludewig
175208c105
Refactored controllers, moved checkPermission to permission-checker.js middleware
2020-02-20 08:34:19 +01:00
Benjamin Ludewig
b38da68d28
Don't expose user permissions when extendedPermissions is disabled, cleanup controller.js
2020-02-20 08:34:19 +01:00
Benjamin Ludewig
abe4f8cf16
Use full name instead of perms, 403 error message now includes expected permission
2020-02-20 08:34:19 +01:00
Benjamin Ludewig
e81f4a01eb
Removed REVIVE_FEATURE permission in favor of UPDATE_FEATURE
2020-02-20 08:34:19 +01:00
Benjamin Ludewig
df7509e381
feature: Add action specific user permissions
2020-02-20 08:34:19 +01:00
ivaosthu
e256db29a5
fix(http-status): Client errors should use 400 status codes
2020-02-20 08:34:19 +01:00
ivaosthu
cdf623e70f
chore: Upgrade ava to 1.0.1
2020-02-20 08:34:18 +01:00
ivaosthu
d5db78d140
chore(modernize): Use joi for url-friendly name validation
2020-02-20 08:34:18 +01:00
ivaosthu
62e6d1075a
chore(modernize): remove express-validator
2020-02-20 08:34:18 +01:00
ivaosthu
3c8e51118e
chore(modernize): Admin cleanup error-handlers
2020-02-20 08:34:18 +01:00
ivaosthu
ed14e3ed8b
chore(modernize): Admin StrategyController
2020-02-20 08:34:18 +01:00
ivaosthu
984bb14351
fix(strategy): Correct error message
2020-02-20 08:34:18 +01:00
ivaosthu
738c26fd62
chore(modernize): Admin MetricsController
2020-02-20 08:34:18 +01:00
ivaosthu
a2c330f92e
chore(modernize): UserController
2020-02-20 08:34:17 +01:00
ivaosthu
a8de54dd73
chore(modernize): Use base controller for all client controllers
2020-02-20 08:34:17 +01:00
ivaosthu
39bc265daf
chore(modernize): Use joi schema-validation in FeatureController
2020-02-20 08:34:17 +01:00
ivaosthu
e285f39bcb
chore(modernize): Admin FeatureController
2020-02-20 08:34:17 +01:00
ivaosthu
4a98d718cf
chore(modernize): Spin out base class for Controllers
2020-02-20 08:34:17 +01:00
ivaosthu
be5cf15cf8
chore(modernize): Admin ArchiveController
2020-02-20 08:34:17 +01:00
ivaosthu
a7382419d5
chore(modernize): Remove unused files
2020-02-20 08:34:17 +01:00
ivaosthu
307b68a67e
chore(modernize): cleanup api-def
2020-02-20 08:34:17 +01:00
ivaosthu
e4cfd54529
chore: Simplify client-controller constructor
2020-02-20 08:34:17 +01:00
ivaosthu
8ca233a722
chore(modernize): Modernize ClientRegisterController
2020-02-20 08:34:17 +01:00
ivaosthu
80a5d5c581
chore(modernize): Modernize ClientMetricsController
2020-02-20 08:34:17 +01:00
ivaosthu
8913c4fac5
chore(modernize): Modernize ClientIndexController
2020-02-20 08:34:17 +01:00
ivaosthu
461011b894
chore(modernize): Modernize FeaturesController
2020-02-20 08:34:17 +01:00
ivaosthu
2dde9c4b95
chore(modernize): Modernize IndexController
2020-02-20 08:34:17 +01:00
ivaosthu
b870e209a9
chore(modernize): Modernize BackstageController
2020-02-20 08:34:17 +01:00
ivaosthu
3903015cbb
chore(modernize): Modernize HealthCheckController
2020-02-20 08:34:17 +01:00
Benjamin Ludewig
822d718a9b
Add prometheus compatible feature metrics endpoint
2020-02-20 08:34:16 +01:00
Ivar Conradi Østhus
3a2771bd75
chore: fix lint
2020-02-20 08:34:15 +01:00
Ivar Conradi Østhus
c0a6ae64e0
chore: fix linting
2020-02-20 08:34:15 +01:00
ivaosthu
ddad9e27a3
fix(clientApi): Add namePrefix paramter to /api/client/features
...
Allows the client to limit the response to name with the given prefix.
2020-02-20 08:34:14 +01:00
Simen Bekkhus
0bf834a4f2
chore: upgrade prettier
...
Closes #345
2020-02-20 08:34:13 +01:00
ivaosthu
3c40cf2f2e
fix(gzip): Add gzip support
2020-02-20 08:34:13 +01:00
ivaosthu
ad171e753e
fix(log4js): Upgrade to log4js 3.0.3 and fix configuration
2020-02-20 08:34:12 +01:00