Commit graph

31 commits

Author SHA1 Message Date
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
abhijeet760
3055059063 added list tables for mongo and postgres 2025-12-26 12:10:00 +00:00
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
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
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
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
5a7a704166 Add new cache function to plugins 2025-05-27 16:53:22 +05:30
parthy007
fc03fefee6 Add new in-mem cache based on datasource config 2025-05-25 03:28:06 +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
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
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
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
Ganesh Kumar
0890027c29 statement timeout for postgresql mssql mysql can now be configured from env 2024-11-22 12:46:29 +05:30
Akshay Sasidharan
03329abfa6 sync marketplace and tooljet database changes 2024-10-28 23:37:40 +05:30
arpitnath
4d97df565f updates sql lang editors to multiline codehinters to extensive support for lang 2024-05-16 13:26:44 +05:30
Kiran Ashok
4723bfe8e7
fix : Codehinter bugs (#9350)
* fix : Preview on parameters is not visible.

* fix : data source codehinter breaking

* fix : current value copy button.(copying different values)

* fix : select suggestions using mouse closes the preview box.

* fix : multiline preview

* fix: darkmode

* fixes:
- multi-line suggestions on different line numbers
- extended single line editor for json body

* cleanup

* handle multiple resolver references with hints

* fix : codehinter position

* fix : data source codehinters

* fix : woocommerce

* bugfix : bigquery

* fix : Selecting options from suggestion cleareing the values from  input fielsds.

* fix : parmeter list not opening

* datasource going back to defaults bug

* fix : datasource resetting issue

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2024-04-15 15:02:33 +05:30
Kiran Ashok
41bce67b1d
hotfix : Console throwing error / warnings related to svgs (#8895)
* fix : fix fill rule clip rule etc to camelcase

* fix : svg width and height made to 100% instead of auto

* fix :: few more svg height and width change in editor

* remove logs
2024-02-22 16:52:54 +05:30
Ganesh Kumar
abb7366704
In postgresql plugin Bulkupdate operation null value will be updated as NULL (#6870) 2023-07-14 13:17:27 +05:30
Gandharv
2f025d11d3
Update homepage design (#5121)
* move all apps link under folders

* home page changes

* css changes

* fix

* fix comments icon

* breadcrumb fix

* change logo

* css fixes

* icon

* fix: comment notifications page id param addition

* loader heights change

* fix spacing

* update scroll

* delete unused file

* theme dark fix

* fix cursor

* css changes

* exp: removes skeleton

* exp: update apploader

* hide selector if single workspace

* keep search icon while searching pages

* update apploader

* use ui/select

* update plugin icons

* modal css changes

* css changes

* show delete, edit on hover only - querymanager

* update sidebaritem to use svg directly instead of img tag

* use svg for appicon
2023-01-04 13:28:55 +05:30
Sherfin Shamsudeen
d6a72b50bd Merge develop to v2-beta 2022-12-27 20:10:33 +05:30
Santosh Bhandari
12f022b17c
Fix postgres datasource icon (#3351)
Basically removed preserveAspectRatio which was causing the issue
2022-06-28 21:41:03 +05:30
Sherfin Shamsudeen
0d84ce5357
Handle postgres datasources with undefined ssl_certificate (#2953) 2022-05-02 16:39:57 +05:30
Muhsin Shah C P
0a28f2a50a
[Feature] Implemented SSL certificate option in PostgreSQL data-source (#2636)
* working on ssl certificates

* Implemented ssl ca certificate feature
- Need to test other options too

* Changed fields order

* Changed cert fields to encrypted
2022-04-18 20:26:05 +05:30
Maurits Lourens
60f515d19c
Feature/2395 - add eslint to plugins (#2402)
* merge develop

* Add eslint dependencies, configs and scripts to plugins project

* run lint with Github action

* ignore tests and dist folders

* fun eslint with --fix and manual fixes, renamed __tests_ to __tests__

* add plugins packages folder to lint-staged config

* fix lint issue
2022-03-10 12:29:48 +05:30
Akshay
22636926f4
handle int/string for primary key on sql bulk update (#2351) 2022-02-25 12:23:45 +05:30
Midhun G S
f2088be23b
[BUG-2187] Plugins manifest.json isLoading type should be boolean (#2188)
* bug-2187 fix

* add encrypted field
2022-02-08 08:44:38 +05:30
Arpit
3a62ac9820
[improvement] Query panel redesign (#1947)
* query panel headers styles

* create query button style update

* create query button style update

* create query button style update: mixins

* querypanel header nav-links updated

* querypanel header buttons

* restapi: url hinter styles

* fixes querypane header width, undo prev styles applied

* querypanel header icons margin fix

* restapi: header tab

* restapi: params tab

* restapi: body tab

* base url style fixed

* added alert component to @/_ui

* adds margin top to query-panel tabs

* bumped font weight of preview

* on hover query style updated

* selected query style update and along with dark themed

* adds new searchbox component, added search queries

* fixes query panel query lists icons margin

* query selected hover bg

* back icon should not be render if callback is a function

* airtable: queries redesigned

* stripe: queries redesigned

* fixed query-pane header responsiveness

* fixes tab title typo

* undp/redo select datasource only when mode='create'

* removes comments

* refactor restapi url codehinter styles

* fixes white spaces in query pane and query pane header

* minor updates for restapi query options styles

* removes tool-tip for lens svg icon for search: query-pane header

* adds button loading spinner with primary color

* fixes hover bg color for queries

* update: query hover bg color to lighter tint

* update query list icons: trash and play svgs

* adds icons to the selection component

* fixes tabs alignments restapi

* fixes codehonter text margin: restapi url

* fixes advanced-options-container margintop

* new UI query: dynamodb

* new UI query: elasticsearch

* new UI query: firestore

* new UI query: mongodb

* new UI query: mysql

* new UI query: psql

* new UI query: typesenseapi

* new UI query: gsheet

* new UI query: sendgrid

* new UI query: twillio

* new UI query: gcs

* new UI query: minio

* new UI query: aws

* update query bg color and hover bg color

* fixes run query icon for dark theme

* fixes input query title text alignment

* update query header title

* adds search queries placeholder and add icon when search box is displayed

* updated No results query text

* undo/redo rest-api tabs: fixes whote spaces

* undo/redo: rest-api tabs conde hinter placeholder paddinleft

* adding new queries when search box component is mounted:fix

* fixes creating a new query after filtering queries

* fixes dark theme for select search components

* reverts query pane header search box with add icon

* fixes input left margin

* fixes bottom padding rest api tabs

* fixes toggle button:not selected in dark theme

* fixes typos

* fixes preview button spinner size

* undo/redo: query-trash-icon.svg for queries and trash.svg for components

* query icons badge bg update[options]

* icon badge fix

* move static styles to theme.scss

* restapi: url field height increment

* fixes query name when adding a new query with filtered querylist

* fixes alignment issues of the query header icon

* revert back to 32px code hinter height

* adds apdding to code mirror line

* updates to react-select

* remove component unmounts and mounts side effect
2022-02-02 22:29:57 +05:30
Gandharv
27c91a008a
Add json schema for vscode autocomplete (#1962)
* add json schema

* update schema

* update link
2022-01-27 10:55:16 +05:30
Gandharv
d367720c66
Add source options types for plugins (#1861)
* add source options types

* Remove query type

* fix source options

* add accesstoken - slack

* add types.ts file

* add idx files

* Add query options type for plugins (#1878)

* add query options type

* add missing import
2022-01-24 19:29:21 +05:30
Gandharv
639161f192
Add namespace @tooljet-plugins (#1904)
* add namespace @tooljet-plugins

* add namespace for common package

* lerna -> dev deps

* npx lerna

* pkg-lock
2022-01-23 14:43:52 +05:30
Gandharv
2f3b441c0a
Move plugins to root (#1728)
* feat: move plugins to root

* modify tsconfig

* add .gitignore

* delete old plugins file

* add parcel

* docker compose volume mount

* add gcs

* add typescript to plugins folder

* gcs to ts

* add dynamodb

* add elastic search

* add firestore

* add gsheets

* add graphql

* add mongodb

* mssql

* add mysql

* add postgresql

* add redis

* add s3

* add slack

* add stripe

* remove plugin related packages from pkgjson

* add lib folder

* add gitignore

* remove typescript generated files

* remove generated file

* remove generated files

* add twilio

* add dist to docker compose cache binding

* add dist prefix

* cleanup - 1

* delete dist

* rename to index.ts + add jest config

* add it.todo in tests

* test fixes

* test file changes

* fix type checks

* add @tooljet/plugins to server package json

* esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0

* docker file npm package version fix

* add typesense

* cleaup - 2

* add sendgrid

* add lerna build and clean script for all packages + tsconfig

* cleanup -3

* add plugins build step

* add missing plugins build step in npm run build

* add mssql, mysql & postgres as singleton classes

* add db connection to cache only if datasourceId is available

* client: add data source schema/manifest files

* add query operations files

* logic for wrapping form with schema

* add script to create index file

* add @tooljet/plugins to frontend folder

* cleanup 1 -frontend

* cleanup - 2 // frontend // data queries

* add client and index to gitignore

* update gitignore

* fix lint & test

* update ci

* fix unit, e2e

* cleanup -3

* fix test

* fix tests

* fix indent

* try npm ci

* fix tests

* fix typo

* fix

* rename file for server entry

* heroku fix

* add main and types entry points in pkg json

* move common to root

* cleanup - 4: remove redundant $ sign prefix

* cleanup - 4: remove redundant $ sign prefix

* update options in-sync before DOM is painted

* change type cloud to cloud storage

* update readme

* update ci.yml

* update ci yml

* add pkg-lock.json

* rename index.ts to server.ts

* update lock files

* add server package.lock

* remove unused import

* revert commit: add minio

* add root dep

* import server.ts

* remove plugins build step

* add npm shrinkwrap

* update version - plugins

* add new version - 0.0.8

* upgrade version

* move to symlinked package

* add lock file

* feat: add icon inside package

* add plugin creation docs

* Remove seed

* move icons to plugins folder

* install pg dep

* add react to packages

* add seed cmd

* revert change

* add plugins build in lint, e2e, unit

* e2e, lint use npm ci

* update dockerfile for plugins

* try combining release with web

* limit memory on release

* try executing seed script post transpile

* try executing seed from server directory

* update seed execution

* add minio

* add correct type

* add minio to pkg json

* remove old file

* fix provider key

* add python installable + npm ^7.2.0 (#1752)

* add python installable + npm ^7.2.0

* add py to prod file

* pin npm version to 7.20.0

* pin npm version to 7.20.0

* split into multi stage build and remove python for buildx

* copy plugins from buider stage

* update dependencies

* add freetds dependency

* update server dockerfile

* update client dockerfile

* update dev dockerfile and compose file

* fix entrypoint

* fix server dev dockerfile

* update docker-compose

* remove npm install on root dir on docker build

* fix heroku script

* make lerna prod dependency to enable prod builds

* remove redundant env setup

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 12:38:17 +05:30