1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

697 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
ac608e1106
fix: bump eslint-plugin-import to 2.24.0 2021-08-12 22:43:32 +02:00
Ivar Conradi Østhus
7709c2f10a
chore: remove resolution 2021-08-12 22:41:43 +02:00
Ivar Conradi Østhus
fa34738ad3
fix: update supertest to version 6.1.5 2021-08-12 22:40:09 +02:00
Ivar Conradi Østhus
bde103e048
fix: bump @types 2021-08-12 22:38:44 +02:00
Ivar Conradi Østhus
6aa35c22e8
fix: update ts-node to 10.2.0 2021-08-12 22:37:38 +02:00
Ivar Conradi Østhus
2801dc92e4
fix: bump unleash-frontend to v4.0.10 2021-08-12 22:37:38 +02:00
Christopher Kolstad
ff7be7696c
fix: Stores as typescript and with interfaces. (#902)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-08-12 15:04:37 +02:00
Ivar Conradi Østhus
1dfa996c00
fix: clean dist folder on build 2021-08-09 13:34:55 +02:00
Christopher Kolstad
aa5d0a9349
4.1.0-beta.0 2021-07-27 10:34:52 +02:00
Christopher Kolstad
355e32a7da
fix: Use 4.0.9 of frontend 2021-07-27 10:33:53 +02:00
Fredrik Oseberg
f8505b3dac chore: update frontend 2021-07-07 16:31:33 +02:00
Christopher Kolstad
fd97d6b9e7
4.0.6-beta.1 2021-07-07 11:13:16 +02:00
Christopher Kolstad
49ca3522c2
Use unleash-frontend 4.0.5-beta.1 2021-07-07 11:11:50 +02:00
Ivar Conradi Østhus
4f9deee2ed
fix: add option for graceful shutdown (#872)
* fix: add option for graceful shutdown

* fix: gracefulShutdown should close idle keep-alive connections

* fix: eslint import order

* docs: add config options to docs as well
2021-06-17 20:33:34 +02:00
Ivar Conradi Østhus
56296f6092
4.0.4 2021-06-10 23:05:10 +02:00
Ivar Conradi Østhus
68ee1b57e0
4.0.3 2021-06-08 13:39:00 +02:00
Ivar Conradi Østhus
5b1f7fc7a9
chore: upgrade unleash-frontend to v4.0.4 2021-06-08 13:35:01 +02:00
Ivar Conradi Østhus
3a39073cb4
chore: upgrade unleash-frontend to v4.0.3 2021-06-08 13:09:27 +02:00
Fredrik Oseberg
a1b6080f38 chore: update frontend 2021-06-07 11:13:35 +02:00
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
Ivar Conradi Østhus
38cc0e6a5b
4.0.2 2021-05-25 19:53:01 +02:00
Ivar Conradi Østhus
66136d4e3f
fix: upgrade unleash-frontend to version 4.0.1 2021-05-25 19:41:30 +02:00
Ivar Conradi Østhus
0ffd01f54b
4.0.1 2021-05-25 14:04:34 +02:00
Ivar Conradi Østhus
67c03c36d9
fix: upgrade supertest to version 6.1.3 2021-05-21 21:21:13 +02:00
Ivar Conradi Østhus
3dc25e64d7
fix: upgrade lint-staged to version 11.0.0 2021-05-21 19:32:53 +02:00
Ivar Conradi Østhus
b89bf03d1f
fix: upgrade faker to version 5.5.3 2021-05-21 19:30:57 +02:00
Ivar Conradi Østhus
279f19fe89
fix: upgrade db-migrate to v0.11.12 2021-05-21 19:27:09 +02:00
Ivar Conradi Østhus
deee32aa8c
chore: update types definitions 2021-05-21 19:24:46 +02:00
Ivar Conradi Østhus
8300482e1c
fix: update yarn.lock 2021-05-21 16:51:13 +02:00
Christopher Kolstad
d43a13ca02
4.0.0 2021-05-21 15:07:29 +02:00
Ivar Conradi Østhus
88048de600
fix: upgrade unleash-frontend to version 4.0.0 2021-05-21 14:34:28 +02:00
Ivar Conradi Østhus
eb65f40a8f
4.0.0-beta.6 2021-05-18 14:08:02 +02:00
Ivar Conradi Østhus
11de178010
fix: Upgrade unleash-frontend to version 4.0.0-beta.5 2021-05-18 14:04:31 +02:00
Christopher Kolstad
c224786f29
feat: update docs to match v4.
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-05-18 11:19:33 +02:00
Ivar Conradi Østhus
0fa06c2a92
4.0.0-beta.5 2021-05-11 15:12:40 +02:00
Ivar Conradi Østhus
20c5658876
fix: upgrade to unleash-frontend 4.0.0-beta.4 2021-05-11 15:10:54 +02:00
Ivar Conradi Østhus
c9cc474df5
4.0.0-beta.4 2021-05-11 12:50:45 +02:00
Ivar Conradi Østhus
c7ac8b57e2
upgade unleash-frontend to version 4.0.0-beta.3 2021-05-11 12:29:54 +02:00
Ivar Conradi Østhus
c9f67cc209
4.0.0-beta.3 2021-05-10 13:43:48 +02:00
Ivar Conradi Østhus
5b3d8411ca
fix: upgrade unleash-frontend to version 4.0.0-beta.2 2021-05-10 13:43:22 +02:00
Ivar Conradi Østhus
c859566dab
feat: drop unleash cli support from v4 2021-05-10 13:37:39 +02:00
Ivar Conradi Østhus
38791a45ce
fix: upgrade ava to version 3.15.0 2021-05-07 14:39:00 +02:00
Fredrik Oseberg
afea65e070 4.0.0-beta.2 2021-05-07 11:41:40 +02:00
Fredrik Oseberg
04106e171b chore: update frontend 2021-05-07 11:32:07 +02:00
Ivar Conradi Østhus
573bcc1658
4.0.0-beta.1 2021-05-05 22:35:29 +02:00
Ivar Conradi Østhus
a30dc444fd
fix: upgrade unleash-frontend to version 4.0.0-beta.0 2021-05-05 22:34:13 +02:00
Ivar Conradi Østhus
4752d5f0de
4.0.0-beta.0 2021-05-05 09:21:40 +02:00
Ivar Conradi Østhus
cafd497bd1
4.0.0-alpha.8 2021-05-04 22:20:35 +02:00
Ivar Conradi Østhus
e80566bf2d
chore: update changelog 2021-05-04 22:20:21 +02:00
Ivar Conradi Østhus
395ea185f3
fix: bum unleash-frontend to version 4.0.0-alpha.13 2021-05-04 21:39:53 +02:00
Ivar Conradi Østhus
410e6ca18c
4.0.0-alpha.7 2021-05-02 21:19:19 +02:00
Ivar Conradi Østhus
8c5c120128
fix: bum unleash-frontend to version 4.0.0-alpha.12 2021-05-02 20:49:52 +02:00
Ivar Conradi Østhus
2df0907e1c
4.0.0-alpha.6 2021-04-29 22:11:15 +02:00
Ivar Conradi Østhus
8464c69dd9
chore: update changelog 2021-04-29 22:11:04 +02:00
Ivar Conradi Østhus
8b9d5ee158
fix: upgrade unleash-frontend to version 4.0.0-alpha.11 2021-04-29 22:04:03 +02:00
Ivar Conradi Østhus
c216181f8e
fix: add types for node-fetch 2021-04-26 11:27:52 +02:00
Ivar Conradi Østhus
a9100046df
4.0.0-alpha.4 2021-04-23 15:33:53 +02:00
Ivar Conradi Østhus
ad0477d7ea
fix: update unleash-frontend 2021-04-23 15:32:10 +02:00
Ivar Conradi Østhus
86cbd58487
4.0.0-alpha.3 2021-04-23 13:43:49 +02:00
Ivar Conradi Østhus
28c7b3f190
chore: update changelog 2021-04-23 13:41:27 +02:00
Ivar Conradi Østhus
05abb7e295
fix: enable demo-authentication (#796) 2021-04-22 10:53:47 +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
fd5b040567
chore: update frontend version 2021-04-21 09:42:46 +02:00
Fredrik Oseberg
03df9f5199 chore: update frontend version 2021-04-20 19:24:33 +02:00
Fredrik Oseberg
b824842a03 chore: update frontend 2021-04-20 16:29:20 +02:00
Christopher Kolstad
b55c85783b
Reset token (#786)
feat: Add Reset token functionality

This allows admin users to create a reset token for other users. Thus allowing resetting their password.

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>

fixes: #778
2021-04-16 15:29:23 +02:00
Ivar Conradi Østhus
781a300bf7
4.0.0-alpha.2 2021-04-13 13:56:26 +02:00
Ivar Conradi Østhus
0eb132c025
feat: unleash v4 will require node 14 or higher (#784) 2021-04-13 09:22:37 +02:00
Ivar Conradi Østhus
223bbbb50d
fix: upgrade unleash-frontend to latest alpha 2021-04-12 20:29:00 +02:00
Ivar Conradi Østhus
9bd425c193
feat: Add username/password authentication (#777) 2021-04-09 13:46:53 +02:00
Christopher Kolstad
99fd210392
feat: added basic email-service (#780)
* feat: added basic email-service
* feat: preview endpoint for plaintext/html templates
* chore: Updated docs
fixes: #757
2021-04-09 11:16:06 +02:00
Fredrik Oseberg
696004b5ec 4.0.0-alpha.1 2021-03-30 15:59:14 +02:00
Fredrik Oseberg
e0682fd8fb chore: upgrade frontend 4.0.0-alpha.1 2021-03-30 15:58:36 +02:00
Ivar Conradi Østhus
baf750c05a
feat: upgrade unleash-frontend to 4.0.0-alpha.0 2021-03-30 15:21:02 +02:00
Ivar Conradi Østhus
58137b8579
4.0.0-alpha.0 2021-03-29 20:33:01 +02:00
Ivar Conradi Østhus
dfb890c638
Feat: Api-Tokens (#774)
fixes: #774
2021-03-29 19:58:11 +02:00
Ivar Conradi Østhus
f2de0aba65
3.17.4 2021-03-26 14:45:27 +01:00
Ivar Conradi Østhus
7a29e344c9
fix: upgrade unleash-frontend to version 3.14.1 2021-03-26 12:38:29 +01:00
Christopher Kolstad
205ad921d4
Tags and tag types to ts (#772)
* chore: Converted tag-store and tag-type-store to ts

* chore: Converted tag service and tag type service to ts
2021-03-26 11:03:30 +01:00
Christopher Kolstad
2e13bb9368
Make sure we keep the announced status of each app (#770)
* Make sure we keep the announced status of each app

- Since we were running onConflict().merge() we were keeping our entire
  new object from our remapRow method, and that was overwriting the
  current announcement status of the row back to false, unless we'd by
  random chance actually set the announced property on our row to be
  inserted.
* Add migration for cleaning up application-created events
-
fixes: #769
2021-03-23 12:43:33 +01:00
Christopher Kolstad
839ae7fc78 3.17.2 2021-03-19 12:04:54 +01:00
Ivar Conradi Østhus
864e01e491
3.17.1 2021-03-18 09:56:49 +01:00
Ivar Conradi Østhus
04bfa748f9
3.17.0 2021-03-12 13:06:17 +01:00
Ivar Conradi Østhus
9ebb398fa6
feat: upgrade unleash-frontend to version 3.14.0 2021-03-12 11:50:12 +01: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
Fredrik Strand Oseberg
efe6507263
chore/update-fe (#753) 2021-03-08 15:44:51 +01:00
Fredrik Oseberg
b24f68d4f8 3.16.0 2021-03-05 16:03:45 +01:00
Fredrik Strand Oseberg
020b9beb13
chore: update frontend version (#749) 2021-03-05 11:47:33 +01:00
Christopher Kolstad
4808eb32ff
feat: add support for bulk operations on client apps/instance registr… (#744)
* feat: add support for bulk operations on client apps/instance registration
-- stores client registrations for 5 seconds, then runs distinct and inserts them into db

fixes: #732
2021-03-04 12:54:13 +01:00
Fredrik Oseberg
69da866595 3.15.0 2021-02-26 13:59:15 +01:00
Fredrik Strand Oseberg
f9fd65a4bf
chore: update dependencies (#737) 2021-02-26 10:53:45 +01:00
Fredrik Strand Oseberg
7f34785af1
fix: update unleash-frontend dependency (#736) 2021-02-25 16:00:37 +01:00
Ivar Conradi Østhus
7cc2334621
fix: upgrade unleash-frontend to version 3.13.1 2021-02-24 12:29:43 +01:00
Ivar Conradi Østhus
2e13976b54
3.14.0 2021-02-24 12:29:43 +01:00
Ivar Conradi Østhus
1ed3806bb3
feat: upgrade unleash-frontend to version 3.13.0 2021-02-24 12:29:43 +01:00
Christopher Kolstad
44af41547e
feat: make client features endpoint memoizable (#734) 2021-02-24 12:29:39 +01:00
Clint Checketts
8cd19254c5 Move deps to devDependencies and add airbnb eslint rules 2021-02-22 22:05:51 -07:00
Clint Checketts
d1933bcd1b chore: Add TS support to code coverage 2021-02-22 21:58:29 -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
73239d4062
3.13.0 2021-02-19 12:52:53 +01:00
Ivar Conradi Østhus
1ba029de66
feat: update unleash-frontend to version 3.12.0 2021-02-19 12:36:21 +01:00
Christopher Kolstad
ba57822d23
fix: generate uuid in js migration instead of from db 2021-02-19 11:27:29 +01:00
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