Commit graph

265 commits

Author SHA1 Message Date
Johnson Cherian
97fb315019
Appbuilder sprint 5 merge main (#11573)
* 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>
2024-12-10 12:21:34 +05:30
Adish M
57f75626d1
Fix/tjdb render preview lts 3.0 (#11368)
* Fix for TJDB in render preview app lts-3.0 branch

* removed marketplace env
2024-11-20 13:43:28 +05:30
Adish M
f805116c9e Fixes in render for v3 2024-11-18 15:06:48 +05:30
Adish M
816ba2b757 Correction in docker release check lts-3.0 branch 2024-11-13 12:07:12 +05:30
Adish M
0b2989d914
Fix docker release automation lts.3.0 branch (#11284) 2024-11-12 13:46:34 +05:30
Adish M
595077ce09
Adding LTS 3.0 checking docker release workflow to main (#11112)
* Adding LTS 3.0 checking docker release workflow to main

* correction in condition

* changed the latest tag to 3.0

* change the tag format with new one

* change in image tag

* change in image tag
2024-11-10 19:23:32 +05:30
Adish M
2ac17e2242
Chore: Tooljet database and marketplace are mandatory set for render (#11173)
* Chore: Tooljet database and marketplace are mandatory set on render and other deployment file for CE

* added PGRST_DB_PRE_CONFIG=postgrest.pre_config

* edited .env.example file
2024-10-30 17:31:08 +05:30
Kavin Venkatachalam
6fdb25fa8b Merge branch 'develop' into chore/merge-develop 2024-10-30 11:40:02 +05:30
Adish M
91c5da4cc8
Fix: marketplace plugins build workflow (#10429)
* Maketplace plugins build workflow

* testing the build command

* testing the build command

* adding continue-on-error: true to test the build
2024-08-13 12:40:06 +05:30
Adish M
7b69d8f75a adding back echo PGRST_DB_PRE_CONFIG=postgrest.pre_config >> .env 2024-08-07 18:24:09 +05:30
Adish M
646693638e Corrections in marketpalce workflow to main 2024-08-07 18:22:53 +05:30
Adish M
4e476adf74 Fix release workflow to update ce lts test system to lts branch 2024-08-02 18:24:41 +05:30
Adish M
d04054eb72 Fix release workflow to update ce lts test system 2024-08-02 17:09:26 +05:30
Adish M
e22dc5f0a1 Fix docker release workflow to update LTS CE test system to main 2024-07-26 13:35:47 +05:30
Adish M
b0cf5a089a Fix docker release workflow to update LTS CE test system 2024-07-26 13:31:08 +05:30
Akshay Sasidharan
e3aa03cef8 remove unused configuration 2024-07-09 16:34:04 +05:30
Adish M
f2870a37ba Correction docker release workflow 2024-07-02 13:07:33 +05:30
Akshay Sasidharan
2dec9a106d Merge branch 'main' into release/marketplace-sprint-2 2024-07-01 16:37:46 +05:30
Manish Kushare
6f43a043dc
Feature: Aggregate and group by functionality in TJDB (#10170)
* Added no codition section when aggregates are not available

* Added feature to add aggregate condition and display it accordingly

* Added feature to change the aggregateFx option

* Added feature to update column option in the aggregate

* Added feature to delete the aggregate

* Disabling the group by according to valid condition but without tooltip

* Added flow for deleting aggregate

* feat: migration and configuration changes to support aggregation in tooljet database

* added functionality for join table operations

* Dropdown styles

* Showing section for aggregate dropdown for joinTable operation

* Added gap in multiple aggregate conditions

* Added table_id in aggregate condition

* Added custom placeholder

Adjusted width of add condition of aggregate

* Refactored logic for disable group_by field

Added tooltip when group by is disabled

* Updated aggregateFx to aggFx and groupBy to group_by

* feat: group_by and aggregate option in list rows

* added table name for aggregate dropdown value in joinTable operation

* Get the group by options

* value of aggregate column dropdown in join table operation

* Added error and success message for aggregate deletion

* Spacing adjustments

* Clear the unwanted code

* Updated the stucture of aggregate

* Updated the structure of group_by

* Fix: Query builder breaking due to undefined values

* feat: logic used to aggregate on joins

* Removing async

* fix: app is crashing

* feat: statement timeout at database level and user session level configuration can be done for ToolJet database

* Added min and max width to dropdown in tooljetdb query manager

* Added description

* Adding width as 80 percentage when description is not avaialable

* New Postgrest change for render related to Aggregate (#10175)

* New Postgrest change for render related to Aggregate and group by functionality

* correction in PGRST_DB_ENABLE_AGGREGATE value

* Adding the env variable PGRST_DB_PRE_CONFIG

* Adding the new postgrest related env changes to CE specific files

* fix: updated env variable naming for aggregates

* Showing description at the bottom for aggregate fx

* Fixing typo error

* Showing tick mark on selected item in dropdown when isMulti is false

* Updated requested changes

* Showing some description when option is not focused or selected

* Updated the component name to AggregateFilter

* fix: updated env variable to enable aggregation in tooljet database

* refactor: new wrapper to create migration connection for tooljet database

* fix: custom error message for aggregation errors has been handled for list_rows operation

* fix: code review fixes

* fix: aggregate function validation typo is updated

* fix: empty validation for Select and Aggregate fields

* postgrest changes for cypress

* removed PGRST_DB_ENABLE_AGGREGATE

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Adish M <adish.madhu@gmail.com>
2024-07-01 14:38:31 +05:30
Adish M
808f36f582 Added slack notification 2024-07-01 14:22:19 +05:30
Adish M
272a62c5b1 Updated LTS system after release 2024-07-01 14:13:07 +05:30
Kavin Venkatachalam
84167f3479 Merge branch 'main' of https://github.com/ToolJet/ToolJet into chore/main-to-develop 2024-06-28 12:05:37 +05:30
Kavin Venkatachalam
7aa656169f Merge branch 'lts-2.50' into perf/0.1 2024-06-26 16:46:08 +05:30
Adish M
75f6d0593d Correction in CE docker release workflow LTS branch 2024-06-18 13:49:30 +05:30
Adish M
7bb02218e7 Correction in CE docker release workflow 2024-06-18 13:47:54 +05:30
Adish M
cc89276076 docker release workflow lts fix ce 2024-06-12 21:32:12 +05:30
Adish M
c439b842ce docker release workflow lts fix 2024-06-12 21:27:03 +05:30
Adish M
9fb52a058e Correction in docker compose file name 2024-06-11 16:00:01 +05:30
Adish M
df729c0224 Run CI fix to main 2024-06-11 12:00:38 +05:30
Adish M
fff15837f6 running lint parallel 2024-06-11 11:36:16 +05:30
Adish M
1eeb133c4a Docker worjflow changes 2024-06-06 17:32:57 +05:30
Adish M
5de99191b3 Run CI imporvements 2024-06-05 17:15:23 +05:30
Adish M
4ae7977af5 LTS tag correction 2024-06-03 17:24:30 +05:30
Adish M
0539d7d87a LTS changes in docker release workflow CE 2024-06-03 16:51:58 +05:30
Adish M
df9ddf8d71 test syste automation for main 2024-05-20 20:35:21 +05:30
Adish M
5fa379e82e adding values to secrets 2024-05-20 20:32:37 +05:30
Adish M
f474472544 adding permission check 2024-05-20 20:19:38 +05:30
Adish M
3c708e2930 adding the script for changing the image 2024-05-20 19:41:45 +05:30
Adish M
ec6f171e9d changing the ipaddress for testing 2024-05-20 19:41:04 +05:30
Adish M
48fa5e1e3a adding back docker code 2024-05-20 19:29:43 +05:30
Adish M
a0a0efb57f checking .shh folder 2024-05-20 18:26:07 +05:30
Adish M
e1928c6812 checking .shh folder 2024-05-20 18:06:43 +05:30
Adish M
342e771228 checking .shh folder 2024-05-20 14:49:03 +05:30
Adish M
0770aa671d checking .shh folder 2024-05-20 14:38:34 +05:30
Adish M
0a3b689bf7 checking .shh folder 2024-05-20 14:31:58 +05:30
Adish M
9bec9e1b1d checking .shh folder 2024-05-20 14:23:10 +05:30
Adish M
2368e688c8 checking .shh folder 2024-05-20 14:20:31 +05:30
Adish M
e9ea8a6460 checking .shh folder 2024-05-20 13:10:26 +05:30
Adish M
be784edfcc Testing gcp command 2024-05-20 13:07:04 +05:30
Adish M
f7d914d3a1 Testing gcp command 2024-05-20 13:01:47 +05:30