Christopher Kolstad
6c2af3c6bc
fix: add middleware verifying content type
...
- By default only accepts 'application/json'
- Routes that need different content-type, can call post or put with
additional arguments, one per content-type you need to support.
2021-02-11 16:09:42 +01:00
Ivar Conradi Østhus
c500128f07
fix: Strategy schema should allow deprecated field ( #700 )
...
fixes : #698
2021-02-01 09:41:50 +01:00
Christopher Kolstad
5f736ccf18
Make sure we deny deprecating default strategy
2021-01-22 10:03:01 +01:00
Christopher Kolstad
ef19dfa7cb
Support deprecating and reactivating strategies
...
fixes : #682
2021-01-21 15:53:24 +01:00
Ivar Conradi Østhus
0204a52d9b
fix: failing tests for 409
2020-09-25 22:31:35 +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
d1fd5d3900
fix: e2e tests should only set up one database per test file ( #504 )
...
* fix: e2e tests should only set up one database per test file
* fix: Allow e2e-tests to reset db content
2020-02-20 08:34:29 +01:00
ivaosthu
e256db29a5
fix(http-status): Client errors should use 400 status codes
2020-02-20 08:34:19 +01:00
ivaosthu
cdf623e70f
chore: Upgrade ava to 1.0.1
2020-02-20 08:34:18 +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
sveisvei
0ae24c68e6
Refactor routes setup, move test files, cleanup legacy
2020-02-20 08:30:51 +01:00