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

892 Commits

Author SHA1 Message Date
Fredrik Oseberg
0962dc89aa chore: update frontend 2022-02-03 14:37:07 +01:00
Renovate Bot
fb7014a8ab chore(deps): update dependency @babel/core to v7.17.0 2022-02-03 02:17:23 +00:00
Renovate Bot
2a4fd93302 fix(deps): update dependency knex to v1.0.2 2022-02-02 01:47:46 +00:00
Fredrik Oseberg
73c8f049c8 chore: update frontend 2022-02-02 00:31:19 +01:00
Ivar Conradi Østhus
897d7bb206
fix: upgrade unleash-frontend to v4.6.3 2022-02-01 23:05:28 +01:00
Renovate Bot
2be077007d chore(deps): update dependency lint-staged to v12.3.3 2022-02-01 21:45:26 +00:00
Renovate Bot
ccee5bbd65 fix(deps): update dependency unleash-frontend to v4.6.2 2022-02-01 18:29:01 +00:00
Renovate Bot
41ec7ae47a chore(deps): update typescript-eslint monorepo to v5.10.2 2022-01-31 21:21:12 +00:00
Ivar Conradi Østhus
f1688c71d8
fix: upgrade unleash-frontend to v4.6.1 2022-01-31 09:03:42 +01:00
Renovate Bot
cd19a891e9 chore(deps): update dependency eslint to v8.8.0 2022-01-29 00:27:33 +00:00
Renovate Bot
d77e1548c1 fix(deps): update dependency unleash-frontend to v4.6.0 2022-01-28 19:49:38 +00:00
Renovate Bot
36af8db8bb chore(deps): update dependency lint-staged to v12.3.2 2022-01-26 23:45:20 +00:00
Fredrik Oseberg
5ed86c8a17 chore: update frontend 2022-01-26 14:03:50 +01:00
renovate[bot]
cd5f3bb964
chore(deps): update dependency superagent to v7 (#1242)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 13:41:11 +01:00
Renovate Bot
025ba0e30e chore(deps): update typescript-eslint monorepo to v5.10.1 2022-01-24 20:53:25 +00:00
renovate[bot]
da2b165af5
fix(deps): update dependency knex to v1 (#1272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 11:58:02 +01:00
Renovate Bot
0af2270926 chore(deps): update dependency lint-staged to v12.3.1 2022-01-24 01:06:25 +00:00
renovate[bot]
72e053f237
chore(deps): pin dependency @types/type-is to 1.6.3 (#1285)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 21:58:36 +01:00
Ivar Conradi Østhus
14a305f0e7
fix: upgrade node-fetch to version 2.6.7 2022-01-23 21:29:42 +01:00
Renovate Bot
2fbbe51b6b chore(deps): update dependency @babel/core to v7.16.12 2022-01-23 04:22:42 +00:00
Renovate Bot
69a6f5c336 fix(deps): update dependency log4js to v6.4.0 [security] 2022-01-22 00:11:52 +00:00
Fredrik Oseberg
01cd4eb47a chore: update frontend 2022-01-21 16:20:20 +01:00
Renovate Bot
61846b6ab9 chore(deps): update dependency typescript to v4.5.5 2022-01-21 00:10:12 +00:00
Renovate Bot
9275fff5b9 chore(deps): update dependency lint-staged to v12.2.2 2022-01-20 21:43:52 +00:00
Ivar Conradi Østhus
367b31185b
fix: allow charset in content-type (#1241) 2022-01-20 15:00:16 +01:00
Renovate Bot
3777791b4a chore(deps): update dependency @babel/core to v7.16.10 2022-01-19 21:33:20 +00:00
Renovate Bot
79c7d5aa81 chore(deps): update dependency lint-staged to v12.2.1 2022-01-19 15:33:05 +00:00
Renovate Bot
76713c97bb chore(deps): update dependency supertest to v6.2.2 2022-01-19 01:12:25 +00:00
Renovate Bot
5ce4e2b000 chore(deps): update dependency lint-staged to v12.2.0 2022-01-18 16:18:02 +00:00
Renovate Bot
380c182226 chore(deps): update typescript-eslint monorepo to v5.10.0 2022-01-17 21:27:58 +00:00
Renovate Bot
3f3fbb37ed chore(deps): update dependency eslint to v8.7.0 2022-01-16 05:49:43 +00:00
Renovate Bot
cab33f7f04 chore(deps): update dependency ts-jest to v27.1.3 2022-01-15 04:05:48 +00:00
Fredrik Oseberg
4b5da3f66c chore: update frontend 2022-01-14 12:30:34 +01:00
Fredrik Oseberg
793ec8ebbc chore: update frontend 2022-01-13 18:16:39 +01:00
Fredrik Oseberg
b95e1d872e chore: update frontend 2022-01-13 14:44:45 +01:00
sighphyre
0c78980502
feat: custom project roles (#1220)
* wip: environment for permissions

* fix: add migration for roles

* fix: connect environment with access service

* feat: add tests

* chore: Implement scaffolding for new rbac

* fix: add fake store

* feat: Add api endpoints for roles and permissions list

* feat: Add ability to provide permissions when creating a role and rename environmentName to name in the list permissions datastructure

* fix: Make project roles resolve correctly against new environments permissions structure

* fix: Patch migration to also populate permission names

* fix: Make permissions actually work with new environments

* fix: Add back to get permissions working for editor role

* fix: Removed ability to set role type through api during creation - it's now always custom

* feat: Return permissions on get role endpoint

* feat: Add in support for updating roles

* fix: Get a bunch of tests working and delete a few that make no sense anymore

* chore: A few small cleanups - remove logging and restore default on dev server config

* chore: Refactor role/access stores into more logical domains

* feat: Add in validation for roles

* feat: Patch db migration to handle old stucture

* fix: migration for project roles

* fix: patch a few broken tests

* fix: add permissions to editor

* fix: update test name

* fix: update user permission mapping

* fix: create new user

* fix: update root role test

* fix: update tests

* feat: Validation now works when updating a role

* fix: Add in very barebones down migration for rbac so that tests work

* fix: Improve responses from role resolution - getting a non existant role will throw a NotFound error

* fix: remove unused permissions

* fix: add test for connecting roles and deleting project

* fix: add test for adding a project member with a custom role

* fix: add test for changing user role

* fix: add guard for deleting role if the role is in use

* fix: alter migration

* chore: Minor code cleanups

* chore: Small code cleanups

* chore: More minor cleanups of code

* chore: Trim some dead code to make the linter happy

* feat: Schema validation for roles

* fix: setup permission for variant

* fix: remove unused import

* feat: Add cascading delete for role_permissions when deleting a role

* feat: add configuration option for disabling legacy api

* chore: update frontend to beta version

* 4.6.0-beta.0

* fix: export default project constant

* fix: update snapshot

* fix: module pattern ../../lib

* fix: move DEFAULT_PROJECT to types

* fix: remove debug logging

* fix: remove debug log state

* fix: Change permission descriptions

* fix: roles should have unique name

* fix: root roles should be connected to the default project

* fix: typo in role-schema.ts

* fix: Role permission empty string for non environment type

* feat: new permission for moving project

* fix: add event for changeProject

* fix: Removing a user from a project will now check to see if that project has an owner, rather than checking if any project has an owner

* fix: add tests for move project

* fix: Add in missing create/delete tag permissions

* fix: Removed duplicate impl caused by multiple good samaritans putting it back in!

* fix: Trim out add tag permissions, for now at least

* chore: Trim out new add and delete tag permissions - we're going with update feature instead

* chore: update frontend

* 4.6.0-beta.1

* feat: Prevent editing of built in roles

* fix: Patch an issue where permissions for variants/environments didn't match the front end

* fix: lint

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-13 11:14:17 +01:00
Renovate Bot
22f78e6745 chore(deps): update dependency supertest to v6.2.1 2022-01-12 03:08:00 +00:00
Renovate Bot
cc66cc4adf chore(deps): update dependency supertest to v6.2.0 2022-01-11 03:18:49 +00:00
Renovate Bot
f10910bba1 chore(deps): update typescript-eslint monorepo to v5.9.1 2022-01-10 21:12:41 +00:00
Renovate Bot
b6a3448cda chore(deps): update dependency lint-staged to v12.1.7 2022-01-07 19:50:22 +00:00
Renovate Bot
dcdc449fc1 chore(deps): update dependency lint-staged to v12.1.6 2022-01-07 13:50:27 +00:00
Ivar Conradi Østhus
559275129d
Fix/bcryptjs (#1239)
fixes: #1108
2022-01-06 20:43:57 +01:00
Renovate Bot
fe66df2670 chore(deps): update dependency @types/uuid to v8.3.4 2022-01-06 17:59:44 +00:00
Ivar Conradi Østhus
3dee8bd42e
fix: update yarn.lock 2022-01-06 11:32:17 +01:00
Ivar Conradi Østhus
26b7da8b5c
feat: add support for cdnPrefix for static assets (#1191) 2022-01-06 10:31:00 +01:00
Renovate Bot
e409e9e751 fix(deps): update dependency unleash-frontend to v4.4.1 2022-01-05 21:19:26 +00:00
Renovate Bot
be67023a65 chore(deps): update dependency jest to v27.4.7 2022-01-05 16:55:15 +00:00
Renovate Bot
2189394fab chore(deps): update dependency @babel/core to v7.16.7 2022-01-05 12:45:07 +00:00
Ivar Conradi Østhus
a12944b3cc
fix: downgrade faker to 5.5.3 2022-01-05 11:00:54 +01:00
renovate[bot]
e96c01e53e
fix(deps): update dependency helmet to v5 (#1215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 10:03:04 +01:00
renovate[bot]
1dff025534
chore(deps): update dependency faker to v6 (#1227)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 10:02:03 +01:00
renovate[bot]
f70c139511
chore(deps): update dependency node-forge to v1 (#1228)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 10:01:39 +01:00
Renovate Bot
e814a5fd9a chore(deps): update dependency jest to v27.4.6 2022-01-05 02:37:57 +00:00
Renovate Bot
2478281521 chore(deps): update dependency @types/memoizee to v0.4.7 2022-01-04 14:03:51 +00:00
Renovate Bot
a20f5cdb77 chore(deps): update typescript-eslint monorepo to v5.9.0 2022-01-03 21:58:36 +00:00
Renovate Bot
c0ee93f9e2 chore(deps): update dependency eslint-plugin-import to v2.25.4 2022-01-03 03:56:57 +00:00
Renovate Bot
85d0a68efa chore(deps): update dependency lint-staged to v12.1.5 2022-01-03 01:15:43 +00:00
Renovate Bot
e7564e5f5e chore(deps): update dependency eslint to v8.6.0 2022-01-01 01:57:53 +00:00
Renovate Bot
4e0fd6cc6e chore(deps): update dependency @types/jest to v27.4.0 2021-12-30 23:47:12 +00:00
Renovate Bot
e8dbb0db98 chore(deps): update typescript-eslint monorepo to v5.8.1 2021-12-27 21:21:23 +00:00
Renovate Bot
0305afddc5 chore(deps): update dependency lint-staged to v12.1.4 2021-12-24 12:13:00 +00:00
Renovate Bot
9acec466c6 chore(deps): update dependency tsc-watch to v4.6.0 2021-12-22 04:26:35 +00:00
Renovate Bot
3a056c07c0 fix(deps): update dependency knex to v0.95.15 2021-12-22 02:49:17 +00:00
Renovate Bot
8cfc276487 chore(deps): update typescript-eslint monorepo to v5.8.0 2021-12-20 22:56:44 +00:00
Renovate Bot
897824179b chore(deps): update dependency lint-staged to v12.1.3 2021-12-18 12:28:50 +00:00
Renovate Bot
0e01cf3b28 chore(deps): update dependency eslint to v8.5.0 2021-12-18 02:26:54 +00:00
Renovate Bot
e37f35e89c chore(deps): update dependency ts-jest to v27.1.2 2021-12-16 18:42:46 +00:00
Renovate Bot
aa6ae7944c chore(deps): update typescript-eslint monorepo to v5.7.0 2021-12-14 02:55:33 +00:00
Renovate Bot
16c5b96f8c chore(deps): update dependency typescript to v4.5.4 2021-12-14 01:04:50 +00:00
Renovate Bot
ad8224f22f chore(deps): update dependency jest to v27.4.5 2021-12-13 22:16:28 +00:00
Renovate Bot
9f998a0ecb fix(deps): update dependency unleash-frontend to v4.4.0 2021-12-10 16:46:54 +00:00
Renovate Bot
db7c5aa240 chore(deps): update dependency ts-jest to v27.1.1 2021-12-10 12:26:41 +01:00
Renovate Bot
fc13052db0 chore(deps): update dependency jest to v27.4.4 2021-12-10 11:13:25 +01:00
Renovate Bot
6334486a7c chore(deps): update dependency typescript to v4.5.3 2021-12-10 02:07:57 +00:00
Renovate Bot
101c9ea75f chore(deps): update dependency eslint to v8.4.1 2021-12-07 05:19:47 +00:00
Renovate Bot
22dc142e86 chore(deps): update typescript-eslint monorepo to v5.6.0 2021-12-06 22:09:56 +00:00
Fredrik Oseberg
dbd01db7e1 fix: update frontend 2021-12-06 17:04:53 +01:00
Renovate Bot
5e1a733581 chore(deps): update dependency ts-jest to v27.1.0 2021-12-05 11:38:05 +00:00
Renovate Bot
99f314a888 chore(deps): update dependency prettier to v2.5.1 2021-12-04 19:09:50 +00:00
Renovate Bot
c1c7a91500 chore(deps): update dependency eslint to v8.4.0 2021-12-04 09:50:48 +00:00
Ivar Conradi Østhus
da4949163d fix: bump unleash-frontend to v4.3.0 2021-12-03 13:17:09 +01:00
Ivar Conradi Østhus
a3fe914519 chore: require json-schema 0.4.0 or higher 2021-12-03 13:17:09 +01:00
Fredrik Oseberg
f1c9c71110 chore: update frontend 2021-12-02 22:05:21 +01:00
Fredrik Oseberg
62afc52c9a chore: update frontend 2021-12-02 22:05:21 +01:00
Ivar Conradi Østhus
7d706260b2 fix: upgrade unleash-frontend to v4.3.0-beta.1 2021-12-02 22:05:21 +01:00
Renovate Bot
69383e17aa chore(deps): update dependency jest to v27.4.3 2021-12-01 17:43:08 +00:00
Renovate Bot
8d2f593883 chore(deps): update dependency jest to v27.4.2 2021-11-30 14:32:46 +00:00
Renovate Bot
b2dd2ad8eb chore(deps): update typescript-eslint monorepo to v5.5.0 2021-11-29 22:36:07 +00:00
Renovate Bot
d20fc54b80 chore(deps): update dependency jest to v27.4.0 2021-11-29 18:03:18 +00:00
renovate[bot]
5e195f0a50
chore(deps): update dependency lint-staged to v12 (#1104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-27 09:26:11 +01:00
Ivar Conradi Østhus
c318ee919d
fix: correct version number for unleash-frontend 2021-11-26 15:48:38 +01:00
Ivar Conradi Østhus
a355f23b9f
fix: require json-schema v0.4.0 or later (#1135) 2021-11-26 15:45:30 +01:00
Renovate Bot
44e118be5e chore(deps): update dependency prettier to v2.5.0 2021-11-25 18:12:51 +00:00
renovate[bot]
99a2bae0f9
chore(deps): update dependency eslint-config-airbnb-typescript to v16 (#1109)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-23 13:02:54 +01:00
Renovate Bot
4c4c1de0fb chore(deps): update dependency eslint to v8.3.0 2021-11-21 13:23:48 +00:00
Renovate Bot
3052eb53fc chore(deps): update dependency @types/js-yaml to v4.0.5 2021-11-19 20:00:49 +00:00
Renovate Bot
01b2937a3d chore(deps): update dependency @types/jest to v27.0.3 2021-11-19 14:55:55 +00:00
Renovate Bot
af3057f40d chore(deps): update dependency source-map-support to v0.5.21 2021-11-19 14:04:23 +00:00
Renovate Bot
e395dedbf2 chore(deps): update dependency @types/uuid to v8.3.3 2021-11-18 02:11:43 +00:00
Renovate Bot
becec43c77 chore(deps): update dependency typescript to v4.5.2 2021-11-17 21:46:12 +00:00
Renovate Bot
3df90596c0 chore(deps): update typescript-eslint monorepo to v5.4.0 2021-11-15 21:12:09 +00:00
Renovate Bot
5d88555be9 fix(deps): update dependency db-migrate to v0.11.13 2021-11-15 18:31:16 +00:00
Ivar Conradi Østhus
d8478dd928
feat: clean up events (#1089)
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-11-12 13:15:51 +01:00
Ivar Conradi Østhus
5b748a3cfc
fix: upgrade unleash-frontend to v4.2.13 2021-11-12 13:14:54 +01:00
renovate[bot]
f2b3325d42
chore(deps): update dependency eslint-config-airbnb-base to v15 (#1098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 14:04:45 +01:00
Renovate Bot
d22b8503fd chore(deps): update dependency eslint-plugin-import to v2.25.3 2021-11-10 10:49:42 +00:00
Renovate Bot
0b3c4fd613 fix(deps): update dependency knex to v0.95.14 2021-11-09 01:59:03 +00:00
renovate[bot]
6b30670ccb
chore(deps): update dependency eslint-config-airbnb-typescript to v15 (#1091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 22:58:28 +01:00
Renovate Bot
ec5b854ec5 chore(deps): update typescript-eslint monorepo to v5.3.1 2021-11-08 21:25:25 +00:00
Renovate Bot
09eb689355 chore(deps): update dependency eslint to v8.2.0 2021-11-06 03:07:13 +00:00
Renovate Bot
b5848a0f3a chore(deps): update dependency eslint-config-airbnb-typescript to v14.0.2 2021-11-05 11:45:42 +00:00
Renovate Bot
ce16c5a77b fix(deps): update dependency unleash-frontend to v4.2.12 2021-11-04 19:58:04 +00:00
Renovate Bot
49c0ee7fcf fix(deps): update dependency knex to v0.95.13 2021-11-03 00:35:31 +00:00
Lennart
759b592d90
fix: update mime library method signature to 2.X (#1078)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-11-02 23:43:16 +01:00
Martin Lehmann
b47e228181
fix: be explicit when specifying time & replace moment with date-fns (#1072) 2021-11-02 15:13:46 +01:00
Renovate Bot
55bec22754 chore(deps): update typescript-eslint monorepo to v5.3.0 2021-11-01 20:10:20 +00:00
Ivar Conradi Østhus
2c15430d68
fix: bump unleash-frontend to v4.2.11 2021-10-28 14:26:17 +02:00
Renovate Bot
45c4665476 fix(deps): update dependency knex to v0.95.12 2021-10-28 00:22:53 +00:00
Renovate Bot
cedc96d315 chore(deps): update dependency lint-staged to v11.2.6 2021-10-26 23:05:06 +00:00
Martin Lehmann
607b2a6657
fix: use date-fns for date/time maths instead of (wrong) Date#setHours (#1070)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-10-26 20:13:30 +02:00
Renovate Bot
5e32403e93 chore(deps): update dependency lint-staged to v11.2.5 2021-10-26 14:24:20 +00:00
Renovate Bot
3aedd5298a chore(deps): update typescript-eslint monorepo to v5.2.0 2021-10-25 21:20:34 +00:00
Renovate Bot
1c8f142699 chore(deps): update dependency lint-staged to v11.2.4 2021-10-23 22:28:25 +00:00
Renovate Bot
95fe1bc91c chore(deps): update dependency eslint to v8.1.0 2021-10-23 03:02:34 +00:00
Renovate Bot
ab1e5f3f97 chore(deps): update dependency @types/js-yaml to v4.0.4 2021-10-23 01:29:24 +00:00
Renovate Bot
5169a0bcd3 chore(deps): update dependency ts-node to v10.4.0 2021-10-23 00:06:53 +00:00
Ivar Conradi Østhus
81217da7a8
fix: bump unleash-frontend to 4.2.10 2021-10-22 13:42:18 +02:00
Ivar Conradi Østhus
66a1d1b6cf
fix: bump unleash-frontend to 4.2.9 2021-10-21 22:36:48 +02:00
renovate[bot]
9b3e62c56f
chore(deps): update dependency eslint to v8 (#1012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 21:07:27 +02:00
Renovate Bot
809f1acdbf chore(deps): update dependency ts-node to v10.3.1 2021-10-21 18:28:40 +00:00
Ivar Conradi Østhus
e15788fe94
fix: bump unleash-frontend to 4.2.8 2021-10-21 10:56:31 +02:00
renovate[bot]
6e2713ad9c
chore(deps): update typescript-eslint monorepo to v5 (#1018)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 10:29:38 +02:00
Renovate Bot
e345980dcf chore(deps): update dependency husky to v7.0.4 2021-10-21 06:03:10 +00:00
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
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
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
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
dependabot[bot]
2f5e076699
chore(deps): bump ini from 1.3.5 to 1.3.7 (#670)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 14:49:23 +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
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
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
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
8ac4a243b2
Fix/upgrade knex (#630) 2020-09-18 09:05:09 +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
45783dc3a2 fix: upgrade to unleash-frontend v3.5.1 2020-08-11 12:26:40 +02:00
Ivar Conradi Østhus
011c07d61f fix: upgrade unleash-frontend to latest 2020-08-10 22:16:40 +02:00
Ivar Conradi Østhus
83dda55172
feat: add stale property on toggle (#619) 2020-08-07 10:46:35 +02:00
Ivar Conradi Østhus
86f89221a4 fix: update yarn.lock 2020-08-06 11:31:58 +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
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
dependabot[bot]
77e7ed7f1f
chore(deps): bump lodash from 4.17.15 to 4.17.19 (#610)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 16:03:54 +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
5062f97f62 fix: upgrade unleash-frontend to verson 3.3.5 2020-06-15 15:33:08 +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
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
49e0c0fa29 fix: upgrade unleash-frontend to 3.3.1 2020-05-12 23:04:13 +02:00
Ivar Conradi Østhus
7a60af2edb fix: pg dependency for db-migrate as well 2020-05-02 09:57:03 +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
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
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
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
dependabot[bot]
0679886360
chore(deps): bump acorn from 7.0.0 to 7.1.1 (#571)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.0.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.0.0...7.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-14 07:39:00 +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
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
Ivar Conradi Østhus
713da6e2fe fix: upgrade unleash-frontend to version 3.2.17 2020-02-27 23:17:12 +01:00
Ivar Conradi Østhus
5a893bb05d fix: upgrade unleash-frontend to version 3.2.16 2020-02-27 21:43:54 +01:00
Ivar Conradi Østhus
93aa34256e fix: use gravatar-url instead of gravatar dep 2020-02-21 23:20:06 +01:00
Ivar Conradi Østhus
8c51aaeb5b fix: upgrade lint-staged to latest 2020-02-21 22:15:49 +01:00
Ivar Conradi Østhus
8d90aa1b0b fix: upgrade @hapi/joi to version 17.1.0 2020-02-21 22:14:40 +01:00
Ivar Conradi Østhus
9c59447414 fix: upgrade husky to version 4.2.3 2020-02-21 17:04:24 +01:00
Ivar Conradi Østhus
7720ce5ee8 fix: remove prometheus-gc-stats 2020-02-21 16:53:57 +01:00
greenkeeper[bot]
03ed13058a
fix: Update prom-client to the latest version 🚀 (#562)
* fix(package): update prom-client to version 12.0.0

* chore(package): update lockfile yarn.lock
2020-02-20 10:54:13 +01:00
Ivar Conradi Østhus
a02bfc4098 chore: update lolex to latest version 2020-02-20 08:49:43 +01:00
Ivar Conradi Østhus
686b19d81e fix: upgrade unleash-frontend to version 3.2.15 2020-02-20 08:34:33 +01:00
Ivar Conradi Østhus
ec2c60e91c fix: upgrade unleash-frontend to version 3.2.14 2020-02-20 08:34:33 +01:00
Ivar Conradi Østhus
8bd17564ca fix: upgrade unleash-frontend 3.2.13 2020-02-20 08:34:33 +01:00
Ivar Conradi Østhus
1ebe793cd9 fix: upgrade unleash-frontend to version 3.2.12 2020-02-20 08:34:33 +01:00
Ivar Conradi Østhus
fbd60efa8f fix: Upgrade unleash-frontend to version 3.2.11 2020-02-20 08:34:32 +01:00
Ivar Conradi Østhus
73350a3cec fix: update yargs to version 15.1.0 2020-02-20 08:34:32 +01:00
Ivar Conradi Østhus
b532c86695 fix: Upgrade to @hapi/joi (#543) 2020-02-20 08:34:32 +01:00
Ivar Conradi Østhus
4089a40fa3 fix: update nyc to version 15.0.0 2020-02-20 08:34:32 +01:00
dependabot[bot]
49da01937e chore(deps): bump handlebars from 4.1.2 to 4.5.3 (#542)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-20 08:34:32 +01:00
ivaosthu
49cb63ac8e fix: bump unleash-frontend to version 3.2.10 2020-02-20 08:34:32 +01:00
ivaosthu
dd3c60e063 fix: update @types/node to latest 2020-02-20 08:34:31 +01:00
greenkeeper[bot]
d193a9842c fix: Update yargs to to version 15.0.1
* fix(package): update yargs to version 15.0.1

* chore(package): update lockfile yarn.lock
2020-02-20 08:34:31 +01:00
greenkeeper[bot]
8f00ffeaf5 fix: Update log4js to the latest version 🚀 (#524)
* fix(package): update log4js to version 6.0.0

* chore(package): update lockfile yarn.lock
2020-02-20 08:34:31 +01:00
ivaosthu
caf135c7ec fix: update knex to version 0.20.0 2020-02-20 08:34:31 +01:00
ivaosthu
b3c1bc38fa fix: update yarn.lock 2020-02-20 08:34:31 +01:00
Ivar Conradi Østhus
cdd483ffec feat: Add new Flexible Rollout Strategy (#517)
* feat: Add new Flexible Rollout Strategy

fixes #516

* feat: update unleash-frontend to version 3.2.8

* chore: update flexible rollout documentation
2020-02-20 08:34:31 +01:00
dependabot[bot]
48e9b68abd fix: bump knex from 0.19.4 to 0.19.5 (#513)
Bumps [knex](https://github.com/tgriesser/knex) from 0.19.4 to 0.19.5.
- [Release notes](https://github.com/tgriesser/knex/releases)
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tgriesser/knex/commits/0.19.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-20 08:34:30 +01:00
ivaosthu
2076d3a47d fix: Update unleash-frontend to version 3.2.7 2020-02-20 08:34:30 +01:00
greenkeeper[bot]
c86c035c6c fix: Update lolex to the latest version 🚀 (#508)
* chore(package): update lolex to version 5.0.0

* chore(package): update lockfile yarn.lock
2020-02-20 08:34:30 +01:00
ivaosthu
2d9e80ffca fix: Only use set-value 2.0.1 2020-02-20 08:34:30 +01:00
ivaosthu
abf1124391 fix: Update dev-dependencies
coveralls@3.0.6, lolex@4.2.0, proxyquire@2.1.3, superagent@5.1.0
2020-02-20 08:34:30 +01:00
ivaosthu
a182460242 fix: upgrade prettier to version 1.18.2 2020-02-20 08:34:30 +01:00
ivaosthu
66a918a77e fix: Upgrade express to version 4.17.1 2020-02-20 08:34:30 +01:00
ivaosthu
e380e70355 fix: update eslint to version 6.5.1 2020-02-20 08:34:30 +01:00
ivaosthu
34f74a5459 fix: update @passport-next/passport to version 3.0.1 2020-02-20 08:34:30 +01:00
ivaosthu
c4d950c13f fix: remove unused dependency: commander 2020-02-20 08:34:30 +01:00
dependabot[bot]
7a8c9935c5 chore(deps): bump mixin-deep from 1.3.1 to 1.3.2 (#487)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-20 08:34:29 +01:00
ivaosthu
7b81295551 chore: upgrade knex to version 0.19.4 2020-02-20 08:34:29 +01:00
ivaosthu
d1de2abd8a chore: upgrade @types/node to version 12.7.9 2020-02-20 08:34:29 +01:00
ivaosthu
68e3ff93b0 chore: upgrade lint-staged to version 9.4.1 2020-02-20 08:34:29 +01:00
ivaosthu
8d63e7e7f5 chore: upgrade async to version 3.1.0 2020-02-20 08:34:29 +01:00
ivaosthu
f54f5727de chore: upgrade supertest to version 4.0.2 2020-02-20 08:34:29 +01:00
ivaosthu
f4bd550818 chore: upgrade ava to version 2.4.0 2020-02-20 08:34:28 +01:00
ivaosthu
c1c5218aaa fix: remove unused depenency yallist 2020-02-20 08:34:28 +01:00
ivaosthu
8f2f41469e fix: Bump yargs to version 14.0.0 2020-02-20 08:34:28 +01:00
ivaosthu
bf4ec62e22 fix: bump husky to version 3.0.8 2020-02-20 08:34:28 +01:00
ivaosthu
b439e3639e fix: Upgrade log4js to version 5.1.0
closes #479
2020-02-20 08:34:28 +01:00
ivaosthu
e5d4cec107 chore: increase test-logging 2020-02-20 08:34:28 +01:00
ivaosthu
f380918810 chore: bump pg to 7.12.1 2020-02-20 08:34:28 +01:00
greenkeeper[bot]
67ad9c4498 fix(package): update commander to version 3.0.0
* fix(package): update commander to version 3.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2020-02-20 08:34:27 +01:00
dependabot[bot]
01a5552317 chore(deps): bump lodash.merge from 4.6.1 to 4.6.2 (#474)
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-20 08:34:27 +01:00
ivaosthu
a7cd7f76c5 fix: update knex to version 0.19.1 2020-02-20 08:34:27 +01:00
ivaosthu
adb3d588f1 remove unused dependency install 2020-02-20 08:34:27 +01:00
ivaosthu
e2c34b1e8e fix: Upgrade lint-staged to version 9.2.1 2020-02-20 08:34:27 +01:00
ivaosthu
097d8cdb70 fix: Upgrade husky to version 3.0.1 2020-02-20 08:34:27 +01:00
ivaosthu
067a84869a fix: upgrade eslint to version 6.1.0 2020-02-20 08:34:26 +01:00
ivaosthu
52de24b6e8 fix: Update unleash-frontend to version 3.2.6 2020-02-20 08:34:26 +01:00
ivaosthu
da4d1a5b66 fix: upgrade ava to 2.2.0 2020-02-20 08:34:26 +01:00
greenkeeper[bot]
21d2deebd3 fix: Update @passport-next/passport to the latest version 🚀 (#469)
* chore(package): update @passport-next/passport to version 3.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2020-02-20 08:34:26 +01:00
ivaosthu
3f31048c6f fix: Upgrade knex to version 0.17.5
closes #447
2020-02-20 08:34:26 +01:00
greenkeeper[bot]
1db0d94e0f chore: Update db-migrate-pg to version 1.0.0 2020-02-20 08:34:26 +01:00
Ivar Conradi Østhus
6d4650287d fix: Update nyx to version 14.1.1
closes #451
2020-02-20 08:34:25 +01:00