Benjamin Ludewig
cac9439c70
Add prometheus compatible feature metrics endpoint
2018-11-28 16:14:48 +01:00
Ivar Conradi Østhus
161f4c5afa
chore: fix lint
2018-11-22 20:47:06 +01:00
Ivar Conradi Østhus
56a36c7ca5
chore: fix linting
2018-11-22 20:37:30 +01:00
ivaosthu
8e30b7643e
fix(clientApi): Add namePrefix paramter to /api/client/features
...
Allows the client to limit the response to name with the given prefix.
2018-11-16 18:37:48 +01:00
Simen Bekkhus
0b33abdf86
chore: upgrade prettier
...
Closes #345
2018-09-19 19:21:34 +02:00
ivaosthu
ca3e9d1031
fix(gzip): Add gzip support
2018-08-22 18:11:44 +02:00
ivaosthu
c821c72497
fix(log4js): Upgrade to log4js 3.0.3 and fix configuration
2018-07-30 13:48:12 +02:00
Ivar Conradi Østhus
5ad2e246e5
Include user information on revive
...
Closes #327
2018-06-25 18:39:54 +02:00
ivaosthu
36e8736122
feat(metrics): Expose toggle updates to prometheus
...
closes #323
2018-05-23 20:50:03 +02:00
ivaosthu
3b67df4647
chore(package.json): Bump all dev-dependencies
2018-05-14 15:45:02 +02:00
Ivar Conradi Østhus
28fd6f96f0
fix(migration): Unleash should not start if migration fails.
...
Closes #320
2018-05-11 16:09:31 +02:00
Ivar Conradi Østhus
206b1445ef
Use HTTP_HOST env variable as default host address
2018-05-07 08:43:26 +02:00
Ivar Conradi Østhus
c1956ac623
Clean up using servers listening and error events
2018-05-07 08:43:26 +02:00
Ivar Conradi Østhus
7247176ee0
Use options object with server.listen
2018-05-07 08:43:26 +02:00
Ivar Conradi Østhus
54073a8293
createApp should wait for server.listen callback
2018-05-07 08:43:26 +02:00
Ivar Conradi Østhus
07ad3faaff
feat(bind): Added option to bind to http address.
...
Closes #318
2018-05-07 08:43:26 +02:00
Simen Bekkhus
deb2d97d91
refactor: use body-parser bundled with express ( #304 )
2018-02-14 15:46:42 +01:00
Ivar Conradi Østhus
4ed3abea22
fix(store): DB should not override createdAt if set.
2018-02-07 21:58:53 +01:00
ivaosthu
56ca8bde7a
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
2018-01-20 14:11:44 +01:00
ivaosthu
28d6a1b46e
A bit of house-keeping
2018-01-17 15:36:38 +01:00
ivaosthu
b222c9acd9
Add sign-out route #288
2018-01-17 15:36:38 +01:00
ivaosthu
a9ee3a09a8
Use joi instead of assert
2018-01-17 15:36:38 +01:00
ivaosthu
9eed7a0601
Fix typo in simple-authentication.js
2018-01-17 15:36:38 +01:00
ivaosthu
323320b64d
Implement authentication support for Unleash UI.
...
Closes : #261 , #233 , #232 , #231
2018-01-16 14:26:32 +01:00
ivaosthu
4f74c90376
Fix pathname reporting in middlewares
2017-12-18 15:12:44 +01:00
ivaosthu
f9b4455519
Add unit tests for archived toggles
2017-12-18 14:34:43 +01:00
ivaosthu
19efad832d
Should not be allow creation of archived toggle
...
closes #284
2017-12-18 09:08:04 +01:00
ivaosthu
8c02cc4949
Fix typo in custom validator
2017-11-16 16:07:27 +01:00
ivaosthu
9fdb948c69
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
2017-11-16 15:41:33 +01:00
ivaosthu
ddffbc699d
Add cookie-session dependency
2017-11-16 15:13:39 +01:00
Simen Bekkhus
b29eada37f
Upgrade Log4JS ( #274 )
2017-11-11 11:13:34 +01:00
Simen Bekkhus
81b28abf0b
Update prettier and fix lint
2017-11-11 08:43:08 +01:00
Ivar
22c53f8688
Use pkginfo to resolve unleash-server version
...
closes #268
2017-11-03 23:14:31 +01:00
ivaosthu
9737094a31
Remove log-message in test
2017-11-02 23:11:50 +01:00
Ivar
2a751a4789
Simplofy name validator
...
closes #271
2017-11-02 13:00:45 +01:00
Ivar
fe0e65a4f2
Fix formatting
2017-11-02 09:23:38 +01:00
Martin Lehmann
6924de06b0
Fix feature name validation regex
2017-10-23 17:13:26 +02:00
ivaosthu
61cf76b4f6
Bugfix: use basUrl when logging actual request path
2017-10-12 09:19:56 +02:00
Clint Brown
b4084aa705
Allow underscores in name validation
2017-09-19 14:37:23 +10:00
Ivar Conradi Østhus
a7458587f6
Merge pull request #263 from Unleash/expose-version
...
Include module version number in /api reponse
2017-09-09 16:35:34 +02:00
Ivar Conradi Østhus
435d95582e
Merge pull request #264 from Unleash/disable-legacy-routes
...
Added option to disable legacy routes. Closes #244
2017-09-09 16:35:12 +02:00
Ivar
a710cf0321
Clean up intervals.
...
We use intervals in three places and we could probably organise them
better in the future. As long as they all do unref they do not form
any issues for us and I will just let them be as is for now.
This closes #186
2017-09-07 22:52:24 +02:00
Ivar
0a58735636
Added option to disable legacy routes. Closes #244
2017-09-07 21:55:47 +02:00
Ivar
9f02d80b87
Include module version number in /api reponse
2017-09-07 21:21:30 +02:00
Simen Bekkhus
b3fb572f5d
Upgrade prom-client and add gc-stats
2017-08-23 11:36:52 +02:00
Simen Bekkhus
50da40da4b
Replace sinon with lolex
2017-08-23 11:36:44 +02:00
Ivar Conradi Østhus
40a691cafc
Merge branch 'master' into metrics_validation
2017-08-08 17:16:27 +02:00
ivaosthu
13cf218ccf
Fix assert
2017-08-08 16:51:26 +02:00
ivaosthu
f7e11b633b
Added validation of provided LoggerProvider
2017-08-05 15:38:55 +02:00
ivaosthu
1081b9d865
Implement support for logger provider.
...
This allows the users of 'unleash-server' to programatically
change the logger implemnentation. #175
2017-08-04 16:07:17 +02:00