Ran Magen
79741f78e5
fix: Add DATABASE_URL_FILE for loading a db url from a file ( #455 )
2020-02-20 08:34:26 +01:00
ivaosthu
8ce662e8a9
chore: Make options more testable
2020-02-20 08:34:25 +01:00
ivaosthu
70911e4013
chore: use undefined instead of null
2020-02-20 08:34:25 +01:00
Thinh Tran
484b10029d
feat: Separate DATABASE_URL to multiple DATABASE_* variable ( #437 )
...
* Support construct database by multiple env variable
* fix typo for test
* Add small change for passord and support ssl
* consider ssl should be true always
2020-02-20 08:34:24 +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
ccce6056dd
Fix: Add support for IPC connections.
...
Read this for more details:
https://nodejs.org/api/net.html#net_identifying_paths_for_ipc_connections
2020-02-20 08:34:23 +01:00
Benjamin Ludewig
9065c5ee88
feat: Added import & export through stateService #395
2020-02-20 08:34:22 +01:00
ivaosthu
bb396b6c62
feat: Add customizable ui config
2020-02-20 08:34:22 +01:00
ivaosthu
c25e994322
fix: Update variant protocol
2020-02-20 08:34:20 +01:00
Juan Hoyos
3623052c36
feat: Added feature toggle variants
2020-02-20 08:34:20 +01:00
ivaosthu
81c33312a2
fix: Critical bugfix 'databaseSchema' not defaulting to 'public'
2020-02-20 08:34:19 +01:00
ivaosthu
8b9f9dbd2c
fix: Database migrator does use the databaseSchema option
...
closes #387
2020-02-20 08:34:19 +01:00
Benjamin Ludewig
abe4f8cf16
Use full name instead of perms, 403 error message now includes expected permission
2020-02-20 08:34:19 +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
4f808f13eb
feat(bind): Added option to bind to http address.
...
Closes #318
2020-02-20 08:34:10 +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
6bc23f04da
Added option to disable legacy routes. Closes #244
2020-02-20 08:33:46 +01:00
sveisvei
375a8b1d4f
Prettier/lint
2020-02-20 08:30:50 +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
7057d11553
replace commander with yargs
2020-02-20 08:30:41 +01:00
ivaosthu
35ad3aa072
cleanup bin
2020-02-20 08:30:40 +01:00
ivaosthu
f7a89b8223
more tests
2020-02-20 08:30:40 +01:00
ivaosthu
b8014fdddf
Server Metrics with Prometheus
...
Implementation use internal eventBus to enable loose counting in the app.
read more at https://prometheus.io/
Closes #98
2020-02-20 08:30:40 +01:00