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

979 Commits

Author SHA1 Message Date
Fredrik Oseberg
0a9e3fdb8f 4.8.0-beta.1 2022-02-11 12:15:47 +01:00
Fredrik Oseberg
098a5f03fd chore: update frontend 2022-02-11 12:15:38 +01:00
Fredrik Oseberg
99e6012ceb 4.8.0-beta.0 2022-02-11 11:35:02 +01:00
Fredrik Oseberg
2026bbeda6 chore: update frontend 2022-02-11 11:34:31 +01:00
Renovate Bot
ca37b5701b fix(deps): update dependency knex to v1.0.3 2022-02-11 01:38:04 +00:00
Ivar Conradi Østhus
141ea5fdb0
4.7.2 2022-02-10 14:12:15 +01:00
Ivar Conradi Østhus
57c653800b
fix: upgrade unleash-frontend to v4.7.2 2022-02-10 14:11:43 +01:00
Ivar Conradi Østhus
d2be2e9167
4.7.1 2022-02-09 19:30:01 +01:00
Renovate Bot
cc74f1fe8c chore(deps): update dependency @babel/core to v7.17.2 2022-02-08 18:47:50 +00:00
Renovate Bot
a8adfccf98 chore(deps): update dependency jest to v27.5.1 2022-02-08 16:24:26 +00:00
Renovate Bot
64712b81a8 chore(deps): update typescript-eslint monorepo to v5.11.0 2022-02-07 20:28:01 +00:00
Renovate Bot
fd607f4293 chore(deps): update dependency ts-node to v10.5.0 2022-02-07 19:01:28 +00:00
Renovate Bot
fa95a715d9 chore(deps): update dependency jest to v27.5.0 2022-02-05 13:03:17 +00:00
Renovate Bot
00b62d2bba fix(deps): update dependency unleash-frontend to v4.7.1 2022-02-04 12:07:57 +00:00
Fredrik Oseberg
9ccba98462 4.7.0 2022-02-03 14:37:17 +01:00
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
7e61ead20f 4.6.5 2022-02-02 00:32:43 +01:00
Fredrik Oseberg
73c8f049c8 chore: update frontend 2022-02-02 00:31:19 +01:00
Ivar Conradi Østhus
e5500539ad
4.6.4 2022-02-01 23:06:16 +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
Ivar Conradi Østhus
d5c7ffa96a
4.6.3 2022-02-01 21:04:41 +01: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
Fredrik Oseberg
4d87230ab7 4.6.1 2022-01-31 10:00:44 +01:00
Ivar Conradi Østhus
013a4b0711
4.6.0 2022-01-31 09:03:54 +01: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
50364cd298 4.6.0-beta.9 2022-01-26 14:03:59 +01: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
Fredrik Oseberg
baa096651f 4.6.0-beta.8 2022-01-21 16:20:29 +01: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
fc4adb9cf2 4.6.0-beta.7 2022-01-14 12:33:03 +01:00
Fredrik Oseberg
bd517d1d36 4.6.0-beta.6 2022-01-14 12:30:34 +01:00
Fredrik Oseberg
4b5da3f66c chore: update frontend 2022-01-14 12:30:34 +01:00
Fredrik Oseberg
0d8a1e8cb9 4.6.0-beta.5 2022-01-13 18:16:49 +01:00
Fredrik Oseberg
793ec8ebbc chore: update frontend 2022-01-13 18:16:39 +01:00
Fredrik Oseberg
1766aa876a 4.6.0-beta.4 2022-01-13 14:44:55 +01:00
Fredrik Oseberg
b95e1d872e chore: update frontend 2022-01-13 14:44:45 +01:00
Fredrik Oseberg
5696b0fff7 4.6.0-beta.3 2022-01-13 11:17:30 +01:00
Fredrik Oseberg
ab51d23d19 4.6.0-beta.2 2022-01-13 11:17:12 +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
571dcf5d1c
4.5.1 2022-01-06 20:46:04 +01: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
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
Ivar Conradi Østhus
951d4fc6bc
4.4.5 2022-01-03 20:31:24 +01: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
Ivar Conradi Østhus
8a38b9e456 4.4.4 2021-12-17 04:35:17 +01:00
Ivar Conradi Østhus
0927b1d8ba 4.4.3 2021-12-17 03:48:17 +01:00
Renovate Bot
e37f35e89c chore(deps): update dependency ts-jest to v27.1.2 2021-12-16 18:42:46 +00:00
Christopher Kolstad
e763e437ba
v4.4.2 (#1190) 2021-12-16 15:18:39 +01:00
Christopher Kolstad
b05216bc76 v4.4.1 2021-12-15 18:48:54 +01: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
Ivar Conradi Østhus
dc78af732d 4.4.0 2021-12-12 19:53:25 +01: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
5df0e9f75e 4.3.2 2021-12-06 17:04:53 +01: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
c968107124 4.3.1 2021-12-03 13:17:09 +01:00
Ivar Conradi Østhus
da4949163d fix: bump unleash-frontend to v4.3.0 2021-12-03 13:17:09 +01:00
Ivar Conradi Østhus
9b7c9b07bc 4.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
dd982d5a08 4.3.0-beta.3 2021-12-02 22:05:21 +01:00
Fredrik Oseberg
f1c9c71110 chore: update frontend 2021-12-02 22:05:21 +01:00
Fredrik Oseberg
c63468479e 4.3.0-beta.2 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
da18e1523b 4.3.0-beta.1 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
f8c2188776
4.2.3 2021-11-12 13:19:10 +01: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