Commit graph

205 commits

Author SHA1 Message Date
Syed Mohammad Akhtar Rizvi
fcc6dc91f0
Fixed Error message. Upgraded Maria DB Package (#9052) 2024-03-11 16:03:35 +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
Akshay
ad4d81c5f4
Merge branch 'main' into release/templates-1.0 2024-01-05 19:19:01 +05:30
Abhinaba Adhikari
491908ebb6
Add new templates and remove old templates (#8490)
* bugfix: airtable plugin support for personal access token (#8295)

* fix: airtable plugin support for personal access token

* fix: review comments fixed

* Add new templates and remove old templates

* Change onboarding page templates and fix CSS

* Change Job application tracker template images

* Implement dark mode for onbarding page templates

* Fix templates with query issues

* fix template creation

* Remove redundant datasource options from templates

---------

Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2024-01-05 17:46:52 +05:30
Arpit
b91029a008
[hotfix] CE fixes (#8395)
* events should be synced for multi-edit

* remove console

* removes db constrainsts for layouts and handles corrupeted apps created from prev migrations

* Revert "removes db constrainsts for layouts and handles corrupeted apps created from prev migrations"

This reverts commit 10a307118b.

* removing constrainsts fro CE

* bumped the patched version ~ 2.26.3

* fixes: import/export general styles for components

* fixes: viewer crash on adding plugin as gds due to accessing camalised data

* fixes: plugin queries gds

* preserve duplicate search params on restapi

* preserve duplicate params in query manager params fields

* fixes: edge cases where undo of some components crashes thew widget

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2023-12-28 15:16:50 +05:30
vjaris42
4b8f794a74
Fixes UI and test connection issues (#8377)
* fixes: testconnection bugs

* fixes

* revert: package-lock

* add: new line

* url redirect fix
2023-12-22 17:16:10 +05:30
Muhsin Shah C P
53d119680f
[chore] Node-module vulnerabilities (#8226)
* started working on node upgrade to 18.18.2

* testing ci

* updated ci node version

* updated action code

* deleted all package-lock.json files

* deleted and ovverrided some packages

* deleted and fixed server & frontend vulnerabilities

* updated firestore version

* fix: ws type issue

* fix: upgraded lerna version

* regenerated package-lock.json files again

* regenerated marketplace lock file

* updated node version in other ci and docker files

* update: lock file plugin side

* updated the npm version in docker & ci files

* removed unused imports from events file

* removed dependency-review action

* updated some packages

* tried to go with current node-module of jest. had to upgrade

* fix: deprecated function usage - ts-jest

* fix: server directory lint issues

* fixed login page issue after router-dom upgrade

* updated import/no-unresolved rule to ignore import errors of  react-loading-skeleton, react-spring packages

* fix: cypress node version & package-lock issue

* regenerated cli package-lock.json

* fix: new webpack version might cause runtime issues (had issues with enterprise). lets use old version only

* fix: form-data docker issue

* removed comment
2023-12-21 11:55:35 +05:30
vjaris42
379d400db8
Revamp Global Data sources (#8274)
* changes: listing of data sources

* add: plugins to ds list

* review fixes

* fixes

* fix: placeholder values for encrypted fields

* fixes

* review changes
2023-12-19 18:17:34 +05:30
Anantshree Chandola
4b884d515b
Fix MariaDB connection issues (#8235)
* Add default connection limit for mariadb test connection in backend

* map connectionLimit to connection_limit

* remove log

* remove comments

* fix: mariadbPool causes server crash in case of unknown db

* fix: prev details getting replicated in next selected ds
2023-12-19 10:32:49 +05:30
Matej Bačo
4b2f0c4ff5
Fix: Appwrite logo (#8175)
* Update Appwrite icon

* Appwrite: Use Logomark instead of logo
2023-12-11 13:53:23 +05:30
Akshay
5b5b354842
Chore: Snowflake sdk update (#8179)
* update snowflake sdk
2023-12-07 18:00:35 +05:30
Akshay Sasidharan
17ff9f540c explictly check for multipart headers for restapi 2023-11-17 12:36:10 +05:30
Marc Meszaros
d98121cd75
feat: Support multipart/form-data body when file like objects are specified in restapi datasource (#6622)
* Automatically convert restapi datasource request body to multipart/form-data if a file object is detected (#6621)

* Improve fileobject check function in restapi datasource and guard against bad file data (#6621)

* Avoid null or undefined in restapi datasource form-data payload

* update keyboard shortcuts page (#8143)

---------

Co-authored-by: Karan Rathod <karan.altcampus@gmail.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2023-11-17 10:47:35 +05:30
Akshay Sasidharan
d773777686 Merge branch 'develop' into release/marketplace-1.5 2023-11-16 12:08:00 +05:30
Vishnu.Nemarugommula
2d97089e79
Create a new Bucket functionality for S3
Issue:#5690
2023-11-06 13:36:07 +05:30
Akshay
a9f641d0cc
fix plugins redirection on subpath (#8037) 2023-11-01 15:09:41 +05:30
Moulibrota Das
188a13ac68
changed the mongodb-slate-blue logo to mongodb-forest-green logo (#7198)
* changed the mongodb logo to mongodb-forest-green logo

* Update icon.svg

The crash was due to the error: <svg> attribute width: Expected length "auto".

Changed the width and height attribute lengths to "auto"
2023-09-29 10:19:00 +05:30
Akshay
71a5c122e9
Hotfix: marketplace fixes (#7397)
* add default manifest attributes for snowflake

* fix imports and clones with default datasource

* bumpt to v2.16.1
2023-09-08 14:19:52 +05:30
Akshay Sasidharan
1f7d11bcac Merge branch 'develop' into release/marketplace_1.3 2023-09-04 12:58:10 +05:30
Akshay
143b9a5cb6
Hotfix: MySQL ssl connections (#7365)
* hotfix mysql ssl connections

* bump to v2.15.1

* update package.lock
2023-08-31 21:29:04 +05:30
Akshay Sasidharan
7cb2100a2e Merge branch 'release/marketplace_1.3' into feature/restapi-ssl-options 2023-08-24 21:50:51 +05:30
Akshay Sasidharan
b2baddee3e Merge branch 'develop' into release/marketplace_1.3 2023-08-24 11:37:40 +05:30
Akshay Sasidharan
838c16dfe1 Merge branch 'develop' into release/marketplace_1.3 2023-08-10 23:08:40 +05:30
Akshay Sasidharan
4016342a8d use mysql2 driver for MySQL plugin 2023-08-10 21:22:12 +05:30
Johnson Cherian
55cdc7a0b5
Query manager revamp (#6680)
* global store init

* Moved query data to new component

* Removed unwanted code

* Removed data queries prop drilling

* Moved query state out of editor

* Added unsafe to componentWillReceiveProps

* Selected first query when the version is changed

* Fixed bug on renaming query

* Fixed issue on dark theme

* Fixed running query on page load in viewer

* Query manager refactor init

* Added global data source in store

* Disabled devtools on production

* Fixed bug on selecting query after deletion

* Reset store when editor is loaded

* Moved query manager to functional component

* Fixed conflict issues

* Fixed infinite loop on tooljetDB

* Set the store name and updated devtools logic

* Fixed issue on displaying draft query from data sources

* Updated comments on the store

* Fixed bug on changing data source and creating query from data source

* Fixed bug on showing unsaved changes popup

* Fixed issue on showing confirmation modal everytime without any changes

* feat: autosave data query functionality

* feat: show publish button only when the status in draft state

* Fixed issues on query renaming

* feat: removed discard popup for data query create/edit widget

* stye: reduced autosave api call timeout and added draft tag

* feat: added minor style changes

* feat: fixed issues with restapi plugin, removed unused api calls

* fix: fixed issue that breaks restapi creation

* fix: reload selected query details after update query

* perf: reduced debounce time for data query update apis

* feat: removed full reloading of query list on query renaming

* feat: duplicate data query feature added

* Fixed issue on creating restAPI query

* fix: fixed issue in transforming response from update queyr api

* fix: refresh selected query details when the selected query is updated

* fix: rename query on click enter

* fix: full refresh of query list on update

* fix: style changes

* fix: subscribing to state to autsave

* feat: updated the query manager styles to new design

* feat: revamped the querypane header buttons

* fix: fixed the padding for query panel maximize button

* feat: updated search box style

* refactor: moved function to render data source icon to its own component

* fix: fixed querymanager widget breaking issue

* merged with feat/query-manager-autosave

* refactor: removed unused consoles

* refactor: removed unused consoles

* refactor: removed unused consoles

* fix: removed commented code

* fix: removed unused code

* refactor: removed unused comments

* fix: show change datasource select only if valid ds available

* Update frontend/src/Editor/Inspector/EventManager.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryManager/Components/QueryManagerBody.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* feat: modify behaviour of search icon in query panel

* fix: fixed theme color mismatch in query manager

* refactor: remove dead code

* refactor: updated theme for data source listner

* fix: theming in filter and sort popup

* refactor: remove unused variables

* fix: removed draftQuery logic from query manager

* refactor: removed unused varibales

* Update frontend/src/Editor/QueryManager/QueryEditors/Restapi/TabParams.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryPanel/QueryCard.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* feat: diable preview for draft queries

* fix: added tooltip for query panel button

* fix: fixed issues in saving query manager events

* fix: moved query save subscriber to QuerPanel component

* feat: converted query run api to save and run

* fix: made varibale an optional param in updateDataQuery dto

* refactor: cleanup update dataquery status api response

* refactor: moved query status to constants file

* feat: prompt for queryname when creating new query

* fix: store new queryname in state on create query pageload

* fix: fixed alignment of Tooljet db component form

* fix: correct translation and format file

* refactor: removed consoles

* merge: merge appbuilder-1.2

* style: updated rename input/button UX

* style: revamped dataquery create widget styles

* style: revamped data source selector styles

* fix: removed code added for debugging

* style: updated data query filter design

* style: Add prop to control visibility of clear button in search box

* style: implement new style for query filter

* merge appbuilder-1.2 to feat/query-manager-sort-filter

* refactor: remove unintended file change

* fix: set default value for method in respapi

* style: updated copilot info popup style

* style: updated quer panel header icons

* style: updated button styles

* style: fixed query manager button styles

* style: smoothened query preview modal view

* fix: correct import for some funs

* fix: fixed minor UX bugs

* style: fixed styling of REST api GDS

* style: fixed styleing of sort and filter popup

* style: improved data queries sort filter UI/UX

* fix: remove click listner when overlay is closed

* fix: moved component declaration out of parent component

* fix: set selected datasource for default sources

* fix: filter DS based on saerch in create dropdown

* fix: restrict draft query running to preview mode

* fix: query renamed on input change in create screen

* fix: set name to state as soon as user renames query

* fix: make query notification message consistent

* style: correct s3 bucket plugin layout config

* fix: fixed issues with cloning of Static DS queries

* fix: made change so that newly created query is reflected immediatly

* style: updated spacing for query manager components

* fix: hide rename input when no query selected

* fix: check bothe selected query and DS before rendering query manager

* fix: set isSaving to true only for api calls in querymanager

* fix: added success message form in qm

* fix: filter out draft queries from viewer on running

* fix: fixed inconsistent gutter for runpy and runjs editors

* fix: reload dataqueris on LDS deletion

* fix: redesigned filter/sort popup

* fix: fixed issue that resets filter on search

* fix: fixed query manager breaking on plugin select

* fix: diable json preview for text output

* fix: reset to filter and sort main menu on close filter popup

* refactor: rename varibales

* stye: redesigned query create panel

* feat: revert data query status column from backend

* style: redesign query picker section

* refactor: removed dead code

* style: querypanel expand/collapse btn style

* style: add query select and query filter popup style redesign

* style: updated filter popup style

* feat: removed draft query checks everywhere

* style: empty dataqueries style changed

* style: updated query selector popup and rest options styles

* style: removed 100% height to query option remove btn

* feat: added the query runnable status check

* style: updated query manager footer style

* feat: changed DS filter from kind to DS ID

* style: minor ui tweaks in filter popup

* style: disable DS filter if no DQs created

* style: minor ui change

* fix: rerender filter popup post DS api call. fixed rest api copy feature

* fix: add local DS to filter popup

* refactor: removed dead code/comments

* add new row is crashing when no data is fed to table (#7102)

* fix: fixed condition that blocked GDS run on load

* fix: revert name back to og name if update fails in rename query

* feat: added tooltip for show query btn

* fix: added click interaction for pill btn as well

* fix: minor UI tweaks to make UX better

* style: fixed the styling of filter popup

* style: minor UI tweaks in query filter popup

* fix: fixed minor css issue in ds picker

* style: wrap overflowing text in queryname

* fix: update updated_at after query update api call success

* fix: update remove the caller query from event query dropdown

* style: minor ui spacing tweaks

* fix: fix issue that cuased app crash when tjdb opened

* fix: fixed update row styles

* fix: fixed info popup dark theme bg

* fix: fixed headers styling according to general QM styles

* style: fixed stripe QM UI

* fix: added tooltip for quernames

* feat: add tooltip for select ds options

* added consoles to debug debugger issue

* fix: fixed :active style of ds select dropdown in QM

* fix: fixed DS kind name in data source selector in QM

* fix: fixed border color mismatch for ds select dd

* fix: change tooltip msg for maximize/minize QM

* Fix automation for query manager revamp. (#7223)

* Add data-cy to support modified specs

* Fix event handler

* Fix RunPy and RunJS specs

* Fix event handler label

* Fix basic components spec

* Fix basic components failure

* Fix tabel spec failure.

* Fix runjs and runpy actions

* Fix table column options

* Add data-cy

* version: version updated to 2.13.0

* Version bump

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: Midhun Kumar E <midhun752@gmail.com>
2023-08-09 18:01:48 +05:30
Akshay
ead092a21a
Feature: Mysql socket support (#7168)
* Add socket_path for mysql plugin

- Add new property `socket_path`
- If `socket_path` is set, ignore host/port and ssl settings when setting up the connection

* Add socket_path to manifest

* Add socket_path for mysql plugin

- Add new property `socket_path`
- If `socket_path` is set, ignore host/port and ssl settings when setting up the connection

* Add socket_path to manifest

* make mysql connection type as a dropdown

* add data migration for mysql socket opts

* declare generic parameter for the function

* fix lint

* fix migration progress count

---------

Co-authored-by: Kariem Hussein <kariem.hussein@gmail.com>
2023-08-02 15:49:31 +05:30
Ganesh Kumar
71c04385c5 merged markeplace_release_1.2 2023-07-27 11:22:22 +05:30
Ganesh Kumar
5937d1b976 added SSL option for Rest API 2023-07-26 13:58:29 +05:30
Muhsin Shah C P
80ee7b7cac
[Improvement] Auth flow improvements for RestAPI, OpenAPI & GraphQL (#5324)
* Added access token url headers option to open api

* removing and adding code

* add authentication in GraphQL as RestAPI (#6687)

* add authentication in GraphQL as RestAPI

* fix: remove double header check

---------

Co-authored-by: Jean-Baptiste PIN <jeanbaptiste@idruide.com>

* refactor auth flows for restapi, openapi & graphql

* fix type errors

* remove redundant declarations

* fix openapi build error

* update authUrl for OAuth

* fix oauth check

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Jean-Baptiste PIN <jibet.pin@gmail.com>
Co-authored-by: Jean-Baptiste PIN <jeanbaptiste@idruide.com>
2023-07-21 15:38:56 +05:30
Arpit
6d81ebe28b
[plugin] Datasource plugin for Azure blob storage (#5398)
* Add list containers feature

* Add list blobs with pagination feature

* Add blob upload functionality

* Add read and delete blob functionality

* Change page limit keyname for listing blobs

* fixed test connection false positive issye - added create container option

* update default encoding type

---------

Co-authored-by: vishnu r kumar <rkumar.vishnu28@gmail.com>
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
2023-07-20 12:20:18 +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
Ganesh Kumar
b26ecbee8b
Feature/dynamodb plugin update item (#6875)
* harperdb plugin initial commit

* added required fields in manifest and provided default values in operation json

* removed not required query options from harperdb

* modified nosql code

* review changes inprogress

* added new fields in manifest file to customize port and protocol

* protocol drop down in harperdb is changed to ssl toggle

* search-by-condition query in NoSQL

* harperdb NoSQL version tested along with search with condition query

* Dynamodb new operations added UpdateItem - DescribeTable - CreateTable

* dynamodb plugin new operation putItem added
2023-07-13 15:54:20 +05:30
Shubhendra Singh Chauhan
532a77a8cf
Merge branch 'develop' into release/marketplace_1.1 2023-06-22 11:53:13 +05:30
Akshay
1602317ad5
Add support for oracle 9i db (#6637)
* update oracledb package for node 18

* add oracle instant client 11 and 21 binaries for linux

* Revert "add oracle instant client 11 and 21 binaries for linux"

This reverts commit 9ba7d18685.

* add ability to specify instant client version

* update dockerfiles to include oracle 11 instant client

* update ami build for oracle instant client 11

* add data migration for oracle ds default client version 21

* remove console.log in code

* fix server dev dockerfile

* define LD_LIBRARY_PATH

* fix LD_LIBRARY_PATH assignment
2023-06-21 11:39:30 +05:30
Adish M
5e7b9c4809
Upgraded snowflake sdk (#6733) 2023-06-15 21:17:41 +05:30
Arpit
f193ec1c07
Bugfix - source options are lost on save in client (#6454)
* fixes: source options are lost on save in client

* fixes: source options are lost on save for twillo
2023-06-15 17:33:22 +05:30
Akshay
f625110848
update snowflake-sdk (#6584) 2023-05-30 23:53:59 +05:30
Sherfin Shamsudeen
9c8c4d1f7c Merge branch 'develop' into release/2.6.0 2023-05-16 13:13:39 +05:30
Midhun G S
7062406be7
Fix for REST API plugin: Convert to Base64 if response type image (#6277)
* Fix for REST API plugin response type image

* getting data from rowBody instead of body
2023-05-10 11:23:35 +05:30
stepinfwd
67cb380a12 removing unwanted package 2023-05-08 01:03:12 +05:30
stepinfwd
6da8a1ec29 Merge branch 'develop' into feature/mailgun-plugin 2023-05-08 00:24:15 +05:30
arpitnath
134f6a68dd icon updated 2023-05-02 18:50:02 +05:30
arpitnath
bdb5c2f4c5 resolve comments: remove protobuf file 2023-05-02 18:45:38 +05:30
arpitnath
839183d607 resolve comments 2023-05-02 18:31:45 +05:30
arpitnath
752cd7c436 clean up 2023-05-02 15:24:31 +05:30
arpitnath
e6c58ef42d new gds/plugin: gRPC 2023-05-02 05:18:02 +05:30
Akshay
c43266a352
Merge pull request #6085 from ToolJet/main
Merge hotfix 2.4.9 to develop
2023-04-20 18:20:08 +05:30
Muhsin Shah
ea6e6aa706 fix: mssql pool timeout 2023-04-20 17:57:37 +05:30
Akshay
9606e9100e
Merge pull request #5844 from kshitijsubedi/feat/email-cc-bcc
[FEATURE] Added CC, BCC fields in SMTP Plugin
2023-04-19 20:20:42 +05:30
Kiran Ashok
ff0e0a49ca
added :: fix for connection getting lost in snowflake (#5936) 2023-04-06 16:43:41 +05:30