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

11076 Commits

Author SHA1 Message Date
Gastón Fournier
05080e8775
fix: when backporting we don't want to push latest docker tag (#7961) (#7967)
Backporting fixes to old versions usually pushes the docker latest tag
as well. We only want to do this if the version we're releasing is the
latest
2024-08-22 10:17:11 +00:00
Github Actions Bot
5dd46d270a 5.12.8 2024-08-22 08:41:31 +00:00
Github Actions Bot
5019e0b4ca docs: Update CHANGELOG.md 2024-08-22 08:41:01 +00:00
Mateusz Kwasniewski
8ebebd790d
fix: enable disabled strategies keeps settings (#7955) 2024-08-21 16:48:50 +02:00
Github Actions Bot
23c7fc162d 5.12.7 2024-06-04 08:14:33 +00:00
Github Actions Bot
c493e5a4d1 docs: Update CHANGELOG.md 2024-06-04 08:14:21 +00:00
Gastón Fournier
73d13a07c7
chore: improve release process (#7254)
Use the tag created by the build action when running npm version,
otherwise the checkout actions gets the HEAD of the commit that
triggered the original workflow resulting in the usage of the previous
version.

Potentially in the future, instead of triggering the build manually we
could consider using the tag as a trigger for the build process and then
all the dependent workflows should work fine. It's good we have this
manual for validation, and we workaround some of the limitations before
we invest more into more automation
2024-06-04 10:12:58 +02:00
Github Actions Bot
04d8425d6f 5.12.6 2024-06-03 13:10:09 +00:00
Github Actions Bot
4e5b88dd07 docs: Update CHANGELOG.md 2024-06-03 13:09:56 +00:00
Gastón Fournier
f32f9c15c8
chore: Inherit secrets for workflow calls (#7251)
Based on
https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows
2024-06-03 15:09:00 +02:00
Github Actions Bot
c8a469dec1 5.12.5 2024-06-03 12:44:58 +00:00
Github Actions Bot
59a1e76117 docs: Update CHANGELOG.md 2024-06-03 12:44:28 +00:00
Mateusz Kwasniewski
4de0321ca5
fix: 5.12 remove 404 feature view (#7246) 2024-06-03 12:40:45 +00:00
Christopher Kolstad
f84be2fd7c
chore: bumped node version to 18.20.3 (#7222) 2024-05-31 12:11:44 +02:00
Gastón Fournier
1d97521232
chore: apply a linter after updating the version in package.json (#7073) 2024-05-17 11:22:26 +02:00
Github Actions Bot
32b72cb62e 5.12.4 2024-05-17 08:54:51 +00:00
Github Actions Bot
933ef4bf03 docs: Update CHANGELOG.md 2024-05-17 08:54:39 +00:00
Gastón Fournier
97ef03d0c2
chore: automate release actions (#7070)
## About the changes
Automate some of our release steps in the same workflow. This gives us
the ability to opt-out some of the jobs which allows us to release
patches to older versions without setting that patch as the latest
version (currently not covering docker publish but if this test works
successfully we might include it as well).

This comes from tests in our enterprise repository.
2024-05-17 10:53:24 +02:00
GitHub Actions Bot
6cc54bab2b 5.12.3 2024-05-16 10:06:10 +00:00
Gastón Fournier
aaa8202b48
Fix/backport bearer token fix (#7067)
## About the changes
Backport of https://github.com/Unleash/unleash/pull/7065 to 5.12 branch
2024-05-16 12:03:53 +02:00
GitHub Actions Bot
c3d21173a8 5.12.2 2024-05-08 13:16:52 +00:00
GitHub Actions Bot
7820115f0a docs: Update CHANGELOG.md 2024-05-08 13:16:39 +00:00
Christopher Kolstad
60f637f631
feat: Allow to use CA certificate file path for DB (#6985) (#6998)
We'd like to get this out so you can get away with only defining a CA
certificate, the current iteration requires CA, CERT and KEY in order to
work. This PR splits it up and allows you to configure one.

---------

Co-authored-by: Egor Stronhin <6418221+egor-xyz@users.noreply.github.com>
2024-05-08 15:08:11 +02:00
GitHub Actions Bot
08c472ca9a 5.12.1 2024-05-06 17:55:44 +00:00
GitHub Actions Bot
16eb5aec64 docs: Update CHANGELOG.md 2024-05-06 17:55:33 +00:00
Mateusz Kwasniewski
75897f138a
fix: duplicate column name in search query (#6989)
(cherry picked from commit 8d04772256)
2024-05-06 19:53:39 +02:00
Jaanus Sellin
c0e3f5d9c7
feat: search order by final (#6976)
Final rank has always been ordering correctly by default. But after 5.12
I see some issues that sometimes it is not ordered. Just to be extra
sure, I am for ordering it.
2024-05-03 13:30:34 +03:00
GitHub Actions Bot
2fe20546a0 5.12.0 2024-05-02 08:54:07 +00:00
GitHub Actions Bot
e7d6d23902 docs: Update CHANGELOG.md 2024-05-02 08:53:54 +00:00
Alvin Bryan
4ad56e8afc
Adds contributors to docs (#6900)
Hello!

We wanted to make the docs less impersonal, so we decided to add
contributors. Now each doc page that has an `editUrl` (i.e, isn't
generated) shows a list of everyone that contributed to it.

This list is generated by:
1. Running `swizzle` on the `DocItem/Footer` in Docusaurus.
2. Grabbing metadata for the current file using an internal docusaurus
API (Thank you to @homotechsual for the help there)
3. Getting the commits to the file in question with the GitHub API


![image](https://github.com/Unleash/unleash/assets/107407814/fd9c92ef-36ab-4d9e-ac11-6d724fd55d11)

<details>
 <summary> Here's the command I ran, for posterity </summary>
<code>npm run swizzle @docusaurus/theme-classic DocItem/Footer --
--wrap</code>
</details>


## Discussion points

1. Design. What do you think of the layout?
2. Right now I'm hardcoding the info of Unleash team members. This
creates a small maintenance burden, but it's something we wanted to add.
2024-04-30 15:19:38 +01:00
Tymoteusz Czech
0bacd60caf
refactor: badge icon spacing (#6962)
Simplified after previous modifications
2024-04-30 14:14:04 +02:00
Thomas Heartman
4fea198d6c
chore: add project icon to new form (#6965)
Imports and uses the same project icon used on the project cards. Also
aligns the header better and makes the text lighter.


![image](https://github.com/Unleash/unleash/assets/17786332/bf5082b0-1f00-45bb-a639-864963b6fe77)
2024-04-30 13:18:27 +02:00
Thomas Heartman
cdbe26330e
feat: enable project creation through new form (#6961)
This PR allows very simple project creation. You can add a name and
description. The ID is generated for you at the moment (we'll fix this
later). Nothing else works, but the project is created successfully.
2024-04-30 13:00:58 +02:00
Christopher Kolstad
7754ac69df
task: added migration for scim_external_id (#6966) 2024-04-30 10:24:17 +02:00
andreas-unleash
979220d80d
chore: scheduled change request cache kill switch (#6957)
Removes the `inMemoryScheduledChangeRequests` flag and adds
`killScheduledChangeRequestCache`

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-30 09:33:42 +03:00
Thomas Heartman
f77f8a71f8
rough layout of the new form (#6960)
This PR adds a very rough first implementation of the look of the new
project form. *It is not final and does not work yet*.

The important part here is that the layout is roughly right (we'll
adjust spacing etc later) and that we've got all the basic elements
present.

I'll hook it up to actually work in an upcoming PR. 


![image](https://github.com/Unleash/unleash/assets/17786332/b941702f-ec1b-4d16-9628-ba560b0919f2)

The missing icon, text alignment, etc, will also be solved later.
2024-04-30 08:09:07 +02:00
Jaanus Sellin
2ba250fa41
feat: do not insert into database stages that already exist (#6964)
Previously when we had thousands of metrics coming in, we were trying to
write them all to database and running into on conflict
2024-04-30 09:07:20 +03:00
Thomas Heartman
a66b3c65c1
chore: add flag for the new project creation form layout (#6959)
Add a flag to enable/disable the new UI for project creation.
This flag is separate from the impl on the back end so that we can
enable one without the other (but uses flag dependencies in Unleash, so
that we can never enable the new UI without the new back end).

I have not set the flag to `true` in server startup because the form
doesn't work yet, so it's a manual step for now.
2024-04-29 13:52:56 +02:00
Thomas Heartman
491cd588da
chore: remove workaround (#6942)
This PR removes the workaround introduced in
https://github.com/Unleash/unleash/pull/6931. After
https://github.com/ivarconr/unleash-enterprise/pull/1268 has been
merged, this should be safe to apply.

Notably, this PR: 
- tightens up the type for the enable change request function, so we can
use that to inform the code
- skips trying to do anything with an empty array

The last point is less important than it might seem because both the env
validation and the current implementation of the callback is essentially
a no-op when there are no envs. However, that's hard to enforce. If we
just exit out early, then at least we know nothing happens.

Optionally, we could do something like this instead, but I'm not sure
it's better or worse. Happy to take input.
```ts
            const crEnvs = newProject.changeRequestEnvironments ?? []
            await this.validateEnvironmentsExist(crEnvs.map((env) => env.name));
            const changeRequestEnvironments =
                await enableChangeRequestsForSpecifiedEnvironments(crEnvs,);

            data.changeRequestEnvironments = changeRequestEnvironments;
```
2024-04-29 13:47:47 +02:00
David Leek
c048156e19
fix: disable SCIM for OIDC, nothing to test it on (#6937)
disable SCIM for OIDC, nothing to test it on
Also checks scim enabled before saving
2024-04-29 13:14:39 +02:00
Tymoteusz Czech
b6865a5a9d
feat: Project owners UI (#6949)
---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-04-29 11:51:44 +02:00
Ivar Conradi Østhus
3978c690e0
fix: Data usage metrics chart included per day annotion (#6941)
Added a small annotation to the chart on how much data is included in
the pro plan on average per day to make it easier to spot when a
customer average above the included threshold.


![image](https://github.com/Unleash/unleash/assets/158948/c3105f87-03e0-4b27-9e3f-53c749c78078)
2024-04-29 10:35:01 +02:00
gitar-bot[bot]
010c4ee57b
[Gitar] Cleaning up stale feature flag: applicationOverviewNewQuery with value true (#6956)
---------

Co-authored-by: Gitar Bot <noreply@gitar.co>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-04-29 11:02:08 +03:00
Alvin Bryan
d1cad6ece3
Example Docs fixes (#6919)
Hello, 

As discussed with @sighphyre, there were a number of problems with the
examples docs. This addresses the most pressing ones, namely:

- Corrected the link to the Jira plugin
- Added deprecation warning to Jira Server pages
- Removed the incomplete markdown table at the end of articles, and the
references to it

---------

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2024-04-26 17:22:16 +01:00
David Leek
0ac9624caf
fix: fix UI issues with SCIM new token button (#6948)
Makes the regenerate token button in SCIM settings behave like the rest
of the grid (remove margin left, add margin bottom)


![image](https://github.com/Unleash/unleash/assets/707867/ff3ac26e-87b3-4862-aebd-cdba0011ddad)
2024-04-26 14:31:53 +02:00
Jaanus Sellin
9f6badf5df
feat: add ui test for mark completed button (#6953)
Co-authored-by: kwasniew <kwasniewski.mateusz@gmail.com>
2024-04-26 14:31:20 +02:00
Mateusz Kwasniewski
49e84d3a91
feat: Check production enabled live stage (#6952) 2024-04-26 13:38:25 +02:00
Tymoteusz Czech
514a18bf93
Update OpenAPI generated types for frontend (#6950) 2024-04-26 13:31:15 +02:00
Jaanus Sellin
7022ce8afb
feat: rever to live connected to backend (#6951)
![Screenshot from 2024-04-26
13-30-48](https://github.com/Unleash/unleash/assets/964450/03c57c62-bf51-440b-935d-46da729e3157)
![Screenshot from 2024-04-26
13-15-45](https://github.com/Unleash/unleash/assets/964450/c5ac44be-39dc-4b6c-97ec-5fc56b0cc111)
2024-04-26 13:43:38 +03:00
Mateusz Kwasniewski
1739f8e11d
feat: pre-live is non production not just dev (#6946) 2024-04-26 12:43:10 +02:00