* fix: added validation for empty column names in list rows for aggregate condition
* fix: handle empty conditions for aggregates
* fix: error message for aggregate condition in join operation has been updated
* fix: handled a scenario where table and column name with capital letter was not working properly in aggregate and groupby
* 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>
* 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>
* fix: while duplicating the component, the component ID was sent to BE instead of entity ID
* Fixes: page duplication entity mappings
- On page duplication, after cloning of components and mapping to respectived ids, the references used inside the the new/cloned components's definition needs to be updated
* fixes: component crash on page deletion
---------
Co-authored-by: arpitnath <arpitnath42@gmail.com>
* fix: update canvas background color to default when the linked component is deleted
* chore: version bump
* Fix: Update keyword validation to handle reserved keywords accurately
- Refined validation logic to handle reserved keywords, ensuring that compound identifiers are not incorrectly flagged.
- Improved checks to allow valid code patterns like 'window.location.href' while blocking invalid usage of 'window'.
- Addressed all known cases, including those causing app or component crashes and previously non-working cases.
- Enhanced handling for both multiline and single line code validation.
* chore: removed console.log
* fixes: table actions events - with multiple events only the last event created was triggered
* fixes: returning circular deps crashes the app
* fix: added a debounce changes
---------
Co-authored-by: arpitnath <arpitnath42@gmail.com>
* fixes: child components on listView are not updating correctly
* bumped version
* Special handling for 'window' keyword in multiline code editors
- Updated validation logic to allow 'window.x' while treating standalone 'window' as a reserved keyword.
- Refined keyword matching to ensure keywords are not part of a string or a comment and are exact matches.
- Applied a hotfix to both CE-LTS and the latest non-LTS CE versions, effective by end of day.
- Note: This update is specifically for multiline code editors; single line editors will continue to support 'window.x' or any usage of 'window' as it breaks the app otherwise.
* fixes: update the query refs for failed query
* fixes: on form submit the children's data should be accessable from queries events
* fixes: event execution
* adds a debounce for form reset on submit
* for onPageLoad events, we need to execute the actions after the page is loaded
* 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>
* feat: Added a support for infinite scroll on searching foreign key data
* feat: added debounce for search in infinite scroll and refactored the infinite scroll logic on listing Foreign key data
* fix: while searching foriegn key values in the drop down of tooljet database for varchar datatype possible search results will be returned and for other datatype strict matching is followed
* fix: review comments for optional chaining has been fixed
* fix: typo error has been fixed
* fix: client search on foreign key drop down is disabled
* stylefix: menu height is fixed now for foreign key drop down
* fix: foreign key drop down scroll bar moves to top on each render fixed
* Fix : Caching the foreign key column options (#9828)
* Draft : Caching the fk options
* Refactored the code and use promise.all
* Used Promise.allSettled to ensure that all promises are processed regardless of whether they resolve or reject.
* Changed currentColumn to foreignKey
* Removed console
* Updated default value of cachedOptions state to empty object
* Updated the code with suggestion to uplift check condition
* Change the emptyError copyright to No values found
* Bug fixed : on mount api request failing
* Refactored code from calculations to data by removing optional chaning
* Fix: Remove null values from the foreign key drop-down list (#9895)
* fix: filtered out null values and brought empty string to top in the foreign key drop down
* fix: review comments addressed
* fix: while creating or editing FK relation the source column drop down will not list empty column names
* stylefix: cell was not clickable on empty string
* fix: empty values are not listed on Foreign key drop down used for cell edit
* fix: empty string can be added as default in create table operation
* Fixed : Fk options are not cached when source column name is updated
---------
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
* fix : while deleting a column if the column name starts with uppercase, it throws error
* Added the query as parameterized query
* fix : using query runner with creation in parameterized queries
* Shortcut Keys added for all Drawers
* Shift + ALT Shortcut Key Added for Creating Multiple Rows
* Resetting to Default Values on Shift + Enter
* Added Error Borders on Input Fields for Create/Edit Row
* Minor Design Changes
* Comments Resolved
* Added Drawer Shortcut for Bulk Upload
* Dark Mode Colour Fix
* fix : Table breaking for nested array of objects
* remove log
* chore: bump minor version for hot fix
---------
Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>
* Loader added for foreign key dropdown
* Empty State text change
* Design Changes
* Loader added in Main Table Edit
* Minor Text Changes
* Added Loader in Edit/Create Column & Row
* fix : adding both filter and sort for tjdb query is not working and it throws error
* fix : added check as if query array has something there then only it will append in url