1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Christopher Kolstad
3a65847aa7
Migrate to jest (#854)
* Migrate to jest
* Use --force-exit until dns close handle issue https://github.com/facebook/jest/issues/9982

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-05-28 11:10:24 +02:00
Christopher Kolstad
18f66ef732
feat: Add change-password endpoint to user-controller (#800)
fixes: #801 

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-04-22 16:05:59 +02:00
Christopher Kolstad
240c6a77a1
Feat/options need types (#794)
feat: options are now typed

- This makes it easier to know what to send to unleash.start / unleash.create
- Using a Partial to instantiate the config, then melding it with defaults to get a config object with all fields set either to their defaults or to whatever is passed in.


Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-04-22 10:07:10 +02:00
Ivar Conradi Østhus
469e87a923
fix: remove enableLegacyRoutes option from v2 2021-04-13 09:04:25 +02:00
Ivar Conradi Østhus
e1fbe9d013
feat: Default roles and RBAC permission checker. (#735)
This PR Introduces first steps towards RBAC according to our specifications. Rbac will assume users to exist in the Unleash user table with a unique id. This is required to make correct mappings between users and roles.
2021-03-11 22:51:58 +01:00
Clint Checketts
5f83fbc43d chore: Add eslint rules and fix strings to pass rules 2021-02-22 22:20:10 -07:00
Clint Checketts
8cd19254c5 Move deps to devDependencies and add airbnb eslint rules 2021-02-22 22:05:51 -07:00
Clint Checketts
94b278a887 Add support for TS to eslint
See https://khalilstemmler.com/blogs/typescript/eslint-for-typescript/
2021-02-22 21:57:58 -07:00
Ivar Conradi Østhus
17c8fe7710 feat: Introduce addon framework
fixes: #587

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
5a852c779a fix: eslint ignorePatterns for OAS 2020-12-04 09:33:50 +01: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
Benjamin Ludewig
a06d2c04bb Refactored state-service, schemas, added e2e tests #395 2020-02-20 08:34:22 +01:00
sveisvei
375a8b1d4f Prettier/lint 2020-02-20 08:30:50 +01:00
sveisvei
fa6c28de8f pass along hooks, add test to server impl 2020-02-20 08:30:50 +01:00
ivaosthu
90859701c6 remove all lerna stuff 2020-02-20 08:30:37 +01:00
sveisvei
08dfac8b53 eslint config 2020-02-20 08:30:26 +01:00
Anders Olsen Sandvik
a96a9f38ce #108 Add eslint-config-spt and remove jshint (#111)
* #108 Add eslint-config-spt

* #108 Ignore bundle.js file

* #108 Change eslint ignore path to a glob file

* Remove jshint and follow more of eslint rules
2020-02-20 08:30:24 +01:00