Gastón Fournier
e8e1d6e9f0
fix: path metric labels ( #6400 )
...
## About the changes
Some of our metrics are not labeled correctly, one example is
`<base-path>/api/frontend/client/metrics` is labeled as
`/client/metrics`. We can see that in internal-backstage/prometheus:
![image](https://github.com/Unleash/unleash/assets/455064/0d8f1f40-8b5b-49d4-8a88-70b523e9be09 )
This issue affects all endpoints that fail to validate the request body.
Also, endpoints that are rejected by the authorization-middleware or the
api-token-middleware are reported as `(hidden)`.
To gain more insights on our api usage but being protective of metrics
cardinality we're prefixing `(hidden)` with some well known base urls:
https://github.com/Unleash/unleash/pull/6400/files#diff-1ed998ca46ffc97c9c0d5d400bfd982dbffdb3004b78a230a8a38e7644eee9b6R17-R33
## How to reproduce:
Make an invalid call to metrics (e.g. stop set to null), then check
/internal-backstage/prometheus and find the 400 error. Expected to be at
`path="/api/client/metrics"` but will have `path=""`:
```shell
curl -H"Authorization: *:development.unleash-insecure-client-api-token" -H'Content-type: application/json' localhost:4242/api/client/metrics -d '{
"appName": "bash-test",
"instanceId": "application-name-dacb1234",
"environment": "development",
"bucket": {
"start": "2023-07-27T11:23:44Z",
"stop": null,
"toggles": {
"myCoolToggle": {
"yes": 25,
"no": 42,
"variants": {
"blue": 6,
"green": 15,
"red": 46
}
},
"myOtherToggle": {
"yes": 0,
"no": 100
}
}
}
}'
```
2024-03-05 15:25:06 +01:00
Christopher Kolstad
a44c3a3fa7
task: added scim id to user ( #6439 )
...
SCIM synchronizations requires a stable id no matter how many changes
are made to username and email (our other unique fields). In addition,
exposing internal incremented database ids to an external service (our
current id field) feels insecure. Our plan is to create either a uuidv7
or ulid when scim operations are performed against the user, so the
external scim provisioner has a stable globally unique id to use to
refer to the users they're modifying.
2024-03-05 14:48:19 +01:00
Mateusz Kwasniewski
5d00157b7c
refactor: segment in feature oriented architecture ( #6434 )
2024-03-05 14:45:41 +01:00
David Leek
9eb4e7101a
chore: bump OSS main version to 5.10 ( #6438 )
...
## About the changes
Bumps OSS main package.json version to 5.10.0+main as that's what is
shown to Pro
2024-03-05 14:25:52 +01:00
andreas-unleash
dc7a715386
Fix: add created at to environment type trends ( #6437 )
...
Add created_at to environment_type_trends table for easy sorting
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-05 15:10:13 +02:00
Nuno Góis
86a795e87c
chore: new actions table UI ( #6435 )
...
https://linear.app/unleash/issue/2-1995/ui-feature-rename-adapt-the-actions-ui
https://linear.app/unleash/issue/2-1988/nice-to-have-last-action-status-on-the-action-sets-table
Brings the project actions table UI up to par with the new designs,
implementing some features that were discussed with UX.
![image](https://github.com/Unleash/unleash/assets/14320932/1a8ef47d-ab33-4284-9650-4c2481dd16dc )
![image](https://github.com/Unleash/unleash/assets/14320932/c19f6691-67a5-4abc-a546-837e25cad388 )
![image](https://github.com/Unleash/unleash/assets/14320932/61e3f221-ae93-4d87-98f1-db2782285d2e )
2024-03-05 11:33:34 +00:00
Mateusz Kwasniewski
454f44dec5
refactor: Switch client feature toggles to segment read model ( #6425 )
2024-03-05 11:15:22 +01:00
andreas-unleash
62361847f5
Feat: add enviroment type trends table ( #6432 )
...
Creates the environment_type_trends table to store aggregated metrics
Closes: #
[1-2124](https://linear.app/unleash/issue/1-2124/create-the-table-to-store-weekly-aggregation )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-05 10:51:32 +02:00
Tymoteusz Czech
6cede446e5
feat(insights): placeholder for empty metrics ( #6422 )
2024-03-05 09:38:17 +01:00
Tymoteusz Czech
6678012b03
feat: add menu item for insights ( #6420 )
2024-03-05 09:38:05 +01:00
Nuno Góis
de5a0f2825
chore: add new signals icon instead of webhook icon ( #6427 )
...
https://linear.app/unleash/issue/2-2002/add-new-signals-icon-instead-of-using-the-webhooks-icon
Adds a new icon for signals, instead of using the same icon as webhooks.
Includes some slight refactoring.
![image](https://github.com/Unleash/unleash/assets/14320932/51402a4b-99c5-4a09-9c6c-01f87ca4651c )
![image](https://github.com/Unleash/unleash/assets/14320932/c80e308b-a1f2-4a4a-bfc4-2ed2cbb59563 )
2024-03-05 08:16:44 +00:00
Mateusz Kwasniewski
095b6eca84
refactor: playground uses segment read model ( #6424 )
2024-03-05 08:34:26 +01:00
renovate[bot]
62dc77db16
chore(deps): update dependency @types/semver to v7.5.8 ( #6430 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/semver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver ))
| [`7.5.7` ->
`7.5.8`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.5.7/7.5.8 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fsemver/7.5.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fsemver/7.5.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fsemver/7.5.7/7.5.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fsemver/7.5.7/7.5.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 01:47:37 +00:00
renovate[bot]
c8fc804f73
chore(deps): update dependency @types/react to v17.0.76 ( #6429 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ))
| [`17.0.75` ->
`17.0.76`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.75/17.0.76 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/17.0.76?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/17.0.76?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/17.0.75/17.0.76?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/17.0.75/17.0.76?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 22:19:10 +00:00
renovate[bot]
d3cca81573
chore(deps): update dependency @types/pg to v8.11.2 ( #6428 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/pg](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg ))
| [`8.11.1` ->
`8.11.2`](https://renovatebot.com/diffs/npm/@types%2fpg/8.11.1/8.11.2 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fpg/8.11.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fpg/8.11.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fpg/8.11.1/8.11.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fpg/8.11.1/8.11.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 18:48:15 +00:00
Jaanus Sellin
ce8e15347c
refactor: segment-store getAll refactor, move mappers out of main method. ( #6423 )
...
For `getAll` method, kept only sql queries and moved mappers into
separate functions.
No change in logic, just refactoring.
2024-03-04 16:54:55 +02:00
Mateusz Kwasniewski
f3df7269cb
refactor: segment read model used in proxy-repository ( #6421 )
2024-03-04 15:48:30 +01:00
Nuno Góis
76f379a4dc
fix: signals integration condition ( #6419 )
...
Small fix for the signals integration render condition.
2024-03-04 12:53:22 +00:00
Mateusz Kwasniewski
14796aedc1
refactor: segment read model used in export-import ( #6418 )
2024-03-04 13:25:16 +01:00
Jaanus Sellin
19fbd7a0c4
fix: change application success to checkbox icon ( #6417 )
2024-03-04 14:16:45 +02:00
Nuno Góis
68729333e0
chore: rename incoming webhooks to signals ( #6415 )
...
https://linear.app/unleash/issue/2-1994/ui-feature-rename-adapt-the-signals-ui
https://linear.app/unleash/issue/2-1996/rename-feature-in-the-code-base
Implements the feature rename to Signals by adapting the code base and
UI.
2024-03-04 12:08:05 +00:00
Tymoteusz Czech
4fc0a806f1
Insights dashboard refactor ( #6404 )
...
- reorganized dashboard components
- added share link
- health chart aggregated data
- refactored chart placeholders
2024-03-04 12:56:17 +01:00
Jaanus Sellin
493f8e8a5b
feat: application overview feedback ( #6416 )
...
![image](https://github.com/Unleash/unleash/assets/964450/e8b85b7f-2c8b-42d2-9c6e-3f6ae9e27413 )
2024-03-04 13:45:57 +02:00
andreas-unleash
0c9838b26a
Feat: metrics chart tooltip refactoring ( #6414 )
...
Refactoring after moving aggregation to BE
<img width="1357" alt="Screenshot 2024-03-04 at 12 14 28"
src="https://github.com/Unleash/unleash/assets/104830839/9881ba13-69a3-49d9-bb3f-3316a9287a06 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-04 12:37:03 +01:00
Nuno Góis
b3e31c09a1
chore: rename incoming webhooks to signals (DB) ( #6413 )
...
https://linear.app/unleash/issue/2-1997/rename-feature-in-the-db
Renames the **incoming webhooks** feature to **signals** in the DB.
Also adds a `description` column to `action_sets`, so we can match the
new designs.
2024-03-04 10:28:19 +00:00
andreas-unleash
6c710f68a7
Feat: metrics chart tooltip ( #6409 )
...
Creates the Metrics chart tooltip
Data are summarised per week and grouped per project
<img width="1454" alt="Screenshot 2024-03-01 at 18 14 11"
src="https://github.com/Unleash/unleash/assets/104830839/0707f764-b067-4171-86bb-0592b846fcda ">
Post refactoring image (matches)
<img width="1357" alt="Screenshot 2024-03-04 at 12 14 28"
src="https://github.com/Unleash/unleash/assets/104830839/324981e3-ace2-4198-9620-23d7182a9702 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-03-04 12:17:48 +02:00
renovate[bot]
a4a2e7792b
chore(deps): update dependency @types/pg to v8.11.1 ( #6412 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/pg](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg ))
| [`8.11.0` ->
`8.11.1`](https://renovatebot.com/diffs/npm/@types%2fpg/8.11.0/8.11.1 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fpg/8.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fpg/8.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fpg/8.11.0/8.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fpg/8.11.0/8.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 01:31:13 +00:00
renovate[bot]
ee17f0569f
fix(deps): update dependency nodemailer to v6.9.10 ( #6411 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nodemailer](https://nodemailer.com/ )
([source](https://togithub.com/nodemailer/nodemailer )) | [`6.9.9` ->
`6.9.10`](https://renovatebot.com/diffs/npm/nodemailer/6.9.9/6.9.10 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/nodemailer/6.9.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nodemailer/6.9.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nodemailer/6.9.9/6.9.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nodemailer/6.9.9/6.9.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>nodemailer/nodemailer (nodemailer)</summary>
###
[`v6.9.10`](https://togithub.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#6910-2024-02-22 )
[Compare
Source](https://togithub.com/nodemailer/nodemailer/compare/v6.9.9...v6.9.10 )
##### Bug Fixes
- **data-uri:** Do not use regular expressions for parsing data URI
schemes
([12e65e9](12e65e975d
))
- **data-uri:** Moved all data-uri regexes to use the non-regex
parseDataUri method
([edd5dfe](edd5dfe5ce
))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 22:43:22 +00:00
renovate[bot]
0b58f780fd
fix(deps): update dependency joi to v17.12.2 ( #6410 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [joi](https://togithub.com/hapijs/joi ) | [`17.12.1` ->
`17.12.2`](https://renovatebot.com/diffs/npm/joi/17.12.1/17.12.2 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/joi/17.12.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/joi/17.12.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/joi/17.12.1/17.12.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/joi/17.12.1/17.12.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>hapijs/joi (joi)</summary>
###
[`v17.12.2`](https://togithub.com/hapijs/joi/compare/v17.12.1...v17.12.2 )
[Compare
Source](https://togithub.com/hapijs/joi/compare/v17.12.1...v17.12.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 19:38:22 +00:00
andreas-unleash
7b67f218eb
fix: Project select bug with duplicate values ( #6405 )
...
Project select fix for Executive Dashboard and Playground
Extract the select to it's own component and move to `common`
Re-use for both Dashboard and Playground
Adds the id in parenthesis when there are duplicate names
<img width="1406" alt="Screenshot 2024-03-01 at 12 04 22"
src="https://github.com/Unleash/unleash/assets/104830839/379ea11f-d627-493e-8088-a739d58fba61 ">
<img width="1434" alt="Screenshot 2024-03-01 at 12 36 46"
src="https://github.com/Unleash/unleash/assets/104830839/9c5cf863-002c-4630-ac3a-4a869303a308 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-01 14:28:57 +02:00
Jaanus Sellin
a4a604aebb
feat: application environment level warnings ( #6407 )
...
![image](https://github.com/Unleash/unleash/assets/964450/5e93dfd6-e1c0-48dd-a3c6-587889096510 )
2024-03-01 14:09:55 +02:00
Tymoteusz Czech
ae077558c0
feat: insights project filtering hooks with tests ( #6403 )
...
Hooks to filter and aggregate insights data on frontend
2024-03-01 10:15:16 +00:00
Tymoteusz Czech
446b2b2a2d
refactor: improve link field customizability ( #6402 )
...
Add ability to reuse "copy link" dialogue in other places
2024-03-01 11:01:58 +01:00
Tymoteusz Czech
d057703b2f
update openapi: add users to insights ( #6401 )
...
frontend types update
2024-03-01 10:45:04 +01:00
renovate[bot]
d74bee472f
chore(deps): update metcalfc/changelog-generator action to v4.3.1 ( #6397 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator )
| action | patch | `v4.3.0` -> `v4.3.1` |
---
### Release Notes
<details>
<summary>metcalfc/changelog-generator
(metcalfc/changelog-generator)</summary>
###
[`v4.3.1`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.3.1 ):
Minor security release 4.3.1
[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.3.0...v4.3.1 )
-
[d552ecf](d552ecf336
)
- Minor ecurity release 4.3.1
-
[ee3f2a2](ee3f2a27cf
)
- Merge pull request
[#​234](https://togithub.com/metcalfc/changelog-generator/issues/234 )
from metcalfc/dependabot/npm_and_yarn/prettier-3.2.5
-
[ee77638](ee776384fd
)
- Merge pull request
[#​235](https://togithub.com/metcalfc/changelog-generator/issues/235 )
from metcalfc/dependabot/npm_and_yarn/undici-5.28.3
-
[37c250d](37c250dc0c
)
- Bump undici from 5.26.4 to 5.28.3
-
[393755e](393755e108
)
- Bump prettier from 3.2.4 to 3.2.5
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 03:13:20 +00:00
renovate[bot]
b6851e469d
chore(deps): update dependency cypress to v13.6.6 ( #6396 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cypress](https://cypress.io )
([source](https://togithub.com/cypress-io/cypress )) | [`13.6.5` ->
`13.6.6`](https://renovatebot.com/diffs/npm/cypress/13.6.5/13.6.6 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.6.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.6.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.6.5/13.6.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.6.5/13.6.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>cypress-io/cypress (cypress)</summary>
###
[`v13.6.6`](https://togithub.com/cypress-io/cypress/releases/tag/v13.6.6 )
[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.6.5...v13.6.6 )
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-6
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 02:53:42 +00:00
renovate[bot]
16b0985918
chore(deps): update dependency @uiw/react-codemirror to v4.21.23 ( #6395 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror )
([source](https://togithub.com/uiwjs/react-codemirror )) | [`4.21.22` ->
`4.21.23`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.22/4.21.23 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.22/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.22/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror (@​uiw/react-codemirror)</summary>
###
[`v4.21.23`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.23 )
[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.22...v4.21.23 )
[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee )](https://jaywcjlove.github.io/#/sponsor )
[![](https://img.shields.io/badge/Open%20in-unpkg-blue )](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.21.23/file/README.md )
Documentation v4.21.23:
https://raw.githack.com/uiwjs/react-codemirror/3510177/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.22...v4.21.23
```shell
npm i @​uiw/react-codemirror@4.21.23
```
- 🌍 website(deps): fix console theme dependency issue.
[`923c164`](https://togithub.com/uiwjs/react-codemirror/commit/923c164 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 🌟 feat(events): `events` extension export `element`.
[#​633](https://togithub.com/uiwjs/react-codemirror/issues/633 )
[`92c5c57`](https://togithub.com/uiwjs/react-codemirror/commit/92c5c57 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 00:08:46 +00:00
renovate[bot]
03d3c99e16
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.23 ( #6394 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light )
([source](https://togithub.com/uiwjs/react-codemirror )) | [`4.21.22` ->
`4.21.23`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.22/4.21.23 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.21.22/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.21.22/4.21.23?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror
(@​uiw/codemirror-theme-duotone)</summary>
###
[`v4.21.23`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.23 )
[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.22...v4.21.23 )
[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee )](https://jaywcjlove.github.io/#/sponsor )
[![](https://img.shields.io/badge/Open%20in-unpkg-blue )](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.21.23/file/README.md )
Documentation v4.21.23:
https://raw.githack.com/uiwjs/react-codemirror/3510177/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.22...v4.21.23
```shell
npm i @​uiw/react-codemirror@4.21.23
```
- 🌍 website(deps): fix console theme dependency issue.
[`923c164`](https://togithub.com/uiwjs/react-codemirror/commit/923c164 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 🌟 feat(events): `events` extension export `element`.
[#​633](https://togithub.com/uiwjs/react-codemirror/issues/633 )
[`92c5c57`](https://togithub.com/uiwjs/react-codemirror/commit/92c5c57 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 22:21:39 +00:00
renovate[bot]
7f5215b035
chore(deps): update dependency @types/node to v18.19.18 ( #6393 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ))
| [`18.19.17` ->
`18.19.18`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.17/18.19.18 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.18?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.18?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.17/18.19.18?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.17/18.19.18?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 20:56:23 +00:00
Mateusz Kwasniewski
677beb190a
feat: outdated SDKs UI ( #6391 )
2024-02-29 15:48:44 +01:00
Nuno Góis
bddc508582
chore: actions filter constraints ( #6389 )
...
https://linear.app/unleash/issue/2-1952/adapt-actions-form-ui-to-unleash-constraint-operators
Implements the new action filters UI, now powered by constraint
operators.
This PR goes through some effort to not touch existing components too
much, especially since they are critical for activation strategies.
Instead, the new feature tries to adapt to the existing components and
styling them appropriately, while still re-using them. We can refactor
this at a later stage if needed.
This UI will face some more drastic changes in the near future due to
the feature rename, so I wanted to keep this PR mostly scoped to the
constraint operators before proceeding with more changes.
![image](https://github.com/Unleash/unleash/assets/14320932/f4bef4e0-33bd-463c-a252-e1cc0c22e843 )
![image](https://github.com/Unleash/unleash/assets/14320932/192a3bd4-f11d-4619-b826-bbf5df80050c )
![image](https://github.com/Unleash/unleash/assets/14320932/fcfc0239-a28f-446d-a901-2e73f0add1a2 )
As always, did some manual tests and it seems to be working great!
2024-02-29 12:56:48 +00:00
Gastón Fournier
4f638a1c8d
fix: bad segment edit link ( #6390 )
...
## About the changes
Fixes a bad link which leads to editing a global segment from project
settings mimicking
67928209ef/frontend/src/component/segments/EditSegmentButton/EditSegmentButton.tsx (L22-L28)
2024-02-29 13:54:31 +01:00
Jaanus Sellin
b4a8b0f780
feat: application environment ordered and timeago min time ( #6374 )
2024-02-29 14:11:56 +02:00
Jaanus Sellin
2bf11b2ea9
fix: appliction was rendered too early ( #6388 )
2024-02-29 14:03:36 +02:00
Mateusz Kwasniewski
1acb4bbb36
feat: outdated sdk detection ( #6381 )
2024-02-29 11:30:56 +01:00
Jaanus Sellin
a958797a8a
feat: add creation buttons to application features and strategies ( #6387 )
...
![image](https://github.com/Unleash/unleash/assets/964450/2c8215af-3ab3-43e6-bdeb-1ae36aad3aa3 )
2024-02-29 12:25:42 +02:00
Mateusz Kwasniewski
68095916e8
fix: relax trends tables constraints ( #6386 )
2024-02-29 10:56:14 +01:00
Mateusz Kwasniewski
5a80d5e026
fix: project client metrics trends remove invalid insert ( #6385 )
2024-02-29 09:52:58 +01:00
Jaanus Sellin
8f30904905
feat: new application header design ( #6379 )
...
- remove application icon
- Update font for created text
- change "Delete" button into a trash can button
![image](https://github.com/Unleash/unleash/assets/964450/c956ea23-8ac0-4c0b-9ef4-287f895ecc2f )
2024-02-29 10:38:43 +02:00
Christopher Kolstad
0887999dd0
fix: setRolesForUser and setRolesForGroup role check ( #6380 )
...
In order to stop privilege escalation via
`/api/admin/projects/:project/users/:userId/roles` and
`/api/admin/projects/:project/groups/:groupId/roles` this PR adds the
same check we added to setAccess methods to the methods updating access
for these two methods.
Also adds tests that verify that we throw an exception if you try to
assign roles you do not have.
Thank you @nunogois for spotting this during testing.
2024-02-29 09:38:32 +01:00