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
cc750dc866
fix(package): update mime to version 2.4.1
...
closes #418
2019-04-26 10:36:17 +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
79a10d1107
fix: Add explicit endpoints for toggle on/off
...
closes #394
2019-03-09 15:02:33 +01:00
ivaosthu
494a98f926
fix: Variants should be allowed to be 'null'
2019-02-08 13:56:47 +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
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
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
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
ivaosthu
9eb0d2e535
chore(modernize): Use joi schema-validation in FeatureController
2018-12-17 08:27:49 +01:00
ivaosthu
7705bfe1a9
chore(modernize): Admin FeatureController
2018-12-17 08:27:49 +01:00
ivaosthu
42a4df8aae
chore(modernize): Spin out base class for Controllers
2018-12-17 08:27:49 +01:00
ivaosthu
01e3216e05
chore(modernize): Admin ArchiveController
2018-12-17 08:27:49 +01:00
ivaosthu
fae3488580
chore(modernize): Remove unused files
2018-12-17 08:27:49 +01:00
ivaosthu
541ef376d9
chore(modernize): cleanup api-def
2018-12-17 08:27:49 +01:00
Ivar Conradi Østhus
5ad2e246e5
Include user information on revive
...
Closes #327
2018-06-25 18:39:54 +02:00
ivaosthu
56ca8bde7a
Bugfix: more informative name validation errors
...
Will know tell the user if the toggle name is already
in use by an active feature toggle or an archived toggle.
Also brings lates unleash-frontend fix, which prevents an
invalid form from submitting.
closes : #290 , #291
2018-01-20 14:11:44 +01:00
ivaosthu
28d6a1b46e
A bit of house-keeping
2018-01-17 15:36:38 +01:00
ivaosthu
b222c9acd9
Add sign-out route #288
2018-01-17 15:36:38 +01:00
ivaosthu
323320b64d
Implement authentication support for Unleash UI.
...
Closes : #261 , #233 , #232 , #231
2018-01-16 14:26:32 +01:00
ivaosthu
f9b4455519
Add unit tests for archived toggles
2017-12-18 14:34:43 +01:00
ivaosthu
19efad832d
Should not be allow creation of archived toggle
...
closes #284
2017-12-18 09:08:04 +01:00
ivaosthu
8c02cc4949
Fix typo in custom validator
2017-11-16 16:07:27 +01:00
ivaosthu
9fdb948c69
Implement cookie-session support.
...
Sessions will be required to solve admin-auth.
I also refactored a few middlewares into seperate
files to make the code easier to read.
closes #262
2017-11-16 15:41:33 +01:00
Simen Bekkhus
81b28abf0b
Update prettier and fix lint
2017-11-11 08:43:08 +01:00
Ivar
2a751a4789
Simplofy name validator
...
closes #271
2017-11-02 13:00:45 +01:00
Ivar
fe0e65a4f2
Fix formatting
2017-11-02 09:23:38 +01:00
Martin Lehmann
6924de06b0
Fix feature name validation regex
2017-10-23 17:13:26 +02:00
Clint Brown
b4084aa705
Allow underscores in name validation
2017-09-19 14:37:23 +10:00
ivaosthu
1081b9d865
Implement support for logger provider.
...
This allows the users of 'unleash-server' to programatically
change the logger implemnentation. #175
2017-08-04 16:07:17 +02:00
sveisvei
4207bec0ac
add editable tests
2017-06-29 08:44:03 +02:00