Commit graph

356 commits

Author SHA1 Message Date
gsmithun4
0511d820df Implement feature X to enhance user experience and optimize performance 2025-12-10 18:51:56 +05:30
abhijeet760
b06e9b2b04
Enhance : ClickHouse module updated (#14666)
* updated clickhouse npm

* added_parser_to__tooljet

* updated response structure and removed data migration file

* resolved comments

* removed the fields from manifest.json

* improved error message
2025-12-10 15:16:03 +05:30
Pratush Sinha
861e717248
MongoDB connection with srv support (#14626)
* MongoDB connection with srv support

* design changes and migration

* changes in design

* fix password field is coming disabled.

* change with save button

* changes in the save button and encrypt

* Changes for mongoDb SRV after Code Review

* migration script

* Changes in the UI

* fixed the db issue in connection

* changes comment removed

* SSl issue resolved

* Review changes made

* editing connection string affects only individual fields

* fixed dataSource Saving in imported apps

* fixed imported apps ds save

---------

Co-authored-by: Pratush <pratush@Pratushs-MacBook-Pro.local>
2025-12-10 15:06:10 +05:30
Pratush Sinha
c602b2ccb4
Hotfix: MySQL should reject unauthorised connection only when certificates are provided (#14710)
* Hotfix ] MySQL - Reject Unauthorised SSL connection

* fixed sourceOptions.ssl_certificate ?? 'none'

---------

Co-authored-by: Pratush <pratush@Pratushs-MacBook-Pro.local>
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
2025-12-05 19:15:47 +05:30
Midhun G S
07e8d3a3a3
Merge pull request #14634 from ToolJet/release-lts/marketplace-sprint-14
Marketplace release : Sprint 14
2025-11-28 17:50:25 +05:30
Pratush Sinha
4ebd30ece7
Added option to send Sender's Name (#14650)
* Added option to send Sender's Name

* change made to Sender Name

* bump version to 3.20.46-lts in all relevant files

---------

Co-authored-by: Pratush <pratush@Pratushs-MacBook-Pro.local>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-11-27 21:49:25 +05:30
Ganesh Kumar
3a4d7da1c1
Feat: Query level timeout for Postgresql datasource (#14612)
* POstgresql query level timeout implementation

* for query without parameters query level timeout has been updated

* Query level timeout at Run Query endpoint

* label for timeout is updated

* Timeout is applied at run query level

* Method name has been modified

* ref updated

* Error message modified

* Abort controller is abstracted

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-11-27 19:47:59 +05:30
Pratush Sinha
368a73176c
Fix: MySQL SSL Toggle reject unauthorised connection (#14551)
* SSl Toggle Issue

* review comments resolved

---------

Co-authored-by: Pratush <pratush@Pratushs-MacBook-Pro.local>
2025-11-24 11:03:06 +05:30
Ganesh Kumar
6e5badccc3
Hotfix: Support for specifying OAuth scopes for BigQuery connections (#14567) 2025-11-13 21:40:02 +05:30
parthy007
d1f62405a4 fix: configure body correctly for token call
fix: add hubspot in querymanager auth flow
2025-10-23 15:44:51 +05:30
Parth
249d7a1135
Feature: Validate and save datasource OAuth creds in multi-tenant mode (#14043)
* fix: change schema to hide save button & add default value

* enhance: Show connect button in UI at data-config

* fix: extract source_options correctly

enhance: add userID in cache logic for snowflake

* enhance: add backend logic to save tokens correctly

fix: change IDataSourcesUtilService interface

* fix: add read docs button for oauth plugins

fix: shrink the connect button

* fix: remove extra code and fix comments

* fix: generate cache key correctly
2025-10-22 17:19:46 +05:30
Parth
03505b0174
fix: token headers & client-auth dropdown (#14082) 2025-10-22 15:19:20 +05:30
Ganesh Kumar
ac5a65179d Merge branch 'lts-3.16' into release-lts/marketplace-sprint-13 2025-10-22 14:12:14 +05:30
Priyansh Rai
beb8bcfc65
Fix: Capitalisation inconsistencies in labels (#14174)
* fixed capitalization issue

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* updated changes

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* fix: standardize label casing and formatting in plugin manifests

* fix: standardize label casing in plugin manifests

---------

Signed-off-by: thesynthax <kushagra1403@gmail.com>
Co-authored-by: thesynthax <kushagra1403@gmail.com>
2025-10-22 13:59:18 +05:30
Ajith KV
7d28810652
Add cypress test cases for enterprise user groups and permissions (#14340)
* Add cypress test cases for enterprise user groups and permissions

* update constants

* update user groups test cases

* update spec

* update groups cases

* update lock.json

* update custom group cases

* update docker file

* update first user onboarding and platform commands

* add case for UI  promote and release permission
2025-10-17 12:38:44 +05:30
Pratush Sinha
e8f51f91cd
Fix: Error handling in Elastic Search test connection (#14308)
* error Handeling in Elastic Search Test Connection

* added requestTimeout
2025-10-13 16:23:58 +05:30
Parth
2db7909a7c
fix: decode the base64 string (#14138) 2025-10-10 13:21:47 +05:30
Ganesh Kumar
35a343d813
Hotfix: MariaDB datasource connection handling (#14277)
* Mariadb graceful connection handling

* fixed review comments
2025-10-08 14:37:43 +05:30
Ganesh Kumar
0f00162fcc
Feat: Support for service account authentication in google sheet datasource (#14209)
* working on google sheet service account flow

* service account flow logic added

* for service account flow skip the Oauth error flow

* added datamigration to backfill the authentication option for GoogleSheets
2025-10-08 14:34:05 +05:30
Ganesh Kumar
69bb50ad48
Feature : AWS Default Credential Provider Chain as an authentication option in AWS S3 datasource (#14171)
* added default credential chain flow

* Bump version to 3.20.5-lts across all components and add tag-and-push script for releases

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-09-26 20:48:25 +05:30
Parth
9167b950ae
Fix: Snowflake input rendering (ClientId & Client-secret) in cloud & OAuth plugin failure due to undefined environmentId (#14167)
* fix: use selectedEnvironment instead of currentAppEnvironmentId

* fix: clientid and secret rendering
2025-09-26 20:45:13 +05:30
Akshay
ca2e70de82
Fix: gRPC reflection client and adds fuzzy search for gRPC service (#14067)
* refactor: use service descriptor retrieval and pass callOptions

* refactor: remove redundant comments

* refactor:  use sdk methods to get appropriate proto definition on reflection

* fix: changes not save immediately

* fix: improve loading state handling in GRPCv2 component

* feat: add filesystem support for loading proto files

* feat: implement fuzzy search and debounce functionality
2025-09-26 20:30:02 +05:30
gsmithun4
f40be5b1b5 feat(logging): integrate transaction logging across various guards and services
- Updated `AbilityGuard` to utilize `TransactionLogger` for logging execution time and errors.
- Enhanced `ResponseInterceptor` to include transaction metadata in logs.
- Modified `QueryAuthGuard`, `ValidateQueryAppGuard`, and `ValidateQuerySourceGuard` to log completion times and transaction IDs.
- Introduced `TransactionLogger` service for structured logging with transaction context.
- Added transaction ID and route information to request context in `RequestContextMiddleware`.
- Updated `JwtStrategy` to log validation completion times.
- Refactored logging configuration in `AppModuleLoader` to support pretty printing in non-production environments.
- Removed console logs in favor of structured logging for better traceability.
2025-09-19 02:08:49 +05:30
Akshay Sasidharan
88fa169af8 refactor: make code more strict in typing 2025-09-12 14:23:19 +05:30
Akshay Sasidharan
d44f755df9 refactor: revise function names for clarity 2025-09-12 11:26:29 +05:30
Akshay Sasidharan
1026593b40 fix: send metadata not in call options 2025-09-12 02:18:15 +05:30
Ganesh Kumar
abf26d6439 Merge branch 'release-lts/marketplace-plugin-set6' of https://github.com/tooljet/tooljet into release-lts/marketplace-plugin-set6 2025-09-10 13:54:26 +05:30
Ganesh Kumar
2e069f5af8 Merge branch 'lts-3.16' into release-lts/marketplace-plugin-set6 2025-09-10 13:54:02 +05:30
Akshay Sasidharan
e234c5a66f refactor: remove deadcode 2025-09-09 12:19:37 +05:30
Akshay
186d9db5f5
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-08 23:37:12 +05:30
Akshay Sasidharan
3d61aad3e9 refactor: simplify non-TLS execution by consolidating metadata handling 2025-09-08 23:16:03 +05:30
Akshay Sasidharan
37a308c9a7 refactor: streamline gRPC call execution and metadata handling 2025-09-08 23:07:40 +05:30
Akshay Sasidharan
e61b90ac64 fix: remove lowercase conversion 2025-09-08 20:35:58 +05:30
Akshay Sasidharan
509afde5e5 refactor: enhance gRPC call handling with unified call options for metadata 2025-09-08 19:43:37 +05:30
Priyansh Rai
96cc85943b
fix: correct placeholder and description text in postgresql, notion, and mssql plugins operations schemas (#13643) 2025-09-08 15:01:10 +05:30
Priyansh Rai
ea656b422f
fix(cosmosdb): add partition key placeholder in cosmosdb operations (#13642) 2025-09-08 14:51:37 +05:30
Ganesh Kumar
ba71d2fe99 Merge branch 'lts-3.16' into release-lts/marketplace-plugin-set6 2025-09-08 12:32:48 +05:30
Priyansh Rai
94e4a13043
Feat: Add Gmail plugin (#13843)
* ee commit

* merge commit

* feat: updated openapi operation component

* updated query operation sepctype

* fix: updated query dropdown style

* feat: config dropdown update

* feat: add Gmail plugin with API integration and initial setup

* refactor: enhance type definitions

* refactor: clean up code and refactor variable names

* fix: update Gmail OAuth scope to allow full access to Gmail

* feat: standardize error handling for Gmail plugin

* fix: include oauth_type handling in Gmail plugin for cloud environment

* fix: update spec_url for Gmail operations

* refactor: remove unused fields in gmail manifest.json

* fix: update Content-Type header to application/x-www-form-urlencoded for token requests

* feat: add environment variable prefix for Gmail in OAuth handling

* fix: remove encryption requirement for client_id in Gmail manifest

* fix: update Gmail plugin to use form data for token requests and simplify response handling

* fix: add Gmail to OAuth data sources in DataSourceManager

* fix: encode path parameters in Gmail plugin URL construction

* fix: add back margin to Client ID label in CommonOAuthFields component

* fix: adjust width of input field in RenderParameterFields for better alignment

* fix: set response type to 'json' in requestOptions for Gmail service

---------

Co-authored-by: Devanshu Gupta <devanshuguptaknp@gmail.com>
2025-09-08 12:20:32 +05:30
Akshay Sasidharan
31a9749a66 fix: gRPC credentials flow 2025-09-02 22:48:42 +05:30
Ganesh Kumar
d7dd384d37 info 2025-09-01 13:51:13 +05:30
Ganesh Kumar
0936a97217 grpcv2 now added metadata to list services and methods 2025-09-01 13:48:29 +05:30
Ganesh Kumar
6e4b0c9db5
stringified array and object in url params (#13784) 2025-08-29 16:52:27 +05:30
Parth
118188cb9e
Enhance: Abstract common OAuth component for OpenApi (#13809)
* refactor: Abstract common oauth component for openapi

* chore: comment out redis-server startup in preview script

* fix: update PostgreSQL version from 16 to 13 in Dockerfile

* fix: update PostgreSQL directory paths from version 16 to 13 in Dockerfile

* fix: edit button on encrypted fields

* fix: conditionally render dropdowns

* fix: Change helpertext for redirect uri in oauthwrapper

* fix: query response to display json

* fix: copywriting & optional chaining

* fix: handle client credentials correctly

---------

Co-authored-by: adishM98 Bot <adish.madhu@gmail.com>
2025-08-29 16:51:56 +05:30
Devanshu Gupta
6f572315c1
feat: added hubspot (#13854)
* feat: added hubspot

* fix: updated name

* feat: updated spec url

* fix: added options in manifest

* fix: resolved comments

* fix: added kind

* fix: updated query options check

* fix: kind index
2025-08-21 18:54:05 +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
Parth
61b7902b10
Hotfix: Render OAuth component dropdowns and correct labels (#13808)
* fix: Render OAuth component dropdowns and correct labels

* fix: Hide dropdowns and fix CSS
2025-08-14 17:13:12 +05:30
Devanshu Gupta
cb0a87e1a1
Feat/ms graph pre release (#13581)
* ee commit

* merge commit

* feat: updated openapi operation component

* updated query operation sepctype

* fix: updated query dropdown style

* init plugin

* init plugin

* feat: config dropdown update

* feat: added ms plugin

* fix: plugin connection name

* submodule reference updated

* plugin label updated

* added back margin top class

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
2025-08-11 18:59:49 +05:30
Ganesh Kumar
b8b0d57504
Fix: ApiEndpointInput component used for rendering OpenAPI spec where values are stored in cache for respective operation. (#13732)
* apiendpoint component used for rendering openapi spec value are persisted

* Fix/stripe old component (#13737)

* fix: integrated old component

* removed log

---------

Co-authored-by: Devanshu Gupta <devanshuguptaknp@gmail.com>
2025-08-08 22:28:57 +05:30
Ganesh Kumar
9ce8ec386a
Fix: Postgresql datasource statement timeout is added to connection string method (#13598) 2025-08-01 19:41:47 +05:30
Ganesh Kumar
321c16b9bd
Hotfix: REST API datasource values given in body section is been skipped (#13576)
* REST API changes from LTS and new changes

* Fix: Response, Request and Metadata coming out to be undefined on query failure and success inside Inspector

---------

Co-authored-by: devanshu052000 <devanshu.rastogi05@gmail.com>
2025-08-01 18:39:33 +05:30