* statement timeout for postgresql mssql mysql can now be configured from env
* Enhance: Add clear all, cancel & apply functionality to TJDB filter-popup (#2344)
* Update filter inputs
* Update filter body
* Style fixes
* Handle invalid filters
* Fix bugs
* 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
* Enhance: Add read documentation link with data source drop down in query builder (#2162)
* Add read-documentation link
* Change copywriting for datasources name
* Update new component for link
* Increase input width
Update redshift link
* Fix the datasource name issue
* 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
* 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
* 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>
* 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
* 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>
* Enhance: Improve error handling in Airtable run query (#2234)
* Refactor error handling to streamline QueryError messages
* Handle 404 errors
* Enhance: Add AI-tag to datasources in marketplace page (#2597)
* Add AI-tag to datasources in marketplace page
* AI BANNER Tag
* margin
* Refactor tag rendering logic for marketplace page
* Refactor tag rendering for datasource page
* Refactor import and props
* Remove ai prefix and fix indentations
* Make custom hook for fetching plugins.json
* Add AI tag on installed page
* Marketplace page UI fix and add a plugin button fixes
* Add AI tag on datasource connection form
Change classname
* Fix svg flickering
* Fix svg chipping issue
* Push AI tag to extreme right
---------
Co-authored-by: Rudra <rudra21ultra@gmail.com>
* Fix: Api call for token generation in client-credentials grant type (#2785)
* fix: query kind for select source in rest api
* Fix: ToolJet database limit check API issue (#11416)
* bump to v3.0.5-ce
* Added data-cy for newly added components (#11435)
* Modified failed Platform cypress test cases for Tooljet V3 (#11486)
* Modify platform cypress test cases
* Added cypress test cases for user onboarding flow (#11499)
* Add data-cy for newly added components
* Add data-cy for onboarding page elements
* Modify failed test cases
* Adding more cases
* Modify onboarding test cases
* Modify user invite flow
* chnages on onboarding test scripts
* revert the changes
* revert the changes
* removed .only form profile file
* resolved review changes
---------
Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
Co-authored-by: Sri mani Teja s <mani@Sris-MacBook-Pro-4.local>
* fix: Fixes broken loading state for container
* update cypress workflow for subpath
* Add data-cy for workspace constants components (#11530)
* fix table down load event not showing up
* Hotfix: The build failed to include the reference file for custom validation of the ToolJet database schema. (#11490)
* tooljet database schema custom validation reference file was not included in the build
* fix: missed a dependency for copyfiles
* change version to 3.1.0
---------
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Rudra <rudra21ultra@gmail.com>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Srimanitejas123 <mani@tooljet.com>
Co-authored-by: Sri mani Teja s <mani@Sris-MacBook-Pro-4.local>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>
* 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>
* 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
* 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"
* 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>
* 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