Commit Graph

12082 Commits

Author SHA1 Message Date
Adria Navarro 08a6ac3919 Add extra tests 2024-07-22 14:23:18 +02:00
Adria Navarro f91ec1de21 Guard readonly and test 2024-07-22 14:23:17 +02:00
Adria Navarro a799bc1c71 Change 2024-07-22 14:23:17 +02:00
Adria Navarro b75c8b32e3 Field readonly 2024-07-22 14:23:17 +02:00
Adria Navarro 1843233168 Undefined context checks 2024-07-22 14:23:17 +02:00
Adria Navarro 67619364b9 Use expectAutomationId() 2024-07-22 14:23:17 +02:00
Adria Navarro 491266c7ba Add more tests 2024-07-22 14:23:17 +02:00
Adria Navarro 292c87350a Check automation creation 2024-07-22 14:23:17 +02:00
Adria Navarro eaa38c5c2d Return automationid from row action api 2024-07-22 14:23:17 +02:00
Adria Navarro 4a8f15995c Type sdk couchdb fields 2024-07-22 14:23:17 +02:00
Adria Navarro 2970bfc48a Fix update and tests 2024-07-22 14:23:16 +02:00
Adria Navarro faf1d678fa Create automation 2024-07-22 14:23:16 +02:00
Andrew Kingston 296cea14a5
Merge branch 'master' into fix/error-handling-relationship-updates 2024-07-22 11:26:14 +01:00
Sam Rose 41bc9b87c3
Fix tests. 2024-07-19 15:46:48 +01:00
Sam Rose 1704d0e69f
Respond to PR comments. 2024-07-19 15:10:02 +01:00
Sam Rose 3c18cf7c34
Fix tests. 2024-07-19 15:08:48 +01:00
Sam Rose ca31add039
Don't allow a column to be both required and have a default value. 2024-07-19 15:08:48 +01:00
Sam Rose c64d76eb84
Respond to PR comments. 2024-07-19 15:07:58 +01:00
Sam Rose 8a49953449
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing 2024-07-19 15:03:19 +01:00
Dean 4da3155374 Minor change to the error messaging 2024-07-18 15:23:10 +01:00
Dean 2f8a6b9b6b Merge remote-tracking branch 'origin/master' into fix/error-handling-relationship-updates 2024-07-18 14:09:53 +01:00
Sam Rose 481bf9a8b8
Fix generic-sql.spec.ts 2024-07-18 11:40:44 +01:00
Sam Rose df765c1dc7
Merge branch 'master' of github.com:budibase/budibase into support-spaces-as-last-char-in-column-sqs 2024-07-18 11:12:25 +01:00
Sam Rose 5bbdcc1298
Remove unused function. 2024-07-18 11:08:42 +01:00
Sam Rose 0b2a5162a4
Fix the problem, and the tests. 2024-07-18 11:00:10 +01: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
Dean 6b1d16420e Improves error handling around grid relationship cell when handling invalid requests 2024-07-18 09:49:35 +01:00
Adria Navarro f57d8a6147 Fix jest circular references 2024-07-17 17:46:48 +02:00
Sam Rose aea9cda8f5
wip 2024-07-17 15:45:35 +01: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 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
Sam Rose 372153bc97
Accommodate time values in datetime coercion. 2024-07-15 17:27:03 +01:00
Sam Rose dc913385f6
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing 2024-07-15 16:48:36 +01:00
Sam Rose 9542c497de
Create a test for required column with default value. 2024-07-15 16:46:20 +01:00
Sam Rose e39a5b0d7e
Add test for creating a row through views. 2024-07-15 16:44:43 +01:00
Sam Rose 18acaccfcb
Current User binding and tests. 2024-07-15 16:26:15 +01:00
Sam Rose ee0c4187c8
Better error handling of invalid default values. 2024-07-15 12:09:01 +01:00
Sam Rose 297e9003ca
Support bindings in default values. 2024-07-15 11:10:30 +01:00
Sam Rose 12911db06e
Process primitive default values. 2024-07-15 10:43:58 +01:00