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
79a10d1107
fix: Add explicit endpoints for toggle on/off
...
closes #394
2019-03-09 15:02:33 +01:00
Benjamin Ludewig
9450f6e54a
Refactored controllers, moved checkPermission to permission-checker.js middleware
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
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
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
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
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
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
be4852f63a
Refactor routes setup, move test files, cleanup legacy
2017-06-28 10:20:22 +02:00