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

934 Commits

Author SHA1 Message Date
Renovate Bot
a50f341334 fix(deps): update dependency unleash-frontend to v4.8.0-beta.4 2022-02-14 20:38:36 +00:00
Renovate Bot
b969773092 fix(deps): update dependency unleash-frontend to v4.8.0-beta.3 2022-02-14 14:44:40 +00:00
Renovate Bot
30682070e7 chore(deps): update dependency eslint to v8.9.0 2022-02-13 21:46:02 +00:00
Renovate Bot
d11541150d chore(deps): update dependency lint-staged to v12.3.4 2022-02-13 19:34:00 +00:00
Ivar Conradi Østhus
08df9a1d47
fix: increase timeout for tests 2022-02-11 19:17:25 +01:00
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