1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00
Commit Graph

241 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
719217e190
refactor: move repo sync signal after npm publish (#3071) 2023-02-09 10:05:57 +01:00
Mateusz Kwasniewski
ff3bdf4995
feat: "GH action" trigger another repo 2023-02-09 09:47:42 +01:00
Gard Rimestad
9ef4900baf
feat: remove CI build trigger (#3070)
We do not need this trigger anymore as we auto-release beta versions
from this repository and auto bump the dependency in unleash-enterprise.
2023-02-09 09:13:43 +01:00
Mateusz Kwasniewski
5e98b8cb96
fix: "GH action" push tags for publish 2023-02-08 17:03:12 +01:00
Mateusz Kwasniewski
072154a06f
fix: "Github actions" ignore npm publish scripts 2023-02-08 16:29:49 +01:00
Mateusz Kwasniewski
3969d55686
fix: "GH actions" concurrency without cancel in progress 2023-02-08 16:11:18 +01:00
Mateusz Kwasniewski
88ce04253d
fix: "GH Actions" comments cleanup 2023-02-08 16:01:24 +01:00
Mateusz Kwasniewski
3013166023
fix: gh action 2023-02-08 15:41:28 +01:00
Mateusz Kwasniewski
1da47eb3a4
Update continuous-publish-new-version.yaml 2023-02-08 15:40:43 +01:00
Mateusz Kwasniewski
b310d98da3
feat: continuous beta version npm release (#3066) 2023-02-08 15:32:37 +01:00
Thomas Heartman
1ca918295a
docs: generate docs daily (#3067)
## What

This change fixes the `generate-docs` workflow, so that they'll run
daily as a cron job. The `schedule` property had been erroneously listed
as a sub-property of the `workflow_dispatch` property.

## Why

The way the docs are set up at the moment, they source a lot of their
content from external repos. As it stands, we don't listen for update
events in all of those external dependencies, so we don't know when they
update. We do still want the docs to be reasonably fresh, though.

So to achieve this, we can run this workflow once a day to make sure
that no docs are more than 24 hours old.
2023-02-08 10:30:00 +00:00
Jaanus Sellin
9f93f78fcc
Cypress test for importing (#3058) 2023-02-08 11:16:38 +02:00
andreas-unleash
e589e56373
Add multiple tags (#3032)
Add Tag dialog redesign to allow batch add

Some Refactoring

Signed-off-by: andreas-unleash <andreas@getunleash.ai>

<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes
[1-611](https://linear.app/unleash/issue/1-611/create-a-auto-complete-component-for-tags)

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->


https://user-images.githubusercontent.com/104830839/216286897-4e392822-57c2-4e50-a5d8-e89d006b3fa5.mov

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-02-03 12:28:06 +02:00
Tymoteusz Czech
340bcf1d1b
fix: add frontend eslint check (#2562)
Add eslint to CI pipeline
2023-01-02 10:46:32 +01:00
Ivar Conradi Østhus
8e5ca352c3
fix: allow publish-new-version action to run from branch (#2698)
We cannot hard code the branch to be "main" if we want to allow the
release script to also run from branch (e.g. 4.18 maintenance branch)
2022-12-15 09:25:44 +01:00
Mateusz Kwasniewski
1e8801b652
remove postgres because we dont run tests anymore (#2649) 2022-12-09 11:52:48 +01:00
Mateusz Kwasniewski
b62b955f4d
do not test again when creting version from github actions (#2639) 2022-12-09 09:30:16 +01:00
Mateusz Kwasniewski
a15157465c
Update publish-new-version.yaml 2022-12-06 09:46:41 +01:00
Mateusz Kwasniewski
9e1fa06832
Update publish-new-version.yaml 2022-12-06 08:29:34 +01:00
Mateusz Kwasniewski
925b89b899
Update publish-new-version.yaml 2022-12-05 17:10:14 +01:00
Mateusz Kwasniewski
8bf7d31fed
Update publish-new-version.yaml 2022-12-05 16:32:10 +01:00
Mateusz Kwasniewski
e378f904bd
Update publish-new-version.yaml 2022-12-05 16:16:18 +01:00
Mateusz Kwasniewski
6f38f408b6
Update publish-new-version.yaml 2022-12-05 16:04:49 +01:00
Mateusz Kwasniewski
0dc6dfc5aa
Update publish-new-version.yaml 2022-12-05 16:01:40 +01:00
Mateusz Kwasniewski
8243c9d181
Update publish-new-version.yaml 2022-12-05 15:59:13 +01:00
Mateusz Kwasniewski
c1027d0359
Update publish-new-version.yaml 2022-12-05 15:51:20 +01:00
Mateusz Kwasniewski
8895004e03
Update publish-new-version.yaml 2022-12-05 15:49:22 +01:00
Mateusz Kwasniewski
31dbf098a2
github action to publish new npm version (#2599) 2022-12-05 15:46:02 +01:00
NicolaeUnleash
21d67abd6c
readme: Update online demo image (#2528)
adds a slightly modified version of the online demo image from the readme.
2022-11-24 13:35:23 +00:00
Gard Rimestad
a425bcb3b8
feat: upload main branch builds to cdn (#2415)
This enables us to run tip of main builds of enterprise pointing to the
newest frontend builds.
2022-11-14 11:01:07 +01:00
renovate[bot]
0daf3e53d1
chore(deps): update lycheeverse/lychee-action action to v1.5.4 (#2367)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action)
| action | patch | `v1.5.1` -> `v1.5.4` |

---

### Release Notes

<details>
<summary>lycheeverse/lychee-action</summary>

###
[`v1.5.4`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.4):
Version 1.5.4

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.3...v1.5.4)

#### What's Changed

- Cleanup old lychee bin after install by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/172](https://togithub.com/lycheeverse/lychee-action/pull/172)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.4

###
[`v1.5.3`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.3):
Version 1.5.3

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.2...v1.5.3)

#### What's Changed

- Bump lychee version to fix issues with email checking by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/171](https://togithub.com/lycheeverse/lychee-action/pull/171)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.3

###
[`v1.5.2`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.2):
Version 1.5.2

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.1...v1.5.2)

#### What's Changed

- Replace deprecated `::set-output` by `$GITHUB_ENV` by
[@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)
- fix: install lychee to a user owner directory by
[@&#8203;aslafy-z](https://togithub.com/aslafy-z) in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- docs: bump version in README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/156](https://togithub.com/lycheeverse/lychee-action/pull/156)
- docs: small adjustments to README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/157](https://togithub.com/lycheeverse/lychee-action/pull/157)
- Order args alphabetically by [@&#8203;mre](https://togithub.com/mre)
in
[https://github.com/lycheeverse/lychee-action/pull/159](https://togithub.com/lycheeverse/lychee-action/pull/159)
- Add debug argument by [@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/160](https://togithub.com/lycheeverse/lychee-action/pull/160)
- Bump actions/checkout from 3.0.2 to 3.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/lycheeverse/lychee-action/pull/165](https://togithub.com/lycheeverse/lychee-action/pull/165)

#### New Contributors

- [@&#8203;aslafy-z](https://togithub.com/aslafy-z) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- [@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:59:14 +01:00
renovate[bot]
2fb548f4ca
chore(deps): update metcalfc/changelog-generator action to v4 (#2294)
[![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 | major | `v3.0.0` -> `v4.0.1` |

---

### Release Notes

<details>
<summary>metcalfc/changelog-generator</summary>

###
[`v4.0.1`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.1)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.0.0...v4.0.1)

-
[31b6d6f](31b6d6f9e6)
- Cleaning up some minor dep bumps.
-
[7f6db29](7f6db2945d)
- Merge pull request
[#&#8203;162](https://togithub.com/metcalfc/changelog-generator/issues/162)
from metcalfc/dependabot/npm_and_yarn/eslint-8.26.0
-
[c2c3288](c2c3288f0d)
- Merge pull request
[#&#8203;163](https://togithub.com/metcalfc/changelog-generator/issues/163)
from metcalfc/dependabot/npm_and_yarn/replace-1.2.2
-
[317f12d](317f12dbf2)
- Bump replace from 1.2.1 to 1.2.2
-
[d2c4bfc](d2c4bfcc29)
- Bump eslint from 8.24.0 to 8.26.0

###
[`v4.0.0`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.0)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v3.0.0...v4.0.0)

-
[62b45ff](62b45fffb5)
- Upgrading to Node 16.
-
[78be9a2](78be9a21df)
- Switching to GITHUB_OUTPUT.
-
[b1a95e5](b1a95e5285)
- Switching to node 16.
-
[3327c21](3327c21f3e)
- Merge pull request
[#&#8203;157](https://togithub.com/metcalfc/changelog-generator/issues/157)
from metcalfc/dependabot/npm_and_yarn/eslint-8.24.0
-
[47b26c3](47b26c3621)
- Merge pull request
[#&#8203;159](https://togithub.com/metcalfc/changelog-generator/issues/159)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.10.0
-
[9f319d4](9f319d47c2)
- Merge pull request
[#&#8203;160](https://togithub.com/metcalfc/changelog-generator/issues/160)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.1.1
-
[07e86fc](07e86fc792)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.3 to 5.1.1
-
[3b3ffa3](3b3ffa30c6)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.9.1 to 1.10.0
-
[4d25998](4d259988b2)
- Bump eslint from 8.23.1 to 8.24.0
-
[b14e7b5](b14e7b5b1f)
- Merge pull request
[#&#8203;153](https://togithub.com/metcalfc/changelog-generator/issues/153)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.1
-
[f9abb7d](f9abb7dc32)
- Merge pull request
[#&#8203;154](https://togithub.com/metcalfc/changelog-generator/issues/154)
from metcalfc/dependabot/github_actions/actions/stale-6
-
[6188b7b](6188b7bffc)
- Bump actions/stale from 5 to 6
-
[14b9af3](14b9af3836)
- Bump eslint from 8.23.0 to 8.23.1
-
[4d3002b](4d3002ba1b)
- Merge pull request
[#&#8203;151](https://togithub.com/metcalfc/changelog-generator/issues/151)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.0
-
[76e3028](76e302839c)
- Bump eslint from 8.21.0 to 8.23.0
-
[50f6989](50f6989629)
- Merge pull request
[#&#8203;149](https://togithub.com/metcalfc/changelog-generator/issues/149)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.9.1
-
[f06c31f](f06c31fb2e)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.2 to 1.9.1
-
[5e0835b](5e0835b79e)
- Merge pull request
[#&#8203;139](https://togithub.com/metcalfc/changelog-generator/issues/139)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.34.0
-
[cd521f3](cd521f3fbf)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.4
to 0.34.0
-
[2656a3f](2656a3ff66)
- Merge pull request
[#&#8203;143](https://togithub.com/metcalfc/changelog-generator/issues/143)
from metcalfc/dependabot/npm_and_yarn/prettier-2.7.1
-
[f7f7861](f7f7861fbc)
- Bump prettier from 2.6.2 to 2.7.1
-
[b8b5290](b8b5290107)
- Merge pull request
[#&#8203;148](https://togithub.com/metcalfc/changelog-generator/issues/148)
from metcalfc/dependabot/npm_and_yarn/eslint-8.21.0
-
[a9c1b1d](a9c1b1d2f9)
- Bump eslint from 8.16.0 to 8.21.0
-
[199cd09](199cd0966a)
- Merge pull request
[#&#8203;137](https://togithub.com/metcalfc/changelog-generator/issues/137)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.3
-
[daf6659](daf6659a8e)
- Merge pull request
[#&#8203;136](https://togithub.com/metcalfc/changelog-generator/issues/136)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.2
-
[1f3885f](1f3885f211)
- Merge pull request
[#&#8203;138](https://togithub.com/metcalfc/changelog-generator/issues/138)
from metcalfc/dependabot/npm_and_yarn/eslint-8.16.0
-
[4b50f73](4b50f737c5)
- Bump eslint from 8.14.0 to 8.16.0
-
[83fe5ca](83fe5ca7cd)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.1 to 5.0.3
-
[fee05d0](fee05d082b)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.0 to 1.8.2
-
[c0d0436](c0d0436bbd)
- Merge pull request
[#&#8203;130](https://togithub.com/metcalfc/changelog-generator/issues/130)
from metcalfc/dependabot/github_actions/github/codeql-action-2
-
[b0b413b](b0b413b1ad)
- Merge pull request
[#&#8203;129](https://togithub.com/metcalfc/changelog-generator/issues/129)
from metcalfc/dependabot/npm_and_yarn/eslint-8.14.0
-
[1d1490a](1d1490acc0)
- Merge pull request
[#&#8203;132](https://togithub.com/metcalfc/changelog-generator/issues/132)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.0
-
[5f0cef2](5f0cef22d4)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.6.0 to 1.8.0
-
[b8c934f](b8c934f1ca)
- Bump eslint from 8.12.0 to 8.14.0
-
[2039c9d](2039c9dc0f)
- Merge pull request
[#&#8203;128](https://togithub.com/metcalfc/changelog-generator/issues/128)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.4
-
[bf5a458](bf5a458a53)
- Merge pull request
[#&#8203;126](https://togithub.com/metcalfc/changelog-generator/issues/126)
from metcalfc/dependabot/github_actions/actions/stale-5
-
[0435317](0435317a67)
- Bump github/codeql-action from 1 to 2
-
[d5e4a03](d5e4a03a69)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.3
to 0.33.4
-
[0bccc87](0bccc87efb)
- Bump actions/stale from 4 to 5
-
[b3e06f6](b3e06f65d0)
- Merge pull request
[#&#8203;125](https://togithub.com/metcalfc/changelog-generator/issues/125)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.2
-
[4ab1afe](4ab1afe485)
- Bump prettier from 2.6.1 to 2.6.2
-
[193ce4a](193ce4ab75)
- Merge pull request
[#&#8203;124](https://togithub.com/metcalfc/changelog-generator/issues/124)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.1
-
[f22520b](f22520b824)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.0 to 5.0.1
-
[ca9591e](ca9591e4f7)
- Merge pull request
[#&#8203;123](https://togithub.com/metcalfc/changelog-generator/issues/123)
from metcalfc/dependabot/npm_and_yarn/eslint-8.12.0
-
[0288615](0288615c5a)
- Bump eslint from 8.8.0 to 8.12.0
-
[01033c7](01033c7a0f)
- Merge pull request
[#&#8203;122](https://togithub.com/metcalfc/changelog-generator/issues/122)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.1
-
[5bb1e89](5bb1e895e2)
- Merge pull request
[#&#8203;121](https://togithub.com/metcalfc/changelog-generator/issues/121)
from metcalfc/dependabot/npm_and_yarn/actions/exec-1.1.1
-
[4fb7bc8](4fb7bc8f7b)
- Merge pull request
[#&#8203;118](https://togithub.com/metcalfc/changelog-generator/issues/118)
from metcalfc/dependabot/github_actions/actions/checkout-3
-
[3df839a](3df839a15b)
- Merge pull request
[#&#8203;115](https://togithub.com/metcalfc/changelog-generator/issues/115)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.3
-
[7ad10bc](7ad10bc246)
- Bump prettier from 2.5.1 to 2.6.1
-
[4d7e87e](4d7e87e711)
- Bump [@&#8203;actions/exec](https://togithub.com/actions/exec) from
1.1.0 to 1.1.1
-
[c67ac13](c67ac13236)
- Bump actions/checkout from 2 to 3
-
[3a8e994](3a8e994591)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.1
to 0.33.3
-
[32b2a9d](32b2a9d3d1)
- Merge pull request
[#&#8203;113](https://togithub.com/metcalfc/changelog-generator/issues/113)
from metcalfc/dependabot/npm_and_yarn/node-fetch-2.6.7
-
[91f9837](91f98370eb)
- Bump node-fetch from 2.6.6 to 2.6.7
-
[90ea792](90ea792f98)
- Merge pull request
[#&#8203;112](https://togithub.com/metcalfc/changelog-generator/issues/112)
from metcalfc/dependabot/npm_and_yarn/eslint-8.8.0
-
[ddb5dcb](ddb5dcbde5)
- Bump eslint from 8.6.0 to 8.8.0
-
[adcb9e3](adcb9e3fe4)
- Merge pull request
[#&#8203;110](https://togithub.com/metcalfc/changelog-generator/issues/110)
from metcalfc/dependabot/npm_and_yarn/eslint-8.6.0
-
[f1a4362](f1a4362ec4)
- Bump eslint from 8.4.1 to 8.6.0
-
[3a8fa5f](3a8fa5f441)
- Merge pull request
[#&#8203;109](https://togithub.com/metcalfc/changelog-generator/issues/109)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.1
-
[e588057](e588057c44)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.0
to 0.33.1
-
[04f822a](04f822a59d)
- Merge pull request
[#&#8203;105](https://togithub.com/metcalfc/changelog-generator/issues/105)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.1
-
[8d588bb](8d588bb685)
- Merge pull request
[#&#8203;107](https://togithub.com/metcalfc/changelog-generator/issues/107)
from metcalfc/dependabot/npm_and_yarn/eslint-8.4.1
-
[049d721](049d721a05)
- Bump eslint from 8.3.0 to 8.4.1
-
[d36cc2c](d36cc2c9d3)
- Bump prettier from 2.5.0 to 2.5.1
-
[188a7c9](188a7c9a5d)
- Merge pull request
[#&#8203;104](https://togithub.com/metcalfc/changelog-generator/issues/104)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.0
-
[fbb1a6e](fbb1a6e574)
- Merge pull request
[#&#8203;103](https://togithub.com/metcalfc/changelog-generator/issues/103)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.0
-
[77d58d7](77d58d7940)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.31.1
to 0.33.0
-
[5d9b026](5d9b02630c)
- Bump prettier from 2.4.1 to 2.5.0
-
[b2f13c8](b2f13c87a6)
- Update README for reverse changes.
-
[74a0d45](74a0d45611)
- Fix version numbers in docs.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xOS4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:01:01 +01: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
Gastón Fournier
e1883caf0c
fix: escape single quotes ' for curl (#2272) 2022-10-27 14:35:46 +02:00
Gastón Fournier
b82d2b22d7
feat: trigger unleash-ci-builder (#2192)
* feat: trigger unleash-ci-builder

* Move job to build step
2022-10-14 16:48:03 +02:00
renovate[bot]
d30d2cdf0d
chore(deps): update lycheeverse/lychee-action action to v1.5.1 (#2156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 20:22:56 +00:00
Tymoteusz Czech
47152cf05b
Feat/invite user (#2061)
* refactor: user creation screen cleanup

* feat: deprecation notice for google sso

* fix: docs openid typo

* invite link bar

* invite link page

* fix prettier docs

* regenerated openapi

* hooks for invite page api

* update openapi

* feat: invite link update

* feat: add public signup token soft-delete

* public signup frontend feature flag

* fix: new user api issues

* feat: allow for creating new user from invite link

* Feat/invite user public controller (#2106)

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* fix test

* fix test

* update openapi

* refactor: password reset props

* fix: public invite schema and validation

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

* user invite frontend

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

* invite link delete confirmation dialog

* refactor: password reset action

* fix: new user invite loading state

* fix: run ts check with ci

* revert openapi changes

* fix: invite token api interface

* fix: openapi schema index

* fix: update test snapshots

* update frontend snapshot

* fix: prettier ci

* fix: updates after review

Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-09-30 13:01:32 +02:00
Gastón Fournier
65f2aaf6f5
fix: support coverage reports on external PRs (#2087)
* fix: support coverage reports on external PRs
* removed the coverage comment on the PR until we can investigate this further

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-09-27 15:51:04 +02:00
Gastón Fournier
c8a007684a
Revert usage of pull_request_target (#2088) 2022-09-26 12:53:20 +02:00
Thomas Heartman
2d04bd9ea2
Add OpenAPI docs (#1391) (#2066)
## What

This PR (finally 🎉) adds generated OpenAPI docs to the official Unleash documentation. In addition to generating docs when things get merged to main, it also pushes new doc updates every day at 12:00 AM (cron `@daily`).

## Why

Now that we have OpenAPI'd all the things, we can finally start using it. This will allow us to remove hand-written api docs from the documentation and should make sure everything is always kept up to date.

### Generating from us-hosted (Unleash enterprise)

Unleash has several different versions (open source, pro, enterprise). The versions do not necessarily have the exact same api surface. In fact, the enterprise version has a few endpoints that open source does not.

Because we want to have _all_ endpoints listed in the documentation we need to generated the docs from an enterprise spec. Which brings us into the next point:

### The need for scheduled jobs

Regarding the daily scheduled tasks to update the documentation: why do we need that?

The docs are generated from the tip of the main branch. For most of the docs, this is good and something that we want. However, because the OpenAPI docs are generated from the enterprise edition, it _will not be in sync_ with the open source main branch.

Also, we probably do not want the docs to list the current bleeding edge api changes. Instead, we should prefer to use the latest enterprise release (roughly). However, because we don't get notified when this version is released and deployed, we'll instead run the API generation on a daily cadence.

This isn't the perfect solution, but it's simple and gets us 80% of the way there. More intricate solutions can be set up later.

## How

-   By adding a scheduled workflow to the generate docs config.
-   By adding .gitignore entries for the generated files

There's also some minor changes in styling etc.

## Dependencies

This is dependent on the changes introduced in #2062 having propagated to the enterprise release, which will probably not be for another week or so.

## Discussion

What should the API reference docs url be? I've set it to be `/reference/api/unleash/*` for now, but I'm on the fence about whether it should be `apis` or `api` in there. I also want to get the proxy and other APIs in there as we grow.

-------

## Commits

* docs: style openapi operation buttons

* docs: minor operation badge adjustments

* docs: use permalink to css snippet i copied

* docs: ignore files related to openapi generation

* docs: re-enable openapi docs

* Docs(#1391): prep for integration

* docs(#1391): run docs generation daily

* docs(#1391): add generation step to doc prs too

* docs(#1391): use the US hosted instance to generate docs

* docs(#1391): move doc generation into build command

* docs(#1391): use `/reference/api/*` instead of `/reference/apis/*`
2022-09-19 14:50:24 +02:00
Gastón Fournier
ee6ec888a7
feat: Update to pull_request_target (#2059)
External builds are failing to upload coverage report
2022-09-13 09:57:14 +02:00
sjaanus
e6e6da6a44
Revert workflow (#2051) 2022-09-09 06:51:56 +00:00
Gastón Fournier
6e52718eab
Schedule link checker action (#2050)
Runs at 12:30 UTC on Mon, Tue, Wed, Thu and Fri
2022-09-07 16:38:39 +02:00
Gastón Fournier
6ef8c78e06
docs: test broken links in website (#1912)
The action triggers manually as a first step to test this functionality. In the near future, we might schedule it
2022-09-07 13:31:38 +00:00
sjaanus
e21cf00ca7
Merge e2e tests into matrix (#2007) 2022-08-30 13:23:09 +00:00
olav
5ba0f3b5f0
refactor: remove duplicate install/build step (#1994) 2022-08-29 15:26:17 +02:00
sjaanus
ac957a096c
Fix changelog (#1991) 2022-08-29 12:32:06 +00:00
sjaanus
d0631f0d74
Move e2e tests from frontend to backend .github (#1975)
* Add e2e tests

* Remove cypress key

* Add project tag

* Add cypress to root

* Add cypress working directory and package.json in subfolder

* Remove record flag

* Add contains to url check

* Test segment e2e test

* Remove one of contains

* Test e2e tests

* Fix e2e

* Test new yml

* New yaml

* Test different echo

* Update workflows

* Fix deployment url

* Fix formatting
2022-08-29 12:25:11 +00:00
sjaanus
a1ce89bedc
Merge frontend with backend (#1962)
* fix: use the frontend dir from the backend

* Build is now working

* Fix workflows

* Fix workflows

* Fix build PRs

* Test coverage workflow

* Test coverage

* Test coverage run

* Fix jest report

* refactor: add missing frontend build

* refactor: ignore frontend dir for coverage

* refactor: run frontend build in PRs

* refactor: run backend tests in PRs

* Revert "refactor: run backend tests in PRs"

This reverts commit 22cabddfd1.

* refactor: remove unused frontend build file

* refactor: test workflows in PR

* refactor: use a prepare script for the frontend

* refactor: simplify yarn build scripts

* refactor: fix check-release script

* Revert "refactor: test workflows in PR"

This reverts commit 496ae19404.

* refactor: remove unused gitignore lines

* refactor: remove renovate config from the frontend repo

* refactor: remove frontend repo license

* refactor: remove frontend repo changelog

* refactor: update frontend repo readme

* refactor: add frontend node_modules to dockerignore

* refactor: update the docker yarn.lock snapshot

Co-authored-by: olav <mail@olav.io>
2022-08-26 07:25:31 +00:00
Christopher Kolstad
ea8b78669e
improvement: mark github releases as prerelease (#1808)
This marks alpha and beta releases as prereleases, so github's release
tab doesn't show beta releases as our latest releases anymore
2022-07-12 15:34:10 +02:00
renovate[bot]
aa415610f7
chore(deps): update docker/build-push-action action to v3 (#1766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 14:01:45 +02:00
renovate[bot]
f444a59065
chore(deps): update docker/setup-qemu-action action to v2 (#1770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 14:01:26 +02:00
renovate[bot]
4c4a3b458d
chore(deps): update docker/setup-buildx-action action to v2 (#1769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 14:01:04 +02:00
Thomas Heartman
a3aff4421b
Meta: use org-wide stale bot config (#1789) 2022-07-05 15:59:11 +02:00
Gard Rimestad
0ffa52c9e4
feat: publish docker containers on tag builds (#1788)
This moves the production of docker releases from Unleash/unleash-docker
to this repository.
2022-07-05 15:55:17 +02:00
sellinjaanus
04fb065df4
Added missing archivedAt to featureSchema (#1779)
* Added missing archivedAt to featureSchema

* Added archivedAt to feature toggle.
Added archived_at to db

* Add test

* Add test

* Bug fix

* Bug fix

* update archivedAt to date-time

* Code refactoring done

* Conver to static and remove unused methods

* Add tests

* Fixes

* Fix

* Removed docker file from linting

* Fix segment test

* Fix failing test

* Make fixes

Co-authored-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
2022-07-01 11:51:26 +00:00
renovate[bot]
390ae8df2b
chore(deps): update docker/metadata-action action to v4 (#1768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 09:36:09 +02:00
renovate[bot]
fbbd037d35
chore(deps): update docker/login-action action to v2 (#1767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 09:24:47 +02:00
Gard Rimestad
5d5fc37dfd
Feat/docker container on main builds (#1762)
* feat: build docker containers when pushing to main

The intent here is to publish a docker container for every build of
main. This will make it easier to run the tip of main.
2022-06-28 16:13:00 +02:00
Christopher Kolstad
90b72f1162
chore: update setup-node task to activate yarn cache (#1661) 2022-06-09 14:26:35 +02:00
Ivar Conradi Østhus
5dc7d8dfac
Create codeql-analysis.yml 2022-05-23 12:22:31 +02:00
Ivar Conradi Østhus
5460245a67
fix: do not produce report.json in coverage action for now 2022-05-20 19:29:14 +02:00
Ivar Conradi Østhus
3c91acca4c
fix: coverage action 2022-05-20 16:48:13 +02:00
Ivar Conradi Østhus
51c1c790b4
fix: inline coverage action script commands 2022-05-20 16:41:43 +02:00
Ivar Conradi Østhus
477779069d
fix: switch gh token for coverage action 2022-05-20 16:23:42 +02:00
Thomas Heartman
312b5d42e8
meta: add external PRs to project board
The `pull_request` hook runs in the context of the proposed changes. That means that for forks, this action won't have access to the required secrets for it to complete. As such, PRs from outside contributors won't work correctly.

The `pull_request_target` hook, however, runs in the context of the target branch, and thus has all the permissions it needs. The [github docs for this hook](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target) also indicate that this is the way to go:

> This event allows your workflow to do things like label or comment on pull requests from forks. Avoid using this event if you need to build or run code from the pull request.

## Interesting note for PRs

It seems that when this change is proposed as a PR, the expected action (_add new item to project board_) does not run. However, this does not affect other new PRs. Also, after merging it works as expected, for both external and internal contributors.
2022-05-20 15:21:54 +02:00
Ivar Conradi Østhus
4eaec6e1d3
fix: add gh creds to coverage action 2022-05-20 12:25:17 +02:00
Ivar Conradi Østhus
f681f83706
fix: coverage action 2022-05-20 12:19:08 +02:00
Ivar Conradi Østhus
b25435052b
fix: coverage build for main should be a seperate workflow 2022-05-20 12:09:16 +02:00
Ivar Conradi Østhus
b16e842849
fix: auto-push coverage 2022-05-20 12:00:30 +02:00
Ivar Conradi Østhus
3d6cfb6582
fix: do not ignore coverage/report.json 2022-05-20 11:44:53 +02:00
Ivar Conradi Østhus
7ddb9f70eb
fix: more debugigng to jest coverage action (POC) 2022-05-20 11:38:54 +02:00
Ivar Conradi Østhus
4869ee8266
fix: more debug 2022-05-20 11:37:43 +02:00
Ivar Conradi Østhus
efb69e6474
fix: add debug step 2022-05-20 11:30:20 +02:00
Ivar Conradi Østhus
34c4f5bd84
fix: only specify base-cov-file for jest action (poc) 2022-05-20 11:20:09 +02:00
Ivar Conradi Østhus
d6f0d83a97
fix: specify coverage files to use for jest pr action (poc) 2022-05-20 11:16:44 +02:00
Thomas Heartman
119d958e7c fix: add version information for reusable workflow
without this, the workflow won't run
2022-05-11 11:38:39 +02:00
Thomas Heartman
c260f90094
chore: Add workflow file to auto-add items to project board (#1588)
This change adds a workflow file that references the reusable workflow
in the unleash/.github repo. It should (if all goes well),
automatically add new issues and prs to the project board.
2022-05-11 11:10:16 +02:00
Ivar Conradi Østhus
25b3d57c3e
fix: pr-build use pull_request_target event 2022-04-28 19:38:19 +02:00
Ivar Conradi Østhus
dc06c2c90d
fix: create separate build for forked PRs 2022-04-25 13:12:50 +02:00
sighphyre
01da74014a fix: trim out test trigger for svg gen 2022-04-22 10:40:23 +02:00
sighphyre
b72ca55f65 feat: use svg generator fork to create contributors and extend limit to 500 2022-04-22 10:36:29 +02:00
sighphyre
aa1f97889c
Update .github/workflows/update_contributors.yaml
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-04-21 14:11:48 +02:00
sighphyre
7c5107e680 feat: add contributors image generation workflow 2022-04-21 13:50:08 +02:00
Ivar Conradi Østhus
2f638334b1
fix: release script syntax 2022-04-20 23:45:02 +02:00
Ivar Conradi Østhus
636f03257f
fix: update npm publish script to select correct dist-tag 2022-04-20 23:38:55 +02:00
sighphyre
9101884c5e feat: add no response action config 2022-04-20 08:30:13 +02:00
sighphyre
5165f342b7 feat: add stalebot config 2022-04-20 08:18:00 +02:00
Thomas Heartman
dfb3bb5b50
Merge pull request #1488 from Unleash/docs/readme-update
Update readme
2022-04-11 09:47:39 +02:00
Thomas Heartman
124c54ca3d fix: Add unleash users image 2022-04-08 13:19:24 +02:00
Thomas Heartman
c42089d6d4 docs: Add online demo illustration image. 2022-04-08 11:02:32 +02:00
Thomas Heartman
bd22d3db30 fix: add missing header image 2022-04-07 15:40:43 +02:00
renovate[bot]
86f03ed3a3
chore(deps): update actions/setup-node action to v3 (#1396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:43:29 +02:00
renovate[bot]
19db5bb857
chore(deps): update actions/checkout action to v3 (#1407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:43:00 +02:00
Ivar Conradi Østhus
fe45c69fb6
chore: add check-relase script as part of perversion validations. 2022-04-06 20:34:15 +02:00
Ivar Conradi Østhus
f5257b32fa
fix: update release script 2022-04-05 21:18:46 +02:00
Ivar Conradi Østhus
e00d5532ad
fix: add release script 2022-04-05 21:09:03 +02:00
Thomas Heartman
69c29a6cd8 chore: new doc env vars to doc workflows 2022-03-02 12:31:06 +01:00
Ivar Conradi Østhus
0e8bb74e93
fix: jest-coverage-report-action disable annotations 2022-02-02 22:18:50 +01:00
Thomas Heartman
14081c014e chore(workflows): update with new branch names 2021-12-23 14:12:19 +01:00
renovate[bot]
769e8693b3
chore(deps): update metcalfc/changelog-generator action to v3 (#1121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 20:08:33 +01:00
Christopher Kolstad
6c6001619c
Feat/variant api (#1119)
Add a new .../:feature/variants API

This adds
- `GET /api/admin/projects/:projectId/features/:featureName/variants` which returns 
```json
{ version: '1', variants: IVariant[] }
```
- `PATCH /api/admin/projects/:projectId/features/:featureName/variants` which accepts a json patch set and updates the feature's variants field and then returns 
```json
{ version: '1', variants: IVariant[] }
```
- `PUT /api/admin/projects/:projectId/features/:featureName/variants`
 which accepts a IVariant[] and overwrites the current variants list for the feature defined in :featureName and returns
```json
{ version: '1', variants: IVariant[] }

- This also makes sure the total weight of all variants is == 1000
- Validates that there is at least 1 'variable' variant if there are variants
- Validates that 'fix' variants total weight can't exceed 1000
- Adds tests for all these invariants.


Co-authored-by: Simon Hornby <simon@getunleash.ai>
2021-11-24 13:08:04 +01:00
Christopher Kolstad
1848d8d4eb
task: add a workflow that validates docs for PRs (#1123) 2021-11-23 15:19:59 +01:00
renovate[bot]
dc1df85dce
chore(deps): update metcalfc/changelog-generator action to v2 (#1062)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 20:14:02 +02:00
Ivar Conradi Østhus
ffec4f6342 fix: rename websitev2 to website 2021-10-26 11:25:19 +02:00
Renovate Bot
985f5cd007 chore(deps): update metcalfc/changelog-generator action to v1.0.1 2021-10-12 11:36:18 +00:00
Ivar Conradi Østhus
14e09fe6aa
fix: modify actions for PRs 2021-10-06 22:16:58 +02:00
Ivar Conradi Østhus
e76345e243
fix: custom test-script for yart coverage reporter action 2021-10-06 13:09:09 +02:00
Ivar Conradi Østhus
fdffb03fb3
fix: adjust test-script for jest-coverage action 2021-10-06 12:41:50 +02:00
Aneesh Relan
7b034b631c
chore: add jest coverage action for pr builds (#997)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-10-06 12:31:28 +02:00
renovate[bot]
a85aba86ba
chore(deps): update metcalfc/changelog-generator action to v1 (#982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 12:09:46 +02:00
renovate[bot]
178c5aeaaa
chore(deps): update actions/setup-node action to v2 (#977)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 19:21:13 +02:00
Youssef Khedher
118ccf8449
docs: Readme update dashboard screenshot (#953) 2021-09-23 21:19:10 +02:00
Ivar Conradi Østhus
c9a2b3d549
fix: set DEPLOYMENT_BRANCH for docusaurus 2021-09-02 14:36:18 +02:00
Ivar Conradi Østhus
c5b8b2f920
fix: add node v16 as build target
fixes: #871
2021-08-11 12:58:10 +02:00
Pankaj Patil
b30bed524c
chore: Added Deploy To Digital Ocean Button (#874)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-06-21 14:15:33 +02:00
Ivar Conradi Østhus
8c7b3f7441
docs: improve introduction section 2021-06-14 21:48:19 +02:00
Ivar Conradi Østhus
a8c8046b9f
chore: update readme 2021-06-13 23:26:20 +02:00
Ivar Conradi Østhus
88a51eed79
fix: styles to docs 2021-06-05 00:25:35 +02:00
Ivar Conradi Østhus
c8eff31fbd
fix: proper logo 2021-06-04 23:26:40 +02:00
Ivar Conradi Østhus
1063e356a6
fix: update README.md 2021-06-04 19:35:43 +02:00
Ivar Conradi Østhus
496d9d38a6
fix: update README.md 2021-06-04 19:31:28 +02:00
Christopher Kolstad
a709af1d67
fix: don't build all of unleash just for doc updates 2021-06-04 15:33:47 +02:00
Christopher Kolstad
296804c147
fix: only generate docs if websitev2 subfolders are changed 2021-06-04 11:19:22 +02:00
Christopher Kolstad
406f0554cf
Docusaurusv2 (#864)
feat: Upgraded to Docusaurus v2

closes: #771
2021-06-04 11:17:15 +02:00
Simen A. W. Olsen
a11ef18638
Add unleash logo to README (#859)
* Improve README heading

* update logo name

* improve precision on logo
2021-05-27 23:36:59 +02:00
Ivar Conradi Østhus
0eb132c025
feat: unleash v4 will require node 14 or higher (#784) 2021-04-13 09:22:37 +02:00
Christopher Kolstad
dde1974aa0 chore: Don't build prs from main build file 2021-03-04 18:48:08 +01:00
Christopher Kolstad
a67b50296b chore: setup separate workflow for PRs 2021-03-04 14:27:43 +01:00
Christopher Kolstad
3bd3448edb
chore: Make github workflow trigger on all pushes 2021-02-17 15:36:07 +01:00
Ivar Conradi Østhus
2bb38fe3e8 fix: Addons should support sensitive params 2021-02-05 15:20:00 +01:00
Christopher Kolstad
41c7f94132
Chore: add action for performing github release 2021-01-26 11:53:02 +01:00
Christopher Kolstad
9c170f269c
Add pull_request and remove pull_request_target 2021-01-07 14:42:31 +01:00
Ivar Conradi Østhus
f22233c3d7 fix: make github action use correct ref for pull-requests 2021-01-06 19:40:01 +01:00
Ivar Conradi Østhus
0c6eb9dd92 fix: run on all pull_requests regardless of branch 2021-01-06 18:06:56 +01:00
Ivar Conradi Østhus
82b0a579e3 fix: avoid github actions running twice on PRs 2020-12-21 15:58:07 +01:00
Ivar Conradi Østhus
9f7beb84c9 fix: run build also for external PRs 2020-12-11 14:50:38 +01:00
Ivar Conradi Østhus
e3bfe2c6d0 fix: remove unused github action 2020-12-03 21:23:51 +01:00
gazconroy
c7c2f17bd0
feat: First draft of admin Open API specification (OAS) (#652)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-03 21:09:16 +01:00
Ivar Conradi Østhus
9e48b5a2f4 fix: Replace travis with GitHub Actions
closes #656
2020-11-24 12:46:55 +01:00
Ivar Conradi Østhus
a328f4df30 Create FUNDING.yml 2020-02-20 08:34:31 +01:00