Skip to content

Commit 0bfb318

Browse files
Merge remote-tracking branch 'upstream/main' into feat-sendpulse
* upstream/main: (229 commits) chore(placid): add eslintignore file fix(eden-ai): remove redundant category from piece metadata feat(eden-ai): improve piece metadata and bump version fix: lint chore: added required scope to download captions for yt fix: plans limit fix(lint): import order fix: info route being called in CE feat: comprehensive Eden AI integration enhancements fix: allow total prop in UsageCardProps to be null feat: eden-ai piece feat: eden-ai piece feat: eden-ai piece fix: undefined limits arriving as 0 value from platform route fix(ninox): fix table fields and trigger chore(tsconfig): remove eden-ai piece from configuration feat(short-io): comprehensive short.io piece implementation and enhancements chore(dimo): upgrade dimo version to 0.0.2 chore(dimo): upgrade piece version fix(clicksend): fix trigger and api function ...
2 parents 59d60af + a853a6c commit 0bfb318

437 files changed

Lines changed: 26569 additions & 4314 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/e2e-tests.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: E2E Tests
2+
on:
3+
push:
4+
branches: [main]
5+
6+
jobs:
7+
e2e-tests:
8+
runs-on: ubuntu-latest
9+
timeout-minutes: 10
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 20
15+
cache: 'npm'
16+
17+
- name: Install dependencies
18+
run: npm ci
19+
20+
- name: Run Checkly tests
21+
id: checkly-tests
22+
run: npx checkly test --config=packages/tests-e2e/checkly.config.ts --reporter=github --record
23+
env:
24+
CHECKLY_API_KEY: ${{ secrets.CHECKLY_API_KEY }}
25+
CHECKLY_ACCOUNT_ID: ${{ secrets.CHECKLY_ACCOUNT_ID }}
26+
E2E_EMAIL: ${{ secrets.E2E_EMAIL }}
27+
E2E_PASSWORD: ${{ secrets.E2E_PASSWORD }}
28+
E2E_INSTANCE_URL: ${{ secrets.E2E_INSTANCE_URL }}
29+
30+
- name: Deploy Checkly config
31+
if: steps.checkly-tests.outcome == 'success'
32+
run: npx checkly deploy --config=packages/tests-e2e/checkly.config.ts
33+
env:
34+
CHECKLY_API_KEY: ${{ secrets.CHECKLY_API_KEY }}
35+
CHECKLY_ACCOUNT_ID: ${{ secrets.CHECKLY_ACCOUNT_ID }}
36+
37+
- name: Create summary
38+
run: cat checkly-github-report.md > $GITHUB_STEP_SUMMARY
39+
if: always()
40+
41+
- name: Notify Discord on failure
42+
if: failure()
43+
run: |
44+
if [ -f checkly-github-report.md ]; then
45+
SUMMARY=$(node tools/scripts/format-checkly-report.js checkly-github-report.md)
46+
curl -H "Content-Type: application/json" \
47+
-X POST \
48+
-d "{\"content\": $SUMMARY}" \
49+
https://discordapp.com/api/webhooks/1395411907413807184/yfzZsR0wDYvk3fgDXeyVz0yAheja9peyxqTlOl6uI8KfOjlzCGR-Thdso9L5fHrZiTmO
50+
fi
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Enterprise Automate Deploy
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
types: [merged]
10+
branches:
11+
- main
12+
merged: true
13+
14+
jobs:
15+
Release:
16+
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Check out repository code
20+
uses: actions/checkout@v3
21+
22+
- name: Set RELEASE env var from package.json
23+
run: echo RELEASE=$(node --print "require('./package.json').version") >> $GITHUB_ENV
24+
25+
- name: Login to GitHub Container Registry
26+
uses: docker/login-action@v2
27+
with:
28+
registry: ghcr.io
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Set up Depot CLI
33+
uses: depot/setup-action@v1
34+
35+
- name: Build and push
36+
uses: depot/build-push-action@v1
37+
with:
38+
project: du7O4b0e8P
39+
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
40+
context: .
41+
file: ./Dockerfile
42+
platforms: |
43+
linux/amd64
44+
push: true
45+
tags: |
46+
ghcr.io/activepieces/activepieces:${{ env.RELEASE }}.${{ github.sha }}.enterprise
47+
48+
- name: Configure SSH
49+
run: |
50+
mkdir -p ~/.ssh/
51+
echo "$SSH_KEY" > ~/.ssh/pre-prod.key
52+
chmod 600 ~/.ssh/pre-prod.key
53+
cat >>~/.ssh/config <<END
54+
Host pre-prod
55+
HostName $SSH_HOST
56+
User $SSH_USER
57+
IdentityFile ~/.ssh/pre-prod.key
58+
StrictHostKeyChecking no
59+
END
60+
env:
61+
SSH_USER: ${{ secrets.PRE_PROD_USERNAME }}
62+
SSH_KEY: ${{ secrets.PRE_PROD_SSH_PRIVATE_KEY }}
63+
SSH_HOST: ${{ secrets.PRE_PROD_HOST }}
64+
65+
- name: Deploy with Docker Compose
66+
run: |
67+
ssh pre-prod -t -t 'bash -ic "cd enterprise-activepieces && IMAGE_TAG=${{ env.RELEASE }}.${{ github.sha }}.enterprise docker compose pull && IMAGE_TAG=${{ env.RELEASE }}.${{ github.sha }}.enterprise docker compose up -d --force-recreate enterprise-activepieces; exit"'
68+
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Pre-Prod Automate Deploy
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
types: [merged]
10+
branches:
11+
- main
12+
merged: true
13+
14+
jobs:
15+
Release:
16+
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Check out repository code
20+
uses: actions/checkout@v3
21+
22+
- name: Set RELEASE env var from package.json
23+
run: echo RELEASE=$(node --print "require('./package.json').version") >> $GITHUB_ENV
24+
25+
- name: Login to GitHub Container Registry
26+
uses: docker/login-action@v2
27+
with:
28+
registry: ghcr.io
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Set up Depot CLI
33+
uses: depot/setup-action@v1
34+
35+
- name: Build and push
36+
uses: depot/build-push-action@v1
37+
with:
38+
project: du7O4b0e8P
39+
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
40+
context: .
41+
file: ./Dockerfile
42+
platforms: |
43+
linux/amd64
44+
push: true
45+
tags: |
46+
ghcr.io/activepieces/activepieces:${{ env.RELEASE }}.${{ github.sha }}.pre-prod
47+
48+
- name: Configure SSH
49+
run: |
50+
mkdir -p ~/.ssh/
51+
echo "$SSH_KEY" > ~/.ssh/pre-prod.key
52+
chmod 600 ~/.ssh/pre-prod.key
53+
cat >>~/.ssh/config <<END
54+
Host pre-prod
55+
HostName $SSH_HOST
56+
User $SSH_USER
57+
IdentityFile ~/.ssh/pre-prod.key
58+
StrictHostKeyChecking no
59+
END
60+
env:
61+
SSH_USER: ${{ secrets.PRE_PROD_USERNAME }}
62+
SSH_KEY: ${{ secrets.PRE_PROD_SSH_PRIVATE_KEY }}
63+
SSH_HOST: ${{ secrets.PRE_PROD_HOST }}
64+
65+
- name: Deploy with Docker Compose
66+
run: |
67+
ssh pre-prod -t -t 'bash -ic "cd activepieces && IMAGE_TAG=${{ env.RELEASE }}.${{ github.sha }}.pre-prod docker compose pull && IMAGE_TAG=${{ env.RELEASE }}.${{ github.sha }}.pre-prod docker compose up -d --force-recreate activepieces; exit"'
68+

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ scratch.md
6565

