Ivar Conradi Østhus
8cb93920d9
chore: remove console.log in test
2020-02-20 08:34:25 +01: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
ccaab0c47b
fix: LogProvider as option injected to unleash.
...
Instead of instructing users to do static calls
in to Unleash, she should instead be allwed to
specify the log provider as an option to Unleash.
This commit introduces the "getLogger" option,
a function responsible for creating a logger.
2020-02-20 08:34:24 +01:00
ivaosthu
09a9212dca
fix: Session cookie should set path to baseUriPath
2020-02-20 08:34:23 +01:00
ivaosthu
e14d7fc5f0
fix: SimpleAuthentication should work with custom basePaths
2020-02-20 08:34:21 +01:00
Benjamin Ludewig
175208c105
Refactored controllers, moved checkPermission to permission-checker.js middleware
2020-02-20 08:34:19 +01:00
ivaosthu
62e6d1075a
chore(modernize): remove express-validator
2020-02-20 08:34:18 +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
Simen Bekkhus
0bf834a4f2
chore: upgrade prettier
...
Closes #345
2020-02-20 08:34:13 +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
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