Commit graph

15656 commits

Author SHA1 Message Date
Nakul Nagargade
b60216facc Merge branch 'lts-3.16' into fix-data-query-module 2026-05-22 19:39:07 +05:30
Nakul Nagargade
c4bf64527e chore: update submodule references and enhance AppsRepository with findPublicHostAppForModuleQuery method for improved app retrieval 2026-05-22 19:38:46 +05:30
Rudhra Deep Biswas
304dadfdd3
Async Connection issue for Databricks and OTEL process exit bug fix (#16543) 2026-05-22 18:44:21 +05:30
Adish M
bf62f1e2b9
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16542)
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-05-22 18:35:30 +05:30
Shaurya Sharma
d3349ad296
fix: Data queries - block duplicate names per app version (#16362) 2026-05-22 18:33:24 +05:30
Pratush Sinha
fd9f745ab9
fix: prevent clone/export crash for missing ToolJet DB tables (#16411)
* fix: prevent clone/export crash for missing ToolJet DB tables

* chore: add backward compatibility comment for stale TJDB reference suppression

* fix: use options::text LIKE to catch nested join table references in delete guard

---------

Co-authored-by: Pratush <pratush@Pratushs-MBP.lan>
2026-05-22 18:27:50 +05:30
Adish M
f33132fd18
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16539)
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-05-22 13:39:24 +05:30
Swathi Hameed
413b1a26c6
Feat/ai datasource/snowflake (#16525)
* snowflake integration to ai flow

* chore: update submodules
2026-05-22 13:37:09 +05:30
Nakul Nagargade
5cfd481048 Update submodule 2026-05-22 11:56:36 +05:30
Nakul Nagargade
54dfcd4c1e fix: update app environment retrieval to include current environment ID and enhance data query result handling 2026-05-22 11:56:19 +05:30
Johnson Cherian
38a035cbb2
chore: update version to 3.20.163-lts across all components and remove obsolete pyodide.js.map file (#16531)
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
2026-05-21 19:23:18 +05:30
Shaurya Sharma
a9dadd7d6f
fix: dynamic-height - tighten container chrome, hide scroll flash (#16516)
* fix: dynamic-height - tighten container chrome, hide scroll flash

* Modal dynamic height fix
2026-05-21 18:20:34 +05:30
gsmithun4
30e550a6b3 chore: update version to 3.20.162-lts across all components
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
2026-05-21 00:55:03 +05:30
Adish M
e41dacb8c5
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16519)
Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>
2026-05-21 00:52:11 +05:30
Adish M
791ae7f167
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16518)
Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>
2026-05-21 00:52:07 +05:30
Shantanu Mane
7a27c4d1c7
fix: pro plan workspace admin blocked from app preview (#16486)
* fix: allow pro plan workspace admins to preview apps

Pro plan has multiEnvironment=false. validateVersionEnvironment blocked any
request with environment_name set — including 'development' — causing a 403
that the frontend mapped to the restricted-preview error page.

Backend: allow 'development' env through even when multi-env is disabled;
only block staging/production to prevent URL manipulation.

Frontend: use featureAccess.multiEnvironment flag in isBasicPlan check
instead of hardcoded plan === 'starter', so pro plan also skips env in the
redirect URL.

* fix: align useAppPreviewLink isBasicPlan check with multiEnvironment flag

Same pattern as AppsRoute — was checking plan === 'starter', missing pro
and basic plans. Now uses !featureAccess.multiEnvironment consistently.

* fix: preserve original URL on app-scoped logout redirect

The app-scoped branch in redirectToLoginPage hardcoded
/applications/:slug/login with no redirectTo, dropping the env/version
preview params. After re-login, AppLoginPage fell back to
/applications/:slug (released-app viewer URL), which 501s for unreleased
apps and shows "App URL Unavailable".

Mirror the workspace branch's behavior: honor avoidRedirection and
preserve the original URL as redirectTo when false. Update logoutAction
to pass false so the runtime Logout event returns the user to the same
preview view after sign-in.

Regression introduced in #15716.

* chore: update package-lock files after lts-3.16 merge

* revert: remove frontend isBasicPlan changes, backend fix is sufficient

Stripping env from the URL on the frontend is the wrong approach — for
multi-env plans, an explicit env param (e.g. staging) must be preserved.
The backend fix (allowing development env through when multi-env is
disabled) is the correct and sufficient fix.

* fix: use multiEnvironment flag to gate env param in preview URLs

Plans without multi-env access (basic, pro, starter) should not include
?env= in preview URLs — it is meaningless for them and was causing the
backend to reject the request.

Plans with multi-env (team, enterprise) preserve the env param so
per-env per-version preview links continue to work correctly.

* fix: use strict equality for multiEnvironment check to preserve env when featureAccess is not yet loaded

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2026-05-21 00:51:23 +05:30
Adish M
5622094ca0
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16517)
Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>
2026-05-21 00:51:05 +05:30
Shantanu Mane
c2d8ba08ea
Add invitation token and invite URL generation for external API users and expand test coverage (#16413)
* feat(external-api): return per-workspace inviteUrl in POST /ext/users response

* test(external-api): expand POST /ext/users coverage — roles, multi-group, and failure conditions

Adds 8 new e2e tests covering role assignment, per-workspace role variance,
multiple custom groups, and all key failure paths (duplicate email, missing
workspace, default group in groups field, nonexistent group, end-user/builder
group conflict). Also seeds the builder default group in maybeCreateDefaultGroupPermissions
to unblock role-assignment tests against test orgs.

* test(external-api): clarify conflicting-permissions error shape in users spec

* feat(external-api): update default status to INVITED in user-related DTOs and add defaultOrganizationId field

* feat(external-api): enhance invited user session guard and expand user creation tests for archived status

* feat(external-api): add tests for org-invite URL behavior based on user and workspace status

* feat(external-api): update user status handling and invite URL logic in tests

* feat(external-api): update invite URL logic and OrganizationUser status handling for active users
2026-05-21 00:50:03 +05:30
Akshay
a01840f4f5
Fix: preserve original URL on app-scoped logout redirect (#16313)
* fix: preserve original URL on app-scoped logout redirect

The app-scoped branch in redirectToLoginPage hardcoded
/applications/:slug/login with no redirectTo, dropping the env/version
preview params. After re-login, AppLoginPage fell back to
/applications/:slug (released-app viewer URL), which 501s for unreleased
apps and shows "App URL Unavailable".

Mirror the workspace branch's behavior: honor avoidRedirection and
preserve the original URL as redirectTo when false. Update logoutAction
to pass false so the runtime Logout event returns the user to the same
preview view after sign-in.

Regression introduced in #15716.

* chore: update package-lock files after lts-3.16 merge
2026-05-21 00:49:43 +05:30
Shantanu Mane
f05ead85e8
Merge pull request #16418 from ToolJet/feat/white-labelling-banner
Add banner image support and update LoginPageRightPanel
2026-05-21 00:48:43 +05:30
Adish M
d5287caa2c
Merge pull request #16510 from ToolJet/adishM98-patch-2
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
Add VPN API URL setup in workflow
2026-05-20 17:41:49 +05:30
Adish M
5aff51b37f
Add VPN API URL setup in workflow 2026-05-20 17:41:31 +05:30
Adish M
94cec4e8e5
Merge pull request #16257 from ToolJet/fix/vpn-automation-lts
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
feat: add Cypress VPN workflow for automated testing
2026-05-20 10:38:44 +05:30
Adish M
09dced6836
Merge branch 'lts-3.16' into fix/vpn-automation-lts 2026-05-19 16:26:20 +05:30
Adish M
fd1e1171d9
Update VPN action versions in workflow 2026-05-19 16:23:23 +05:30
Shaurya Sharma
cfd5a7171c
fix: Table - Add new rows modal mirrors column widths (#16459)
Some checks are pending
CI / lint-for-frontend (push) Blocked by required conditions
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
2026-05-19 16:15:28 +05:30
Devanshu Rastogi
620539d1bb
Enhance file duplication check with isSameFile utility function (#16463)
* fix: enhance file duplication check in FilePicker by introducing isSameFile utility function

* fix: update FilePicker to use internalId for file management and improve error handling

* refactor: move clearErrorStates function to improve code organization in useFilePicker
2026-05-19 16:14:45 +05:30
Adish M
69452df4e4
Merge pull request #16469 from ToolJet/fix/remove-jira
fix: remove Jira plugin dependency from package.json
2026-05-19 14:27:03 +05:30
Adish M
778554eced fix: remove Jira plugin dependency from package.json 2026-05-19 14:16:27 +05:30
Adish M
59527340bb
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16464)
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-05-19 10:53:05 +05:30
Kavin Venkatachalam
33052bcf6d
Feat: Move JS library license check to backend (#16005)
* fix: gate JS library loading on license fetch to fix public/released apps

JS libraries were silently skipped on public and released apps because
featureAccess?.appJsLibraries was still undefined when isComponentLayoutReady
fired. Introduces isLicenseFetched flag and handles fetch errors so the
gate is never blocked indefinitely for unauthenticated users.

* feat: remove license check for JS libraries loading in frontend and backend
2026-05-19 10:51:01 +05:30
Manish Kushare
1f64c91b7c
fix: align column text based on horizontal alignment setting in TableHeader (#16260) 2026-05-19 10:37:50 +05:30
Manish Kushare
9d775b86dc
hide preview overlay when currentValue is empty or undefined (#16327) 2026-05-19 10:35:06 +05:30
gsmithun4
57b0af3007 chore: update version to 3.20.161-lts across all components
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
2026-05-18 22:52:41 +05:30
Shaurya Sharma
fca02e9fc3
Removed fn condition from updateDependencyValues for SetExposedVariables (#16410) 2026-05-18 22:41:40 +05:30
Shaurya Sharma
38e064edb0
fix: AppCanvas - reset scroll to top on page switch (#16457)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 22:41:19 +05:30
Shaurya Sharma
ff697ed997
fix: Modal - release canvas scroll lock when modal unmounts during page switch (#16456) 2026-05-18 22:40:59 +05:30
Shaurya Sharma
3a623cebc6
fix: Inspector - retain "all editable" toggle when list is empty (#16419)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 22:38:26 +05:30
Shaurya Sharma
8631b6d9c8
feat: QueryManager - add fx and custom message for query confirmation (#16320)
* feat: QueryManager - add fx and custom message for query confirmation

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Minor fix

* Design update

* Yes button same size as cancel button

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 22:33:39 +05:30
Adish M
a0ef8f71c6
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16461)
Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>
2026-05-18 22:19:53 +05:30
Ganesh Kumar
23dfa559f7
TJDB join query snake case to camel case fix (#16408) 2026-05-18 22:16:31 +05:30
gsmithun4
62ebed70a3 chore: update version to 3.20.160-lts across all components
Some checks failed
CI / build (push) Has been cancelled
Deploy Storybook to Netlify / deploy-storybook (push) Has been cancelled
CI / lint-for-plugins (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / lint-for-frontend (push) Has been cancelled
CI / lint-for-server (push) Has been cancelled
CI / e2e-test (push) Has been cancelled
2026-05-15 00:44:01 +05:30
abhijeet760
7a10516ae4
improve openai anthropic gemini (#16296)
* improve openai anthropic gemini

* moved to dynamic form v2

* fix: Not able to add V2 plugins

* fix the overflowing of test connection error

---------

Co-authored-by: Siddharthpl <siddharthpundir73@gmail.com>
Co-authored-by: Rudhra Deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
2026-05-14 23:17:39 +05:30
Johnson Cherian
739c7c9cbe
chore: update version to 3.20.159-lts across all components (#16420) 2026-05-14 20:00:18 +05:30
Adish M
3dd0523ed6
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16417)
Some checks are pending
CI / lint-for-plugins (push) Blocked by required conditions
CI / build (push) Waiting to run
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
Deploy Storybook to Netlify / deploy-storybook (push) Waiting to run
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-05-14 17:34:47 +05:30
Swathi Hameed
8bcfecfd28
Feat/ai datasource/mysql mssql (#16403)
* generate query support for mysql and mssql

* chore: update submodules

* chore: frontend submodule update

---------

Co-authored-by: johnsoncherian <johnsonc.dev@gmail.com>
2026-05-14 17:32:44 +05:30
Manish Kushare
f7fa4ecbfa
fix: disable z-index override for Firefox popover styling (#16412)
* fix: disable z-index override for Firefox popover styling

* fix: remove unused Firefox-specific z-index styles from popover
2026-05-14 17:30:41 +05:30
Shaurya Sharma
1a4b292831
feat: AppCanvas - hidden widget collapses to 0px per Figma update (#16361)
* feat: AppCanvas - hidden widget collapses to 0px per Figma update

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix: AppCanvas - stack overlapping hidden widgets in drop order

* Fallback for collapseOnhide components with top alignment

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 17:17:39 +05:30
Adish M
999950ada7
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16415)
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-05-14 16:54:18 +05:30
Nishidh Jain
439f3498a0
feat: Show go back to modules instead of go back to apps action on Module Builder page's logo popup menu (#16406) 2026-05-14 16:52:13 +05:30