6666
.cursor/rules/nx-rules.mdc
6767
.github/instructions/nx.instructions.md
68+
69+
# Playwright
70+
/test-results/
71+
/playwright-report/
72+
/blob-report/
73+
/playwright/.cache/

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.0'
22
services:
33
activepieces:
4-
image: ghcr.io/activepieces/activepieces:0.65.0
4+
image: ghcr.io/activepieces/activepieces:0.66.2
55
container_name: activepieces
66
restart: unless-stopped
77
## Enable the following line if you already use AP_EXECUTION_MODE with SANDBOXED or old activepieces, checking the breaking change documentation for more info.

docs/about/breaking-changes.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ description: "This list shows all versions that include breaking changes and how
44
icon: "hammer"
55
---
66

7+
8+
## 0.66.0
9+
10+
### What has changed?
11+
12+
- If you use embedding the embedding SDK, please upgrade to version 0.6.0, `embedding.dashboard.hideSidebar` used to hide the navbar above the flows table in the dashboard now it relies on `embedding.dashboard.hideFlowsPageNavbar`
13+
14+
715
## 0.64.0
816

917
### What has changed?

docs/docs.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@
216216
"endpoints/projects/schema",
217217
"endpoints/projects/create",
218218
"endpoints/projects/update",
219-
"endpoints/projects/list"
219+
"endpoints/projects/list",
220+
"endpoints/projects/delete"
220221
]
221222
},
222223
{
@@ -470,7 +471,8 @@
470471
"handbook/engineering/playbooks/bullboard",
471472
"handbook/engineering/playbooks/database-migration",
472473
"handbook/engineering/playbooks/product-announcement",
473-
"handbook/engineering/playbooks/frontend-best-practices"
474+
"handbook/engineering/playbooks/frontend-best-practices",
475+
"handbook/engineering/playbooks/e2e-tests"
474476
]
475477
},
476478
{

docs/embedding/embed-builder.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Please check the [navigation](./navigation) section, as it's very important to u
7373
| embedding.builder.homeButtonClickedHandler | ❌ | ()=>void | Callback that stops home button from navigating to dashboard and overrides it with this handler (added in [0.4.0](./sdk-changelog#20%2F05%2F2025-0-4-0))
7474
| embedding.builder.homeButtonIcon | ❌ | 'logo' \| 'back' | if set to **'back'** the tooltip shown on hovering the home button is removed (added in [0.5.0](./sdk-changelog#03%2F07%2F2025-0-5-0))
7575
| embedding.dashboard.hideSidebar || boolean | Controls the visibility of the sidebar in the dashboard, by default it is false. |
76+
| embedding.dashboard.hideFlowsPageNavbar || boolean | Controls the visibility of the navbar showing flows,issues and runs above the flows table in the dashboard, by default it is false. (added in [0.6.0](./sdk-changelog#07%2F07%2F2025-0-6-0)) |
7677
| embedding.hideFolders || boolean | Hides all things related to folders in both the flows table and builder by default it is false. |
7778
| embedding.styling.fontUrl || string | The url of the font to be used in the embedding, by default it is `https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap`. |
7879
| embedding.styling.fontFamily || string | The font family to be used in the embedding, by default it is `Roboto`. |

docs/embedding/sdk-changelog.mdx

Lines changed: 65 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,53 @@ icon: "code-commit"
1616

1717
Change log format: DD/MM/YYYY (version)
1818

19-
### 04/12/2024 (0.3.0)
2019

2120

22-
- add custom navigation handler ([#4500](https://github.com/activepieces/activepieces/pull/4500))
23-
- allow passing a predefined name for connection in connect method ([#4485](https://github.com/activepieces/activepieces/pull/4485))
24-
- add changelog ([#4503](https://github.com/activepieces/activepieces/pull/4503))
21+
### 07/07/2025 (0.6.0)
22+
- SDK URL: https://cdn.activepieces.com/sdk/embed/0.6.0.js
23+
- This version requires you to **upgrade Activepieces to [0.66.1](https://github.com/activepieces/activepieces/releases/tag/0.66.1)**
24+
- Added `embedding.dashboard.hideFlowsPageNavbar` parameter to the [configure](./embed-builder#configure-parameters) method **(value: true | false)**.
25+
- **(Breaking Change)** `embedding.dashboard.hideSidebar` used to hide the navbar above the flows table in the dashboard now it relies on `embedding.dashboard.hideFlowsPageNavbar`.
2526

2627

27-
### 26/01/2025 (0.3.3)
2828

29-
- This version requires you to update Activepieces to 0.39.8
30-
- activepieces.configure method was being resolved before the user was authenticated, this is fixed now, so you can use activepieces.navigate method to navigate to your desired initial route.
3129

3230

33-
### 04/02/2025 (0.3.4)
31+
### 03/07/2025 (0.5.0)
32+
- SDK URL: https://cdn.activepieces.com/sdk/embed/0.5.0.js
33+
- This version requires you to **upgrade Activepieces to [0.64.2](https://github.com/activepieces/activepieces/releases/tag/0.64.2)**
34+
- Added `embedding.hideDuplicateFlow` parameter to the [configure](./embed-builder#configure-parameters) method **(value: true | false)**.
35+
- Added `embedding.builder.homeButtonIcon` parameter to the [configure](./embed-builder#configure-parameters) method **(value: 'logo' | 'back')**, if set to **'back'** the tooltip shown on hovering the home button is removed.
36+
- Added `embedding.locale` parameter to the [configure](./embed-builder#configure-parameters) method, it takes [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) locale codes, here are the ones supported: **('en' | 'nl' | 'it' | 'de' | 'fr' | 'bg' | 'uk' | 'hu' | 'es' | 'ja' | 'id' | 'vi' | 'zh' | 'pt')**
37+
- Added `embedding.styling.mode` parameter to [configure](./embed-builder#configure-parameters) method **(value: 'light' | 'dark')**
38+
- **(Breaking Change)** Removed `embedding.builder.hideLogo` parameter from the [configure](./embed-builder#configure-parameters) method.
39+
- **(Breaking Change)** Removed MCP methods from sdk.
3440

35-
- This version requires you to update Activepieces to 0.41.0
36-
- Adds the ability to pass font family name and font url to the embed sdk
3741

3842

39-
### 24/2/2025 (0.3.5)
40-
- Added a new parameter to the connect method to make the connection dialog a popup instead of an iframe taking the full page.
41-
- Fixed a bug where the returned promise from the connect method was always resolved to \{connection: undefined\}
42-
- Now when you use the connect method with the "connectionName" parameter, the user will reconnect to the connection with the matching externalId instead of creating a new one.
43+
### 17/06/2025 (0.5.0-rc.1)
44+
- SDK URL: https://cdn.activepieces.com/sdk/embed/0.5.0-rc.1.js
45+
- This version requires you to **upgrade Activepieces to [0.64.0-rc.0](https://github.com/activepieces/activepieces/pkgs/container/activepieces/438888138?tag=0.64.0-rc.0)**
46+
- Revert back the `prefix` parameter from the [configure](./embed-builder#configure-parameters) method.
4347

4448

45-
### 16/04/2025 (0.3.6)
46-
- Added the [request](./sdk-server-requests) method which allows you to call our backend API.
4749

48-
### 17/04/2025 (0.3.7)
49-
- Added [MCP methods](./mcps) to update MCP configurations.
50+
51+
### 16/06/2025 (0.5.0-rc.0)
52+
- SDK URL: https://cdn.activepieces.com/sdk/embed/0.5.0-rc.0.js
53+
- This version requires you to **upgrade Activepieces to [0.64.0-rc.0](https://github.com/activepieces/activepieces/pkgs/container/activepieces/438888138?tag=0.64.0-rc.0)**
54+
- Added `embedding.hideDuplicateFlow` parameter to the [configure](./embed-builder#configure-parameters) method **(value: true | false)**.
55+
- Added `embedding.builder.homeButtonIcon` parameter to the [configure](./embed-builder#configure-parameters) method **(value: 'logo' | 'back')**, if set to **'back'** the tooltip shown on hovering the home button is removed.
56+
- Added `embedding.locale` parameter to the [configure](./embed-builder#configure-parameters) method, it takes [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) locale codes, here are the ones supported: **('en' | 'nl' | 'it' | 'de' | 'fr' | 'bg' | 'uk' | 'hu' | 'es' | 'ja' | 'id' | 'vi' | 'zh' | 'pt')**
57+
- Added `embedding.styling.mode` parameter to [configure](./embed-builder#configure-parameters) method **(value: 'light' | 'dark')**
58+
- **(Breaking Change)** Removed `prefix` parameter from the [configure](./embed-builder#configure-parameters) method.
59+
- **(Breaking Change)** Removed `embedding.builder.hideLogo` parameter from the [configure](./embed-builder#configure-parameters) method.
60+
61+
62+
63+
64+
### 26/05/2025 (0.4.1)
65+
- Fixed an issue where sometimes the embed HTML file was getting cached.
5066

5167

5268
### 20/05/2025 (0.4.0)
@@ -58,31 +74,39 @@ Change log format: DD/MM/YYYY (version)
5874
- Added new param to the configure method `embed.builder.homeButtonClickedHandler`, that overrides the navigation behaviour on clicking the home button.
5975

6076

61-
### 26/05/2025 (0.4.1)
62-
- Fixed an issue where sometimes the embed HTML file was getting cached.
6377

78+
### 17/04/2025 (0.3.7)
79+
- Added MCP methods to update MCP configurations.
6480

65-
### 16/06/2025 (0.5.0-rc.0)
66-
- SDK URL: https://cdn.activepieces.com/sdk/embed/0.5.0-rc.0.js
67-
- This version requires you to **upgrade Activepieces to [0.64.0-rc.0](https://github.com/activepieces/activepieces/pkgs/container/activepieces/438888138?tag=0.64.0-rc.0)**
68-
- Added `embedding.hideDuplicateFlow` parameter to the [configure](./embed-builder#configure-parameters) method **(value: true | false)**.
69-
- Added `embedding.builder.homeButtonIcon` parameter to the [configure](./embed-builder#configure-parameters) method **(value: 'logo' | 'back')**, if set to **'back'** the tooltip shown on hovering the home button is removed.
70-
- Added `embedding.locale` parameter to the [configure](./embed-builder#configure-parameters) method, it takes [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) locale codes, here are the ones supported: **('en' | 'nl' | 'it' | 'de' | 'fr' | 'bg' | 'uk' | 'hu' | 'es' | 'ja' | 'id' | 'vi' | 'zh' | 'pt')**
71-
- Added `embedding.styling.mode` parameter to [configure](./embed-builder#configure-parameters) method **(value: 'light' | 'dark')**
72-
- **(Breaking Change)** Removed `prefix` parameter from the [configure](./embed-builder#configure-parameters) method.
73-
- **(Breaking Change)** Removed `embedding.builder.hideLogo` parameter from the [configure](./embed-builder#configure-parameters) method.
7481

75-
### 17/06/2025 (0.5.0-rc.1)
76-
- SDK URL: https://cdn.activepieces.com/sdk/embed/0.5.0-rc.1.js
77-
- This version requires you to **upgrade Activepieces to [0.64.0-rc.0](https://github.com/activepieces/activepieces/pkgs/container/activepieces/438888138?tag=0.64.0-rc.0)**
78-
- Revert back the `prefix` parameter from the [configure](./embed-builder#configure-parameters) method.
82+
83+
### 16/04/2025 (0.3.6)
84+
- Added the [request](./sdk-server-requests) method which allows you to call our backend API.
85+
86+
87+
### 24/2/2025 (0.3.5)
88+
- Added a new parameter to the connect method to make the connection dialog a popup instead of an iframe taking the full page.
89+
- Fixed a bug where the returned promise from the connect method was always resolved to \{connection: undefined\}
90+
- Now when you use the connect method with the "connectionName" parameter, the user will reconnect to the connection with the matching externalId instead of creating a new one.
91+
92+
93+
94+
### 04/02/2025 (0.3.4)
95+
96+
- This version requires you to update Activepieces to 0.41.0
97+
- Adds the ability to pass font family name and font url to the embed sdk
98+
99+
100+
### 26/01/2025 (0.3.3)
101+
102+
- This version requires you to update Activepieces to 0.39.8
103+
- activepieces.configure method was being resolved before the user was authenticated, this is fixed now, so you can use activepieces.navigate method to navigate to your desired initial route.
104+
105+
106+
### 04/12/2024 (0.3.0)
107+
108+
- add custom navigation handler ([#4500](https://github.com/activepieces/activepieces/pull/4500))
109+
- allow passing a predefined name for connection in connect method ([#4485](https://github.com/activepieces/activepieces/pull/4485))
110+
- add changelog ([#4503](https://github.com/activepieces/activepieces/pull/4503))
79111

80112

81-
### 03/07/2025 (0.5.0)
82-
- SDK URL: https://cdn.activepieces.com/sdk/embed/0.5.0.js
83-
- This version requires you to **upgrade Activepieces to [0.64.2](https://github.com/activepieces/activepieces/releases/tag/0.64.2)**
84-
- Added `embedding.hideDuplicateFlow` parameter to the [configure](./embed-builder#configure-parameters) method **(value: true | false)**.
85-
- Added `embedding.builder.homeButtonIcon` parameter to the [configure](./embed-builder#configure-parameters) method **(value: 'logo' | 'back')**, if set to **'back'** the tooltip shown on hovering the home button is removed.
86-
- Added `embedding.locale` parameter to the [configure](./embed-builder#configure-parameters) method, it takes [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) locale codes, here are the ones supported: **('en' | 'nl' | 'it' | 'de' | 'fr' | 'bg' | 'uk' | 'hu' | 'es' | 'ja' | 'id' | 'vi' | 'zh' | 'pt')**
87-
- Added `embedding.styling.mode` parameter to [configure](./embed-builder#configure-parameters) method **(value: 'light' | 'dark')**
88-
- **(Breaking Change)** Removed `embedding.builder.hideLogo` parameter from the [configure](./embed-builder#configure-parameters) method.

docs/endpoints/projects/delete.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: 'Delete Project'
3+
openapi: DELETE /v1/projects/{id}
4+
---

0 commit comments

Comments
 (0)