Ivar Conradi Østhus
3193dcdce7
fix: remove consecutive slashes
...
A small middleware who will rewrite potential dual slashes to a single slash.
2023-06-06 12:34:41 +02:00
Gastón Fournier
273230c351
4.17.3
2022-11-23 11:46:48 +01:00
Gastón Fournier
c54268be36
fix: broken UI after import ( #2447 )
...
fix: broken UI when importing features into environments which are not linked to the feature's project
## Related to
- PR: https://github.com/Unleash/unleash/pull/2209
- Issue: https://github.com/Unleash/unleash/issues/2186
- Issue: https://github.com/Unleash/unleash/issues/2193
## Expected behaviour:
After importing we should see:

## About the changes
**The problem:** when we import we have projects, features and
environments. Each feature belongs to a project (this is by default and
the imported file enforces that). The links between projects and
features, or projects and environments, depend on us creating those
relationships. When we add a feature to an environment we're not
validating that the project and the environment are connected. Because
of that, in some situations (like in this test), we can end up with a
project with features but no environment.
This breaks a weak constraint we had which is that all projects should
have at least one environment.
**This PR makes the following assumption when importing**: _if a feature
is added to an environment, and that environment is still not linked to
the project that feature belongs to, then the project and environments
have to be linked_. The rationale behind this is that the user couldn't
have generated this export file without the project and environment
being linked together.
2022-11-23 11:13:37 +01:00
Nuno Góis
b086f7fd55
4.17.2
2022-11-08 11:56:04 +00:00
Fredrik Strand Oseberg
4574c9f904
Fix/embedded proxy memory leak ( #2345 )
...
* Fixes a memory leak where events would trigger the data polling to restart. Any event would setup another polling interval, which would strain our database. Separated the logic for fetching the data and the polling, and made sure that the polling was only initialized once.
2022-11-08 11:45:37 +00:00
Gastón Fournier
f624f4498d
4.17.1
2022-11-08 10:33:15 +01:00
Ivar Conradi Østhus
377a99753f
fix: merge order for UI config
2022-11-04 14:49:45 +01:00
Nuno Góis
302cb176c0
4.17.0
2022-11-04 12:22:35 +00:00
Nuno Góis
cb45aecda0
fix: clone environment creating token everytime ( #2335 )
2022-11-04 12:16:48 +00:00
Nuno Góis
587c022583
4.17.0-beta.13
2022-11-04 09:14:01 +00:00
andreas-unleash
47cc168020
Fix: Conditionally hide Change Requests tab ( #2329 )
...
(cherry picked from commit 46076fcbc8
)
2022-11-04 10:45:56 +02:00
Ivar Conradi Østhus
1061991ebb
fix: generate all hour buckets if missing ( #2319 )
2022-11-04 09:34:17 +01:00
Gastón Fournier
2cb7631459
4.17.0-beta.12
2022-11-03 16:04:31 +01:00
Ivar Conradi Østhus
0717b281fa
fix: update resolutions
2022-11-03 15:38:51 +01:00
Simon Hornby
3d0146cca7
Fix docker build ( #2326 )
...
* fix: patch stale docker lockfile
* fix: patch docker build to respect the fact that frontend now depends on some constants defined in unleash
2022-11-03 15:02:20 +01:00
Ivar Conradi Østhus
ae0006b839
fix: require minimatch 3.0.5 or higher
2022-11-03 14:43:36 +01:00
Simon Hornby
90cb737202
docs: add documentation for user group syncing ( #2314 )
...
* docs: add documentation for user group syncing and a end to end example for keycloak
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-03 14:59:12 +02:00
Nuno Góis
20310bf1a4
docs: add environment cloning and how-to guide ( #2249 )
...
* docs: add environment cloning and how-to guide
* add next steps in how-to, update reference
* update how-to, add images
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/user_guide/environments.md
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/user_guide/environments.md
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/sidebars.js
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* address PR comments
* Update website/docs/how-to/how-to-clone-environments.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* fix uppercase in guide
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-03 14:14:08 +02:00
sjaanus
0de0da8f97
Remove manually added migrations and fix the scripts ( #2324 )
...
* Fix migrations
* Fix migrations
2022-11-03 14:05:47 +02:00
Fredrik Strand Oseberg
d8db33ac7f
Feat/change request overview applied state ( #2322 )
...
* feat: review button
* feat: add review button
* fix: add to box
* fix: separate function calls
* fix: comment out reviewers
* fix: type
2022-11-03 12:43:03 +01:00
Mateusz Kwasniewski
147408045b
feat: suggest remove strategy UI ( #2321 )
...
* feat: suggest remove strategy UI
* add delete strategy to draft
* refactor: extract hooks
* refactor: consistent fn usage
2022-11-03 12:26:35 +01:00
Ivar Conradi Østhus
4937b23e16
fix: remove duplicate formatApiPath in userUiConfigApi hook ( #2318 )
2022-11-03 08:47:16 +01:00
Tymoteusz Czech
0a855604af
feat: review your draft sidebar ( #2305 )
...
* refactor playground status chip component
* fix: update change request sidebar
* refactor: status badge cleanup
* fix: prettier formatting
2022-11-02 16:05:27 +01:00
Fredrik Strand Oseberg
2f1f9cecc2
feat: change request header ( #2317 )
...
* feat: change request header
* fix: dom nesting paragraphs
* fix: change path
2022-11-02 14:23:44 +01:00
Mateusz Kwasniewski
6622346286
Add stable row id. ( #2315 )
...
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-02 12:55:20 +01:00
Fredrik Strand Oseberg
9b10a8815b
Feat/review page timeline ( #2310 )
...
* fix: styling
* feat: overview timeline
* fix: rename types
* fix: pr comments
2022-11-02 11:14:26 +01:00
Nuno Góis
9fb431aab7
fix: limit total of PATs a user can have ( #2301 )
...
* fix: limit total of PATs a user can have
* increase PAT limit to 10
* Update src/lib/services/pat-service.ts
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* disable button on the front-end when PAT limit is reached
* import from server instead of repeating ourselves
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-11-02 08:11:35 +00:00
sjaanus
98cda9258d
4.17.0-beta.11
2022-11-02 08:47:37 +02:00
sjaanus
5dd8616c74
Rename suggest changes to change request ( #2311 )
...
* Rename change request
* Merge with review status
* Move events and permissions
2022-11-02 08:34:14 +02:00
Fredrik Strand Oseberg
da102a3e98
Feat/review page states ( #2309 )
...
* feat: review status draft
* feat: add review status styles
2022-11-01 10:55:03 +01:00
sjaanus
e3a185d650
Hard cap expiry date of public signup token ( #2308 )
...
Validate expiry
2022-11-01 11:38:18 +02:00
sjaanus
c501fb221c
Hyperlink Injection in People Invitation Emails ( #2307 )
...
* Strip special characters
* Allow hyphens
2022-11-01 10:38:33 +02:00
Gastón Fournier
f1634bb524
fix: adapt to new CI builder format ( #2303 )
...
* fix: escape single quotes for curl
* Use new format of CI builder
2022-10-31 14:05:26 +01:00
Tymoteusz Czech
f39d1021d0
feat: discard suggested draft change ( #2285 )
...
* feat: discard suggested draft change
* fix: suggest changes api frontend integration
* fix suggested changes discard
2022-10-31 12:46:54 +00:00
Fredrik Strand Oseberg
15c22d7630
feat: integrate with API for suggest changes ( #2286 )
...
* feat: integrate with API for suggest changes
* fix: suggestions table tabs state (#2287 )
* fix: suggestions table tabs state
* fix suggestion header padding
* fix: update snapshots
* fix: pr comments
* fix: revert store change
* fix: revert store fix
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-10-31 12:46:31 +01:00
sjaanus
95779754fb
4.17.0-beta.10
2022-10-31 11:55:16 +02:00
Fredrik Strand Oseberg
8f37f9fcc9
fix: re export knex ( #2300 )
2022-10-31 10:49:12 +01:00
Nuno Góis
07821174a5
refactor: remove PAT experimental flag ( #2299 )
2022-10-31 09:38:30 +00:00
Fredrik Strand Oseberg
3029564304
Feat/enterprise stores ( #2289 )
...
* feat: add capabilities for stores in enterprise
* fix: remove unused files
2022-10-31 10:35:59 +01:00
Nuno Góis
ce6d2e56bc
fix: only show link to create segment if you have permission ( #2291 )
2022-10-31 08:45:31 +00:00
Simon Hornby
9201f4f08f
4.17.0-beta.9 ( #2298 )
2022-10-31 09:35:00 +02:00
renovate[bot]
2a299d47bb
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.4.1 ( #2292 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 04:42:31 +00:00
renovate[bot]
e0ad3806aa
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.4.1 ( #2288 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 02:56:05 +00:00
renovate[bot]
c4b18a2e45
chore(deps): update typescript-eslint monorepo to v5.41.0 ( #2283 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 00:20:06 +00:00
renovate[bot]
670836061c
chore(deps): update dependency @vitejs/plugin-react to v2.2.0 ( #2281 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 21:28:28 +00:00
renovate[bot]
4dda82263e
chore(deps): update dependency vite to v3.2.1 ( #2282 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 18:21:39 +00:00
Nuno Góis
09cb61c719
fix: small UI fixes to the clone environment modal ( #2290 )
...
fix: small UI fixes to the environment modal
2022-10-28 16:05:27 +01:00
Simon Hornby
7e03fba6cd
make prettify large number tests independent of locale ( #2284 )
2022-10-28 14:47:44 +02:00
renovate[bot]
c62087d035
fix(deps): update dependency @svgr/webpack to v6.5.1 ( #2280 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 12:45:24 +00:00
Pål-Magnus Slåtto
3edca3efe8
[docs]: Update Prometheus docs with security info ( #2246 )
...
## About the changes
Prometheus metrics should not be exposed to the public. Added a note about this to inform people that internal endpoints should be dropped on external access.
## Discussion points
https://unleash-community.slack.com/archives/CGP2MCHPF/p1666688295670459
## Commits
* [docs]: Update Prometheus docs with security info
* Apply suggestions from code review
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Add info about Prometheus security
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-10-28 09:58:26 +00:00