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

956 Commits

Author SHA1 Message Date
Christopher Kolstad
8651ff2cd5
4.8.2 2022-03-01 12:51:33 +01:00
Renovate Bot
49f1a9f03e chore(deps): update dependency typescript to v4.6.2 2022-03-01 04:52:58 +00:00
Renovate Bot
4c34757f01 chore(deps): update typescript-eslint monorepo to v5.13.0 2022-02-28 23:14:20 +00:00
Renovate Bot
ecfa80746b chore(deps): update dependency eslint to v8.10.0 2022-02-26 01:54:23 +00:00
Christopher Kolstad
8906bf99ff
4.8.1 2022-02-25 11:30:15 +01:00
Ivar Conradi Østhus
d401a8bd59
4.8.0 2022-02-24 14:12:04 +01:00
Renovate Bot
6e09fa424e fix(deps): update dependency unleash-frontend to v4.8.0 2022-02-24 11:11:46 +00:00
Renovate Bot
f097822084 fix(deps): update dependency unleash-frontend to v4.8.0-beta.10 2022-02-23 18:42:20 +00:00
Renovate Bot
2580bb0df3 chore(deps): update dependency @types/jest to v27.4.1 2022-02-23 12:24:04 +00:00
Fredrik Oseberg
e66466b2fb 4.8.0-beta.2 2022-02-22 22:59:47 +01:00
Fredrik Oseberg
e62cbb6eda chore: update fronted to version 4.8.0-beta.8 2022-02-22 22:59:26 +01:00
Renovate Bot
2734440bdc chore(deps): update typescript-eslint monorepo to v5.12.1 2022-02-21 20:41:16 +00:00
Renovate Bot
18309f73b2 fix(deps): update dependency unleash-frontend to v4.8.0-beta.7 2022-02-21 18:29:11 +00:00
Christopher Kolstad
34e5034547
fix: reduce project overview query count to 2. (#1356)
* fix: reduce project overview query count to 2.

Previously we've been doing N+1 queries for projects, this now changes to doing one query for projects with feature counts, and then one query for membercounts for all projects and merging that with the first query.
2022-02-21 12:46:28 +01:00
Renovate Bot
3610b28406 chore(deps): update dependency eslint-config-prettier to v8.4.0 2022-02-19 12:59:46 +00:00
Renovate Bot
c9177ecf6c chore(deps): update dependency @babel/core to v7.17.5 2022-02-17 21:16:10 +00:00
Renovate Bot
6d8f401601 chore(deps): update dependency @babel/core to v7.17.4 2022-02-16 02:57:09 +00:00
Renovate Bot
2b9825c342 chore(deps): update dependency @types/node-fetch to v2.6.1 2022-02-16 00:14:03 +00:00
Renovate Bot
10d2762d56 chore(deps): update dependency @babel/core to v7.17.3 2022-02-15 19:13:11 +00:00
Renovate Bot
692cca6b0c fix(deps): update dependency unleash-frontend to v4.8.0-beta.5 2022-02-15 12:54:40 +00:00
Renovate Bot
551b248969 chore(deps): update dependency @types/node-fetch to v2.6.0 2022-02-15 03:06:33 +00:00
Renovate Bot
415c711c1c chore(deps): update typescript-eslint monorepo to v5.12.0 2022-02-14 22:43:21 +00:00
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