1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
Commit Graph

109 Commits

Author SHA1 Message Date
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
ivaosthu
4ea00e4b7e chore: Simplify client-controller constructor 2018-12-17 08:27:49 +01:00
ivaosthu
529ac38e97 chore(modernize): Modernize ClientRegisterController 2018-12-17 08:27:49 +01:00
ivaosthu
683354be6c chore(modernize): Modernize ClientMetricsController 2018-12-17 08:27:49 +01:00
ivaosthu
707663762b chore(modernize): Modernize ClientIndexController 2018-12-17 08:27:49 +01:00
ivaosthu
afae3317de chore(modernize): Modernize FeaturesController 2018-12-17 08:27:49 +01:00
ivaosthu
00217bfe14 chore(modernize): Modernize IndexController 2018-12-17 08:27:49 +01:00
ivaosthu
6a36f71a98 chore(modernize): Modernize BackstageController 2018-12-17 08:27:49 +01:00
ivaosthu
7bc8ed0334 chore(modernize): Modernize HealthCheckController 2018-12-17 08:27:49 +01:00
ivaosthu
8e30b7643e fix(clientApi): Add namePrefix paramter to /api/client/features
Allows the client to limit the response to name with the given prefix.
2018-11-16 18:37:48 +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
22c53f8688 Use pkginfo to resolve unleash-server version
closes #268
2017-11-03 23:14:31 +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
Ivar Conradi Østhus
a7458587f6 Merge pull request #263 from Unleash/expose-version
Include module version number in /api reponse
2017-09-09 16:35:34 +02:00
Ivar
0a58735636 Added option to disable legacy routes. Closes #244 2017-09-07 21:55:47 +02:00
Ivar
9f02d80b87 Include module version number in /api reponse 2017-09-07 21:21:30 +02:00