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
ivaosthu
10c2493e28
Add metrics validation to avoid NaN #253
2017-08-04 11:24:58 +02:00
Ivar Conradi Østhus
5dd460ce7d
Merge pull request #246 from Unleash/lax_client_schema
...
Strip uknown fields in client requests. closes #245
2017-06-29 11:16:20 +02:00
ivaosthu
5780bf30db
Disable x-powered-by express header
2017-06-29 11:12:44 +02:00
ivaosthu
4f1824c271
Strip uknown fields in client requests. closes #245
2017-06-29 11:10:24 +02:00
Ivar Conradi Østhus
98b0ce39a4
Merge branch 'master' into add-sdk-version
2017-06-29 09:57:55 +02:00
sveisvei
4207bec0ac
add editable tests
2017-06-29 08:44:03 +02:00
sveisvei
0e544a27e2
shoulda woulda
2017-06-29 08:44:03 +02:00
sveisvei
942afd74a3
auto disable, and do not serve archived toggle
2017-06-29 08:44:03 +02:00
Simen Bekkhus
f554b2ecaa
Upgrade prom-client and yargs
2017-06-29 08:44:02 +02:00
Ivar
46b82ecd6a
Add support for sdkVersion in client registration
2017-06-28 23:19:19 +02:00
sveisvei
664e019e9b
protection against edit on built in strategies
2017-06-28 21:10:43 +02:00
Sveinung Røsaker
669c860c8d
Merge pull request #241 from Unleash/archive-feature-fix
...
Auto disable archived toggles and do not serve archived toggle
2017-06-28 19:33:38 +02:00
sveisvei
45c2021bd6
auto disable, and do not serve archived toggle
2017-06-28 17:44:14 +02:00
Simen Bekkhus
cdda8d7438
Upgrade prom-client and yargs
2017-06-28 14:34:01 +02:00
sveisvei
447940ed0c
should expose one feature
2017-06-28 12:52:27 +02:00
sveisvei
be4852f63a
Refactor routes setup, move test files, cleanup legacy
2017-06-28 10:20:22 +02:00
sveisvei
5771bcb1bd
Remove legacy data support
2017-06-28 10:18:43 +02:00
sveisvei
20af766086
Prettier/lint
2017-06-28 10:17:14 +02:00
Simen Bekkhus
1c02d73c2c
Log client error ( #225 )
...
* Log client error
* Log all errors
2017-06-21 11:24:36 +02:00
sveisvei
94fdbdb58b
use object.assign and pass along options
2017-06-06 10:17:15 +02:00
sveisvei
efe66c3ff9
pass along hooks, add test to server impl
2017-06-06 09:56:29 +02:00
Ivar Conradi Østhus
419380259d
Merge pull request #200 from Unleash/validate-configured-strategy-shape
...
validate configures strategy shape
2017-03-16 21:03:07 +01:00
Simen Bekkhus
1e76c04c55
Remove uncaught exception logging
...
This is the responsibility of the app
2017-02-22 09:48:00 +01:00
vsandvold
6a4f453713
provides a more helpful error msg when a new feature is created with an existing name
2017-01-28 17:29:22 +01:00
Sveinung Røsaker
839aeb01a6
Merge pull request #199 from Unleash/add-toggle-ep
...
add toggle endpoint
2017-01-09 11:34:59 +01:00
sveisvei
a892c34be4
use post instead of put
2017-01-09 11:06:10 +01:00
sveisvei
26533034b1
validate configures strategy shape
2017-01-08 20:40:50 +01:00
sveisvei
1f5b1c1925
add toggle endpoint
2017-01-08 20:04:46 +01:00
ivaosthu
e4eeea10dd
Add simple API resource #191
2017-01-06 15:58:02 +01:00
ivaosthu
5d58dd56fa
Strategy name can be up to 100chars . Closes #195
2016-12-29 14:17:07 +01:00
Sveinung Røsaker
c2a221be6b
Merge pull request #194 from Unleash/add-ttl-tests
...
Add ttl tests
2016-12-29 12:05:29 +01:00
sveisvei
4d63da7eff
add hook tests
2016-12-29 11:42:54 +01:00
sveisvei
abd16c23ba
add sanity tests for metrics
2016-12-29 11:09:01 +01:00
sveisvei
1cf4424870
evict if new item directly is not eligible
2016-12-29 11:08:41 +01:00
sveisvei
b369953de9
fix typ0 that broke time.now
2016-12-29 11:07:06 +01:00
sveisvei
ed5203d445
add app hooks
2016-12-28 21:04:26 +01:00
sveisvei
dfa490affb
fix lint
2016-12-27 21:03:50 +01:00