Commit graph

318 commits

Author SHA1 Message Date
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
Akshay
4b6e6ee5cd
Feature: Dynamic form validations (#12292)
* fixed datasource page crash as function definition was referenced wrongly (#11562)

* Add new dynamicform

* Refactor postgres manifest file

* Add new input-v3 component

* Conditionally render DynamicformV2

* Make change to design system component

* Remove key-value label over header input and increase width

* Add validation function for individual inputs

* Add validations on datasource creation

* Update custom input wrapper

* Update manifest file

* Add validation setup for dynamic form with JSON schema

* Fix input labels

* Add more validation checks

* Update manifest

* Remove console logs

* Add props for header component

* Skip validation for encrypted fields

* Add validations while saving datasource

* Remove validations for connection-options

* Add fetch manifest function

* Centralise validation errors

* Add property name in datapath

* Initialize and map validation errors to property

* Reuse validationErrors while saving datasource

* Bypass design system validation by implementing custom validation prop

* Skip initial render validation

Skip validation message for unchanged elements

* Remove fetchManifest

* Add text input for connection string

* Add workflow schema

* Fix double border on error or success

* Remove redundant default populating logic

* Fix the error helper text color to red

* Validate all fields post initial render

* Show label name in helper-text for failed validation

* Correctly switch between the password eye svg

* Incorporate edit button on encrypted inputs

* Resolve lint issue

---------

Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Parth Adhikari <parthadhikari@192.168.1.3>
Co-authored-by: Parth Adhikari <parthadhikari@192.168.1.2>
Co-authored-by: Parth Adhikari <parthadhikari@192.168.1.6>
Co-authored-by: parthy007 <parthadhikari1812@gmail.com>
2025-04-03 13:47:49 +05:30
Kushagra Srivastava
1147142174
Added detailed error descriptions in BigQuery Plugin (#12384)
* Added detailed error descriptions in BigQuery Plugin

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

* Update index.ts

---------

Signed-off-by: thesynthax <kushagra1403@gmail.com>
2025-04-03 12:00:16 +05:30
gsmithun4
22bbcbee70 Merge branch 'main' into merge-main-develop-1s 2025-03-12 22:59:30 +05:30
Pritesh Kiri
53ce5f6f14
[docs]: Fix darkmode on homepage (#12121)
* [docs]: Fix darmode on homepage

* update: darkmode in 3.0 and 2.5 LTS

* fix: comments
2025-03-11 18:07:34 +05:30
Changjin Long
26b9d9e7bc
[Feature]: Nocodb integration (#11476)
* Nocodb integration (#11475)

* Nocodb integration

* Add pagination for Nocodb list records
2025-03-07 17:23:46 +05:30
gsmithun4
269ec56455 Initial commit 2025-02-25 12:22:50 +05:30
Parth
6dbdfe2f79 Fix: Api call for token generation in client-credentials grant type (#2785) 2024-11-29 00:58:35 +05:30
Parth
1e2ae8c720 Enhance: Improve error handling in Airtable run query (#2234)
* Refactor error handling to streamline QueryError messages

* Handle 404 errors
2024-11-22 12:52:58 +05:30
Akshay
7aa2a6880e Feature: Stripe plugin UI fixes with OpenAPI endpoint as source (#2725)
* Fixed GET and DELETE request input renders and added all UX fixes (#9498)

* fixed get and delete request input renders and added all UX fixes

* Extracted Stripe plugin component as a separate component for Dynamic Form.

* Resolved PR review comments and fixed issue where rendering path input field crashed the app.

* Changed param name underline to dashed for tooltip and revamped input field clear button

* Fixed a few sonarlint issues.

* Removed the duplicate code by creating a separate function named RenderParameterFields.

* Refactored computeOperationSelectionOptions function to not nest functions more than 4 levels deep.

* Refactored RenderParameterFields function to reduce its Cognitive Complexity.

* Made span tag with the 'button' interactive role focusable.

* Inside switch case for codehinter in DynamicForm > getElementProps, Extracted nested ternary operation for theme into an independent statement.

* Added keyboard listener to the clear button.

* Removed opacity from select dropdown and operation from operation select dropdown UI.

* Fixed syntax error in clearButton function.

* Removed the package @nrwl/nx-linux-x64-gnu from marketplace dependencies.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>

* Made changes according to new app builder architecture in v3.

* Fixed import issue for codehintor

* Fixed issue where due to incorrect value, stripe queries crashed the entire app.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
2024-11-22 12:52:39 +05:30
Parth
993c925b12 Feature: Add SSL support to MongoDB datasource (#2430)
* Add TLS support inputs in frontend

* Add backend logic for TLS support

* Add TLS inputs types

* Update TLS label

* Change ssl_certificate to tls_certificate

* Update the file handling in tls

* Update connection logic

* Fix unlinking file issue

* Remove catch block for unlinking file

* Handle tls certs directly
2024-11-22 12:51:48 +05:30
Devanshu Rastogi
e4196adae1 Enhance: Rest api body to accept raw input instead of raw json. (#2249)
* Enhanced rest api body to accept raw input instead of raw json.

* Changed content type from application/json to text/json and changed copywrite to RAW.

* Changed rest api body toggle label from 'RAW' to 'Raw'.

* Added request label for static REST API data source.

* Fixed issue where GET query failed since body was undefined.

* Integrated json_body to add backward compatibility.

* Removed console logs.

* Added support for 'text/json' type in checkIfContentTypeIsJson function.

* Made changes according to new frontend architecture in v3.

* Fixed request URL field overflow issue.

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2024-11-22 12:49:08 +05:30
Parth
61781d2fa0 Enhance: Error handling for PgSql, MySql and MsSql (#2389)
* Enhance error handling for pgsql

* Enhance error handling for mysql

* Remove console logs

* Enhance error handling for MsSql

* Refactor error handling for consistency
2024-11-22 12:46:29 +05:30
Parth
cb181c40dd Enhance: Improve error handling in Google-Sheets run query (#2286)
* Add error details

* Display error for incorrect JSON

* Throw error for empty spreadsheetid and operator
2024-11-22 12:46:29 +05:30
Parth
cb056795b4 Feature: Add list all sheets and create new spreadsheet operation to GoogleSheets (#2370)
* Add create spreadsheet functionality

* Add list all sheets functionality

* Updated delete and batch-update methods

* Change interface to type
2024-11-22 12:46:29 +05:30
Ganesh Kumar
0890027c29 statement timeout for postgresql mssql mysql can now be configured from env 2024-11-22 12:46:29 +05:30
Akshay
5652f10806 fix numerical/boolean value not sent on restapi (#662) 2024-11-11 22:55:53 +05:30
Akshay Sasidharan
04c032f5a2 add retry toggle on restapi datasource config 2024-11-09 21:12:16 +05:30