* 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>
* add migrations for versioning datasources and dataqueries
* eslint migrations folder
* update ormconfig to use app context in migrations
* make app to make use versioned data sources and queries in editor
* app import should honor data source and query versioning
* register ts-node path on running migrations
* load data queries when finding versions
* update e2e tests
* handle for invalid oauth2 datasources
* update e2e tests
* introduce db migrations access lock to handle concurrent backfill
* scope migrations by missing version id
* fix import export without data source/query versions
* fix import
* fix spec
* handle invalid data on migration
* fix import
* remove console logs
* handle new app imports
* fix version check
* fix async creation
* explicitly add timestamps on version import
* github actions for PR and push to develop branch
* test workflow
* move to workflows folder
* add setup node action
* modify build
* specify npm version
* config unit test
* specify host postgres
* specify container to run on
* add postgresql dependency
* add specify ws adapter for test
* add e2e test
* fix linting
* only log errors on tests
* update eslint config
* fix linting
* run e2e test in silent mode
* fix library app spec
* dont send email on test env
* fix org scope
* mock env vars
* remove reset modules
* force colors
* explicitly close db connection
* add eslint rule for floating promises
* update workflow
* fix floating promise
* fix lint
* update workflow
* run on all push and pulls
* update lint check files
* simplify workflow
* increase js heap size on env
* separate lint and build
Co-authored-by: arpitnath <arpitnath42@gmail.com>
* Better canvas
* Better canvas
* Better canvas
* Fix for resize
* Fix for drag
* Fix for drag
* Fix for drag
* Adjust width of components by # of grid lines
* Adjust components to comply with gridline based width
* Fix the width of rigth sidebar
* Fix for subcontainer resize issue
* Fix for dropped widget width (sc)
* Fix subcontainer drag width
* Fix grid for sub container
* Fix viewer
* Fix
* Fix
* Use RnD for dragging within canvas
* bounds for subcontainers
* fix for subcontainers
* Fix for mouseover issue
* Fix
* Fix widget widths
* Fixes chart
* Fixes qr scanner and divider
* Remove scaleValue
* Mmerge fix
* Mmerge fix
* Fix for ormconfig
* Fixes for comments
* Add comment where the user clicked
* Disable dragging on viewer
* Max width for canvas
* Fix for widget click events
* Fix for radio button
* Rebase widget width and left offset for responsive canvas
* Fix
* Fix the width of file picker
* Fix for calendar widget
* Disable zoom selector
* Fixes comment positions
* css fixes
* Fix
* Recompute width and offset of subcontainer widgets based on its parent's width
* Calculate container width separately for modal children while migrating to responsive
* Refactor migration to responsive canvas whereinwhich all mutations are done only after all required changes are computed
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* add ability to preview and edit versions
* add specs for get app versions
* create new app versions from prev definition
* fixes
* move default slug creation outside typeorm transaction
* set slug as app id when null
* fix app creation response
* fix entities not loading on test env
* add e2e test for version creation scenarios
Co-authored-by: navaneeth <navaneethpk@outlook.com>
* Multiple handlers for each events
* Fixes
* Migration
* ormconfig to use entities in migrations
* use connection object to build queries
* fixes for bulk update
* Fix for table action button
* use query runner to wrap migration in same transaction
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
* update docker-compose and docs for docker dev setup
* specify test environment explicitly on npm scripts
* fix migrations to be picked up from either root or dist folder
* fix default slug update