Ivar Conradi Østhus
62b97ca828
fix: none authentication should have a mock user ( #449 )
...
This also fix the bug introduces where authentication mode triggers readOnly mode in the UI.
2020-02-20 08:34:25 +01:00
ivaosthu
e14d7fc5f0
fix: SimpleAuthentication should work with custom basePaths
2020-02-20 08:34:21 +01:00
ivaosthu
62e6d1075a
chore(modernize): remove express-validator
2020-02-20 08:34:18 +01:00
ivaosthu
a8de54dd73
chore(modernize): Use base controller for all client controllers
2020-02-20 08:34:17 +01:00
ivaosthu
2dde9c4b95
chore(modernize): Modernize IndexController
2020-02-20 08:34:17 +01:00
ivaosthu
3c40cf2f2e
fix(gzip): Add gzip support
2020-02-20 08:34:13 +01:00
Simen Bekkhus
027e2814a8
refactor: use body-parser bundled with express ( #304 )
2020-02-20 08:34:09 +01:00
ivaosthu
f4feab89f3
Implement authentication support for Unleash UI.
...
Closes : #261 , #233 , #232 , #231
2020-02-20 08:34:06 +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
Ivar
5e1fd4ae8e
Simplofy name validator
...
closes #271
2020-02-20 08:34:03 +01:00
ivaosthu
12ef0db1f1
Bugfix: use basUrl when logging actual request path
2020-02-20 08:33:47 +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
f826c837fd
Disable x-powered-by express header
2020-02-20 08:33:33 +01:00
sveisvei
0ae24c68e6
Refactor routes setup, move test files, cleanup legacy
2020-02-20 08:30:51 +01:00
sveisvei
375a8b1d4f
Prettier/lint
2020-02-20 08:30:50 +01:00
sveisvei
2f1680d9c0
add app hooks
2020-02-20 08:30:45 +01:00
sveisvei
1d3faca238
fix lint
2020-02-20 08:30:45 +01:00
sveisvei
f425597640
fix lint
2020-02-20 08:30:41 +01:00
ivaosthu
d4d63af2b0
Option to disable request logging.
...
Because all request details are available via
prometheus there is no need to also log all requests.
This solves #164 but we should still replace log4j with something else.
2020-02-20 08:30:41 +01:00
ivaosthu
471518b41d
Simplify metrics: We only need timings as it includes counts for free
2020-02-20 08:30:40 +01:00
ivaosthu
e075917136
cleanup
2020-02-20 08:30:40 +01:00
ivaosthu
8e6bcafa24
Server Metrics: add response time and status codes
2020-02-20 08:30:40 +01:00
sveisvei
1dab39f0f9
move app and server-impl into lib folder
2020-02-20 08:30:39 +01:00