318 Commits

Author SHA1 Message Date
Ivar Conradi Østhus 79fc089a35 fix: stateService undefined 2020-12-17 19:43:01 +01:00
Laurent Dezitter 97b2c4985b test(server-impl): remove focus on test (#674) 2020-12-17 09:41:19 +01:00
Ivar Conradi Østhus 71eb88c847 fix: this.timer merge conflict 2020-12-16 14:56:48 +01:00
Laurent Dezitter 5857f0e58d feat: add stop() method to gracefully terminate unleash (#665) 2020-12-16 14:49:11 +01:00
Ivar Conradi Østhus 3bf01b803a fix: add support for basic auth with simple-auth (#659) 2020-12-03 21:29:01 +01:00
gazconroy c7c2f17bd0 feat: First draft of admin Open API specification (OAS) (#652)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-03 21:09:16 +01:00
Ivar Conradi Østhus 143fed72dc fix: add import options as part of environment variables
closes https://github.com/Unleash/unleash-docker/issues/21
2020-11-25 20:22:56 +01:00
Ivar Conradi Østhus 5f2b684f57 feat: stateServices only exposed via services object 2020-11-23 21:52:57 +01:00
Ivar Conradi Østhus b644071a34 feat: Add technical support for projects 2020-11-23 21:47:51 +01:00
Mathias Åhsberg 144e832cdc feat: Add support for explicitly set database version. (#654)
Co-authored-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2020-11-20 11:37:56 +01:00
Ivar Conradi Østhus 00ce76f9c5 fix: Allow spaces/special chars in application names
closes #534
2020-11-03 15:15:16 +01:00
Ivar Conradi Østhus 9c384dfae7 feat: Allow migration style import (#645) 2020-11-03 14:56:07 +01:00
Ivar Conradi Østhus 3c860d7bce fix: constriants must have at least one value defined
closes #640
2020-10-30 16:40:29 +01:00
Ivar Conradi Østhus 4f3a94cb86 fix: do not allow empty ('') constrain values.
related #640
2020-10-30 10:31:58 +01:00
Ivar Conradi Østhus 24347adbfb fix: context legalValues should be at max 100 chars 2020-10-04 20:36:40 +02:00
Ivar Conradi Østhus c65f7c27ee fix: enable trust-proxy 2020-10-02 16:40:42 +02:00
Ivar Conradi Østhus cd25078792 fix: upgrade cookie-session library 2020-10-02 16:38:51 +02:00
Ivar Conradi Østhus 34a7c2b244 fix: default maxAge for session set to two days
Unleash will now extend the session once every hour as long as
the user keeps the browser tab open within two days.
2020-10-02 16:34:16 +02:00
Ivar Conradi Østhus ce0c66d127 fix: add TTL to sessions 2020-10-02 16:32:05 +02:00
Ivar Conradi Østhus ef5b67974d fix: use validated and stripped data when updating 2020-10-01 22:40:47 +02:00
Ivar Conradi Østhus 192c292ecf fix: should use stripped update data for featureToggle 2020-10-01 22:34:28 +02:00
Ivar Conradi Østhus 0121a0e207 fix: set clear-site-data on logout 2020-10-01 21:57:33 +02:00
Ivar Conradi Østhus 5a58c2ea3f fix: use secure proxy to session cookie 2020-10-01 21:53:37 +02:00
Ivar Conradi Østhus 51f26be759 fix: add secureHeaders option for HSTS 2020-10-01 21:47:40 +02:00
Ivar Conradi Østhus 0204a52d9b fix: failing tests for 409 2020-09-25 22:31:35 +02:00
Ivar Conradi Østhus 1e26c64912 fix: Name conflict should return 409
closes #509
2020-09-25 22:14:31 +02:00
Ivar Conradi Østhus 2ce9b4e0c3 fix: Add option via env for ADMIN_AUTHENTICATION
closes #626
2020-09-25 21:35:34 +02:00
Ivar Conradi Østhus 4a3c136167 feat: Remove applications (#635) 2020-09-25 09:39:12 +02:00
Ivar Conradi Østhus 6f41332055 fix: update helmet config 2020-09-18 11:52:54 +02:00
Ivar Conradi Østhus 8ac4a243b2 Fix/upgrade knex (#630) 2020-09-18 09:05:09 +02:00
Ivar Conradi Østhus 7ac134312f fix: helmet wap csp in quotes 2020-09-07 09:52:49 +02:00
Ivar Conradi Østhus bf42fa135d fix: lax helmet csp config for styles.
Required to support react-selct, see
https://github.com/JedWatson/react-select/issues/2917
2020-09-07 09:23:59 +02:00
Ivar Conradi Østhus a870c12138 fix: add optional helmet security headers
Allow users to enable the helmet middleware to enable
security headers by default.

https://github.com/helmetjs/helmet
2020-09-01 21:21:26 +02:00
Ivar Conradi Østhus 83dda55172 feat: add stale property on toggle (#619) 2020-08-07 10:46:35 +02:00
Ivar Conradi Østhus 6568457ed8 feat: Add support for toggle types (#618) 2020-08-06 11:18:52 +02:00
Ivar Conradi Østhus 1bb0d03855 fix: version should be part of ui-config (#616) 2020-08-03 13:34:10 +02:00
Ivar Conradi Østhus e42337e523 feat: add weightType as legal property on variant schema (#614) 2020-08-03 13:24:51 +02:00
Ivar Conradi Østhus acc674c0e7 fix: replace @hapi/joi with joi 2020-07-31 22:15:09 +02:00
Ivar Conradi Østhus 91eab0550c fix: exporting only feature toggles as yaml should not crash
fixes #615
2020-07-30 23:57:17 +02:00
Ivar Conradi Østhus 58f36d03ea fix: add keepAliveTimeout option 2020-07-13 21:40:22 +02:00
Jakob Heuser d2a3e72bd8 Feat: Adds server.create() (#606) 2020-06-17 08:03:02 +02:00
Ivar Conradi Østhus 04b416bdd7 fix: add 'options' field to AuthenticationRequired 2020-05-14 22:32:33 +02:00
Ivar Conradi Østhus 5675f99e78 fix: add user-store (#590) 2020-05-12 23:05:26 +02:00
Ivar Conradi Østhus 5600b3fd61 fix: we are not ready for node 14 2020-05-02 09:12:36 +02:00
Ivar Conradi Østhus 770336e181 fix: add missing await for node 14 2020-05-02 09:00:08 +02:00
Ivar Conradi Østhus 7599553a90 fix: stop measure responsetime for unknown paths (#591) 2020-04-30 23:04:06 +02:00
Ivar Conradi Østhus 924edc8109 fix: expose evaluated config and permissions object
To make it easier to extend unleash we should expose
evaluated configuration.
2020-04-28 08:20:29 +02:00
Ivar Conradi Østhus bf7a246707 fix: user should not crash if email is missing 2020-04-28 08:17:04 +02:00
Ivar Conradi Østhus 2c90d3fbff chore: reduce log-level for metrics 2020-04-19 20:57:54 +02:00
Ivar Conradi Østhus 562321175d fix: add users-table to store user details (#586) 2020-04-19 20:51:15 +02:00