Commit graph

292 commits

Author SHA1 Message Date
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
Ganesh Kumar
5c628ba229 fix: renamed REST api datasource (#2549) 2024-11-09 19:04:48 +05:30
Kavin Venkatachalam
6fdb25fa8b Merge branch 'develop' into chore/merge-develop 2024-10-30 11:40:02 +05:30
Akshay Sasidharan
03329abfa6 sync marketplace and tooljet database changes 2024-10-28 23:37:40 +05:30
Raman Yudo
0dd150ad7a
feat: added Middle East (UAE) region support for the S3 plugin (#10706) 2024-10-24 15:48:00 +05:30
Muhsin Shah
f11c4accc2 updated plugin's lock 2024-08-05 12:44:18 +05:30
Muhsin Shah
ee336379e7 Regenerated some plugin locks 2024-08-05 12:26:01 +05:30
Muhsin Shah
fc8e71e6b2 Merge branch 'main' into cve/server-high 2024-07-23 14:34:25 +05:30
Muhsin Shah C P
63257942df
Updated restapi requestURL and headers of request obj (#10377) 2024-07-16 13:55:40 +05:30
Muhsin Shah C P
c968e7f7d8
[to-main] Exposing password in basic auth success request URL (#10320)
* Exposed password in basic auth success request URL

* Added the regex check

* hide password for basic auth

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2024-07-15 21:02:10 +05:30
Parth
fab12df3c4
Feature: Manual toggle for retrying failed REST-API requests (#10100)
* Add retry-toggle to app builder

* Add backend logic for number of retries

* Add retry-toggle to restAPI data-source

* Add margins between settings options in app builder

* Add changes for static-query toggle in app builder

* Initialise toggle value in store

* Change tooltip text

* Change classname for tooltip

* Add default value for toggle from manifest.json

* fix : rest api retry network toggle width issue

* Refactor: Setup retry initialization within restapi component (#10219)

* refactor to setup retry initialization within restapi component

* remove unused css class

* rename condition

* remove unused css

* Refactored: Merged RestAPIToggle into existing Toggle component

* Fix cookies support input render in querybuilder

* Add delayed initialization for retry_network_errors

---------

Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2024-07-09 13:10:22 +05:30
Muhsin Shah
8efa0b3806 Merge branch 'main' into cve/server-high 2024-07-07 22:13:35 +05:30
Muhsin Shah
a5458eeeaa Upgraded some plugin versions and fixed syntax errors. grpc and oracle left to test 2024-07-02 20:03:27 +05:30
Akshay Sasidharan
2dec9a106d Merge branch 'main' into release/marketplace-sprint-2 2024-07-01 16:37:46 +05:30
Parth
056d23dd94
Feature: Add cookies support in the REST API datasource & query builder for static and global datasource (#10166)
* Add cookies parameter to querybuilder frontend

* Add cookies parameter to datasource page

* Add cookies to the request headers in backend

* Change return type of sanitizeCookies function

* Change empty state styling in query-builder

* Add style changes for button

* fix : rounded corners in border for key field in rest api datasource

---------

Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
2024-07-01 15:32:24 +05:30
Rudhra Deep Biswas
bcf616a6ec
platform release 18 bug fixes (#10156)
* platform release 18 bug fixes

* styling

* review fixes

* notification box and button align

* review fixes
2024-06-26 11:44:09 +05:30
Muhsin Shah
70ad703637 regenerated the pacakge-lock json files 2024-06-25 15:01:36 +05:30
Akshay Sasidharan
b63e5bb126 remove bulk upload operation 2024-06-12 18:08:44 +05:30
Akshay Sasidharan
12aa2774a9 add placeholder info on appwrite 2024-06-11 20:22:39 +05:30
Akshay
ecd97ce4a9
Chore: Update Appwrite plugin version (#10028)
* update appwrite plugin version

* fix appwrite query
2024-06-11 11:10:33 +05:30
blank0537
20c0f4918a
Appwrite plugin issue fixes and added features (#9285)
* Appwrite plugin issue fixes and added features

* update test connection, removed duplicate operations and updated types
2024-06-10 13:06:55 +05:30
Aman Regu
c0396c9dd2
fix: delete operation missing params (#9972) 2024-06-04 14:52:57 +05:30
Kavin Venkatachalam
4b183bc4b1 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-05-24 11:03:40 +05:30
Akshay Sasidharan
7404968056 remove json attribute added on request options 2024-05-21 19:53:56 +05:30
arpitnath
4d97df565f updates sql lang editors to multiline codehinters to extensive support for lang 2024-05-16 13:26:44 +05:30
Kavin Venkatachalam
15762d0c13 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-04-24 13:17:50 +05:30
Akshay
a7c2b16804
encode uri for elasticsearch username & password string (#9386) 2024-04-17 11:49:56 +05:30