Ivar Conradi Østhus
d01c9d2dac
fix: use airbnb lint rules directly ( #583 )
...
This drops usage of finn-eslint rules as they are no
longer maintained.
2020-04-14 22:29:11 +02:00
Ivar Conradi Østhus
333601eaea
fix: Logout should not be xhr call ( #576 )
...
closes #520
2020-03-29 22:22:19 +02:00
Ivar Conradi Østhus
7a410508cb
feat: api supports context fields ( #564 )
...
* feat: api supports context fields
* fix: typo for cotnext group in event-differ
2020-02-27 21:26:18 +01:00
Ivar Conradi Østhus
8d90aa1b0b
fix: upgrade @hapi/joi to version 17.1.0
2020-02-21 22:14:40 +01:00
Ivar Conradi Østhus
9e79d70060
fix: variant weights can be up to 1000
2020-02-20 08:34:33 +01:00
Ivar Conradi Østhus
b532c86695
fix: Upgrade to @hapi/joi ( #543 )
2020-02-20 08:34:32 +01:00
ivaosthu
459f49866c
fix: constraints should be part of toggle schema
2020-02-20 08:34:31 +01:00
Ivar Conradi Østhus
c961796441
fix: lint error
2020-02-20 08:34:30 +01:00
Ivar Conradi Østhus
c9c26e249c
fix: Add admin api for context-field definitions
2020-02-20 08:34:30 +01:00
ivaosthu
a182460242
fix: upgrade prettier to version 1.18.2
2020-02-20 08:34:30 +01:00
ivaosthu
9c32a28597
fix: Application fields should be optional.
2020-02-20 08:34:24 +01:00
ivaosthu
06186a7638
fix: should be more allow about empty metrics
2020-02-20 08:34:24 +01:00
ivaosthu
ccaab0c47b
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.
2020-02-20 08:34:24 +01:00
ivaosthu
c66545e11e
fix(package): update mime to version 2.4.1
...
closes #418
2020-02-20 08:34:23 +01:00
Ivar Conradi Østhus
42cfd93820
fix: trigger actual logout on request
2020-02-20 08:34:22 +01:00
Benjamin Ludewig
e11e036d2d
fix: import should use mime.lookup() for filename
2020-02-20 08:34:22 +01:00
Benjamin Ludewig
a06d2c04bb
Refactored state-service, schemas, added e2e tests #395
2020-02-20 08:34:22 +01:00
Benjamin Ludewig
9065c5ee88
feat: Added import & export through stateService #395
2020-02-20 08:34:22 +01:00
ivaosthu
bb396b6c62
feat: Add customizable ui config
2020-02-20 08:34:22 +01:00
ivaosthu
1c1b1edd83
fix: Add explicit endpoints for toggle on/off
...
closes #394
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
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
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