1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
79fc089a35 fix: stateService undefined 2020-12-17 19:43:01 +01:00
gazconroy
c7c2f17bd0
feat: First draft of admin Open API specification (OAS) (#652)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-03 21:09:16 +01:00
Ivar Conradi Østhus
b644071a34 feat: Add technical support for projects 2020-11-23 21:47:51 +01:00
Ivar Conradi Østhus
c65f7c27ee fix: enable trust-proxy 2020-10-02 16:40:42 +02:00
Ivar Conradi Østhus
51f26be759 fix: add secureHeaders option for HSTS 2020-10-01 21:47:40 +02:00
Ivar Conradi Østhus
a870c12138 fix: add optional helmet security headers
Allow users to enable the helmet middleware to enable
security headers by default.

https://github.com/helmetjs/helmet
2020-09-01 21:21:26 +02:00
Ivar Conradi Østhus
d01c9d2dac
fix: use airbnb lint rules directly (#583)
This drops usage of finn-eslint rules as they are no
longer maintained.
2020-04-14 22:29:11 +02:00
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