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

545 Commits

Author SHA1 Message Date
Simen Bekkhus
4902161b39
fix: TypeScript should be a dev dependency (#730) 2021-02-19 08:18:48 +01:00
Christopher Kolstad
d017ec7cdc
feat: add db-session store (#722)
* Moves to db managed sessions.
2021-02-18 09:03:21 +01:00
Christopher Kolstad
4e63512ee1
Setup tsc-watch for dev build (#723) 2021-02-15 08:39:28 +01:00
Fredrik Oseberg
8d1851cff3 3.12.0 2021-02-12 12:50:34 +01:00
Fredrik Strand Oseberg
c1aab06798
Feature/setup typescript
This sets up the typescript compiler.

Allowing gradual migration to typescript.

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.oseberg@getunleash.ai>
Co-authored-by: Clint Checkett <clintchecketts@churchofjesuschrist.org>

fixes: #676
2021-02-12 11:42:00 +01:00
Christopher Kolstad
feb83772ec
chore: Remove git add from husky 2021-02-11 14:08:33 +01:00
Ivar Conradi Østhus
dcde06b0c3
3.11.2 2021-02-09 22:48:04 +01:00
Ivar Conradi Østhus
073b679e7e
fix: update unleash-frontend to version 3.11.4 2021-02-09 22:01:00 +01:00
Christopher Kolstad
3032ed9f58
fix: include frontend bug fix 2021-02-09 13:50:44 +01:00
Ivar Conradi Østhus
566ee16629
fix: upgrade unleash-frontend to version 3.11.3 2021-02-09 12:52:02 +01:00
Ivar Conradi Østhus
aff5f2f8b6
3.11.0 2021-02-09 11:07:46 +01:00
Christopher Kolstad
8c6bc9f118
Merge pull request #712 from Unleash/fix-711-conflict-on-existing-tag
Make feature-toggle-store return 409
2021-02-09 10:54:05 +01:00
Ivar Conradi Østhus
cf1092881c
fix: upgrade unleash-frontend to version 3.11.2 2021-02-09 10:45:12 +01:00
Christopher Kolstad
063d3f0e4a
Make feature-toggle-store return 409
- After seeing frontend behaviour where the user could add the same
tag multiple times, and not get errors or be stopped doing so, we'll
change the backend to return a 409 if you tag a feature with a tag it
already has.

- Previous to this commit, the setup was to do `onConflict().ignore()`
  which caused the frontend to not get any help from the backend as to
  whether or not the operation was allowed

- This fix adds a custom error and adds a branch to the handleError util
  method for handling just that error type with a 409.

- This caused a couple of tests to receive 409, probably due to
  insufficient cleanup between tests. Adding faker as a dev-dependency and randomising
  toggle names and tag values for each test reduces the chance that
  we'll run into duplicate issues in the future for the tests that
  touches this problem

fixes: #711
2021-02-08 16:22:15 +01:00
Martin Lehmann
ea6183f79c fix: upgrade prom-client from 12.0.0 to 13.1.0 2021-02-05 15:20:59 +01:00
Ivar Conradi Østhus
47b7e1d87c fix: upgrade unleash-frontend to version 3.11.1
This version introduces frontend for addons
2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus
2bb38fe3e8 fix: Addons should support sensitive params 2021-02-05 15:20:00 +01: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
Christopher Kolstad
73f54e8288
chore: Use yarn for scripts 2021-01-26 10:10:47 +01:00
Ivar Conradi Østhus
91d1477ea5 3.10.1 2021-01-22 13:14:35 +01:00
Christopher Kolstad
258967fe32
Bumped unleash-frontend to 3.10.0 2021-01-22 10:22:58 +01:00
Christopher Kolstad
6ef2916200
Update frontend to latest bugfix 2021-01-21 10:16:44 +01:00
Ivar Conradi Østhus
80ef17422b fix: remove pg_virtualenv scripts 2021-01-19 09:43:19 +01:00
Christopher Kolstad
52e713e2d4
Include 3.9.0 of Unleash frontend 2021-01-18 10:10:46 +01:00
Christopher Kolstad
43801f1f13
Add Tags and tag types
- First iteration of api for tags and tag-types
- Documentation in place
- Adds three new tables
   - tag_types
   - tags
   - feature_tag
- Tagging a feature is adding a row in the feature_tag
  join table

* #665

Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-01-14 13:09:05 +01:00
Ivar Conradi Østhus
95b7603f07 fix: upgrade unleash-frontend to 3.8.4 2021-01-06 22:33:44 +01:00
Ivar Conradi Østhus
cdfba8f7b1 feat: Adds last-seen dat on toggles
When an application updates metrics for a toggle we now
stores the timestamp on the toggle when it was last seen
used by an application. This will make it much easier to
detect toggles not in use anymore.

closes #642
2020-12-22 11:05:00 +01:00
Ivar Conradi Østhus
ac9e3fc55e 3.9.0 2020-12-17 19:50:36 +01:00
Ivar Conradi Østhus
db51104198 3.8.0 2020-12-15 13:54:02 +01:00
Ivar Conradi Østhus
f9d09cf871 fix: upgrade unleash-frontend to 3.8.2 2020-12-15 13:30:59 +01:00
Ivar Conradi Østhus
7c3ef57192 fix: upgrade unleash-frontend to 3.8.1 2020-12-14 23:11:19 +01:00
Ivar Conradi Østhus
3bf01b803a
fix: add support for basic auth with simple-auth (#659) 2020-12-03 21:29:01 +01:00
Ivar Conradi Østhus
abc93d55da feat: upgrade unleash-frontend to version 3.8.0 2020-11-27 22:28:49 +01:00
Ivar Conradi Østhus
a88f6d04ac fix: bump dev-deps for security 2020-11-24 12:51:59 +01:00
Ivar Conradi Østhus
9e48b5a2f4 fix: Replace travis with GitHub Actions
closes #656
2020-11-24 12:46:55 +01:00
Ivar Conradi Østhus
a84c6a18fc 3.7.0 2020-11-23 22:04:27 +01:00
Ivar Conradi Østhus
19b92ebd5b feat: upgrade unleash-frontend to 3.7.0 2020-11-23 21:47:51 +01:00
Ivar Conradi Østhus
b644071a34 feat: Add technical support for projects 2020-11-23 21:47:51 +01:00
Ivar Conradi Østhus
805698e28f fix: upgrade to unleash-frontend 3.5.6
closes #646
2020-11-04 09:26:43 +01:00
Ivar Conradi Østhus
e0ee091f4b 3.6.1 2020-10-28 20:50:23 +01:00
Ivar Conradi Østhus
c6469732a1 fix: update unleash-frontend to version 3.6.4 2020-10-05 23:17:50 +02:00
Ivar Conradi Østhus
3b2b2933ab fix: upgradde unleash-frontend to version 3.6.3 2020-10-04 21:11:14 +02:00
Ivar Conradi Østhus
cd25078792 fix: upgrade cookie-session library 2020-10-02 16:38:51 +02:00
Ivar Conradi Østhus
6cff7704ae 3.6.0 2020-09-27 20:15:59 +02:00
Ivar Conradi Østhus
8e23b33850 fix: upgrade unleash-frontend to version 3.6.2 2020-09-26 22:25:19 +02:00
Ivar Conradi Østhus
90f1176bcd fix: upgrade superagent to version 6.1.0 2020-09-25 22:36:15 +02:00
Ivar Conradi Østhus
6468d28a1a fix: upgrade supertest to version 5.0.0 2020-09-25 22:35:26 +02:00
Ivar Conradi Østhus
31b1457067 fix: upgrade yargs to version 16.0.3 2020-09-25 22:18:40 +02:00
Ivar Conradi Østhus
cdef7a0fce fix: upgrade unleash-frontend to version 3.6.1 2020-09-25 22:15:49 +02:00
Ivar Conradi Østhus
0f7e563af3 feat: upgrade unleash-frontend to version 3.6.0 2020-09-25 21:24:34 +02:00
Ivar Conradi Østhus
b8b90226ce 3.5.4 2020-09-18 09:09:25 +02:00
Ivar Conradi Østhus
8ac4a243b2
Fix/upgrade knex (#630) 2020-09-18 09:05:09 +02:00
Ivar Conradi Østhus
86d6589145 3.5.3 2020-09-07 09:27:30 +02:00
Ivar Conradi Østhus
83e0388520 3.5.2 2020-09-06 19:46:55 +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
e4663f3e40 3.5.1 2020-08-12 14:30:58 +02:00
Ivar Conradi Østhus
45783dc3a2 fix: upgrade to unleash-frontend v3.5.1 2020-08-11 12:26:40 +02:00
Ivar Conradi Østhus
76e1a78b30 3.5.0 2020-08-10 22:17:07 +02:00
Ivar Conradi Østhus
011c07d61f fix: upgrade unleash-frontend to latest 2020-08-10 22:16:40 +02:00
Ivar Conradi Østhus
8da1239c42 3.5.0-0 2020-08-07 11:20:17 +02:00
Ivar Conradi Østhus
83dda55172
feat: add stale property on toggle (#619) 2020-08-07 10:46:35 +02:00
Ivar Conradi Østhus
ee79e90d92 fix: upgrade joi to version 17.2.0 2020-08-06 11:25:39 +02:00
Ivar Conradi Østhus
6568457ed8
feat: Add support for toggle types (#618) 2020-08-06 11:18:52 +02:00
Ivar Conradi Østhus
045a2dc621 3.4.2 2020-08-03 14:13:02 +02:00
Ivar Conradi Østhus
6b09f2a1a6 fix: upgrade unleash-frontend to version 3.4.0 2020-08-03 14:09:19 +02:00
greenkeeper[bot]
67a78c3517
Update @types/node to the latest version 🚀 (#596)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-07-31 22:27:42 +02:00
Ivar Conradi Østhus
72506ea5d5 fix: upgrade js-yaml to latest 2020-07-31 22:26:04 +02:00
Ivar Conradi Østhus
acc674c0e7 fix: replace @hapi/joi with joi 2020-07-31 22:15:09 +02:00
Ivar Conradi Østhus
25082a69ae 3.4.1 2020-07-29 22:59:19 +02:00
Ivar Conradi Østhus
b3c0562f96 fix: add resolution for minimist and kind-of 2020-06-24 11:26:37 +02:00
Ivar Conradi Østhus
2e2a065303 3.4.0 2020-06-17 09:56:19 +02:00
Ivar Conradi Østhus
f2b8be4f5e 3.3.6 2020-06-15 15:50:17 +02:00
Ivar Conradi Østhus
5062f97f62 fix: upgrade unleash-frontend to verson 3.3.5 2020-06-15 15:33:08 +02:00
Ivar Conradi Østhus
e3749b750c 3.3.5 2020-05-20 19:45:19 +02:00
Ivar Conradi Østhus
91e8dfe4dd fix: upgrade unleash-frontend to verson 3.3.3 2020-05-20 16:35:30 +02:00
Ivar Conradi Østhus
0dc64666c6 3.3.4 2020-05-14 22:47:54 +02:00
Ivar Conradi Østhus
43ac01fd3a fix: we now support node 14 :hurray
closes #592
2020-05-14 22:44:23 +02:00
Ivar Conradi Østhus
48c4e59d78 fix: upgrade db-migrate-pg to version 1.2.2 2020-05-14 22:42:58 +02:00
Ivar Conradi Østhus
d62e5e4939 fix: upgrade unleash-frontend to version 3.3.2 2020-05-14 22:40:37 +02:00
Ivar Conradi Østhus
b3fdbbe84f 3.3.3 2020-05-12 23:37:39 +02:00
Ivar Conradi Østhus
7805684f70 fix: we are NOT ready for node 14 2020-05-12 23:19:28 +02:00
Ivar Conradi Østhus
49e0c0fa29 fix: upgrade unleash-frontend to 3.3.1 2020-05-12 23:04:13 +02:00
Ivar Conradi Østhus
2d154c12c4 fix: support node 14 by upgrading pg to 8.0.3 2020-05-02 09:38:27 +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
13b92e07ce 3.3.2 2020-05-02 07:49:30 +02:00
Ivar Conradi Østhus
9f86bce0ab 3.3.1 2020-04-19 21:01:48 +02:00
Ivar Conradi Østhus
4b650bb73a fix: upgrade unleash-frontend to version 3.2.21 2020-04-19 20:26:41 +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
42da450a86 3.3.0 2020-04-13 23:05:40 +02:00
Ivar Conradi Østhus
482a4daae6 fix: upgrade eslint to verson 6.8.0 2020-04-13 22:58:18 +02:00
Ivar Conradi Østhus
636270b54e fix: upgrade ava to version 3.7.0
closes #552
2020-04-13 22:53:06 +02:00
greenkeeper[bot]
84b31c241b
fix: Update unleash-frontend to version 3.2.20 (#582)
* fix(package): update unleash-frontend to version 3.2.20

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-13 22:44:22 +02:00
Ivar Conradi Østhus
2815ab0fd5 feat: require node >= 12 2020-04-13 22:42:31 +02:00
greenkeeper[bot]
e88450a008
fix: Update pg to the latest version 🚀 (#578)
* fix(package): update pg to version 8.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-13 22:39:17 +02:00
Ivar Conradi Østhus
b912768923
feat: move secrets to settings (#577)
* feat: move secrets to settings

* feat: Add better support for detailed db options.

Added db field in options to allow better control of
db-options. Especially important to allow special chars
in database password which might lead to an invaid url
when defined as a database-url.

* fix: integrate logger with knex logger

* fix: remove secret option from all examples

* fix: more options.js unit tests

* fix: added settings-store e2e tests
2020-04-13 22:38:46 +02:00
Ivar Conradi Østhus
5d2a94d343 3.2.30 2020-03-10 15:22:57 +01:00
Ivar Conradi Østhus
7c26d4837b fix: upgrade unleash-frontend to version 3.2.19 2020-03-10 15:21:41 +01:00
Ivar Conradi Østhus
80a1d4f586 3.2.29 2020-03-05 22:49:21 +01:00
Ivar Conradi Østhus
e5d570af85 fix: lock knex to version 0.20.10
knex version 0.20.11 is currently breaking unleash.
2020-03-05 22:48:37 +01:00
Ivar Conradi Østhus
f8586269b7 fix: upgrade unleash-frontend to version 3.2.18 2020-03-05 17:10:00 +01:00