Commit graph

163 commits

Author SHA1 Message Date
Muhsin Shah C P
d275a8ac58
[fix/modularisation] Fixed the white-label store helper issue and changed EDITION to TOOLJET_EDITION (#12044)
* Fixed: Changed EDITION to TOOLJEET_EDITION and fixed ee frontend helper file issue

* Changed the edition env in docker files
2025-02-25 17:58:43 +05:30
Midhun G S
a8f253d5a6
fix for migration (#12041) 2025-02-25 15:58:16 +05:30
gsmithun4
a245ad598b fix for edition specific migration 2025-02-25 13:15:03 +05:30
gsmithun4
269ec56455 Initial commit 2025-02-25 12:22:50 +05:30
Ganesh Kumar
2205ebb193
feat: made tooljet database and marketplace mandatory (#11170) 2024-10-30 17:30:44 +05:30
Akshay Sasidharan
03329abfa6 sync marketplace and tooljet database changes 2024-10-28 23:37:40 +05:30
Vijaykant Yadav
fbcfe34d93 fix page menu UI and settings 2024-10-22 17:08:53 +05:30
Anantshree Chandola
34510591b2
Feature: Secret constants + Bug fixes for resolution of constants and secrets (#10551)
* Feature: Secret constants

* updates

* use constants

* name length validation

* update checks

* styling updates + unique constraint checks

* editor state updates

* update

* correct state

* ui updates

* added encrypted tag

* styling updates

* style update

* update

* fix for existing bugs

* styling updates

* styles

* update
2024-09-23 11:00:36 +05:30
Midhun G S
b924ea3e94
added type to folder (#10785) 2024-09-19 21:17:16 +05:30
Midhun G S
edeb0d133b
fix for get connection (#10668) 2024-09-09 17:18:01 +05:30
gsmithun4
00ef2387c0 removed migration file 2024-08-08 12:12:05 +05:30
kriks7iitk
eb4ebb6c05 merge CVE 2024-08-06 10:41:11 +05:30
Muhsin Shah
0ed470b9c7 removed nest mailer package
- moved migration file to migrations folder
- copied smtp changes
2024-08-05 14:37:59 +05:30
Muhsin Shah
fc8e71e6b2 Merge branch 'main' into cve/server-high 2024-07-23 14:34:25 +05:30
kriks7iitk
6ffa983436 Merge branch 'main' of github.com:ToolJet/ToolJet into group-revamp-fix_krit 2024-07-17 11:40:30 +05:30
kriks7iitk
ec20f8d2f1 duplication isue fix 2024-07-12 14:07:11 +05:30
kriks7iitk
d9cc52a3e5 Deleted migeations from table migrations 2024-07-11 11:37:22 +05:30
kriks7iitk
fa203bbf2d Migration developer testing 2024-07-09 13:52:10 +05:30
kriks7iitk
2bc01dfc55 Migration fix for custom groups 2024-07-09 12:57:45 +05:30
kriks7iitk
36b5f09c55 Fixed mihrations 2024-07-09 11:34:19 +05:30
kriks7iitk
125be1a9a3 Added migration 2024-07-09 10:06:09 +05:30
Muhsin Shah
8efa0b3806 Merge branch 'main' into cve/server-high 2024-07-07 22:13:35 +05:30
kriks7iitk
41b0c6c1b6 Merge and design fix 2024-07-05 11:50:24 +05:30
kriks7iitk
4af13effc3 design fix 2024-07-05 09:56:32 +05:30
Akshay Sasidharan
2dec9a106d Merge branch 'main' into release/marketplace-sprint-2 2024-07-01 16:37:46 +05:30
Shaurya Sharma
a6d2666206
Date with time data type for ToolJet Database (#10066)
* Basic wrapper around Datetime picker component

* Cell Edit Menu for Datetime Picker

* Reverted Old Changes

* Added Datetime picker for Add/Edit Row

* Added datetime picker for create/edit column

* Added datetime picker for create/edit table

* Added datetime picker for create/edit table

* Disabled PK, FK, Unique and made some fixes

* Migration script added

* Internal table configuration update changes

* Updating internal table configuration based on timezone select

* Time display pill & support for changing & retrieving timezone from the frontend added

* Time bug partially resolved

* Time bug solved

* Minor Bugs Solved

* fix : datepicker closed when we select date from outside month which is not current month's date

* Minor Design Fixes

* Css & Comment Fixes

* Removed console.logs

* Fixed app import failing

* Changed datatype name and label

* Css Fixes and added clear button

* Minor fix

* Fixed create table breaking on null values

---------

Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
2024-07-01 16:24:51 +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
Muhsin Shah
ede11aa27b Added initial fixes for typeorm migration 2024-06-26 17:14:32 +05:30
Muhsin Shah C P
707dbcb606
Updated workspace signup flow & fixes (#9893)
* Added a fix for the blank page of the app url if the user is redirected from the invitation page

* Added workspace signup changes

* fix: could able to access sso only enabled workspace if switch b/w workspace after the flow completed

* fix: Getting something went wrong error when personal workspace is disabled

* Fix: logging with super-admin creds while ongoing session of another user making issue for a workspace switch

* fix: Resend workspace signup email is not working

* Added new changes to the resend-invite API

* Updating the source to invite while unarchiving the user

* Added forgot password fix (#447)

* Fixed import errors

* fixed invite flow sso error fallBack flow

---------

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2024-06-18 15:09:54 +05:30
kriks7iitk
88e02bdfd3 changes for group-sync 2024-06-18 12:06:10 +05:30
kriks7iitk
0af5f94180 merged latest 2024-06-11 11:48:12 +05:30
kriks7iitk
6acd403e2b Adding user group permissions ability factory 2024-06-10 16:27:55 +05:30
kriks7iitk
7b2d637374 revamp casl and permission module 2024-05-29 05:16:46 +05:30
kriks7iitk
525404c4a4 Add granular permissions api 2024-05-20 22:57:23 +05:30
Kavin Venkatachalam
1cc99a86c1 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-05-20 10:46:19 +05:30
Muhsin Shah C P
c04e39d266
Added workspace_signup source (#9688) 2024-05-14 12:18:58 +05:30
arpitnath
28970328d9 Revert "Add grid dimension migration"
This reverts the migration that introduced a new column to handle grid dimensions with enums count and percent. Upon further review, the migration is unnecessary as the application manages grid dimension adjustments dynamically on component load without the need for persisting these changes. This avoids unnecessary data modifications that impact high volumes of data, streamlining operations and maintaining performance.
2024-05-10 16:58:03 +05:30
Kavin Venkatachalam
84907f86bd Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-05-06 10:21:33 +05:30
kriks7iitk
ac6bc8d16f Add apis for group permissions 2024-05-06 07:54:47 +05:30
Midhun G S
eef2a49fa9
Release Platform v17 (v2.39.0) (#9502)
* bump version

* Sample data source (#9501)

* Added sample data populating script

* added expand-collapse  in add data soure menu

* Sample database

* Design changes

* Added CTA to buttons and added design changes

* Added code sanity fix for some services

* changed configration for create sampke db and code sanity fix

* Removed logs

* Added xlsx in dependency

* added migration for sample db

* Added loggin for testing

* Added await in migration

* Replace excel sheet with JSON files

* reverted package-lock file

* Fixed issues

* dependecy deletion

* Added schedular

* Added changes for bug fixes and typeorm query for creating sample db

* Removed color.scss file import

* Add logo in sample application

* add documentation link for sample db

* fixed migration issue for data queries creation

* removed sample db intergration

* bump version

* Remove .env file and code sanity

* deleted migration file

---------

Co-authored-by: Kritagya <kriks.iitk@.com>
Co-authored-by: Kritagya Kumar <kritagyakumar@192.168.1.6>
Co-authored-by: kriks7raptor <kritagya@raptorx.ai>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>

* Add data-cy for drag drop empty canvas card (#9513)

* Add sample db condition on all components (#9516)

* Add sample db condition on all components

* Changed empty state for container

* Condiiton on sample data source

---------

Co-authored-by: kriks7raptor <kritagya@raptorx.ai>

* Release fix: subpath (#9535)

* Add sample db condition on all components

* Changed empty state for container

* Condiiton on sample data source

* fixed subpath issue for workspace setting and folders

* Folder change handler in subpath

---------

Co-authored-by: kriks7raptor <kritagya@raptorx.ai>

* fixed version

* fixed version

* fixed version

* update server version

* Bump version to v2.39.0

---------

Co-authored-by: kriks7iitk <34170719+kriks7iitk@users.noreply.github.com>
Co-authored-by: Kritagya <kriks.iitk@.com>
Co-authored-by: Kritagya Kumar <kritagyakumar@192.168.1.6>
Co-authored-by: kriks7raptor <kritagya@raptorx.ai>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: kriks7iitk <kriks.iitk@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
2024-04-30 21:49:37 +05:30
Kavin Venkatachalam
15e5a81483 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-04-30 10:34:40 +05:30
kriks7raptor
461a05208a Added services for granular and group permissions 2024-04-29 11:36:43 +05:30
kriks7raptor
cc6a7d02d6 added skeleton for user graoup revamp 2024-04-25 12:19:26 +05:30
Arpit
6249227022
Add updatedAt column to layouts table (#9026)
adds a new column named updatedAt to the layouts table in the database. The column has a default value of CURRENT_TIMESTAMP, which automatically sets the timestamp to the current date and time when a new row is inserted.

This change enables us to track the last update time of each layout entry, which is essential for various functionalities such as querying the latest versions of layouts and implementing dynamic component rendering based on the most recent updates.

The migration script responsible for adding the updatedAt column has been executed successfully, and the column has been verified to exist in the layouts table.
2024-04-19 13:05:08 +05:30
Johnson Cherian
06db9ba5c1 refactor: moved duplicate functions in utils 2024-03-12 09:43:54 +05:30
Johnson Cherian
f1cfeedc14 feat: removed unused migrations 2024-03-11 13:02:18 +05:30
Johnson Cherian
4ed0a02b64 fix: added layout dimension unit backfill 2024-03-05 10:49:16 +05:30
Johnson Cherian
3dc59e8db3 feat: updated layout dimension in app import and templates 2024-03-04 08:08:55 +05:30
Johnson Cherian
6aa7cb0d0e feat: added migrations for grid layout dimension 2024-03-01 18:52:03 +05:30
Johnson Cherian
88badbc1f6 Merge branch 'main' into feat/grid-revamp 2024-02-29 11:11:49 +05:30