Commit Graph

33108 Commits

Author SHA1 Message Date
Budibase Staging Release Bot 8098b48dbd Bump version to 2.29.21 2024-07-18 10:50:31 +00:00
Peter Clement 7fd55fe27d
Automation trigger filtering (#14123)
* backend for triggering automation based on filters

* frontend for handling triggering automations on filter / old row

* lint and bug fix

* fix issue with test header

* make test data optional

* improve safety on trigger gate

* add support for running trigger with filter if no change happened but filter matches

* update var naming to actually make sense

* tests

* fix lint

* improve gating for shouldTrigger check

* remove unecessary cast

* unecessary tableId check

* frontend text updates

* resolving comments

* pro

* Update packages/types/src/documents/app/automation.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* link out to docs for trigger filtering

* fix pro

* more pr comments

* use getAppId

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-07-18 10:38:15 +01:00
Adria Navarro 5e3bec86ed
Merge pull request #14191 from Budibase/BUDI-8430/automation-code-away-from-controller
Move automation code away from controller
2024-07-17 17:56:57 +02:00
Adria Navarro f57d8a6147 Fix jest circular references 2024-07-17 17:46:48 +02:00
Adria Navarro 88aa0fc9cf Fix types 2024-07-17 16:40:19 +02:00
Adria Navarro 812afdb85e Fix tests (breaking because of mutating objects...) 2024-07-17 16:28:46 +02:00
Adria Navarro 166d8fac5e Use relative paths 2024-07-17 13:43:25 +02:00
Adria Navarro 53d6219b79 Extract find and fetch 2024-07-17 13:32:45 +02:00
Adria Navarro dc47037dbb Move update and remove 2024-07-17 13:26:40 +02:00
Adria Navarro 373aeac00f Move automation creation to sdk 2024-07-17 13:10:19 +02:00
Adria Navarro 68dea69cc1
Merge pull request #14190 from Budibase/BUDI-8428/prevent-duplicated-names
Prevent duplicated names on row actions
2024-07-17 12:47:46 +02:00
Adria Navarro 3411411c3f
Merge pull request #14152 from Budibase/BUDI-8428/row-action-crud
Row action CRUD endpoints
2024-07-17 12:46:59 +02:00
Adria Navarro 13c6ad9924 More tests 2024-07-17 12:30:31 +02:00
Adria Navarro 371a3ad8ec Ensure unique on updates 2024-07-17 12:26:36 +02:00
Adria Navarro 8297a58270 Ensure unique names 2024-07-17 12:18:09 +02:00
Adria Navarro c51d2cd431 Trims names 2024-07-17 12:16:14 +02:00
Adria Navarro 7fb13b757b Use .string instead of .work 2024-07-17 11:52:29 +02:00
Adria Navarro b1cfdc4f25 Clean code 2024-07-17 11:15:55 +02:00
Adria Navarro 9a7470a943
Merge branch 'master' into BUDI-8428/row-action-crud 2024-07-17 11:08:23 +02:00
Martin McKeaveney 5b62ea529a
Merge pull request #14037 from Budibase/chore/verify-ethereal
Script to verify ethereal
2024-07-15 16:30:49 +01:00
Sam Rose e04e3a3d84
Merge pull request #14162 from Budibase/less-greater-than-equal-tests
Less/Greater than or equal to search test cases
2024-07-15 15:02:55 +01:00
Sam Rose 17575177fe
Merge branch 'master' into less-greater-than-equal-tests 2024-07-15 14:53:59 +01:00
Conor Webb ab679ac85d
Add the option to use bindable inputs in your confirmations (#14138)
Co-authored-by: deanhannigan <deanhannigan@gmail.com>
2024-07-15 13:01:08 +00:00
deanhannigan f6141af91f
Merge pull request #14174 from Budibase/fix/app-title-alignment
Fix for App title text alignment not persisting
2024-07-15 12:26:47 +01:00
deanhannigan bc40d20206
Merge branch 'master' into fix/app-title-alignment 2024-07-15 12:21:01 +01:00
Dean 0a50ab284f Title text alignment was not being saved to the app metadata. 2024-07-15 11:12:26 +01:00
mike12345567 19ff925dec Adding test cases for less than/greater than or equal to, there was no test cases confirming these definitely work. Also aligning the test cases with how the frontend performs these tests today. 2024-07-12 18:09:29 +01:00
Budibase Staging Release Bot ec8c6edf68 Bump version to 2.29.20 2024-07-12 14:11:15 +00:00
Michael Drury b7703428a3
Merge pull request #14157 from Budibase/fix/default-table-dupes
Default table - in-memory/on-disk representation duplicates
2024-07-12 14:25:38 +01:00
mike12345567 745a05fe8d Updating how the 'merging' is handled, don't include the in-memory representation if it exists on disk in Couch, prefer that. 2024-07-12 13:54:55 +01:00
mike12345567 79c292538c There is a risk with default tables that the schema may exist in the DB as well as existing in memory - in this case we should merge the schemas to make sure that all possible attributes from the in memory representation, and the on disk version (which may have been updated by the user) have been captured in the SQLite schema. 2024-07-12 13:51:06 +01:00
Adria Navarro 1c69cfaeda Fix initialisation 2024-07-12 12:32:36 +02:00
Adria Navarro f06d0a5cd6 Clean 2024-07-12 12:17:37 +02:00
Adria Navarro 50c8449f4b Add extra test 2024-07-12 12:17:37 +02:00
Adria Navarro 99b4aae7de
Merge branch 'master' into BUDI-8428/row-action-crud 2024-07-12 11:53:12 +02:00
Adria Navarro 5ff9599e3a
Merge pull request #14151 from Budibase/chore/unify-utils
Unify duplicated newid utils
2024-07-12 11:46:18 +02:00
Adria Navarro 0e8d216e22 Unify newid 2024-07-12 11:36:18 +02:00
Adria Navarro b44397d027 Dont return couch fields 2024-07-12 11:29:00 +02:00
Budibase Staging Release Bot 6440280b44 Bump version to 2.29.19 2024-07-12 09:21:31 +00:00
Adria Navarro 578281fb2e
Merge pull request #14133 from Budibase/return-unauthorized-instead-of-forbidden
Return 401 instead of 403
2024-07-12 11:17:10 +02:00
Adria Navarro c0a0e860fa
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-12 11:07:11 +02:00
Sam Rose 8dd7e3a653
Merge pull request #14150 from Budibase/fix-flake-2
Fix a very rare flake in row.spec.ts.
2024-07-12 10:06:41 +01:00
Sam Rose 4c4e7c12de
Fix a very rare flake in row.spec.ts. 2024-07-12 09:39:38 +01:00
Adria Navarro 1f2dab71eb
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-12 01:34:17 +02:00
Michael Drury 03bc545c3f
Merge pull request #14144 from Budibase/fix/sqs-no-table-column
Re-sync SQS definitions consistently
2024-07-11 17:25:35 +01:00
mike12345567 9129e47dd9 PR comment 2. 2024-07-11 17:09:41 +01:00
mike12345567 5b1850d28f PR comments. 2024-07-11 16:41:12 +01:00
mike12345567 1e189450c0 Switching to regex. 2024-07-11 16:38:30 +01:00
mike12345567 6db0379504 Resync if it is found that a table or column is missing, this was previously done for specific cases but have expanded to cover all, but only retry once (not get into an infinite loop). 2024-07-11 16:35:57 +01:00
Adria Navarro 2035713b9c Implement delete 2024-07-11 17:33:40 +02:00