1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-23 20:07:40 +02:00
Commit Graph

7078 Commits

Author SHA1 Message Date
Youssef Khedher
39b5adb950 feat: add create and edit project screen (NEW) (#602)
* feat: add create and edit project screen

* feat: fix correct permission and validate projectId

* feat: remove unused variable and logs

* feat: remove unused import

* fix: delete unused project components

* fix: add unique validation

* fix: add unused import

* fix: project header

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-19 14:28:55 +01:00
Renovate Bot
416d67da34 chore(deps): update dependency @types/node to v14.18.9 2022-01-19 10:23:51 +00:00
sighphyre
53034e837f chore: Add compatability table for Rust SDK 2022-01-19 09:32:37 +02: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
Youssef Khedher
7baf8400ca feat: add create and edit screen for tag-types (NEW) (#603)
* feat: add create and edit screen for tag-types

* feat: update Edit and create component with permissions

* refactor: add TagForm type to react FC

* fix: routes

* fix: add edit button

* fix: update snapshot

* fix: update permission

* fix: permission

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-18 14:35:50 +01:00
Youssef Khedher
dd64f7110f Merge branch 'main' into refactor/create-token 2022-01-18 13:14:27 +01:00
Thomas Heartman
8868881f61
Merge pull request #1276 from Unleash/a11y/fix-contrast-on-hover-links-in-footer
fix(docs/a11y): fix lack of contrast in on hovered links in footer
2022-01-18 12:40:44 +01:00
Thomas Heartman
e30ff2b822
Merge pull request #1206 from Unleash/chore/update-workflows
chore(workflows): update with new branch names
2022-01-18 12:27:31 +01:00
Youssef Khedher
80e80805f7 feat: add edit and create user screen (NEW) (#601)
* feat: add edit and create user screen

* refactor: rename create user component

* fix: add missing documentation link

* fix: remove unused dependencies

* feat: add confirm screen

* refactor: change UserForm and delete unused components

* refactor: remove toast when create new user

* fix: add margin top to form elements

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-01-18 12:05:48 +01:00
Thomas Heartman
4899eff20e fix(docs/a11y): fix lack of contrast in on hovered links in footer
This commit changes the hover color of links in the footer to keep it
accessible.

The color will be the exact same as the un-hovered version. This is in
line with the other links in the documentation. The links _do_ get
underlined when hovered, so there is still a visual distinction
between the states.

I've added the variable in the `footer` section instead of in `:root`
because the variable I assign it to (`--ifm-footer-link-color`) gets
overridden closer to the footer, so if you set it in `:root`, you end
up with the wrong value.

addresses and closes https://github.com/Unleash/unleash.github.io/issues/8
2022-01-18 11:46:32 +01:00
Youssef Khedher
1b097f85d6 feat: add create and edit environment screen (NEW) (#605)
* feat: add create and edit environment screen

* fix: remove environment success screen

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-18 11:23:24 +01:00
Thomas Heartman
184a18ba41
Merge branch 'master' into chore/update-workflows 2022-01-18 11:16:24 +01:00
Youssef Khedher
d3c8d0df0b Merge branch 'main' into refactor/create-token 2022-01-18 10:39:10 +01:00
Thomas Heartman
114542803d docs(readme): remove travis badge; small fixes (#606)
This commit removes the Travis badge (we haven't built with Travis for a year!) and adds a few small wording and structural fixes.
2022-01-18 10:33:53 +01:00
Youssef
4774347946 refactor: change create token form 2022-01-18 10:29:11 +01:00
Thomas Heartman
647a14ce56
Merge pull request #1273 from Unleash/a11y/fix-docs-link-contrast
fix: use the Unleash purple for links / increase contrast
2022-01-18 08:35:48 +01:00
Renovate Bot
380c182226 chore(deps): update typescript-eslint monorepo to v5.10.0 2022-01-17 21:27:58 +00:00
Renovate Bot
7b199f3abb chore(deps): update dependency @types/node to v14.18.7 2022-01-17 21:17:12 +00:00
Thomas Heartman
a6f9c4f621 fix: use the Unleash purple for links / increase contrast
This increases the contrast from 3.42 to above 4.5, in compliance with
the AA standard.
2022-01-17 15:51:15 +01:00
Thomas Heartman
686722643b
Merge pull request #1268 from Unleash/docs/add-steps-for-running-proxy-via-node
docs: add steps for running the proxy via Node
2022-01-17 15:29:14 +01:00
Thomas Heartman
cf35efedee
Apply suggestions from code review
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-01-17 14:55:06 +01:00
Renovate Bot
61839e418f chore(deps): update dependency @types/node to v14.18.6 2022-01-17 13:51:24 +00:00
Youssef Khedher
624f1a84d2 feat: add dont show again when update prod env (#588)
* feat: add dont show again when update prod env

* fix: remove unused dependency

* fix: update key

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-17 12:39:10 +01:00
Youssef Khedher
b209368c84 feat: add create api token screen (NEW PR) (#600)
* feat: add create api token screen

* fix: update headers

* fix: remove old api create

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-17 11:56:53 +01:00
Youssef Khedher
3a41de2246 feat/update project access (#571)
* feat: add user guidance in project access tab

* feat: add role description to the menu list

* feat: add tooltip to delete button

* feat: add role description to add user menu

* feat: auto select user when there is only one option

* fix: refactor role select

* fix: remove minwidth from form control

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-17 11:41:44 +01:00
Renovate Bot
21ba2d8b7c chore(deps): update dependency node-fetch to v2.6.7 2022-01-16 16:02:53 +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
Youssef Khedher
182d566895 feat/rbac roles (#562)
* feat: create screen

* fix: import accordion summary

* feat: add accordions

* fix: add codebox

* feat: select permissions

* fix: permission checker

* fix: update permission checker

* feat: wire up role list

* fix: change icon color in project roles list

* fix: add color to icon in project roles

* add confirm dialog on role deletion

* feat: add created screen

* fix: cleanup

* fix: update access permissions

* fix: update admin panel

* feat: add edit screen

* fix: use color from palette and show toast when fails

* fix: refactor

* feat: validation

* feat: implement checked all

* fix: experimental toast

* fix: error handling

* fix: toast

* feat: unique name validation

* fix: update toasts

* fix: remove toast

* fix: reset flag

* fix: remove unused vars

* fix: update tests

* feat: add error icon for toast

* fix: replace wrong import for setToastData

* feat: Patch keying on ui to handle uniqueness for permissions across multiple envs

* fix: hasAccess handles *

* fix: update permission switch

* fix: use flag for environments rbac

* fix: do not include check all keys in payload

* fix: filter roles

* fix: account for new permissions in variants list

* fix: use effect on length property

* fix: set polling interval on user

* 4.5.0-beta.0

* fix: set initial permissions correctly to avoid race condition

* fix: handle activeEnvironment when it is null

* fix: remove unused imports

* fix: unused imports

* fix: Include missing project in hasAccess for deleteinng a tag

* fix: Move add/delete tag to use update feature permissions

* fix: use rest parameter

* fix: remove sandbox from scripts

* 4.6.0-beta.1

* fix: remove loading deduping

* fix: disable editing on builtin roles

* fix: check all

* fix: feature overview environment

* fix: refetch user on project create

* fix: update snaphots

* fix: frontend permissions

* fix: delete create confirm

* fix: remove unused permission

* 4.6.0-beta.4

* fix: update permissions

* fix: permissions

* fix: set error to string

* 4.6.0-beta.5

* fix: add permissions for project view

* fix: add permissions to useEffect deps

* fix: update permission for move feature toggle

* fix: add permissions data to useEffect

* fix: move settings

* fix: key on confetti

* fix: refetch project permissions on environment create/delete

* fix: optional coalescing error object

* fix: remove logging error

* fix: reorder disable importance in permissionbutton

* fix: add project roles to menu

* fix: add disabled check to revive

* fix: update snapshots

* fix: change text to select all

* fix: change text to select

* 4.6.0-beta.6

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-01-14 15:50:02 +01:00
Thomas Heartman
611602c781 docs: add steps for running the proxy via Node
Also: restructure the steps relating to running it via docker to align
better and to avoid repeating information.
2022-01-14 13:53:09 +01: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
Thomas Heartman
e8a3d6e6f1
Merge pull request #1238 from Unleash/docs/custom-project-roles
docs: describe new custom project roles
2022-01-14 12:28:45 +01:00
Thomas Heartman
55a7cefc53 docs: add note about when the new configuration option was added. 2022-01-14 12:20:31 +01:00
sighphyre
dc920e85ba
Fix/add project events (#1267)
* fix: wip project events

* fix: Include deletion events for when a user is removed from a project role

Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2022-01-14 12:14:02 +01:00
sighphyre
e164e3d835
Merge pull request #1266 from Unleash/feat/block-deletion-of-root-roles
fix: Prevent deletion of built in roles
2022-01-14 12:55:55 +02:00
Thomas Heartman
39e79c064f
Apply suggestions from code review
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-01-14 11:28:47 +01:00
Fredrik Strand Oseberg
1989c53fb0
fix: enable tags and validate for legacy api (#1264)
* fix: enable tags and validate for legacy api

* fix: move delete tag

* fix: test name

* fix: move /api/admin/features
2022-01-14 11:16:17 +01:00
Thomas Heartman
299afd97ff docs(chore): update images; remove empty space. 2022-01-14 11:09:32 +01:00
Thomas Heartman
7897ee2e87 docs: add how-to screenies for cpr 2022-01-14 10:59:18 +01:00
sighphyre
bfcad65cdc fix: Prevent deletion of built in roles 2022-01-14 10:30:34 +02:00
Ivar Conradi Østhus
c1826ca79a
fix: incorrect snapshot 2022-01-14 09:23:32 +01:00
Thomas Heartman
5f581f765e
Merge pull request #1263 from Unleash/docs/group-sdks
docs: group sdks into non-collapsible categories: server and client
2022-01-14 08:56:04 +01:00
Thomas Heartman
308f5ab4d3 docs: add new cpr permissions, update existing ones 2022-01-14 08:23:17 +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