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
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
Benjamin Ludewig
822d718a9b
Add prometheus compatible feature metrics endpoint
2020-02-20 08:34:16 +01:00
Ivar Conradi Østhus
3a2771bd75
chore: fix lint
2020-02-20 08:34:15 +01:00
Ivar Conradi Østhus
c0a6ae64e0
chore: fix linting
2020-02-20 08:34:15 +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
Simen Bekkhus
0bf834a4f2
chore: upgrade prettier
...
Closes #345
2020-02-20 08:34:13 +01:00
ivaosthu
3c40cf2f2e
fix(gzip): Add gzip support
2020-02-20 08:34:13 +01:00
ivaosthu
ad171e753e
fix(log4js): Upgrade to log4js 3.0.3 and fix configuration
2020-02-20 08:34:12 +01:00
Ivar Conradi Østhus
054e87cf4a
Include user information on revive
...
Closes #327
2020-02-20 08:34:11 +01:00
ivaosthu
bc359c2b82
feat(metrics): Expose toggle updates to prometheus
...
closes #323
2020-02-20 08:34:11 +01:00
ivaosthu
da68926086
chore(package.json): Bump all dev-dependencies
2020-02-20 08:34:11 +01:00
Ivar Conradi Østhus
4c73d279aa
fix(migration): Unleash should not start if migration fails.
...
Closes #320
2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
e0f2866be6
Use HTTP_HOST env variable as default host address
2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
d8f8bf6fd9
Clean up using servers listening and error events
2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
d757993432
Use options object with server.listen
2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
378544f326
createApp should wait for server.listen callback
2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
4f808f13eb
feat(bind): Added option to bind to http address.
...
Closes #318
2020-02-20 08:34:10 +01:00
Simen Bekkhus
027e2814a8
refactor: use body-parser bundled with express ( #304 )
2020-02-20 08:34:09 +01:00
Ivar Conradi Østhus
67ec4b58fe
fix(store): DB should not override createdAt if set.
2020-02-20 08:34:08 +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
95d36b89d7
Use joi instead of assert
2020-02-20 08:34:06 +01:00
ivaosthu
77482bd7a7
Fix typo in simple-authentication.js
2020-02-20 08:34:06 +01:00
ivaosthu
f4feab89f3
Implement authentication support for Unleash UI.
...
Closes : #261 , #233 , #232 , #231
2020-02-20 08:34:06 +01:00
ivaosthu
57df35f6a5
Fix pathname reporting in middlewares
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
ivaosthu
5711c46cbf
Add cookie-session dependency
2020-02-20 08:34:04 +01:00
Simen Bekkhus
e5e8f3bee9
Upgrade Log4JS ( #274 )
2020-02-20 08:34:03 +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
ivaosthu
6642978fc7
Remove log-message in test
2020-02-20 08:34:03 +01:00