Commit graph

104 commits

Author SHA1 Message Date
Srimanitejas123
f7ea317b6f Updated data-cy with review comments 2025-09-11 14:10:20 +05:30
Srimanitejas123
7e30956aa7 Updated jsx with data-cy 2025-09-11 13:02:44 +05:30
Srimanitejas123
57d877c001 Added cypress spec for wf in apps 2025-09-05 16:52:34 +05:30
Srimanitejas123
e317b8e89f added cypress spec for wf with datasource 2025-08-28 17:50:56 +05:30
Akshay
ca71355d8e
Feature[LTS]: GRPC Plugin revamp (#13894)
* feat: Add new gRPC v2 plugin

- Enhanced DataSourcesController to support invoking methods on data sources.
- Introduced InvokeDataSourceMethodDto for method invocation requests.
- Added WhitelistPluginGuard to restrict method invocation based on data source kind.
- Updated IDataSourcesController and IDataSourcesService interfaces to include invoke method functionality.
- Implemented invokeMethod in DataSourcesService to handle method calls for gRPC v2.
- Added method whitelisting for gRPC v2 in the service layer.

* refactor: invokeMethod to use method dispatch pattern

* fix: improve error handling in testConnection method

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor: update types and interface

* fix: remove unnecessary border styles for improved UI consistency

* refactor: simplify error handling

- Introduced a new SCSS file for styling the gRPC v2 query editor components.
- Styled request sections, server URL input, dropdown menus, and method buttons for better user experience.

refactor(grpcv2): enhance error handling and type safety

- Updated error handling in gRPC query service to use a new `toError` utility function for consistent error conversion.
- Improved type definitions for gRPC client and service methods to ensure better type safety.
- Refactored method existence validation and gRPC call execution to handle errors more gracefully.

fix(grpcv2): improve service discovery and proto file loading

- Enhanced service discovery logic to handle reflection and proto file clients more robustly.
- Added checks for valid service constructors and improved error messages for better debugging.
- Updated the `loadProtoFromRemoteUrl` function to handle HTTP errors more effectively.

chore(grpcv2): add utility functions for type checks

- Introduced utility functions `isRecord`, `hasProperty`, and `toError` for better type checking and error handling throughout the codebase.

* feat: add LegacyBanner component for gRPC legacy tag display

* fix: styling changes

* fix: correct text in LegacyBanner component

* feat: enhance GRPCv2 component with request handling and state management improvements

* refactor: update metadata handling in GRPCv2 component and service

* refactor: update GRPCv2 component to use raw_message instead of requestData

* fix: Styling issues and labels

* refactor: gRPC test connection checks for proto file and url

* fix: improve error handling in service discovery

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-21 16:39:31 +05:30
Nishidh Jain
95ecf7561a Show "Fill with AI" button in SQL Mode for Multiline Editor 2025-08-07 13:24:21 +05:30
Kavin Venkatachalam
883b23e361
Merge pull request #13631 from ToolJet/release/lts-3.16.1
Release/lts 3.16.1
2025-08-04 20:16:35 +05:30
Shaurya Sharma
d1a5c94f1a Tjdb datetimepicker css fix 2025-08-04 15:50:20 +05:30
Muhsin Shah C P
65f65309e5 fix: update AggregateFilter component to include 'wf-block' class for better styling 2025-08-04 13:08:38 +05:30
Vijaykant Yadav
6ac55225d2 Fixes button width styling for empty parameter list 2025-08-01 13:20:28 +05:30
Muhsin Shah C P
8326de821b
Fix: update z-index for workflow query editor popover (#13545)
* fix: add custom class to Popover for better styling in DropDownSelect

* chore: update subproject reference to latest commit
2025-07-30 11:57:39 +05:30
Rudra deep Biswas
598ac6142d Merge branch 'main' of https://github.com/ToolJet/ToolJet into cloud-posthog 2025-07-17 01:31:57 +05:30
Johnson Cherian
beb4434ea6
Merge pull request #13367 from ToolJet/fix-query-transformationtabs-rerender
Fix tabs not changing on selected query change
2025-07-16 15:41:18 +05:30
johnsoncherian
1443cdfeb5 Merge branch 'fix/appbuilder-04' into fix/query-rename-debounce 2025-07-16 13:39:23 +05:30
johnsoncherian
d8066942d0 style: update url input width to match designs 2025-07-15 23:26:35 +05:30
Akshay
1135f7c776
Fix: Workflows options specific for editions (#13399)
* refactor: Enable workflows only for EE

* fix: Add workflow feature check in WorkflowResourcePermissions
2025-07-15 14:39:58 +05:30
Rudra deep Biswas
a403cdfebd Merge branch 'main' of https://github.com/ToolJet/ToolJet into cloud-posthog 2025-07-15 11:41:17 +05:30
johnsoncherian
328a9fbefe fix: adjust REST API editor layout and disable debounced input rename call 2025-07-14 14:20:51 +05:30
Nakul Nagargade
49ad9f62ac Fix tabs not changing on selected query change 2025-07-13 16:56:11 +05:30
Ganesh Kumar
0eb2440023
Release: Marketplace sprint 12 (#13207)
* Feature: Prometheus plugin (#13161)

* prometheus plugin

* added existing props

* Host and database can be dynamically configured in query builder for PostgreSQL and MySQL data sources (#13163)

* Fix: Postgresql datasource tries to connect via ssl even when ssl toggle is off (#13167)

* The ability to provide a partition key for deleting items in CosmosDB datasource has been enabled (#13166)

* Feature: Ability to configure the database name in Redis datasource (#13165)

* Fix: Avoid setting Content-Type header for requests without body and configure different host for all environments in OpenAPI [PRE-RELEASE] (#13230)

* Send content-type only with body in request

* Persist OpenAPI parameters per operation only

* Configure different host

* Add disable styles to the select input

* Feat: New fields 'client id' and 'client secret' have been introduced in the Slack datasource configuration page in pre-release (#13162)

* Update slack frontend

* Update slack backend to handle custom creds

* Add backfill migrations

* Dynamically change dropdown according to versions

* Change migration file name

* Correctly access scope in chat:write logic

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidrn@gmail.com>
2025-07-11 12:15:39 +05:30
Rudra deep Biswas
f25b8d0fa6 Posthog Cloud Changes 2025-07-10 18:53:54 +05:30
johnsoncherian
bf6d570fa7 Merge branch 'main' into fix/appbuilder-02 2025-07-09 01:39:40 +05:30
Ganesh Kumar
88ac5416ad Merge branch 'main' into feat/optional-tjdb-sql-mode 2025-07-08 23:00:33 +05:30
Devanshu Rastogi
07ba7acdc6
Fix: Workflow LTS migration UI issues (#13245)
* Fix: Rest API UI Alignment

* Update submodule reference

* Update frontend submodule ref

* update submodule ref

* Update frontend submodule ref
2025-07-08 18:53:36 +05:30
Akshay Sasidharan
bc1b0779d2 chore: disable SQL mode for cloud edition 2025-07-08 18:35:35 +05:30
Akshay
9316b763fc
Refactor: Workflows feature is configurable (#13235)
* refactor: Disable workflows for cloud edition

* chore: update submodule to latest commit
2025-07-08 14:07:42 +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
17932d571e
feat: add workflow store to manage workflow ID state (#13239) 2025-07-08 10:56:05 +05:30
NishidhJain11
fb7c751a34
Feat/AI modularisation (#13142)
* fix deps

* Modularisation changes for Build with AI feature

* New app loading UI for Build with AI feature & added animation for chat messages

* Fix Error using AI feature

* add missing services and logic

* fix app gen

* update submodules

* EE frontend submodule updated

* update submodules

* EE frontend submodule updated post sync

* Added Artifact Preview component to ee moddules list

* Updated ai slice code

* app gen changes

* Resolved fix with AI bugs

* Resolved AI Copilot bugs

* app gen changes and query fixes

* fix query generation bugs

* update copilot

* Resolved ChatMode dropdown & popover bug fix

* Resolved PR suggestions & PreviewBox component in CE edition

* Synced frontend/ee with main

* Synced server/ee with main branch

* Enhance submodule checkout process to handle branch existence and fallback to main (#13218)

* Enhance submodule checkout process to handle branch existence and fallback to main

* Improve submodule checkout process to handle branch validation and fallback to main

* chore: Comment out Node.js setup, dependency installation, and build steps in cloud frontend workflow

* refactor: Enhance submodule checkout process to include submodule name in logs

* Update submodule checkout process to use the correct submodule name extraction method

* fix: Update submodule checkout script to use correct submodule path variable

* Improve submodule checkout process to correctly handle branch names and fallback to main

* chore: Uncomment Node.js setup, dependency installation, and build steps in cloud frontend workflow

* fix: Update branch checkout logic to use correct syntax and improve fallback handling

* fix: Update git checkout command to use -B flag for branch creation

* fix: Improve submodule checkout process to explicitly fetch branch ref before checkout

* fix: Enhance submodule checkout process with improved branch validation and error handling

* fix: Improve branch checkout logic by enhancing fetch command and validating branch existence

* fix: Enhance manual Git checkout process with improved fetch and error handling

* fix: Restore Node.js setup, dependency installation, and Netlify deployment steps in workflow

* 🔄 chore: update submodules to latest main after auto-merge

* Took sync of fix/appbuilder-02 in frontend/ee

---------

Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: adishM98 Bot <adish.madhu@gmail.com>
2025-07-07 15:11:58 +05:30
Akshay Sasidharan
19730503ab release: Workflows sprint 9
What's changed?
🚀 Features
Feature: Configurable workflow execution in #3663 by @akshaysasidrn
Feature: Duplicate the workflow node in #3616 by @manishkushare
🛠️ Fixes
Fix: Resolve workspace constants and secrets in workflow context in #3659 by @akshaysasidrn
2025-07-02 19:38:12 +05:30
johnsoncherian
e036025c9b Merge branch 'main' into appbuilder/sprint-14 2025-06-27 19:51:37 +05:30
Shaurya Sharma
9a0ef1ab34
Feat/dynamic height (#12255)
* adjust the component position based on the dynamic height of the above component

* Grid collision and dynamic height added

* Fixed delete component edge case

* Fixed components overlapping on decreasing height & few minor bugs

* Fix for dynamic height decrease

* Temp top map added

* Merge conflicts resolved

* feat: Add CSA and functionalities for managing loading, visibility, and disable states for full tab component. (#11267)

* feat: tab draggble option and popover menu (#11267)

* feat: tab scrollable arrows and tabItem logic(#11267)

* feat: remove logs(#11267)

* feat: Tabslayout name change(#11267)

* fix: component update on Tabs

* fix: tab text color update

* feat: setTabDisable CSA added(#11267)

* feat: added CSA for tab specific changes(#11267)

* feat: added handle function for tab specific changes(#11267)

* feat: shimmer for tab nav and icon chooser (#11267)

* feat: icon for each tab in TabNav items (#11267)

* feat: equal split width fix for each tab in TabNav items (#11267)

* feat: styles for Tab Nav (#11267)

* feat: slide options(#11267)

* feat: fix radius (#11267)

* feat: slider (#11267)

* feat: fix slide direction (#11267)

* feat: fix slide direction 2 (#11267)

* feat: fix styles right side inspector view (#11267)

* feat: nav ellipsis ... (#11267)

* feat: children different for dynamic and non-dynamic (#11267)

* feat:[tabsLayout] change default values in config (#11267)

* feat:[tabsLayout] split and auto fix (#11267)

* feat: fix styles accent and text  (#11267)

* feat: fix styles divider and more 2(#11267)

* feat: fix styles divider and more 3(#11267)

* feat: fix styles 4(#11267)

* feat: fix styles 5(#11267)

* feat: fix tab icon visibility 6 (#11267)

* feat: modify name of property from id to Tab 7(#11267)

* fixes and changes

* fix: csa for tabs

* new changes and fixes

* fix: dynamic options sytling

* v2 changes

* fix: styling

* fix: styling of icons

* Minor bug fixes

* fix: styling

* Listview related dynamic height added

* transition effect fix

* Dynamic height related issues solved

* fixed transition

* new changes

* style: extend tabpane background to whole pane

* fix: tinycolor import

* Minor fix for config handle

* Dynamic Height for Tabs

* Submodule updated

* Submodule updated

* Submodule update

* Horizontally resizeable

* Form fix

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Raman Kumar <k.raman1998@yahoo.in>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: TaruunMalik <taruunrmalik09@gmail.com>
Co-authored-by: johnsoncherian <johnsonc.dev@gmail.com>
2025-06-27 17:05:01 +05:30
Devanshu Gupta
1d1c7858cd
Feat/audit logs 2.0 (#13012)
* 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

* feat: added grou permission default properties

* fix: review fixes

* feat: granular app

* fix: moved user name logic to service

* remove log

* ee commit

* feat: separate routes for app, data-source

* feat: added some actions

* ee commit

* ee commit

* feat: added audits

* ee commit

* fix pasword

* Update the new granular permission api end points in cypress test cases

* feat: batch-3 actions

* removed log

* remove import

* feat: added app audit logs

* feat: public app update route

* feat: added resource route

* fix: json clone

* feat: added feature audit

* revert INSTANCE_UPDATE

* feature key update

* fix: filter resource guard

* ee commit

* fe ee commit

* script for resolving submodule conflicts

* changing docs url to .ai

---------

Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
Co-authored-by: Midhun G S <gsmithun4@gmail.com>
Co-authored-by: Rudra deep Biswas <rudra21ultra@gmail.com>
2025-06-25 12:40:07 +05:30
johnsoncherian
ad62add247 Merge branch 'main' into feature/modules 2025-05-28 14:11:55 +05:30
devanshu052000
159f7c88ee Merge branch 'appbuilder/sprint-12' into fix/query-panel-overflow 2025-05-15 16:12:50 +05:30
devanshu052000
c1a8c8d6c3 Integrate the popup hook in workflows 2025-05-09 12:17:44 +05:30
devanshu052000
215a530560 Integrate the popup hook in change data source dropdown 2025-05-09 12:10:34 +05:30
devanshu052000
c57971e6fb Added intersectionObserver to rest api's mthod dropdown 2025-05-09 09:28:19 +05:30
johnsoncherian
56c077e2d1 Merge branch 'main' into fix/run-query-preview-update 2025-05-06 11:16:56 +05:30
Kavin Venkatachalam
5f246f48c0 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feature/modules 2025-05-05 20:22:37 +07:00
Kavin Venkatachalam
4f5f4bb2d5 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feature/modules 2025-04-30 21:02:24 +07:00
Manish Kushare
5b5db4b61f
Fixing upsert (#12759) 2025-04-30 19:14:49 +05:30
Kavin Venkatachalam
eed8014509 Cleaned up the logic of using module context 2025-04-30 10:35:32 +07:00
Akshay Sasidharan
33bc5ee290 Fix TJDB bulk upsert variable resolution 2025-04-29 20:21:27 +05:30
Akshay Sasidharan
d107346f80 Merge branch 'main' into release/marketplace-sprint-10 2025-04-29 10:59:25 +05:30
Manish Kushare
58d29febf8
Added feature to set default value to null while creating or edit FK column (#12704)
* Added feature to set default value to nul
Fix app crashing bug while creating FK relations

* feat: enhance default value validation for foreign keys

- Updated the label for setting default value to Null for clarity.
- Implemented a validation function to check the default value against referenced foreign key columns.
- Added useEffect to trigger validation on component mount.

* Handled edge case between not null constraint and set default to null toggle

* Removed turnary operator

* fix: placeholder is getting overlapped with null tag

* When isNotNull is truthy and default value is falsy, then disabling the save button

* fix: remove unnecessary rows check for NOT NULL default value validation
2025-04-28 23:34:12 +05:30
Ganesh Kumar
a4e6ca9f2b
ToolJet database JSON column values are not persisted in query builder (#12438) 2025-04-28 23:27:42 +05:30
johnsoncherian
130e716f78 Fix: Preview not updating after running query 2025-04-28 21:28:45 +05:30
Manish Kushare
42b4a4105e
Added feature to add bulk upsert using PK (#12325)
* Added feature to add bulk upsert using PK

* Avoid pre-fetching of data

* refactor: update bulk upsert option to use primary key in ToolJetDbOperations

* refactor: rename bulk upsert action to include primary key in TooljetDbActions

* refactor: enhance data type conversion and improve bulk upsert logic in TooljetDbBulkUploadService for bulk upsert function

* updated bulk upsert functionalities

* refactor: implement error handling in bulk upsert process of TooljetDbBulkUploadService

* refactor: simplify row handling in BulkUpsertPrimaryKey and ensure consistent data structure in TooljetDb services

* Made the review changes

* refactor: remove getTableInfo method from TooljetDbBulkUploadService and its usage in TooljetDbDataOperationsService

* refactor: update initialValue handling in CodeHinter for BulkUploadPrimaryKey and BulkUpsertPrimaryKey components
2025-04-28 20:45:57 +05:30
johnsoncherian
45e945d4c4 Merge branch 'main' into appbuilder/sprint-11 2025-04-28 15:28:21 +05:30