Mateusz Kwasniewski
2caab45801
feat: disallow clone toggle on change request enabled ( #3383 )
2023-03-27 13:21:50 +02:00
Mateusz Kwasniewski
9abe859e60
chore: remove export import flag ( #3371 )
2023-03-27 12:31:19 +02:00
Mateusz Kwasniewski
ab913228ca
refactor: read model for change request access checking ( #3380 )
2023-03-24 14:31:43 +01:00
Gastón Fournier
a79a76f497
refactor: test composition and other error codes ( #3348 )
...
## About the changes
Small refactor to showcase how to use [composition to validate different
aspects of the
response](https://github.com/Unleash/unleash/pull/3348/files#diff-ee4c1bd501b1195162b7a85ed6be348a665288f871abc8e74f64d94361213f9eR361-R367 )
and checking [different status
codes](https://github.com/Unleash/unleash/pull/3348/files#diff-4044a5da3280ef76960bbffd5f36eccb395ac319fe58c4d59ef68a878cbb1a5dR95 )
2023-03-23 16:31:05 +01:00
Gastón Fournier
af42347a7b
chore: PoC test API helper (DRY) ( #3342 )
...
## About the changes
New way of centralizing API calls while doing E2E tests to avoid repeating ourselves.
2023-03-20 10:27:19 +01:00
Gastón Fournier
7a9ea22eed
feat: project-specific segments tests and fixes ( #3339 )
...
## About the changes
- Refactored some E2E tests to use our APIs
- Added test cases for project-specific segments
- Added validation to check a project can access a specific segment
- Fixed an OpenAPI schema that was missing segments
## Discussion points
https://github.com/Unleash/unleash/pull/3339/files#r1140008992
2023-03-17 12:43:34 +01:00
Mateusz Kwasniewski
1064dfa40c
feat: project mode ( #3334 )
2023-03-16 15:29:52 +01:00
Mateusz Kwasniewski
481a7bc45c
fix: Missing export ( #3327 )
2023-03-15 17:10:36 +01:00
Mateusz Kwasniewski
ce0543c951
feat: Create project service di ( #3326 )
2023-03-15 16:46:41 +01:00
Gastón Fournier
1d0bc833b3
chore: refactor segments to stop depending on the implementation ( #3315 )
...
## About the changes
- Introducing ISegmentService interface to decouple from the actual
implementation
- Moving UpsertSegmentSchema to OSS to be able to use types
- Added comments where our code is coupled with segments just to
highlight and have a conversation about some use cases if needed, but
they can be removed before merging
- Removed segment service from some project features as it was not used
2023-03-15 14:58:19 +01:00
Gastón Fournier
98d462db27
chore: add a new project column to segments table ( #3263 )
...
## About the changes
Adds a migration and persistence layer with a new column
`segment_project_id` to bind a segment to a project.
2023-03-07 14:56:20 +01:00
Mateusz Kwasniewski
e15aa9795a
feat: shared event emitter ( #3241 )
2023-03-02 09:52:19 +01:00
Mateusz Kwasniewski
ad588fd0d2
fix: pass shared event store ( #3233 )
2023-03-01 14:09:52 +01:00
Gastón Fournier
90e4054c90
docs: update documentation around permissions for variants ( #3195 )
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-02-28 14:06:24 +01:00
Mateusz Kwasniewski
909d709089
fix: db type ( #3180 )
2023-02-22 11:15:46 +01:00
Mateusz Kwasniewski
3800877be1
feat: drop full- for import/validate ( #3168 )
2023-02-21 10:15:57 +01:00