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
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
Ivar Conradi Østhus
054e87cf4a
Include user information on revive
...
Closes #327
2020-02-20 08:34:11 +01:00
ivaosthu
c544f81fba
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
2020-02-20 08:34:07 +01:00
ivaosthu
d7c1360cc7
A bit of house-keeping
2020-02-20 08:34:07 +01:00
ivaosthu
b3704666bc
Add sign-out route #288
2020-02-20 08:34:07 +01:00
ivaosthu
f4feab89f3
Implement authentication support for Unleash UI.
...
Closes : #261 , #233 , #232 , #231
2020-02-20 08:34:06 +01:00
ivaosthu
1695a35555
Add unit tests for archived toggles
2020-02-20 08:34:06 +01:00
ivaosthu
4999bb93cf
Should not be allow creation of archived toggle
...
closes #284
2020-02-20 08:34:05 +01:00
ivaosthu
089268825f
Fix typo in custom validator
2020-02-20 08:34:04 +01:00
ivaosthu
37f9ed9570
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
2020-02-20 08:34:04 +01:00
Simen Bekkhus
3aa871ca97
Update prettier and fix lint
2020-02-20 08:34:03 +01:00
Ivar
f093d609ae
Use pkginfo to resolve unleash-server version
...
closes #268
2020-02-20 08:34:03 +01:00
Ivar
5e1fd4ae8e
Simplofy name validator
...
closes #271
2020-02-20 08:34:03 +01:00
Ivar
e679d5d975
Fix formatting
2020-02-20 08:34:00 +01:00
Martin Lehmann
c957aeba94
Fix feature name validation regex
2020-02-20 08:33:47 +01:00
Clint Brown
3e7098578b
Allow underscores in name validation
2020-02-20 08:33:47 +01:00
Ivar
d58289540c
Include module version number in /api reponse
2020-02-20 08:33:46 +01:00
Ivar
6bc23f04da
Added option to disable legacy routes. Closes #244
2020-02-20 08:33:46 +01:00
ivaosthu
f5e9ca3bbe
Implement support for logger provider.
...
This allows the users of 'unleash-server' to programatically
change the logger implemnentation. #175
2020-02-20 08:33:33 +01:00
ivaosthu
f91a24eabe
Add metrics validation to avoid NaN #253
2020-02-20 08:33:33 +01:00
ivaosthu
18afb520d0
Strip uknown fields in client requests. closes #245
2020-02-20 08:33:33 +01:00
sveisvei
b137cf0eaa
add editable tests
2020-02-20 08:33:16 +01:00
sveisvei
a9b783443b
shoulda woulda
2020-02-20 08:33:16 +01:00
sveisvei
ae245293f4
protection against edit on built in strategies
2020-02-20 08:30:52 +01:00
Ivar
915158212c
Add support for sdkVersion in client registration
2020-02-20 08:30:52 +01:00
Simen Bekkhus
e1cc0b2e99
Upgrade prom-client and yargs
2020-02-20 08:30:51 +01:00
sveisvei
93bb1ac66d
should expose one feature
2020-02-20 08:30:51 +01:00
sveisvei
0ae24c68e6
Refactor routes setup, move test files, cleanup legacy
2020-02-20 08:30:51 +01:00
Simen Bekkhus
e85ac8a52f
Log client error ( #225 )
...
* Log client error
* Log all errors
2020-02-20 08:30:50 +01:00
sveisvei
86ac44908d
validate configures strategy shape
2020-02-20 08:30:49 +01:00
vsandvold
743a597f42
provides a more helpful error msg when a new feature is created with an existing name
2020-02-20 08:30:46 +01:00
sveisvei
07dc23d23d
use post instead of put
2020-02-20 08:30:46 +01:00
sveisvei
32a0b93096
add toggle endpoint
2020-02-20 08:30:46 +01:00
ivaosthu
8beb4b8876
Add simple API resource #191
2020-02-20 08:30:46 +01:00
ivaosthu
df7ad8c8bf
Strategy name can be up to 100chars . Closes #195
2020-02-20 08:30:45 +01:00
sveisvei
1d3faca238
fix lint
2020-02-20 08:30:45 +01:00
ivaosthu
744e41f9aa
Strategy parameter description is allowed to be empty
2020-02-20 08:30:43 +01:00
ivaosthu
79de8fb7ed
Added api for updating a strategy
...
relates to #184
2020-02-20 08:30:43 +01:00
sveisvei
f5578d986e
check toggles and strategies in clientapps
2020-02-20 08:30:43 +01:00
ivaosthu
c8a9b39f27
Add schema validation for strategies
2020-02-20 08:30:43 +01:00
sveisvei
381e7d4763
inject metadata on toplevel
2020-02-20 08:30:43 +01:00
sveisvei
76d642069b
Revert "Remove /api/client/seen-toggles as we don't need it anyway"
...
This reverts commit 63e6931265
.
2020-02-20 08:30:42 +01:00
ivaosthu
52fcfb4a2b
Remove /api/client/seen-toggles as we don't need it anyway
2020-02-20 08:30:42 +01:00