1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

509 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
3e1a745db9
fix: bump unleash-frontend to 4.2.7 2021-10-20 13:27:06 +02:00
Renovate Bot
72445b6423 chore(deps): update dependency jest to v27.3.1 2021-10-19 10:20:23 +00:00
Renovate Bot
3f02e9c070 chore(deps): update dependency jest to v27.3.0 2021-10-17 20:23:53 +00:00
Renovate Bot
51e535baf3 chore(deps): update dependency ts-jest to v27.0.7 2021-10-16 12:08:52 +00:00
Renovate Bot
44bb2ec760 chore(deps): update dependency @types/faker to v5.5.9 2021-10-16 08:57:58 +00:00
Ivar Conradi Østhus
524bbc9bab
fix: bump unleash-frontend to 4.2.6 2021-10-15 14:19:16 +02:00
Renovate Bot
cdec9ee40d chore(deps): update dependency ts-jest to v27.0.6 2021-10-14 21:50:39 +00:00
Ivar Conradi Østhus
064e5ccf29
fix: bump unleash-forntend to 4.2.5 2021-10-14 09:45:48 +02:00
Renovate Bot
6957c44add fix(deps): update dependency unleash-frontend to v4.2.4 2021-10-13 21:32:58 +00:00
Renovate Bot
01509b0e09 chore(deps): update dependency eslint-plugin-import to v2.25.2 2021-10-13 01:36:50 +00:00
Renovate Bot
49acd57126 chore(deps): update dependency typescript to v4.4.4 2021-10-12 23:17:57 +00:00
Ivar Conradi Østhus
ce60d7f31b
fix: upgrade unleash-frontend to version 4.2.3 2021-10-12 14:22:24 +02:00
Renovate Bot
8ac3f6fc36 chore(deps): update dependency ts-node to v10.3.0 2021-10-11 19:52:11 +00:00
Renovate Bot
1e2a0d9045 chore(deps): update dependency lint-staged to v11.2.3 2021-10-10 20:47:52 +00:00
Renovate Bot
8b98e075ae chore(deps): update dependency lint-staged to v11.2.2 2021-10-09 22:25:27 +00:00
Renovate Bot
41a141d82e chore(deps): update dependency lint-staged to v11.2.1 2021-10-09 07:52:12 +00:00
Renovate Bot
56332fbf9e chore(deps): update dependency jest to v27.2.5 2021-10-08 16:02:49 +00:00
Renovate Bot
02e7402985 chore(deps): update dependency eslint-config-airbnb-typescript to v14.0.1 2021-10-08 11:29:52 +00:00
Renovate Bot
f0490c4e43 chore(deps): update typescript-eslint monorepo to v4.33.0 2021-10-04 19:24:50 +00:00
Renovate Bot
bce08da110 chore(deps): update dependency lint-staged to v11.2.0 2021-10-04 13:02:18 +00:00
Ivar Conradi Østhus
9e8f995b92
fix: upgrade unleash-frontend to 4.2.2 2021-10-01 19:46:43 +02:00
Ivar Conradi Østhus
e02fcd3e23
fix: upgrade unleash-frontend to 4.2.1 2021-10-01 13:54:18 +02:00
Renovate Bot
737e00e1e2 chore(deps): update dependency jest to v27.2.4 2021-09-29 20:16:06 +00:00
renovate[bot]
4ab41e5fc6
chore(deps): update dependency eslint-config-airbnb-typescript to v14 (#979)
* chore(deps): update dependency eslint-config-airbnb-typescript to v14

* fix: add eslint-plugin import

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-09-28 21:19:13 +02:00
renovate[bot]
120eb2b2fa
fix(deps): update dependency js-yaml to v4 (#985)
* fix(deps): update dependency js-yaml to v4

* fix: upgrade to js-yaml v4

* fix: upgrade to js-yaml 4.1.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-09-28 20:53:39 +02:00
renovate[bot]
2a4668037d
chore(deps): update dependency jest to v27.2.3 (#990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 20:24:28 +02:00
renovate[bot]
6f19235843
chore(deps): update dependency eslint-plugin-prettier to v4 (#980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 23:40:56 +02:00
renovate[bot]
9952b05fa2
chore(deps): update typescript-eslint monorepo to v4.32.0 (#983)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 23:02:14 +02:00
renovate[bot]
57eb26b475
fix(deps): update dependency prom-client to v14 (#987)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 22:57:08 +02:00
renovate[bot]
2ee2939229
chore(deps): update dependency tsc-watch to v4.5.0 (#975)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 17:00:17 +02:00
renovate[bot]
b3642574d2
fix(deps): update dependency unleash-frontend to v4.2.0 (#976)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 16:26:36 +02:00
renovate[bot]
e6c1f3b56b
chore(deps): update dependency ts-node to v10.2.1 (#973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 16:03:03 +02:00
renovate[bot]
ae94fd5d76
chore(deps): update dependency prettier to v2.4.1 (#974)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 16:01:52 +02:00
renovate[bot]
4c3679f791
chore(deps): update dependency supertest to v6.1.6 (#969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-09-27 13:34:00 +02:00
renovate[bot]
bfbd4ecb6a
chore(deps): update typescript-eslint monorepo to v4.31.2 (#972)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-09-27 13:29:34 +02:00
renovate[bot]
5bad777607
chore(deps): update dependency typescript to v4.4.3 (#971)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 13:28:43 +02:00
Ivar Conradi Østhus
348cff7001
chore: security resolutions 2021-09-27 13:26:18 +02:00
renovate[bot]
597c7ccba4
chore(deps): update dependency eslint-plugin-import to v2.24.2 (#960)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 13:02:51 +02:00
renovate[bot]
4ecf870d8a
fix(deps): update dependency knex to v0.95.11 (#967)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 13:02:04 +02:00
renovate[bot]
d2baca180b
chore(deps): update dependency eslint-plugin-prettier to v3.4.1 (#961)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 12:59:12 +02:00
renovate[bot]
165dcac850
chore(deps): update dependency husky to v7.0.2 (#965)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 12:57:52 +02:00
renovate[bot]
96b110fe52
chore(deps): update dependency source-map-support to v0.5.20 (#966)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 12:22:22 +02:00
renovate[bot]
3bd611afd2
chore(deps): update dependency jest to v27.2.2 (#962)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 12:16:14 +02:00
renovate[bot]
ac1afbce00
chore(deps): update dependency ts-jest to v27.0.5 (#964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 11:50:01 +02:00
renovate[bot]
bca05597dd
chore(deps): update dependency @types/jest to v27.0.2 (#958)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:20:35 +02:00
renovate[bot]
dd75315c24
fix(deps): pin dependencies (#957)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 09:09:49 +02:00
dependabot[bot]
348312fefa
chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#949)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 21:17:31 +02:00
Ivar Conradi Østhus
c8ec1603ff
chore: set transtivie resolutions 2021-09-20 12:37:53 +02:00
Ivar Conradi Østhus
d239be2a2f
fix: upgrade connect-session-knex to version 2.1.0 2021-09-20 12:34:18 +02:00
Ivar Conradi Østhus
dedec5c7d1
fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
Ivar Conradi Østhus
90962434d9
fix: Cleanup new features API with env support (#929) 2021-09-13 10:23:57 +02:00
Ivar Conradi Østhus
dff86fcfff fix: add resetDb to migrator 2021-09-10 12:25:12 +02:00
Fredrik Oseberg
7347ed466d chore: update frontend 2021-09-05 12:29:12 +02:00
Ivar Conradi Østhus
11640e882b fix: fine tune db-config based on experience 2021-09-03 12:57:25 +02:00
dependabot[bot]
5e5c1f3f7e
chore(deps): bump tar from 6.1.7 to 6.1.11 (#930)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.7 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.7...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 14:18:00 +02:00
Fredrik Oseberg
b07213d279 chore: update frontend 2021-09-01 13:34:26 +02:00
Fredrik Oseberg
58786db78b chore: update frontend 2021-08-30 14:30:40 +02:00
Ivar Conradi Østhus
20d934e808
fix: upgrade unleash-frontend to v4.1.0-beta.10 2021-08-27 19:33:07 +02:00
Fredrik Oseberg
bbdb174b95 chore: update frontend 2021-08-27 13:47:07 +02:00
Ivar Conradi Østhus
fa0a903981
fix: bump unleash-frontend to 4.1.0-beta.7 2021-08-26 21:08:14 +02:00
Ivar Conradi Østhus
232565bcef
chore: update yarn.lock 2021-08-26 14:07:55 +02:00
Ivar Conradi Østhus
d28df3e3fa
Fix/feature events (#924) 2021-08-26 13:59:11 +02:00
Ivar Conradi Østhus
ed7c3129f8
fix: upgrade unleash-frontend to version 4.1.0-beta.5 2021-08-25 14:24:13 +02:00
Fredrik Oseberg
b1b958ee51 chore: update unleash-frontend 2021-08-25 13:49:29 +02:00
Ivar Conradi Østhus
b3ddc91666
fix: bump unleash-frontend to 4.1.0-beta.3, 2021-08-19 14:01:14 +02:00
Ivar Conradi Østhus
39384d614c
chore: update yarn.lock 2021-08-19 10:28:26 +02:00
Ivar Conradi Østhus
b2e5c5a863
fix: upgrade unleash-fronendt to 4.1.0.beta.2 2021-08-13 13:18:40 +02:00
Ivar Conradi Østhus
0faa0cd075
fix: upgrade husky to 7.0.1 2021-08-12 23:04:56 +02:00
Ivar Conradi Østhus
5760d10e70
Revert "fix: upgrade js-yaml to 4.1.0"
This reverts commit 4852d67049.
2021-08-12 23:00:47 +02:00
Ivar Conradi Østhus
4852d67049
fix: upgrade js-yaml to 4.1.0 2021-08-12 22:47:44 +02:00
Ivar Conradi Østhus
ac608e1106
fix: bump eslint-plugin-import to 2.24.0 2021-08-12 22:43:32 +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
cc3a8187c7
fix: update yarn.lock file 2021-08-10 13:58:50 +02:00
Ivar Conradi Østhus
806b4a4a59
fix: failing tests 2021-08-10 13:50:59 +02:00
Ivar Conradi Østhus
1dfa996c00
fix: clean dist folder on build 2021-08-09 13:34:55 +02:00
Fredrik Oseberg
f8505b3dac chore: update frontend 2021-07-07 16:31:33 +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
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
66136d4e3f
fix: upgrade unleash-frontend to version 4.0.1 2021-05-25 19:41:30 +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
Ivar Conradi Østhus
88048de600
fix: upgrade unleash-frontend to version 4.0.0 2021-05-21 14:34:28 +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
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
c7ac8b57e2
upgade unleash-frontend to version 4.0.0-beta.3 2021-05-11 12:29:54 +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
dependabot[bot]
63c20ec38d
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#842)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:38:01 +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
04106e171b chore: update frontend 2021-05-07 11:32:07 +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
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
8c5c120128
fix: bum unleash-frontend to version 4.0.0-alpha.12 2021-05-02 20:49:52 +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
R Ashwin
6c57aeb232
feat: Teams addon for messaging on Microsoft teams (#814) 2021-04-28 12:38:11 +02:00
Ivar Conradi Østhus
c216181f8e
fix: add types for node-fetch 2021-04-26 11:27:52 +02:00
Ivar Conradi Østhus
ad0477d7ea
fix: update unleash-frontend 2021-04-23 15:32:10 +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
4dc2f69a08
chore: update yarn.lock 2021-04-21 09:44:33 +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
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
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
dependabot[bot]
2dc62abbe4
chore(deps): bump y18n from 4.0.0 to 4.0.1 (#775)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 20:11:22 +02:00
Ivar Conradi Østhus
dfb890c638
Feat: Api-Tokens (#774)
fixes: #774
2021-03-29 19:58:11 +02:00
Ivar Conradi Østhus
7a29e344c9
fix: upgrade unleash-frontend to version 3.14.1 2021-03-26 12:38:29 +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
Ivar Conradi Østhus
9ebb398fa6
feat: upgrade unleash-frontend to version 3.14.0 2021-03-12 11:50:12 +01:00
Fredrik Strand Oseberg
efe6507263
chore/update-fe (#753) 2021-03-08 15:44:51 +01:00
Fredrik Strand Oseberg
020b9beb13
chore: update frontend version (#749) 2021-03-05 11:47:33 +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
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
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
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 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
Ivar Conradi Østhus
073b679e7e
fix: update unleash-frontend to version 3.11.4 2021-02-09 22:01:00 +01:00
Ivar Conradi Østhus
566ee16629
fix: upgrade unleash-frontend to version 3.11.3 2021-02-09 12:52:02 +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
17c8fe7710 feat: Introduce addon framework
fixes: #587

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-02-05 15:20:00 +01:00