Commit graph

96 commits

Author SHA1 Message Date
gsmithun4
0b317ca000 group-sync fixes 2025-07-16 16:09:24 +05:30
Rohan Lahori
2529bc8ba1
import export api fixes (external api) (#13385) 2025-07-14 14:30:24 +05:30
gsmithun4
9d3f04e014 fix 2025-07-10 23:09:29 +05:30
Midhun G S
0c5ab3484c
Platform LTS Final fixes (#13221)
* Cloud Blocker bugfixes (#13160)

* fix

* minor email fixes

* settings menu fix

* fixes

* Bugfixes/whitelabelling apis (#13180)

* white-labelling apis

* removed consoles logs

* reverts

* fixes for white-labelling

* fixes

* reverted breadcrumb changes (#13194)

* fixes for getting public sso configurations

* fix for enable signup on cloud

* Cloud Trial and Banners (#13182)

* Cloud Blocker bugfixes (#13160)

* fix

* minor email fixes

* settings menu fix

* fixes

* Cloud Trial and Banners

* revert

* initial commit

* Added website onboarding APIs

* moved ai onboarding controller to auth module

* ee banners

* fix

---------

Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>

* Bugfixes/minor UI fixes-CLoud (#13203)

* Bugfixes/UI bugs platform 1 (#13205)

* cleanup

* Audit logs fix

* gitignore changes

* postgrest configs removed

* removed unused import

* improvements

* fix

* improved startup logs

* Platform cypress fix (#13192)

* Cloud Blocker bugfixes (#13160)

* fix

* minor email fixes

* settings menu fix

* fixes

* Bugfixes/whitelabelling apis (#13180)

* white-labelling apis

* removed consoles logs

* reverts

* fixes for white-labelling

* fixes

* Cypress fix

* reverted breadcrumb changes (#13194)

* cypress fix

* title fix

* fixes for getting public sso configurations

---------

Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>

* deployment fix

* added interfaces and permissions

* Bugfixes/lts 3.6 branch 1 platform (#13238)

* fix

* Licensing Banners Fixes Cloud and EE (#13241)

* design: Adds license buttons to header

* Refactor header actions

* Cloud Blocker bugfixes (#13160)

* fix

* minor email fixes

* settings menu fix

* fixes

* subscription page

* fix banners

---------

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com>

* fix for public apps

* fix

* CE Instance Signup bug (#13254)

* CE Instance Signup bug

* improvement

* fix

* Add WEBSITE_SIGNUP_URL to deployment environment variables

* Add WEBSITE_SIGNUP_URL to environment variables for deployment

* Super admin banner fix (#13262)

* Git Sync Fixes  (#13249)

* git-sync module changes

* git sync fixes

* added app resource guard

* git-sync fixes

* removed require feature

* fix

* review comment changes

* ypress fix

* App logo fix inside app builder

* fix for subpath cache

* fix (#13274)

* platform-cypress-fix (#13271)

* git sync fixes (#13277)

* fix

* Add data-cy for new components (#13289)

---------

Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com>
Co-authored-by: Rudhra Deep Biswas <98055396+rudeUltra@users.noreply.github.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: rohanlahori <rohanlahori99@gmail.com>
Co-authored-by: Adish M <adish.madhu@gmail.com>
Co-authored-by: Rudra deep Biswas <rudra21ultra@gmail.com>
2025-07-09 22:36:41 +05:30
Akshay Sasidharan
72adb1afae Merge branch 'main' into release/workflows-lts-migration 2025-07-08 13:20:59 +05:30
Midhun G S
c38c12327f
guard level fixes (#13153) 2025-07-02 16:16:24 +05:30
Midhun G S
90e7c4cab9
Cloud licensing related changes (#13033)
* added all pending cloud migration

* restrict cloud migrations

* added cloud data-migrations

* Added cloud entities

* keep tables across all

* cloud licensing initial changes

* fix

* payments module

* license counts updates

* update

* Added all pending cloud migration to pre-release + Payments module (#13006)

* added all pending cloud migration

* restrict cloud migrations

* added cloud data-migrations

* Added cloud entities

* keep tables across all

* payments module

* license counts updates

* update

* migration fixes

* pass orgId

* movement

* added cloud instance settings

* org id to license terms

* before merge

* dockerfile changes for cloud

* migration fixes

* subscription

* merge main

* posthog-js package

* fix

* selhostcustomer migration timestamp update

* fix

* fixes

* fix

* fix

* Adding cloud dockerfile changes

* migration fix

* fix

* fix

* fix

* fixes

* added migration progress

* fix

* added migration files for cloud

* fix

* added migrations for cloud

* add organizationId for pages controller

* fixes for plugins script

* fix

* final

* added cloud licensing envs

* UI WRAPPER BUG

* fix

* orgId groups fix

* lint check fixes

* Refactor Dockerfiles to use dynamic branch names for builds

* Feature/promote release permission management (#13020)

* migration and entity changes

* removed extra migration

* added default group permissions

* basic ui changes

* added promote and release permissions

* fixed tooltips for promote and release buttons

* fix

* fixed app promote ability check

* ce compatibility ui change

* ui fixes

* removed console.log

* removed comments

* updated ee-preview.Dockerile

* using base img node:22.15.1-bullseye

* fix for ce render

* Update ce-preview.Dockerfile

* Update ee-preview.Dockerfile

* ui fix

* fix

* fixes

* fixes

* fixes

* fixes

* minor fixes

* fix

---------

Co-authored-by: Souvik <psouvik260@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>

* Bugfix/git sync pre release (#13098)

* bugfixes

* ui fixes for disabled states in version creation

* minor fixes

* removed unused imports

* fixes

* removed comments

* module file fixes

* module fixes

* white-labelling fixes

* login-configs

* fix for migration for ce

* Fix for app count guard (#13131)

* fix for app count guard

* added check

* for debug

* license key

* Modules : Platform Functionality  (#12994)

* init

* mod

* app import-export

* licensing and UI

* review and permissions

* update

* updates

* update

* update

* fix breadcrumb

* fix app builder error

* remove launch button for modules

* fixed homepage

* fix permission check

---------

Co-authored-by: platform-ops123 <platformops545@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>

* reverted logs

* tjdb guard and dark mode (#13137)

* ui fixes

* added modules module

* removed unused imports

* fix

* fix

* Cypress fix

* fixes for cloud instance level licensing (#13146)

---------

Co-authored-by: platform-ops123 <platformops545@gmail.com>
Co-authored-by: Rudra deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: Adish M <adish.madhu@gmail.com>
Co-authored-by: Rudhra Deep Biswas <98055396+rudeUltra@users.noreply.github.com>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com>
Co-authored-by: Souvik <psouvik260@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: rohanlahori <rohanlahori99@gmail.com>
Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
2025-07-02 10:57:36 +05:30
Akshay Sasidharan
131ff6a288 feat: Setup async workflow query execution with SSE
Overview
This PR implements real-time workflow execution monitoring using Server-Sent Events (SSE) as part of our LTS feature support. The implementation allows for tracking long-running workflows without requiring deployment changes.

Technical Changes
1. Server Components
Added WorkflowStreamService to manage persistent SSE streams with automatic cleanup
Implemented @sse endpoint in WorkflowExecutionsController for streaming status updates
Created WorkflowTriggersListener to emit workflow execution events with EventEmitter2
Added workflow execution status constants to identify different states in the execution lifecycle
2. Client-side Components
Implemented AsyncQueryHandler to manage SSE connections and parse event streams
Enhanced queryPanelSlice with methods to create async handlers and trigger workflows
Added support for non-blocking workflow execution with real-time status updates
3. Workflow Integration
Modified workflow triggering to use the SSE-based monitoring approach
Maintained same-server architecture to avoid deployment changes
Added automatic reconnection handling and error recovery for client connections
Architecture Decisions
Selected Same Server Approach: Chose to implement workflows within the same HTTP server to maintain the existing deployment setup for LTS users
Real-time Updates with SSE: Leveraged Server-Sent Events for their simplicity, efficiency, and compatibility with existing infrastructure
Future Extension Path: Implementation can be extended to Worker Threads or Microservice architecture later if needed
2025-07-01 19:17:07 +05:30
platform-ops123
36cee365ad
Secure PAT for AppEmbeddings (#12899)
* Secure PAT for AppEmbeddings

* added instruction comments

* updates

* update

* enum update

* remove comments

* remove comments

* updates

* updates

* handle expiry of pat

* fixes

* update

* updates

* remove log

* remove log

* move EmbedApp to appBuilder

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-06-27 12:18:25 +05:30
Muhsin Shah C P
2d3f05ef39
Instance level OIDC common file changes (#12925)
* Working on data-migration

* Added entity file

* Changing login-configs service functions

* Changed some column names

* Fixed updating and creating sso-configs

* Changed the configs update and get apis & Worked on designs

* Added frontend & server files

* Working on oidc service

* Fixed instance signup case

* Fixed extra botton border  issue

* Fixed table updation issues

* Added frontend and backend files

* Added frontend commit file

* Refactor role assignment condition in AuthUtilService

* Update subproject commit reference in server/ee

* Update subproject commit reference in server/ee

* Fixed: no-permissioned group sync issues

* Fixed: migrations

* Fixed: editing the entity file

* Fixed: migration null check

* Updated subproject commit reference in server/ee

* Updated subproject commit reference in server/ee
2025-06-19 14:37:45 +05:30
Muhsin Shah C P
957b1513af
refactor: update signIn method signature in ISamlService interface (#13036) 2025-06-18 13:09:06 +05:30
Devanshu Gupta
ed234aa553
Feat/audit logs user (#12803)
* feat: added default audit logs for logout, archive, unarchive, profile_update

* feat: added resource data in audit table

* feat: added archive workspace, invite redeem

* feat: updated profile update audit

* feat: updated user invite audit

* feat: completed user actions audit

* feat: added default audit logs for logout, archive, unarchive, profile_update

* feat: added resource data in audit table

* feat: added archive workspace, invite redeem

* feat: updated profile update audit

* feat: updated user invite audit

* feat: completed user actions audit

* fix: merge conflict

* fix: ee commit

* fix: removed logs

* feat: added migration for resource_data

* fix: updated action names

* frontend ee commit

* feat: added /user/instance route

* fix: user instance update

* fix: updated feature name

* user ee commit

* feat: added instance level archive

* fix: user details update instance

* feat: added self signup audit

* ee audit commit

* ee commit

* metadata workspace field

* fix: instace user unarchive data

* fix: review fixes

* fix: moved user name logic to service

* remove log

* ee commit

* fix: user update password
2025-06-02 18:25:47 +05:30
gsmithun4
81f039b481 Merge branch 'main' into fix/external-epi 2025-05-14 21:41:27 +05:30
Muhsin Shah C P
958cbd1d02
[improvement] Default workspace (#12834)
* Added set-default API

* Setting default workspace for super-admin onboarding

* Seperated the migrations

* Added nestjs init

* removed nestjs init

* Added: default workspace case to signup

* Fixed: instance signup

* Fixed: existed non-active user instance signup

* Added: SSO default workspace support

* Added: Default workspace chooser

* Moved some scss changes to ee folder

* Added: disable workspace default organization check

* updated the migration

* Fixing .env issue

* Removed the logs

* Remove personal workspace check from enable signup

* Fixing sign-in cases

* Fixing workspace invited user's instance signup cases

* Fixing sso workspace invited user's instance signup cases

* fixing the workspace signup issue

* Adding ee server and frontend file

* Adding ee server and frontend file

* Adding active check

* Added query fix for the migration

* Added migration logic fix

* Removed/Commented the ENABLE_ONBOARDING_QUESTIONS_FOR_ALL_SIGN_UPS env support from EE and CE

* Adding server and frontend files

* Added frontend file

* Bump version
2025-05-14 16:06:52 +05:30
Rudra deep Biswas
592447dc83 util-service 2025-05-13 16:19:57 +05:30
Rudra deep Biswas
ef20a0b9a5 Merge branch 'main' of https://github.com/ToolJet/ToolJet into fix/external-epi 2025-05-06 16:43:19 +05:30
Rudra deep Biswas
12f09f80d8 review 2025-05-06 16:38:13 +05:30
Rudra deep Biswas
7e52b6178c fix 2025-04-29 03:44:14 +05:30
Rudra deep Biswas
01624a02d2 server 2025-04-23 12:11:43 +05:30
Rudra deep Biswas
3b47eaa04b init 2025-04-22 21:10:39 +05:30
Muhsin Shah C P
3c2ff62029
fixed: sso response scheduler (#12663) 2025-04-22 16:13:25 +05:30
Anantshree Chandola
98f6b9e114
Cleanup (#12629)
* cleanup

* update
2025-04-21 11:27:40 +05:30
Midhun G S
eb33e543fe
fix for audit logs (#12622) 2025-04-18 20:54:39 +05:30
Anantshree Chandola
c5703c8438
Permissions and sync groups fixes (#12555)
* data source permissions and sync groups fixes

* update
2025-04-14 15:25:35 +05:30
Muhsin Shah C P
093ecbd1a9
[post-modularisation] [fixed] User isn't being added to the new workspace after being archived from other workspaces, when logging in from the instance. (#12557)
* fixed: user isn't adding to new workspace after archived from other workspaces

* fixed: password login support
2025-04-14 13:56:06 +05:30
Anantshree Chandola
8ce42b008c
Fixes for Phase 1 (#12529) 2025-04-10 14:52:50 +05:30
Muhsin Shah C P
9ba29c5144
fixed: forget password invalid link issue (#12533) 2025-04-10 12:33:56 +05:30
Midhun G S
b55490493d
Post modularization fixes (#12420)
* [white-labelling] Logo related pending issues (#12243)

* Working on refactoring and fixing white-labelling for modularisation

* Working on fixes

* Fixed: app builder logo issue

* Refactored default state behaviour

* Removed console logs

* Added workspace slug

* Adding single image changes from ee lts (#12272) (#12285)

Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>

* Moving Vulnerability CI from EE (#12288)

* CE modularisation bugs (#12278)

* Working on refactoring and fixing white-labelling for modularisation

* Working on fixes

* Fixed: app builder logo issue

* Refactored default state behaviour

* Removed console logs

* Added workspace slug

* Fixed: Able to update group name with space

* Adding single image changes from ee lts (#12272)

* Fixed: Able to add a user 2 times to the group

* Fixed: Builder isn't able to datasiurces

* Fixed: updated the builder check

* Refactored the changes

---------

Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>

* Add data-cy for components in modularisation branch (#12296)

* [modularisation-bugs] Fixing rest of the priority bugs  (#12301)

* Fixed: custom logout url issue

* Fixed: fixed all workspace redirection issue

* Fixed: made the datsource access same for ce and ee-basicplan builders

* Fixed: sample db connection issue

* Fixed: sample database query issue

* Fixed: page isn't showing the organization list for user whose current organization is archived

* Fixed: granular permission datasource page

* remove license check for oidc login

---------

Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Anantshree Chandola <anantshreechandola23@gmail.com>
2025-04-01 16:16:01 +05:30
Anantshree Chandola
69aec52419
updates (#12210) 2025-03-12 11:17:51 +05:30
Anantshree Chandola
c6ba6ac33b
fix signup, sso and personal workspace (#12200)
* fix signup, sso and personal workspace

* updates

* remove unused function

* update

* updates
2025-03-11 20:24:19 +05:30
Muhsin Shah C P
3828c93e23
Copying reset password changes (#12108) 2025-03-04 20:18:30 +05:30
gsmithun4
269ec56455 Initial commit 2025-02-25 12:22:50 +05:30
Muhsin Shah C P
e38eb34470
[release-fix] Archived user SSO signup and login (#10787)
* fix: release branch syntax errors & onboarding app issue

* fix: organization id undefined error
2024-09-19 22:01:28 +05:30
Muhsin Shah C P
51d7f07c6b
[improvement] New onboarding flow (#10746)
* Added modules folder to the source code

* Added some changes to the APIs and removing unwanted files

* fixed: slug and padding issue

* Fixed invitations page issue

* cleaning up and modularising the store code

* Refactoring the SSOAuthModule

* Onboarding bug fixes (#2072)

* Added the enter event hook

* Added link to the header icon

* removed the pointer from the parent class and added to the child

* reset password button fixes and minor type fixes

* fixed validations for password

* handled reset password scenarios (might need some refactoring)

* modified email component to take custom placeholders

* fixed css error in submig button in disabled state

* added handle submit in the setup page

* added seprate component for resend email button to prevent re-rendering of component

* Added clearPageHistory

* Added forgot password create account CTA issue

* Added css fix for the page scroll issue

* review changes

* removed duplicate component

* fixed the placeholder issue

* Added consultation banner fix

* overlapping of email success info page and dark theme fixes

* Added maxWidth to the toast

* minor css fix

* white labelling changes

* fixed: black dot issue

* Added dark-theme fix for the submit-btn

* fixed margin related issue for mozilla firefox

* added seprator component and minor css fix

* css fixes for password success info screen

* css fix

---------

Co-authored-by: rohanlahori <rohanlahori99@gmail.com>

* refactoring the server side code

* removed onboarding status

* Added pr changes

---------

Co-authored-by: rohanlahori <rohanlahori99@gmail.com>
2024-09-19 12:46:22 +05:30
Midhun G S
edeb0d133b
fix for get connection (#10668) 2024-09-09 17:18:01 +05:30
gsmithun4
68e27d6e74 module refractor 2024-08-12 22:21:52 +05:30
kriks7iitk
eb4ebb6c05 merge CVE 2024-08-06 10:41:11 +05:30
Muhsin Shah
a2d365ad19 Added sessionId to the logout api jwt payload 2024-07-09 16:50:46 +05:30
kriks7iitk
d8fbf7ce5e Removed depreciated code 2024-07-09 14:29:54 +05:30
Muhsin Shah
8efa0b3806 Merge branch 'main' into cve/server-high 2024-07-07 22:13:35 +05:30
kriks7iitk
41b0c6c1b6 Merge and design fix 2024-07-05 11:50:24 +05:30
Muhsin Shah
c3cd2c2f2f migrating code to new typeorm version 2024-06-27 13:25:53 +05:30
Muhsin Shah C P
707dbcb606
Updated workspace signup flow & fixes (#9893)
* Added a fix for the blank page of the app url if the user is redirected from the invitation page

* Added workspace signup changes

* fix: could able to access sso only enabled workspace if switch b/w workspace after the flow completed

* fix: Getting something went wrong error when personal workspace is disabled

* Fix: logging with super-admin creds while ongoing session of another user making issue for a workspace switch

* fix: Resend workspace signup email is not working

* Added new changes to the resend-invite API

* Updating the source to invite while unarchiving the user

* Added forgot password fix (#447)

* Fixed import errors

* fixed invite flow sso error fallBack flow

---------

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2024-06-18 15:09:54 +05:30
kriks7iitk
0af5f94180 merged latest 2024-06-11 11:48:12 +05:30
kriks7iitk
6acd403e2b Adding user group permissions ability factory 2024-06-10 16:27:55 +05:30
kriks7iitk
8abb5dfa56 Merge branch 'revamp/users-and-groups-frontend' of github.com:ToolJet/ToolJet into group-revamp-2 2024-05-30 05:49:52 +05:30
kriks7iitk
7b2d637374 revamp casl and permission module 2024-05-29 05:16:46 +05:30
Muhsin Shah
1eaea70886 Merge branch 'main' into invite-flow-part1/platform14 2024-04-29 18:15:18 +05:30
Akshay
6c6cad8bc8
Add ability to run TJDB queries from public apps (#9134)
* add ability to run TJDB queries from public apps

* make TJDB query run similar to other datasources

* add result key for backward compatibility

* throw query error on postgrest request failures
2024-04-24 01:48:21 +05:30
Muhsin Shah
5b6480b961 fixed sso blank page issue while signing up 2024-03-16 08:29:39 +05:30