Commit graph

21 commits

Author SHA1 Message Date
Akshay
680040d520
fix: workflow schedule cleanup (#13295) 2025-07-10 12:31:16 +05:30
Akshay Sasidharan
72adb1afae Merge branch 'main' into release/workflows-lts-migration 2025-07-08 13:20:59 +05:30
Muhsin Shah C P
8824a26110
[pre-release] Webhook trigger isn't working & changed the workflow-node(query) creation API endpoint [dependency PR] (#13237)
* fix: update workflow query endpoint to use correct URL

* chore: update subproject commits for frontend and server

* fix: add request parameter to triggerWorkflow method in controller and interface
2025-07-07 18:41:28 +05:30
Devanshu Rastogi
2447a55e22
Fix: Workflow app crashes when user clicks on response node (#13217)
* Added controller and service for fetching logs and nodes seperately

* Add inifinte scroll pagination for workflow logs

* Fix "All Nodes" not renderd on Nodes column

* Fix reducer to append logs on Logs column

* Fix: incorrect code placement

* Fix reducer to append logs on Nodes column

* Prepend execution log on workflow run

* Fix node ordering

* Decouple logs panel from workflow editor

* Update execution nodes when log panel is opened

* Reset log selection on workflow run

* Added 'updatePreviewState' function

* Update ee-server submodule reference
2025-07-07 10:37:46 +05:30
Akshay Sasidharan
69a61051cf feat: migrate PR #3745 - Release: Workflow prioritised client issues (v3.5.62-ee-lts)
🚀 Features:
- Workflow node specific errors are thrown on App builder, Workflow builder and Webhook triggers
- Enhanced error handling with specific node error reporting

🌟 Enhancements:
- Node preview shows hints and errors
- Improved node preview functionality showing errors and hints

🛠️ Fixes:
- Loop node preview fix
- Fix query id shown for failed nodes
- Enhanced error visualization in workflow logs panel

Migration Details:
- Applied composition pattern for frontend workflow components
- Enhanced QueryNodeConfiguration with better error handling and node preview
- Updated LogsPanel with collapsible error details and new triangle icons
- Improved ResponseNodeConfiguration with updated preview state management
- Updated workflow reducer to handle new preview state structure
- Added workflow execution node handle utility function

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
2025-07-03 18:44:40 +05:30
Akshay Sasidharan
f11ea30325 feat: migrate workflow-in-workflow capabilities and enhanced node preview (PR #3735)
Migrate hotfix for workflow blockers including:

- Feature: Ability to call workflow within a workflow
- Feature: Preview query node with other previewed node results
- Fix: startTrigger input accepts string values instead of code/JSON

Frontend changes:
- Add workflow-in-workflow support in FlowBuilder and QueryNodeConfiguration
- Enhance query node preview with upstream node state management
- Implement preview state cleanup with deleteNodePreviewState calls
- Replace TestParameter input with CodeHinter for better JSON editing
- Add workflow node type support and error styling
- Update WorkflowEditor components for nested workflow handling

Backend changes:
- Update workflow execution controller to handle state parameter
- Enhance PreviewWorkflowNodeDto with optional state field
- Modify workflow services for state-aware query execution
- Update triggers listener and webhooks service

Migration follows composition pattern for frontend EE modules and
inheritance pattern for backend services.

Co-authored-by: Akshay Sasidharan <akshaysasidrn@tooljet.com>
Co-authored-by: Shah <shah21@tooljet.com>
Co-authored-by: Devanshu <devanshu052000@tooljet.com>
2025-07-03 14:06:15 +05:30
Akshay Sasidharan
d6bda6610a feat: migrate PR #3713 - Workflows Sprint 10
- Default workflow parameters feature (#3708)
- Console.log parameter fix for RunJS nodes (#3703)
- Node loop restriction with cycle detection (#3672)
- Logs panel responsive virtualization fixes (#3694)

Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>"
2025-07-03 11:44:31 +05:30
Akshay Sasidharan
1cfdec70d7 fix: Async workflow in runjs 2025-07-02 13:21:18 +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
Rohan Lahori
e6dcc241e0
Feature edit git pulled apps/pre release (#13003)
* init

* ee git-sync

* dependancies

* added octokit depedencies to server directory

* module fixes

* fixes

* fixes

* pull app changes fix

* ability factory fixes

* code restructuring changes

* added gitlab backend changes

* app git module fixes

* module file changes

* added logo images

* migration

* migration

* migration changes

* added migration to remove enabledflag from parent table

* provider and migration fixes

* removed comments

* revert appimport export changes

* Revert "revert appimport export changes"

This reverts commit b139db811e.

* fixed version rename api calls

* app/version rename commit fixes

* added builder permissions

* review comment changes

* module file and service fixes

* module fixes

* fixes

* fixed module file changes

* added git-sync repository

* fixed app-git imports

* removed injected ssh,https, gitlab repositories

* added app git sync repository (dev testing pending)

* removed more modules

* removed type orm completley (dev testing pending)

* fixed module file

* removed unused dto's

* working

* fixes

* removed comments

* migration changes

* removed node git package

* changed default branch to main

* ssh

* removed apps ability factory dependencies

* minor changes

* migration fixes

* fixes

* added events for app and version rename

* removed comments

* added license checks

* listener fixes

* removed unused files

* fixed db:reset and server issues

* fixed ce and ee migration

* submoudle commits

* migration and entity changes

* module changes

* backend changes for edit app functionality

* ui changes

* added app canvas banner

* api-fix for freeze-editor apis

* header changes

* fix for delete version failing

* minor ui fix

* minor changes

* reverts

* reverts

* fixes

* fixed imports

* removed consoles

* added separate data migration for migrating provider column values

* fix

* fixes

* fixed ui breaking

* fix

* added app canvas banner in ce

---------

Co-authored-by: Rudra deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: rohan <rohan@gmail.com>
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2025-06-25 12:06:04 +05:30
devanshu052000
e41ce8a5ab Remove repositories from module imports 2025-05-12 13:43:26 +05:30
johnsoncherian
45e945d4c4 Merge branch 'main' into appbuilder/sprint-11 2025-04-28 15:28:21 +05:30
Vijaykant Yadav
699a507d9d fix UI bugs 2025-04-22 19:41:36 +05:30
Vijaykant Yadav
8c53ac4bab feat: add crud operatios for page permissions 2025-04-22 09:27:02 +05:30
Rudhra Deep Biswas
b5947dbb5c
New EE Licensing Plan Changes LTS to Modularisation (#12625)
* init

* fix

* logs

* remove ds

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-04-21 19:37:16 +05:30
Akshay
528c354ed5
fix workflow executions in modularistion (#12124) 2025-03-10 23:31:57 +05:30
Rudhra Deep Biswas
ae3142dd4e
Permission FIxes including appId and DataSourceId (#12184)
* init

* remove ForwardAbility
2025-03-10 17:19:44 +05:30
Akshay Sasidharan
1bb19e13c0 update submodules 2025-03-06 13:52:03 +05:30
gsmithun4
269ec56455 Initial commit 2025-02-25 12:22:50 +05:30