Repository navigation
Tags
Tags
Fix: Backport ToolJet DB proxy compatibility to lts-3.21 (#19243) * fix: backport ToolJet DB proxy compatibility to lts-3.21 Backport the final reviewed diff from #18870. * fix: update version to 3.21.99-lts across all components * style: fix prettier errors in tooljet-db specs --------- Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Cloud: per-user workspace limit (#19001) * fix: per-user Cloud workspace limit Adds users.workspace_limit (null = default 5) so the team can raise the limit for a user. * Bump version to 4.0.3-beta across all components --------- Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Feature: Git Sync audit events in the Audit Log (#19112) * feat: Git Sync audit events on the new audit engine Adds the audit_events table and engine contracts, and a Git Sync audit module that records the five Git Sync events (resource push, delete commit, resource pull, workspace push and pull) with their git and details blocks. Outcome now also allows failed and partial. - recordEvent entry on the audit engine for work outside a route spec - Request id on every request (X-Request-Id), used by audit entries - Git Sync routes skip their per-request row so each operation is logged once - Secrets scrubbed from API error messages and stored git errors - Audit Logs action filter matches the old Git Sync action names * chore: update submodule pointers * refactor: drop the audit_events table and engine Git Sync audit entries are written to audit_logs only, so the audit_events table, its entity and migration, the engine interceptor, the guard's denied hook and the X-Request-Id request id are removed. * chore: update submodule pointers * chore: update submodule pointers * chore: update submodule pointers * chore: update submodule commits for frontend and server * chore: bump version to 3.21.98-lts across all components --------- Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Release v3.21.97 lts (#19141) * chore: update version to 3.21.97-lts and sync subproject commits * fix: check every branch for slug collisions on git import (#19137) A git import creates a new app, but its slug pre-flight only looked at default-branch rows. A slug another app held only on a feature branch (any workspace on the instance) slipped past it, and the insert failed with app_versions_slug_branch_id_unique. The pre-flight now matches the instance-wide slug triggers and falls back to the imported app's own UUID, as pull does. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Fix: AI data source key encryption, license lookup and toast overflow (#19150) * fix: encrypt camelCase data source secrets and pass workspace id to git-sync license lookup * fix: make long dashboard error toasts scroll instead of overflowing the viewport Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Pratush <pratush@Pratushs-MBP.lan> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Add cloud workspace licence scoping specs for app export, clone and import (#19188) Cloud reads the licence per workspace, so a code path that loads an app without its organization id passes on EE and fails only on Cloud. These specs run the app export, clone, import and folder flows on basic and team workspaces, through the API and through the home page card menu. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Pratush Sinha <104584767+Pratush613@users.noreply.github.com> Co-authored-by: Pratush <pratush@Pratushs-MBP.lan> Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Fix: SSRF hardening with an EE protection toggle and allowlist (#18600) * Fix: harden SSRF protection across data-source connectors and OAuth * Feature: honour SSRF runtime config in built-in plugin check Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: exclude common package tests from tsc build Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: honour SSRF runtime config in marketplace plugin check Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: handle all:true in SSRF-safe DNS lookup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: honour SSRF runtime config in server helper, scope test connection Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: handle all:true in SSRF-safe DNS lookup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: SSRF instance settings and EE runtime publisher Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: SSRF settings endpoints for super admins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: ungate SSRF settings routes from licence check Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: SSRF toggle and allowlist on Security page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: one-time SSRF protection notice for super admins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: link SSRF notice to /settings/security Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Docs: SSRF runtime config context and release note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: keep plugin tests out of the plugins build Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: split Security page into sub-tabs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: keep plugin tests out of the plugins build Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: add Security page heading Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: Security tab content spacing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test: run marketplace SSRF tests from plugins jest marketplace/ has no Jest runner, so the marketplace common SSRF suite never ran. The plugins Jest config now also roots at marketplace/plugins/common. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: block bracketed IPv6 literals in built-in SSRF check new URL() keeps the brackets on IPv6 hostnames and rewrites IPv4-mapped addresses to hex ([::ffff:7f00:1]), so the built-in copy's private-IP check missed [::1], [fd00::1], [fe80::1] and [::ffff:169.254.169.254], and Node skips the lookup hook for IP literals. The hostname is now unbracketed before the private-IP, allowlist and DNS steps (async and sync checks), and isPrivateIPv6 decodes the hex IPv4-mapped form, as the marketplace copy does. The bracket strip applies on every edition: it is a parsing bug, not a policy change, and CE users who opt in to SSRF protection are equally exposed. Also, under the EE runtime config a hostname with no DNS answer is now blocked (fail closed), matching the marketplace and server copies. IP literals skip DNS. Without the runtime config the empty answer still fails open, so CE/Cloud are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: check blocked schemes before the SSRF allowlist in plugin copies Both plugin copies returned on an allowlisted host before the scheme check, so gopher://jira.corp or ftp://10.0.4.12 passed once the host was allowlisted, while the server copy rejects them. An allowlist entry vouches for an address, not for a dangerous scheme. The built-in copy only has an allowlist under the EE runtime config, so the reorder is unconditional there. The marketplace copy also exempts loopback names by default on CE, so it checks the scheme early only when the runtime config is present, keeping CE/Cloud byte-identical. Same order in both sync checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test: cross-copy SSRF parity cases The same table now runs against all three SSRF check copies with the runtime key present: bracketed IPv6 loopback, ULA, AWS IMDSv6, IPv4-mapped loopback and metadata, and link-local literals are blocked; a hostname resolving into an allowlisted CIDR and an allowlisted IPv6 literal pass. Dropping the allowlist exemption from the DNS step now fails the server and marketplace suites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: keep test-connection URL checks for every connector Scoping the test-connection SSRF check to a list of HTTP kinds dropped it for every kind not on the list (s3 endpoint, qdrant url, woocommerce host, every marketplace plugin) on all editions. The URL-style option check now runs for every kind again, and the host/port/protocol check runs for every kind except a deny-list of built-in database drivers, which is never applied when the request carries a plugin_id (that picks a marketplace plugin whatever kind says). The non-http protocol test now mocks DNS and asserts the call resolves, so it fails if the protocol coercion is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Docs: describe runtime-config SSRF behaviour in server helper comments Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: drop redundant close icon from SSRF notice Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: always enforce SSRF protection on Cloud in every check Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: fail closed on empty DNS answers on Cloud Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: classify IPv6 addresses by their embedded IPv4 in every SSRF check IPv4-mapped (any spelling), SIIT, IPv4-compatible, NAT64, 6to4 and Teredo addresses are now judged by the IPv4 they carry, and ::, all of fe80::/10, fec0::/10 and ff00::/8 are blocked. Bracketed IPv6 literals are classified without brackets in the marketplace and server copies; under the runtime key and on Cloud a literal skips the DNS step, so public ones are allowed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: treat NAT64 local-use prefix as non-public in SSRF checks 64:ff9b:1::/48 can carry its IPv4 at any RFC 6052 offset, so decoding the last 32 bits let 127.0.0.1 hide behind a public-looking tail. The whole prefix is now blocked by every policy; 64:ff9b::/96 still decodes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: stop the SMTP connector reading local files or URLs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: keep SMTP test out of build and accept address objects Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: stop OAuth token exchange following redirects and pin the checked IP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: resolve relative redirects before SSRF validation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Feature: note that public apps can reach allowlisted addresses Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: classify hosts-file names against the SSRF allowlist resolve4/resolve6 never read /etc/hosts, so under the EE runtime config a hosts-file-only name was blocked even when its address was allowlisted. When DNS returns nothing, the three SSRF copies now fall back to dns.lookup and classify those addresses; CE and Cloud are unchanged. Also fixed the plugins and marketplace lint failures (prettier, and TypeScript tests now ignored like the JS ones). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: limit the test-connection database-kind skip to EE CE and Cloud check the host of built-in database kinds again, as before this branch; only EE with the SSRF runtime config skips them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Docs: correct Cloud SSRF behaviour and SMTP address note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: accept underscores inside SSRF allowlist hostnames Docker Compose service names such as my_service are now valid entries; a leading or trailing underscore is still rejected. Bumps frontend/ee for the matching client check and the banner-only-when-enabled fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Chore: log progress in the SSRF settings data migration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix: show SSRF allowlist as a scrollable table Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: disable SSRF protection in Cypress Marketplace runs * feat: rename SSRF protection to Private network access in the UI * feat: explain private network blocks and where to allow them Every block now names the host, says why (private address, resolves to one, or could not be resolved, keeping the resolver's own error), and on EE points to Settings → Security → Private network access. Same wording in all three copies of the check. * fix: show private network block reasons in HTTP connector errors REST API, GraphQL, OpenAPI, n8n, Confluence and ServiceNow wrapped every request failure as "Query could not be completed", hiding why a redirect or connect-time lookup was blocked. Blocks now keep their own message; other failures are unchanged. * feat: rename Private network access to Outbound requests * feat: leave SSRF protection off by default in dev mode The toggle is now seeded unset. Unset means off when the server runs with NODE_ENV=development (npm run start:dev) and on everywhere else; an explicit choice from the Security page always wins. * feat: keep SSRF protection as it was on existing setups The settings migration now tells a new installation (no workspace yet) from an existing setup. New installations get protection on by default; existing setups keep their current behaviour: off, or on if they had opted in with SSRF_PROTECTION_ENABLED=true. * feat: show the SSRF dashboard notice on new installations only * test: pin that a toggle turned off in the UI wins over SSRF_PROTECTION_ENABLED * test: cover every SSRF toggle default and upgrade case * fix: make the SSRF settings migration self-contained CI now rejects migrations that import project code. The migration uses raw SQL instead of entities and constants, and relies on the unique key (ON CONFLICT DO NOTHING) so a re-run never overwrites a stored value. * test: don't assume one localhost entry in the all:true lookup test * fix: restore edition-aware SSRF defaults in the plugins check The plugins and marketplace copies of the outbound request check are now identical, with a test that fails if they drift. CE is on by default again (loopback and metadata blocked, RFC1918 and localhost allowed), EE stays opt-in without the runtime config, Cloud is always on. Also bumps server/ee for the SAML picture check. * refactor: move SSRF settings into their own ssrf module The outbound requests settings API, its feature keys and setting keys move out of instance-settings into a new ssrf module, so instance-settings is back to its pre-SSRF state. AppModule only loads the ssrf module outside the migration app context: its runtime config publisher reads instance_settings on boot, which waited forever on the migration transaction's own lock and hung db:reset and fresh EE installs. The module also leaves the publisher out if it is ever imported there. Tokens cannot reach the new module. * chore: update submodule pointers * fix: give the SSRF settings data migration a real down() The migration authoring rules from the release line require every newer migration to undo up() or say why it cannot. down() now removes the three rows up() adds; the SSRF code reads missing rows as unset. * ci: disable SSRF protection in App Builder Cypress seeding * ci: skip the Cypress SSRF seeding step when the API is missing * adding submodule commit * test: bypass the SSRF check in the test-connection binding spec --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Release v3.20.256 lts (#18945) * Bump version to 3.20.256-lts across all components * Auto-start trial for new users (#18828) * feat: skip auto trial and add trial_claimed_at to users * fix: tighten Cloud trial eligibility, skip auto-trial in tests - Bump server/ee and frontend/ee for the trial eligibility fixes - Jest: default DISABLE_AUTO_TRIAL=true so setup-super-admin doesn't call the license server - Shorten trial-related comments Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * chore: update submodule pointers (#18935) * Feature: Land new users on the home page prompt after onboarding (#18961) * feat: skip auto trial and add trial_claimed_at to users * feat: send verified signups to the workspace home page On EE and cloud, a signup that skips the onboarding questions now lands on /<workspace>/home (the AI prompt) instead of the dashboard. CE and an explicit redirectTo are unchanged. Marks the sample onboard app endpoint as unused. * chore: update submodule pointers * chore: bump frontend/ee to merge release/v3.20.256-lts --------- Co-authored-by: Siddharthpl <siddharthpundir73@gmail.com> * Auto trial bug fixes (#18975) * chore: update frontend/ee for onboarding step 3 image fix * fix: report the license's own type after expiry Expired licenses are reported as basic, so the frontend couldn't tell an expired trial from an expired paid license. Add termsType to the license status and bump frontend/ee for the nav bar fix. * chore: drop lint-only reformatting from the release merge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update frontend/ee pointer --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Update first-user onboarding spec for home-page landing (#18976) Onboarding no longer shows the free-trial page or the sample-app step (#18961, ee-frontend#870); after the workspace step the user lands on /my-workspace/home. Assert that landing and the home prompt header instead, and set retries to 0 since first-user setup is one-shot. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * bump version to 3.20.257-lts across all components --------- Co-authored-by: Siddharth Pundir <145639697+Siddharthpl@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com> Co-authored-by: Siddharthpl <siddharthpundir73@gmail.com> Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
PreviousNext