Commit graph

8697 commits

Author SHA1 Message Date
Kartik Gupta
2d22660a97 change version to 3.1.0 2024-12-10 10:52:16 +05:30
Johnson Cherian
5d27c6658a
Merge pull request #11567 from ToolJet/fix/import-app-with-tjdb
Fix: Import App with TJDB
2024-12-10 10:22:48 +05:30
Ganesh Kumar
5a5899aeb3 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
2024-12-10 10:17:01 +05:30
Sri mani Teja s
b1d9e0716d Fixed ManageSSO spec 2024-12-09 20:34:46 +05:30
Johnson Cherian
c7d8bb8231
Merge pull request #11561 from ToolJet/fix/table-download-event-new
fix table down load event not showing up
2024-12-09 19:15:35 +05:30
Kartik Gupta
607cfec194 fix table down load event not showing up 2024-12-09 19:13:04 +05:30
Sri mani Teja s
7f88b2d5a6 Modal message selector updated 2024-12-09 17:25:42 +05:30
ajith-k-v
6a4dd02d48 Merge branch 'main' into test/domain-independent-test-suite 2024-12-09 17:24:27 +05:30
Ajith KV
9f80e93565
Add data-cy for workspace constants components (#11530) 2024-12-09 17:05:33 +05:30
ajith-k-v
b3cf0c093d Update the workflow file 2024-12-09 17:01:37 +05:30
ajith-k-v
16ed206017 update the test cases 2024-12-09 17:00:36 +05:30
Sri mani Teja s
489b3caebf Update bulk upload testcases 2024-12-09 16:24:11 +05:30
ajith-k-v
2824423338 Merge branch 'main' into test/domain-independent-test-suite 2024-12-09 15:42:02 +05:30
Johnson Cherian
a0541c373d
Merge pull request #11548 from ToolJet/hotfix/container-loading
fix: Fixes broken loading state for container
2024-12-09 14:55:17 +05:30
Adish M
775fce8eb6
Merge pull request #11549 from ToolJet/test/update-cypress-subpath-workflow
Updated cypress workflow for subpath
2024-12-09 14:32:18 +05:30
ajith-k-v
b71e102764 update cypress workflow for subpath 2024-12-09 14:28:49 +05:30
Nithin David Thomas
dcfdea3969 fix: Fixes broken loading state for container 2024-12-09 14:15:27 +05:30
ajith-k-v
97f147db9e Merge branch 'main' into test/domain-independent-test-suite 2024-12-09 13:23:27 +05:30
Srimanitejas123
dd59b49723
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>
2024-12-09 13:10:09 +05:30
ajith-k-v
3e7118f6c4 Modify the domain specific functions 2024-12-06 17:33:32 +05:30
Nithin David Thomas
558d66fed0
feat: Adds header for container widget (#11309) 2024-12-04 17:20:32 +05:30
vjaris42
00f4ee4370
[Feature]: Push event errors from page, components and query to debugger (#11428) 2024-12-04 16:18:33 +05:30
Devanshu Rastogi
3ebc1933cc
Enhance: Added 'Set Value' functionality and support for HTML with hyperlinks in Rich Text Editor component (#11406)
* Added HTML support for Placeholder and Default Value property. Added CSA for loading state.

* Exposed isDisabled, isVisible and isLoading variables. Also exposed setValue, setDisable, setVisibility and setLoading functions.

* Fixed issue where loading state functionality was not visible in the properties section on the initial render of rich text editor.
2024-12-04 14:40:57 +05:30
Kartik Gupta
5e9e9381e9
download event for table in server side pagination (#10330) 2024-12-04 13:59:29 +05:30
Devanshu Rastogi
af1dda8ec9
Feature: Added Radio button V2 component (#11408)
* Initial setup for Radio Button V2

* Made changes in Radio Button component and its properties.

* Added a loader.

* Added disabled states in Radio Button V2.

* Fixes

* CSA fixes

* fixes

* Fixed switch case label for Radio Button V2 and updated config files.

* Added Radio Button component in Inspector and refactored the component and config file.

* Refactored code for updating exposed variables and fixed default value for non dynamic options.

* Fixed sonarlint issue - Unexpected duplicate font-size.

* Made minor styling changes.

* Removed currentStateStore logic.

* Implemented single source of truth for changing value and resolved review comments.

* Changed font weight of options to 400.

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
2024-12-04 13:59:08 +05:30
Devanshu Rastogi
fef97269ae
Added loading state in pie chart. (#11404) 2024-12-04 13:58:41 +05:30
Nithin David Thomas
aa4cd1fc2e
chore: Exposes CSAs for Container widget (#11229)
* chore: Exposes CSAs for Container widget

* Introduces hook to expose variables

* Updates hook to expose variable after setting the state

* Update frontend/src/AppBuilder/_hooks/useExposeVariables.js

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

* Removes unwanted imports

* Exposing CSA to control component actions

* Moves CSA's to additional actions section

* Fixes wrong handle param

---------

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2024-12-04 13:56:38 +05:30
Nakul Nagargade
966c208333
Fix container and kanban can't be moved by dragging on the body of the component (#11355) 2024-12-04 13:54:43 +05:30
Nithin David Thomas
a609b3cd7a
chore: Set modal as the selected widget when clicked (#11363) 2024-12-04 13:54:08 +05:30
Devanshu Rastogi
f5cab90b5c
Fix: Content overflow issue in rich text editor (#11405)
* Fixed the content overflow issue in rich text editor.

* Fixed issue where content overflowed when height is resized below a certain height.
2024-12-04 13:53:28 +05:30
Devanshu Rastogi
05b25cfe82
Fixed value of value CSA when no default value is set and clear() action is used. (#11409) 2024-12-04 13:52:33 +05:30
Nakul Nagargade
c3b14dac27
feat: Introduce table styles property to set the casing of table column names (#11424)
* feat: Introduce table styles property to set the casing of table column names

* Update table default data keys

* Fix
2024-12-04 13:51:11 +05:30
Ganesh Kumar
d19a4cd942 Feature: Added env support to configure max rows and max csv file size for tooljet database bulk upload (#2726) 2024-12-04 13:50:20 +05:30
Manish Kushare
e1d7fbb2bb Feature: Add JSON datatype to ToolJet Database (#2492)
* feat: jsonb datatype support in tooljet database inprogress

* feat: jsonb support added for tooljet database column operations as well as create and edit table

* feat: added support to query JSONB values in JOIN operation

* added dto validation for join operation

* Added json data type in tjdb

* single line editor bug fixed

* Basic UI implementation for create table drawer for jsonb column type

* removed the console

* Added the sanitization for json default value in the dto

* Added jsonb svg for jsonb column type

* Updated UI for created column form

* Updated UI for edit column form

* Change the UI for create row

* Updated UI for edit row form

* Show dummy {...} value on table cell

* Setting up the codehinter in tjdb dashboard

* Created codehinter wrapper for tjdb table celljsonb data type

* Codehineter for tjdb cell

* Made changes in tjdb column and row drawers

* removed unwanted code

* Added maximum height for codehinter wrapper in each drawers

Avoided keydown event in create column drawer

* Set max height to codehinter for tjdb table cell

* Added jsonb path option for list row operation [rebase]

* Added filtering out column with json datatype in udpate rows operation

* Added filter option with jsonpath in delete row operation

* Made changes for join tables

* added json path in jon filter condition

* fix: parsing the jsonb default values in view table api

* Made on change and initial value value changes for all tjdb dashboard changes

* updated intial value and component name for codehinter in all drawers for tooljetdb

* Table cell edit codehinter initial value

* Updated codehinter onchange and initial value

* Added json path field for join sort section

* TJDB query manager updates for jsonb column type

* Tjdb dashboard bug fixes

* fix: joins jsonbpath expression can be sent without single quotes

* Added error validation for JSON in codehinter

* Removed console

* Added codehinter wrapper for tjdb cell

* Made default functional

* Made set to null functionality working

* Toggle functionality for default value

* Toggle null functionality

* Clean code

* create row form added handle disable input click

* cutom-footer css and add new data css

* Fixed tooltip

* Updated tooltip for join codehinters in query manager

* fix: jsonb column values validation in server side

* Made the initial value empty string if value is undefined

* active tab in edit row form bug

* Error state in tjdb hinter inside cell

* code mirror breaks, on the initial render

* Added placeholder and adjusted icon size in dropdown

* Fixed: Opening the cell with keyboard nav shows ‘enter to save’.

* bug fixed

* json icon alignment in the dropdown fixed

* In create and edit table, codehinter text is vertcially centered aligned

* Create row and update row info message for jsonb column type fixed

* SHowing popover when clicked on the jsonb cell

* Showing unique constraint in disable state for jsonb

* bugfix: bulkupload in tjdb for jsonb datatype should accept different json format

* Bug fixed for cellhinter and row form

* Avoided flickering in column form

* removed console

* zindex issue for codehinter in react portal for table cell

* Single line editor file changes removed

* row form bug fixed

* single quotes string escaped as it needs to be inserted as default value in JSONB column

* Bug fixed

* Edit and create row active tab bug fixed

* If value is empty, then dont show error in the codehinter

* fix: error handling for invalid jsonpath in join expression

* Handled null and Null edge cases for edit and create row

* Removed console

* Bug fix for save chages button in edit and create row drawer

* Error toast message for invalid syntax

* removed debounce time

* Copied all query manager and codehinter changes from editor to appbuilder directory

* Updated imports of codehinter in tjdb forms inside dashboard

* Discarded all changes made to editor directory

* Removed console

* Fixed flickering effect in the edit and create row drawer in TJDB dashboard

* Added focused state to codehinter in tjdb drawer, updated font size for the same

* Updated error message

* bug fixed : Pop up icon not visible inside codehinter

* Fixed : border issue in tjdb codehinter

* bugfix: array is not allowed to insert in JSONB column (#2734)

* Error message in tjdb drawers

* Error state for table schema

* Error message for cell hinter wrapper

* fixed : space between {} and table name in popup

* Spacing issue in create and update column UI in query manager fixed

* Show tooltip in fk column dropdown

* Bug fixed: edit drawer on first render cutom value is always empty

* Bug fixed

* Reverting react portal changes

* bug fixed for error copyright

* z index issue fixed for tableschema

* reverting back the changes for table form from last commit

* Bug fix: Flickering issue in table schema for codehinter input

* Bug fixed : toggle bwtween null and default value

* Handled spacing between the component name in react portal

* added new schema definition as we have introduced jsonb datatype default values can have Object and Array

* fix: removed the support for error code mapping for undefined function error  because database has different error text for it based on the scenario like jsonb aggregates etc

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2024-12-04 13:49:24 +05:30
Nakul Nagargade
022e554812
[feat] : Add support for clicking anywhere on the edge should select the component (#11425) 2024-12-04 13:49:06 +05:30
Adish M
2858179029
Merge pull request #11494 from ToolJet/test/v3-platform-cypress-fix
Modified failed Platform cypress test cases
2024-12-04 12:21:08 +05:30
ajith-k-v
60265ed25a Modify platform cypress test cases 2024-12-04 12:17:53 +05:30
Ajith KV
c4f3137feb
Modified failed Platform cypress test cases for Tooljet V3 (#11486) 2024-12-03 12:18:49 +05:30
Ajith KV
b87dbf304c
Added data-cy for newly added components (#11435) 2024-12-03 11:53:34 +05:30
Akshay
3b7577262d
Merge pull request #11389 from ToolJet/release/marketplace-sprint-6
### 🚀  Features
- Feature: Add SSL support to MongoDB datasource 
  - closes [#10874](https://github.com/ToolJet/ToolJet/issues/10874)
  - by @parthy007
- Feature: Add list all sheets and create new spreadsheet operation to GoogleSheets
  - closes [#10878](https://github.com/ToolJet/ToolJet/issues/10878), [#10876](https://github.com/ToolJet/ToolJet/issues/10876)
  - by @parthy007
- Feature: Stripe plugin UI fixes with OpenAPI endpoint as source
  - closes [#9498](https://github.com/ToolJet/ToolJet/issues/9498)
  - by @devanshu052000, @mansukh-tj

### 🌟 Enhancements
- Enhance: Statement timeout for postgresql mssql mysql can now be configured from env  
  - by @ganesh8056
- Enhance: Add clear all, cancel & apply functionality to TJDB filter-popup 
  - closes [#9103](https://github.com/ToolJet/ToolJet/issues/9103)
  - by @parthy007 
- Enhance: Add read documentation link with data source drop down in query builder
  - closes: [#10713](https://github.com/ToolJet/ToolJet/issues/10713)
  - by @parthy007
- Enhance: Improve error handling in Google-Sheets run query 
  - closes [#9498](https://github.com/ToolJet/ToolJet/issues/9498)
  - by @parthy007
- Enhance: Error handling for PgSql, MySql and MsSql 
  - closes: [#10883](https://github.com/ToolJet/ToolJet/issues/10883)
  - by @parthy007
- Enhance: Rest api body to accept raw input instead of raw json 
  - closes [#10814](https://github.com/ToolJet/ToolJet/issues/10814)
  - by @devanshu052000 
- Enhance: Improve error handling in Airtable run query
  - closes [#10833](https://github.com/ToolJet/ToolJet/issues/10833)
  - by @parthy007 
- Enhance: Add AI-tag to datasources in marketplace page [#2597](https://github.com/ToolJet/tj-ee/pull/2597) 
  - closes [#11238](https://github.com/ToolJet/ToolJet/issues/11238)
  - by @parthy007
2024-11-29 01:31:43 +05:30
Akshay
09c305b157
Merge branch 'main' into release/marketplace-sprint-6 2024-11-29 01:29:06 +05:30
Akshay Sasidharan
bb600c6651 bump to v3.0.5-ce 2024-11-29 01:26:22 +05:30
Ganesh Kumar
a4189e0149 Fix: ToolJet database limit check API issue (#11416) 2024-11-29 01:00:15 +05:30
Vijaykant Yadav
9d6c880b84 fix: query kind for select source in rest api 2024-11-29 00:58: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
johnsoncherian
cd2350db46 chore: version bump 2024-11-25 12:04:17 +05:30
Johnson Cherian
70391b2c12
Merge pull request #11401 from ToolJet/main-merge-lts-3.0
Main merge lts 3.0
2024-11-25 11:57:26 +05:30
johnsoncherian
8e3986e0a1 Merge branch 'lts-3.0' into main-merge-lts-3.0 2024-11-25 11:49:53 +05:30
johnsoncherian
11b4368cc0 Merge branch 'main' of https://github.com/ToolJet/ToolJet 2024-11-25 11:48:10 +05:30
Parth
63954ef189 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>
2024-11-22 15:53:17 +05:30