Commit graph

435 commits

Author SHA1 Message Date
Siddharth Pundir
32c4caab12
Graphql revamp (#15551)
* Graphql revamp

* Added query params

* Passing hasdatasource to the sanitize functions

* Design fix

* Fix for right side border for key input

* Resolving the comment
2026-03-18 19:39:16 +05:30
Siddharth Pundir
06985b5b3b
Added pending items for mongo db and mssql (#15499)
* Added pending items for mongo db and mssql

* SSL Bug fix

* Bump version to 3.20.123-lts across all components

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-03-16 22:04:01 +05:30
gsmithun4
c580cc2f5a Merge branch 'main' into rebase/lts-main-6-mgs 2026-03-16 15:03:38 +05:30
Ganesh Kumar
7aa15a0233
Hotfix : REST API datasource CA cert concat issue (#15540)
* fix for concat issue on certificates

* bump version to 3.20.122-lts across all components

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-03-13 22:51:43 +05:30
Siddharth Pundir
032616d923
Merge pull request #15530 from ToolJet/fix/ssl-toggle-mongo
SSL Toggle for mongo conversion string to boolean
2026-03-12 14:33:14 +05:30
gsmithun4
11b8c0490a Implement feature X to enhance user experience and fix bug Y in module Z 2026-03-12 13:13:13 +05:30
gsmithun4
eaa9635eac Merge branch 'main' into rebase/lts-main-5-mgs 2026-03-12 12:21:09 +05:30
Ganesh Kumar
0a7915470c
Fix : SSL toggle conversion to boolean (#15529)
* hotfix for converting ssl toggle to boolean

* ssl toggle autofill fix for pgsql

* Fix for enable save button for pgsql

* removed validation for SSH

---------

Co-authored-by: Siddharthpl <siddharthpundir73@gmail.com>
2026-03-12 12:08:33 +05:30
Ganesh Kumar
a82232e7c0
Feature: GUI mode for Postgresql and GUI mode abstractions (#15417)
* GUI mode abstraction and GUI mode for postgresql

* CSS Issue and Query response fixes

* GUI mode postgresql and abstracted components enhancement

* Bug fix on delete operation retuns undefined as ouput and big fixes
2026-03-10 21:15:51 +05:30
gsmithun4
f6b5d9f4ae Merge branch 'main' into rebase/lts-main-4-mgs 2026-03-09 22:58:00 +05:30
Midhun G S
45d660672c
Vulnerability - Package upgrades (#15411)
* Refactor code structure for improved readability and maintainability

* Refactor code structure for improved readability and maintainability

* Bump version to 3.20.117-lts across all components
2026-03-09 21:08:20 +05:30
Siddharth Pundir
acc491033a
Feat/pgsql mongo ssh and db improvements (#15367)
* PgSQL ssh implementations and other improvements

* Updated the package.json

* Mongo db ssh implementation and improvements

* Updated the helper text and database label

* Updated the helper text for password

* Fixing the autofetch for the mongo

* Fixing autofetch for the pgsql

* Updated the ssl toggle title

* Updated the common toggle logic

* Bump version to 3.20.114-lts across all components

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-03-05 20:49:57 +05:30
gsmithun4
3d1fd48a19 Implement feature X to enhance user experience and fix bug Y in module Z 2026-03-05 11:41:52 +05:30
Rudhra Deep Biswas
a78c539456
AWS V4 Signature REST API (#15370)
* AWS V4 Signature REST API

* package-lock

* UI changes
2026-03-04 19:33:38 +05:30
abhijeet760
3d3fe41983
Db Improvments (#15263)
* DynamicForm Options Ordering

* undo manifest

* autofetch

* improvements

* error standardisation

* ssh tunneling and ordering

* bug fixes

* toggle flip

* helper text

* ui changes

* design changes

* azure design changes

* removed fx button from mysql

* ui changes

---------

Co-authored-by: Rudhra Deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-03-04 19:32:05 +05:30
Adish M
6ddbb7fedc
feat: implement SSRF protection with URL validation across plugins (#14257)
* feat: implement SSRF protection with URL validation across plugins

* refactor SSRF protection to focus on cloud metadata endpoints and improve configuration options

* remove legacy whitelist functionality and streamline SSRF validation process

* enhance SSRF protection by adding configurable blocked schemes and validation checks

* enhance SSRF protection by integrating configurable options across services

* replace dns.lookup with dns.lookup from dns module for improved clarity

* refactor: enhance SSRF protection by merging request options and improving IP format normalization

* Fix: update comments for clarity and enhance IP normalization in SSRF protection

* enhance SSRF protection by validating URL and applying protection options in GraphqlQueryService

* enhance SSRF protection with detailed validation for redirects and URL schemes
2026-02-23 17:25:13 +05:30
Akshay
8c9d79c012
Fix: Use loadSync for gRPC filesystem proto loading and add lightweight service discovery (#15225)
* fix(grpcv2): use loadSync for filesystem proto loading to prevent server crash

protobufjs has an unfixed bug (protobufjs/protobuf.js#1098) where
async Root.load() calls resolveAll() outside its try-catch in the
finish() callback. When resolveAll() throws (e.g. unresolvable types),
the error becomes an uncaught exception that crashes the Node.js
process — the Promise never resolves/rejects.

Switch from protoLoader.load() to protoLoader.loadSync() for all
filesystem-based proto loading. With loadSync, resolveAll() errors
propagate as normal synchronous throws caught by existing try-catch
blocks. This is consistent with loadProtoFromRemoteUrl() which
already uses loadSync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(grpcv2): add filesystem proto discovery with lightweight scanning

Add discoverServiceNames and discoverMethodsForServices to support
two-phase service discovery from filesystem proto files. Uses
protobufjs.parse() for lightweight name scanning (~30KB/file) and
only loads full gRPC definitions for selected services, preventing
OOM on large proto directories.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(DynamicSelector): add multi-select and autoFetch for grpcv2 filesystem services

Add isMulti and autoFetch props to DynamicSelector. autoFetch triggers
service discovery on mount without requiring a manual button click,
and skips cache persistence to avoid false "Unsaved Changes" prompts.
Multi-select renders services as chips with custom styles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(data-sources): handle non-array elements in resolveKeyValuePair

resolveKeyValuePair assumed all array option elements are sub-arrays
(like metadata key-value pairs). Options like selected_services contain
plain strings, causing arr.map crash during test connection. Guard with
Array.isArray check and fall back to resolveValue for scalar elements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(grpcv2): require service selection for filesystem mode in query manager

Filesystem mode without selected services would fall back to full
proto discovery (loading every file), defeating the purpose of the
two-phase discovery. Now shows an error asking the user to select
services in the datasource config instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(grpcv2): require selected services for filesystem test connection

Test connection in filesystem mode now validates that at least one
service is selected and uses a selected service for the connectivity
check instead of picking an arbitrary one from the proto directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(grpcv2): simplify filesystem test connection to validate proto parsing

Test connection for filesystem mode now just validates that proto files
can be parsed and services discovered — no service selection required.
Removes the meaningless waitForReady check which only tested TCP
connectivity without validating anything about the proto definitions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(grpcv2): remove filesystem branch from discoverServices

Filesystem mode never flows through discoverServices — it uses the
two-phase discoverServiceNames + discoverMethodsForServices path.
Remove the dead branch and add a comment documenting the filesystem
flow for clarity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs(grpcv2): add comment documenting test connection behavior per mode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(grpcv2): add TCP connectivity check for filesystem mode test connection

Filesystem mode now falls through to checkFirstServiceConnection (waitForReady)
like reflection and URL modes, instead of returning early after proto parsing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* cleanup(DynamicForm): remove unused snake_case prop aliases for isMulti and autoFetch

No plugin manifest uses is_multi or auto_fetch — the gRPC v2 manifest
(the only consumer of these props) uses camelCase exclusively, and there
is no transformation layer in the pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(DynamicSelector): suppress noAccessError flash during loading

The no-access warning and red border briefly flashed on page reload
because validateSelectedValue ran with an empty array before the
fetch completed. Gate both on !isLoading so they only appear after
data is actually loaded.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(DynamicSelector): skip cache validation for autoFetch on unrelated prop changes

When autoFetch is enabled, cache is never persisted to options (to avoid
"Unsaved Changes"). So every time selectedDataSource changes for
unrelated reasons (e.g. title edit), the cache-checking useEffect finds
no cache and calls validateSelectedValue([]), falsely triggering the
no-access warning. Skip this effect for autoFetch since it has its own
dedicated fetch/validation lifecycle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(grpcv2): remove QueryResult wrapping from plugin invokeMethod returns

grpcv2 plugin methods (discoverServiceNames, discoverMethodsForServices)
were returning QueryResult-wrapped responses which got double-wrapped by
DataSourcesService.invokeMethod, causing GRPCv2Component to crash with
"servicesData.services.map is not a function" when opening filesystem
proto queries.

Plugin invokeMethod now returns raw data (arrays) instead of QueryResult
objects. The server's invokeMethod always wraps with { status: 'ok', data }
consistently. DynamicSelector adds an Array.isArray guard for plugins
that return raw arrays vs { data: [...] }.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(DynamicSelector): skip access validation for autoFetch fields

autoFetch fields (e.g. gRPC services) are discovered from proto files,
not OAuth-scoped resources — "no access" warnings don't apply.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(grpcv2): unify service discovery into single getServiceDefinitions entry point

Consolidate discoverServices, discoverServiceNames, and discoverMethodsForServices
into two clear methods: listServices (lightweight name scan for DS config) and
getServiceDefinitions (full method discovery for query editor, all modes).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(grpcv2): prevent OOM on filesystem test connection and query fallback

Filesystem test connection no longer parses proto files — just counts
them with fast-glob and checks TCP connectivity via a raw gRPC client.
Query execution fallback after server restart now uses the lightweight
protobufjs.parse() scanner instead of the heavy protoLoader.loadSync()
path. Removes two dead functions (discoverServicesIndividually,
discoverServicesUsingFilesystem).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore: update version to 3.20.95-lts across all components

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-02-17 17:52:48 +05:30
abhijeet760
af09402477
fixed in operation json (#15206) 2026-02-09 22:44:47 +05:30
abhijeet760
3ef6e75ce2
document instead of documents (#15201) 2026-02-09 15:02:19 +05:30
Midhun G S
c8fe500a1d
Migrated aws-sdk v2 to v3 (#15023)
* chore: update bcrypt to version 6.0.0 in package.json

* chore: remove unused devDependencies from package.json

* Refactor code structure for improved readability and maintainability

* Refactor code structure for improved readability and maintainability
2026-02-04 17:27:17 +05:30
gsmithun4
f8daa74171 rebase 2026-01-30 14:40:54 +05:30
Midhun G S
ef998eed20
chore: package upgrades (#15009)
* chore: update bcrypt to version 6.0.0 in package.json

* chore: remove unused devDependencies from package.json

* Implement feature X to enhance user experience and optimize performance
2026-01-22 11:34:05 +05:30
Akshay
25261d70f2
Refactor: gRPC safe proto load (#14233)
* refactor: failsafe gRPC service discovery with file loads

* refactor: search only service names

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-01-19 21:16:16 +05:30
abhijeet760
2e8cced91e
added none based switch case (#14954) 2026-01-19 19:49:47 +05:30
Midhun G S
f68c8e1885
[Vulnerability] package upgrades (#14861)
* chore: update nestjs-otel to version 8.0.1 and add systeminformation override

* remove unused API metrics configuration from OpenTelemetry setup

* fixed ldap flaky case

* Update: Sendgrid package to 8.1.6 (#14833)

* updated sendgrid

* fix: update listBuckets function to use default options for ListBucketsCommand

---------

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

* Vulnerability Issues (#14834)

* Security Fixes

* set version

* utl harper db

* s3

* marketplace package-lock

* Remove package-lock.json files

* chore: update lerna to version 9.0.3 in package.json

* Implement code changes to enhance functionality and improve performance

* removing options from s3 bucket in markeplace

* supabase build type fixes

---------

Co-authored-by: Adish M <adish.madhu@gmail.com>
Co-authored-by: Yukti Goyal <yuktigoyal02@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: abhijeet760 <abhijeet@tooljet.com>
Co-authored-by: Rudhra Deep Biswas <98055396+rudeUltra@users.noreply.github.com>
Co-authored-by: Rudhra Deep Biswas <rudra21ultra@gmail.com>
2026-01-08 17:46:51 +05:30
abhijeet760
a0de33c5eb lint errors 2026-01-02 07:53:37 +00:00
abhijeet760
e7a7fbcf49 whitespace change 2025-12-26 13:05:28 +00:00
abhijeet760
19b824e2fa whitespace changes 2025-12-26 12:59:28 +00:00
abhijeet760
3055059063 added list tables for mongo and postgres 2025-12-26 12:10:00 +00:00
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
Pratush Sinha
5208167f3d
feat(mongodb): add createCollection operation with options (#13482) 2025-07-25 12:13:05 +05:30
Ganesh Kumar
f46340b477
Enhance: Extract OAuth 2.0 flow for Salesforce & Snowflake (#13529)
* salesforce & snowflake changes added to prerelease

* module import error fixes

* optional parameter for getAuthUrl method
2025-07-23 22:18:50 +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
parthy007
bbf42ddaf6 Merge branch 'release/marketplace-sprint-12' into fix/workspace-constants-mapping 2025-07-04 14:17:25 +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
parthy007
956e6b4534 Merge branch 'main' into fix/workspace-constants-mapping 2025-07-01 17:01:08 +05:30
Parth
f6f0b6fa8d
Fix MariaDB saving issue (#12952) 2025-05-29 00:06:11 +05:30
Parth
afb27b8673
Feature: Add Clickup plugin (#12703)
* initialize clickup plugin, add getConnection and testConnection

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

* including the openapi yaml

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

* trying to attach the openapi spec

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

* Fix key casing mismatch

* Update copywriting

* Fix clickup logic

* Filter limited operation request

* Add error standardisation

* Fix asterik symbol position

* Fix copywriting

* Fix wrong URL

* Fix asterisk gapping

* Handle array types

* Update marketplace package-lock.json

* Add the same package-lock as release branch

* chore: update package-lock.json

---------

Signed-off-by: thesynthax <kushagra1403@gmail.com>
Co-authored-by: thesynthax <kushagra1403@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2025-05-27 21:03:15 +05:30
parthy007
fd1d0becf4 Merge branch 'release/marketplace-sprint-11' into fix/workspace-constants-mapping 2025-05-27 16:58:11 +05:30
parthy007
5a7a704166 Add new cache function to plugins 2025-05-27 16:53:22 +05:30
parthy007
2dd4a4cfbe Add hashing function centrally
Update the caching function name
2025-05-27 16:42:17 +05:30
parthy007
fc03fefee6 Add new in-mem cache based on datasource config 2025-05-25 03:28:06 +05:30
Kushagra Srivastava
ce6713aab4
Firestore error standardization (#12813)
* firestore error standardization

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

* removed error.stack

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

---------

Signed-off-by: thesynthax <kushagra1403@gmail.com>
2025-05-23 20:40:57 +05:30
parthy007
4080f55f6e Fix: Connection for Salesforce, Google sheet, Slack , Grpc, Zendesk & Woocommerce
Fetch the auth code using correct method in request

Get the plugin object correctly for reloading

Fix woocommerce operation rendering

Resolve promise correctly

Pass plugin_id as prop

Resolve plugin saving issue with caching tokens

Add json-message in query correctly

Use auth code once without cache
2025-05-06 16:47:24 +05:30
Parth
67aa643997
Fix: Airtable test-connection and Postgres connection string input (#12742)
* Fix testConnection issue

* Fix connection string component in postgres
2025-04-30 12:54:38 +05:30
Parth
1dfacaf91b
Enhance: Schema revamp for MySQL and MsSQL (#12661)
* API backend setup for fetching decrypted options object

* Frontend setup to use and fetch decrypted options object

* Debounce validation and include encrypted fields

* Update banners and point back to inputs

* Remove ssl config from connection string in postgresql

* Add support for textarea design component

* Improve conditional requirement logic

* Fix validation banner bugs

* Change schema for airtable

* Change schema for bigquery

* Change schema for mongodb

* Change schema for mysql

* Change schema for mssql
2025-04-28 21:25:49 +05:30
Parth
4563a42032
Handle invalid headers (#12654) 2025-04-28 13:54:57 +05:30
Parth
f82bfddb8c
Enhance: Plugin schema for validation and design component (#12655)
* API backend setup for fetching decrypted options object

* Frontend setup to use and fetch decrypted options object

* Debounce validation and include encrypted fields

* Update banners and point back to inputs

* Remove ssl config from connection string in postgresql

* Add support for textarea design component

* Improve conditional requirement logic

* Fix validation banner bugs

* Change schema for airtable

* Change schema for bigquery

* Change schema for mongodb
2025-04-28 12:01:41 +05:30
Parth
219440a9bc
Add copy-writing and icon fixes (#12664) 2025-04-28 10:24:56 +05:30
Kushagra Srivastava
43ac4f251f
add metadata to QueryError and populating metadata in inspector on error (#12501)
* add metadata to QueryError

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

* add TODO, minor changes

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

* minor changes

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

* metadata gets populated on query error/failure

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

* add headers to metadata.response

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

* redact headers

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

---------

Signed-off-by: thesynthax <kushagra1403@gmail.com>
2025-04-28 10:08:34 +05:30
Ganesh Kumar
de9d9b5924
graphql plugin url appended with empty urlparams (#12353) 2025-04-28 09:53:05 +05:30