Commit Graph

11528 Commits

Author SHA1 Message Date
Budibase Staging Release Bot 76d67319b0 v2.3.18-alpha.8 2023-02-23 14:02:39 +00:00
Andrew Kingston f3a28e556b
Undo/Redo for Design and Automate sections + automations refactor (#9714)
* Add full undo/redo support for screens

* Add loading states to disable spamming undo/redo

* Add keyboard shortcuts for undo and redo

* Fix modals not closing in design section when escape is pressed

* Remove log

* Add smart metadata saving to undo/redo

* Add error handling to undo/redo

* Add active state to hoverable icons

* Fix screen deletion

* Always attempt to get latest doc version before deleting in case rev has changed

* Move undo listener top level, hide controls when on certain tabs, and improve selection state

* Add tooltips to undo/redo control

* Update automation section nav to match other sections

* Fix automation list padding

* Fix some styles in create automation modal

* Improve automation section styles and add undo/redo

* Update styles in add action modal

* Fix button size when creating admin user

* Fix styles in add automation step modal

* Fix issue selecting disabled automation steps

* Reset automation history store when changing app

* Reduce spammy unnecessary API calls when editing cron trigger

* WIP automation refactor

* Rewrite most automation state

* Rewrite most of the rest of automation state

* Finish refactor of automation state

* Fix selection state when selecting new doc after history recreates it

* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made

* Fix animation issues with automations

* Sort automations and refetch list when adding or deleting

* Fix formatting

* Add back in ability to swap between values and bindings for block inputs

* Lint

* Format

* Fix potential issue in design section when selected screen is unset

* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping

* Lint

* Fix more cases of automation errors

* Fix implicity any TS error

* Respect _id specified when creating automations

* Fix crash in history store when reverting a change on a doc whose ID has changed

* Lint

* Ensure cloneDeep helper doesn't crash when a nullish value is passed in

* Remove deprecated frontend automation test

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Rory Powell 744bb9690e Server flaky tests fixes - improving tenancy config 2023-02-23 13:43:27 +00:00
Rory Powell 6da72bb2c6 Configs updates: remove circular deps, dedicated module, typing improvements, reduce db reads 2023-02-23 13:41:35 +00:00
Budibase Staging Release Bot 029c959345 Update pro version to 2.3.18-alpha.7 2023-02-23 12:17:13 +00:00
Budibase Staging Release Bot 452c69ee8c v2.3.18-alpha.7 2023-02-23 12:14:21 +00:00
adrinr 6f274443ee Test enrich for all relationship types 2023-02-23 10:50:18 +01:00
adrinr 54ba959c3e Fix many-to-one tests 2023-02-23 10:39:16 +01:00
adrinr 529fbdd564 Fix creation 2023-02-23 10:28:24 +01:00
adrinr 2b6d6c1e4f Fix tests 2023-02-23 00:06:57 +01:00
adrinr c02900f0de Setup o2m and m2m relationships 2023-02-22 22:40:50 +01:00
adrinr d0fe2691ca Fix wrong relationship mapping 2023-02-22 17:18:05 +01:00
adrinr dff9caf593 Merge remote-tracking branch 'origin/develop' into bug/budi-6619/cannot_update_relationships_in_postgresql_many_to_one 2023-02-22 15:00:41 +01:00
adrinr ec1efc856e Handle link fields 2023-02-22 14:59:42 +01:00
Budibase Staging Release Bot 20a2346b04 Update pro version to 2.3.18-alpha.6 2023-02-22 13:59:23 +00:00
Budibase Staging Release Bot fd87b260e1 v2.3.18-alpha.6 2023-02-22 13:56:31 +00:00
Rory Powell 6c7d6a3caa
Update builder and authorized middleware to be more strict towards unauthenticated (#9774)
* Update builder and authorized middleware to be more strict towards unauthenticated

* Remove unnecessary variable
2023-02-22 13:39:31 +00:00
Budibase Staging Release Bot ca90993d44 Update pro version to 2.3.18-alpha.5 2023-02-22 13:37:06 +00:00
Budibase Staging Release Bot bd7576c6b3 v2.3.18-alpha.5 2023-02-22 13:33:55 +00:00
Budibase Staging Release Bot 38d5831a71 Update pro version to 2.3.18-alpha.4 2023-02-22 13:14:32 +00:00
Budibase Staging Release Bot 60cc87c306 v2.3.18-alpha.4 2023-02-22 13:11:38 +00:00
Rory Powell 1abf5f2389
Use `--runInBand` in CI only (#9771)
* Use  in CI only

* Use scripts instead of ternary to pick up correct bash syntax
2023-02-22 13:04:16 +00:00
adrinr 9031d5bc19 Undo literal changes 2023-02-22 11:02:32 +00:00
adrinr d9bc01782d Update many to many 2023-02-22 10:54:55 +00:00
Budibase Staging Release Bot 4b168c761f Update pro version to 2.3.18-alpha.3 2023-02-22 10:13:25 +00:00
Budibase Staging Release Bot ee49637f6f v2.3.18-alpha.3 2023-02-22 10:10:27 +00:00
Budibase Staging Release Bot 9f7c24912d Update pro version to 2.3.18-alpha.2 2023-02-22 08:43:41 +00:00
Budibase Staging Release Bot 4321a07944 v2.3.18-alpha.2 2023-02-22 08:40:11 +00:00
mike12345567 5518d8d336 Adding new mechanism to get the ipAddress and userAgent of call for audit logs. 2023-02-21 19:14:57 +00:00
Budibase Staging Release Bot e3b1204472 Update pro version to 2.3.18-alpha.1 2023-02-21 17:37:00 +00:00
Budibase Staging Release Bot 865cab09b2 v2.3.18-alpha.1 2023-02-21 17:33:47 +00:00
mike12345567 420502a3e7 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-21 17:26:24 +00:00
mike12345567 00e3365847 Updating worker db config to have replication available (for audit logs). 2023-02-21 17:22:23 +00:00
Rory Powell f153fb8e82
Run CI steps in parallel (#9760)
* Parallel CI

* Add build to integration test

* Add checkout to top of each run

* Revert branch update for ci job

* Experiment with --runInBand for CI

* Fix intermittent backend-core migration test failure

* Fix hanging worker redis connection

* Update naming from reset to newTenant
2023-02-21 17:13:24 +00:00
Budibase Staging Release Bot 738d371b63 Update pro version to 2.3.18-alpha.0 2023-02-21 17:07:51 +00:00
Budibase Staging Release Bot f4dd710b75 v2.3.18-alpha.0 2023-02-21 17:03:45 +00:00
mike12345567 5a3e287d2d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-21 16:53:28 +00:00
adrinr 3539656fcc Fix the many to one updates 2023-02-21 16:29:18 +00:00
adrinr b5591e757a Replace maps for foreach 2023-02-21 15:57:56 +00:00
adrinr 175b3eb90e Add return select statement back on update 2023-02-21 15:57:04 +00:00
Budibase Staging Release Bot 50886366f5 Update pro version to 2.3.17-alpha.8 2023-02-21 15:24:40 +00:00
adrinr 58619ae7cb Fix postgres update for relationships 2023-02-21 15:21:00 +00:00
Budibase Staging Release Bot c3e4bfe17d v2.3.17-alpha.8 2023-02-21 15:20:48 +00:00
Adria Navarro 732e93e14a
Merge pull request #9761 from Budibase/test/fix_foreigndata_pg_test
Test - Fix relation get test to test expected behaviour
2023-02-21 15:13:05 +00:00
Budibase Staging Release Bot e8e365aa83 Update pro version to 2.3.17-alpha.7 2023-02-21 14:43:54 +00:00
Budibase Staging Release Bot 88f7f79b22 v2.3.17-alpha.7 2023-02-21 14:39:55 +00:00
Budibase Staging Release Bot f9792d0e31 Update pro version to 2.3.17-alpha.6 2023-02-21 11:56:26 +00:00
Budibase Staging Release Bot 1e58397f7b v2.3.17-alpha.6 2023-02-21 11:52:45 +00:00
adrinr 087277e8a7 Merge remote-tracking branch 'origin/develop' into test/fix_foreigndata_pg_test 2023-02-21 11:37:16 +00:00
Budibase Staging Release Bot 8094a1b11d Update pro version to 2.3.17-alpha.5 2023-02-21 11:26:45 +00:00
Budibase Staging Release Bot f336cec967 v2.3.17-alpha.5 2023-02-21 11:22:46 +00:00
adrinr c0fc24324b Add explicit check for the foreign field 2023-02-21 09:51:07 +00:00
adrinr f75274e6db Fix relation get test to test expected behaviour 2023-02-21 09:42:56 +00:00
Rory Powell 1b041c41c3
Prevent SSO users from setting / resetting a password (#9672)
* Prevent SSO users from setting / resetting a password

* Add support for ENABLE_SSO_MAINTENANCE_MODE

* Add typing to self api and build out user update sdk

* Integrate sso checks with user sdk. Integrate user sdk with self api

* Test fixes

* Move self update into SDK

* Lock down maintenance mode to admin user

* Fix typo

* Add health status response and return type signature to accounts.getStatus

* Remove some unnecessary comments

* Make sso save user function non optional

* Remove redundant check on sso auth details provider

* Update syncProfilePicture function name to getProfilePictureUrl

* Update packages/worker/src/sdk/users/events.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Add ENABLE_EMAIL_TEST_MODE flag

* Fix for logging in as sso user when existing user has password already

* Hide password update and force reset from ui for sso users

* Always disable sso maintenance mode in cloud

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-02-21 08:23:53 +00:00
mike12345567 4972657ba3 Fix for #9749 - static formulas would sometimes attempt to update the same row multiple times, filter down to just the unique row list which requires updating. 2023-02-20 15:35:14 +00:00
mike12345567 15d6a2f49a switching metadataSearch to fullSearch. 2023-02-20 11:29:43 +00:00
Rory Powell bd09914e4e Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00
mike12345567 343ff1271d Required work to support the new lucene audit logs search indexing. 2023-02-17 16:26:55 +00:00
Budibase Staging Release Bot 6e197566a8 Update pro version to 2.3.17-alpha.4 2023-02-17 15:00:44 +00:00
Budibase Staging Release Bot 4145478e38 v2.3.17-alpha.4 2023-02-17 14:56:34 +00:00
Budibase Staging Release Bot 3635826e83 Update pro version to 2.3.17-alpha.3 2023-02-17 09:30:40 +00:00
Budibase Staging Release Bot 383b9b560f v2.3.17-alpha.3 2023-02-17 09:25:55 +00:00
Budibase Staging Release Bot 122330c792 Update pro version to 2.3.17-alpha.2 2023-02-17 08:36:00 +00:00
Budibase Staging Release Bot 805f74f92a v2.3.17-alpha.2 2023-02-17 08:32:08 +00:00
Budibase Staging Release Bot fced2a00f2 Update pro version to 2.3.17-alpha.1 2023-02-16 16:56:11 +00:00
Budibase Staging Release Bot 5c22c75429 v2.3.17-alpha.1 2023-02-16 16:52:04 +00:00
Rory Powell 3bc7d66ac7
Fix server docker build (#9718) 2023-02-16 16:44:50 +00:00
Budibase Release Bot 05fcc6f325 Update pro version to 2.3.17 2023-02-16 16:41:23 +00:00
Budibase Release Bot a57c922b91 v2.3.17 2023-02-16 16:37:12 +00:00
melohagan 02ed5fd37a
Handle webhook errors (#9715) 2023-02-16 16:23:44 +00:00
Budibase Staging Release Bot 96f866e29c Update pro version to 2.3.17-alpha.0 2023-02-16 14:30:28 +00:00
Budibase Staging Release Bot 92d4358c40 v2.3.17-alpha.0 2023-02-16 14:26:19 +00:00
mike12345567 fd41acf984 Adding in event auditing to server/worker. 2023-02-15 18:03:55 +00:00
Jonny McCullagh 9d43b534e5
add datadog apm (#9693)
* add datadog apm

* datadog init not start

* extra env vars for DD APM

* add datadog apm

* datadog init not start

* extra env vars for DD APM

* add datadog apm

* remove space

* Enable typescript integration with apm agents

* Fix typo

---------

Co-authored-by: Jonny <Jonny McCullagh>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-15 16:28:20 +00:00
Rory Powell c8b25385b1 Update lockfiles 2023-02-15 15:23:12 +00:00
Rory Powell f37b921c9b Merge branch 'master' into merge-master-into-develop 2023-02-15 15:16:59 +00:00
Budibase Release Bot deceabfbc9 Update pro version to 2.3.16 2023-02-15 15:13:06 +00:00
Rory Powell 3da6502c8c Merge master into develop 2023-02-15 15:10:02 +00:00
Budibase Release Bot 0840e8897b v2.3.16 2023-02-15 15:09:01 +00:00
Budibase Release Bot 169848f4e0 Update pro version to 2.3.15 2023-02-15 13:01:14 +00:00
Budibase Release Bot 3566477d01 v2.3.15 2023-02-15 12:57:32 +00:00
mike12345567 a190bd3da7 Update on audit logs, getting the full write flow from events configured. 2023-02-15 12:37:32 +00:00
mike12345567 f058527137 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-15 11:29:04 +00:00
Budibase Release Bot e7d5a8e9f9 Update pro version to 2.3.14 2023-02-15 09:47:44 +00:00
Budibase Release Bot d53d727925 v2.3.14 2023-02-15 09:43:10 +00:00
melohagan b14a071426
Date filter freeze fix (#9635)
* Filter with enrichedSchemaFields

* Handle empty object values in date range
2023-02-15 09:27:44 +00:00
Budibase Staging Release Bot a185850018 Update pro version to 2.3.14-alpha.0 2023-02-14 18:17:13 +00:00
Budibase Staging Release Bot 39e98630a1 v2.3.14-alpha.0 2023-02-14 18:12:57 +00:00
mike12345567 2dc1ce3497 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-14 17:57:23 +00:00
Michael Drury 783907b377
Merge pull request #9695 from Budibase/fix/9692
Allow changing the text/json MB limits in app service
2023-02-14 17:14:35 +00:00
mike12345567 af4c082df4 Quick fix to add the ability to update the app-service HTTP MB max limits. 2023-02-14 16:40:57 +00:00
Budibase Release Bot 7ead88453b Update pro version to 2.3.13 2023-02-14 15:18:56 +00:00
Budibase Release Bot 75aa71bff9 v2.3.13 2023-02-14 15:15:07 +00:00
mike12345567 5c05ad2445 Fix for #9654 - the error checking was looking at the through fields flipped, which caused many to many relationships to throw an error. Also I've updated the dev compose file on master so that switching between develop and master is smoother. 2023-02-14 14:38:55 +00:00
mike12345567 7cd28ca4d3 Moving lucene handling to backend-core so that it can be used for other databases (outside row indexes). 2023-02-13 17:13:59 +00:00
Rory Powell 91e63c8ec4 Rename LOG_4XX to ENABLE_4XX_HTTP_LOGGING and enable by default 2023-02-13 14:39:24 +00:00
Rory Powell c78b21ef5f
Merge pull request #9669 from Budibase/budi-6558-configurable-test-log-levels-and-common
Configurable test log levels and common error handling
2023-02-13 14:31:43 +00:00
Rory Powell 1dc3d44a44 Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
Rory Powell d99794c040 Configurable test log levels and common error handling 2023-02-13 11:53:01 +00:00
Budibase Release Bot 9a2b18073f Update pro version to 2.3.12 2023-02-13 11:27:47 +00:00
Budibase Release Bot 9c597e3398 v2.3.12 2023-02-13 11:23:03 +00:00
Budibase Release Bot b6f48e8731 Update pro version to 2.3.11 2023-02-12 15:43:59 +00:00
Budibase Release Bot 2764544626 v2.3.11 2023-02-12 15:40:20 +00:00
Budibase Staging Release Bot b49a11fd2d Update pro version to 2.3.11-alpha.0 2023-02-10 19:18:13 +00:00
Budibase Staging Release Bot 78a458fe5d v2.3.11-alpha.0 2023-02-10 19:14:12 +00:00
mike12345567 043b534138 Updating test case which has been occasionally throwing 409 issues. 2023-02-10 18:29:29 +00:00
mike12345567 720e7019c2 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
Budibase Release Bot c721bbc60b Update pro version to 2.3.10 2023-02-10 15:58:21 +00:00
Budibase Release Bot bf7e6e3eeb v2.3.10 2023-02-10 15:54:05 +00:00
mike12345567 0734e5d0d5 Minor fix for automations, the wrong function had the environment variables being added to environment, this is very minor, it simply makes sure that environment variables are in context for the whole of the automation runner - e.g. if utilising many datasources each of them doesn't need to re-retrieve the environment variables, instead they will be available based on the env vars retrieved at the start of the execution. 2023-02-10 14:14:43 +00:00
Budibase Release Bot 1334481da5 Update pro version to 2.3.9 2023-02-10 13:50:45 +00:00
Budibase Release Bot 060a85bce4 v2.3.9 2023-02-10 13:46:46 +00:00
mike12345567 5b06f2348a Merge branch 'master' of github.com:Budibase/budibase into fix/ms-sql-port 2023-02-10 13:12:28 +00:00
mike12345567 82e065b99c Updating so that datasources always have correct types after environment variable enrichment. 2023-02-10 12:47:23 +00:00
mike12345567 763ea4d8f9 Fix issue with MS-SQL, port needs to be a number for the node-mssql package, with env vars it isn't anymore. 2023-02-10 11:54:16 +00:00
Budibase Release Bot d81dac33c2 Update pro version to 2.3.8 2023-02-10 11:15:55 +00:00
Budibase Release Bot 8585ac4202 v2.3.8 2023-02-10 11:12:21 +00:00
Andrew Kingston e114d6f955
Generate option inclusion constraint (#9647)
* Fix options inclusion constrant not being generated when creating a table from file upload

* Fix 0 being treated as null when specifying min and max constraints for number fields

* Sort newly generated option field inclusion constraints

* Revert previous solution and fix problem by removing incorrect local assignment statement
2023-02-10 11:00:20 +00:00
Budibase Release Bot 9dd7ab6800 Update pro version to 2.3.7 2023-02-10 09:15:43 +00:00
Budibase Release Bot 43df6c14ad v2.3.7 2023-02-10 09:12:01 +00:00
Budibase Release Bot d793b9a94d Update pro version to 2.3.6 2023-02-09 12:01:45 +00:00
Budibase Release Bot 3f6923584a v2.3.6 2023-02-09 11:58:13 +00:00
melohagan e3693154bd
Replace ts-ignore with 400 if needed (#9621) 2023-02-09 11:46:41 +00:00
Rory Powell bc447dc7a1 Bump CI default unit test timeout to 10s 2023-02-09 09:19:31 +00:00
mike12345567 7a76581542 Fix based on testing. 2023-02-08 19:44:17 +00:00
mike12345567 2e4fc1168a Minor fix for the plugin datasource error that occurred when opening apps in an environment where the datasource no longer exists. 2023-02-08 19:17:15 +00:00
Budibase Release Bot 7624d984f8 Update pro version to 2.3.5 2023-02-07 19:20:21 +00:00
Budibase Release Bot 10d4f80313 v2.3.5 2023-02-07 19:16:07 +00:00
Budibase Release Bot 89efb5cbfe Update pro version to 2.3.4 2023-02-07 18:50:22 +00:00
Budibase Release Bot d21ee4eefb v2.3.4 2023-02-07 18:46:27 +00:00
mike12345567 d1892ebce0 Another quick fix. 2023-02-07 18:35:22 +00:00
mike12345567 7c44aaaf00 Merge branch 'develop' of github.com:Budibase/budibase into tests/environment-variables 2023-02-07 18:33:07 +00:00
mike12345567 049f5802ac Fixes based on test runs. 2023-02-07 18:11:33 +00:00
Mateus Badan de Pieri ee73069a51 Merge branch 'develop' into tests/environment-variables 2023-02-07 16:15:57 +00:00
Budibase Release Bot 78f7b52145 Update pro version to 2.3.3 2023-02-07 16:15:11 +00:00
Budibase Release Bot f4b7ca6d7f v2.3.3 2023-02-07 16:11:38 +00:00
Budibase Staging Release Bot 20e8a5e093 Update pro version to 2.3.2-alpha.3 2023-02-07 16:06:06 +00:00
Budibase Staging Release Bot eb1989dc20 v2.3.2-alpha.3 2023-02-07 16:01:59 +00:00
Mateus Badan de Pieri 86ff366dbf update tests
remove comments
2023-02-07 15:47:11 +00:00
Michael Drury 6049897d56
Merge pull request #9368 from Budibase/test/9339-sqlpostgres-row-api-test-suite
Test - #9339 sqlpostgres row api test suite
2023-02-07 15:38:09 +00:00
Budibase Staging Release Bot 894299d1c9 Update pro version to 2.3.2-alpha.2 2023-02-07 15:36:43 +00:00
Budibase Staging Release Bot 8f9e22e715 v2.3.2-alpha.2 2023-02-07 15:32:37 +00:00
Budibase Staging Release Bot 2fbf0e9951 Update pro version to 2.3.2-alpha.1 2023-02-07 15:06:33 +00:00
Budibase Staging Release Bot a98390416d v2.3.2-alpha.1 2023-02-07 15:02:13 +00:00
Budibase Release Bot 31cc64090e Update pro version to 2.3.2 2023-02-07 13:22:51 +00:00
Budibase Release Bot a42002afe5 v2.3.2 2023-02-07 13:17:50 +00:00
adrinr 421865cb37 Cleanup tests 2023-02-07 12:45:41 +00:00
adrinr ef703624bc Fix select statement when no resource 2023-02-07 12:29:58 +00:00
adrinr 3adee52e05 Fix conflicting columns issue 2023-02-07 12:25:02 +00:00
Budibase Staging Release Bot eb33e9736a Update pro version to 2.3.2-alpha.0 2023-02-07 12:00:16 +00:00