Commit Graph

2265 Commits

Author SHA1 Message Date
Adria Navarro b12641e467
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-25 16:09:23 +02:00
Adria Navarro 62eaa11ebb Add trigger 2024-07-25 15:37:49 +02:00
Adria Navarro 22f86be34d
Merge branch 'master' into feat/row-actions 2024-07-25 15:26:50 +02:00
Adria Navarro 15a8907811 Interface 2024-07-25 08:36:31 +02:00
mike12345567 7c6c12f325 Adding a small utility to DB layer for bulk removing documents, this is a problem that Mel ran into, the fact it doesn't default to throwing errors, I've updated a few cases and added functionality for it to maintain compatiability with the old way of doing things (errors silenced). 2024-07-24 18:13:27 +01:00
Adria Navarro 68018a85fb Type 2024-07-24 17:23:18 +02:00
Adria Navarro 3bb3376a82 Format on frontend 2024-07-22 14:31:59 +02:00
Adria Navarro b7a969280f Display data 2024-07-22 14:31:42 +02:00
Adria Navarro b75c8b32e3 Field readonly 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 faf1d678fa Create automation 2024-07-22 14:23:16 +02:00
Adria Navarro 6571d61b86 Persist automation id in row action 2024-07-22 14:23:16 +02: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
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
Sam Rose 12911db06e
Process primitive default values. 2024-07-15 10:43:58 +01:00
Adria Navarro b44397d027 Dont return couch fields 2024-07-12 11:29:00 +02:00
Adria Navarro ba2d6fd73b Renames 2024-07-11 17:16:14 +02:00
Adria Navarro d03a0ebb68 Implement update 2024-07-11 17:08:57 +02:00
Adria Navarro 17fc605e4f Persist as object instead of array 2024-07-11 16:57:32 +02:00
Adria Navarro de04a6f76d Change id 2024-07-11 15:34:48 +02:00
Adria Navarro 3bcbb57baa Add id to each individual action 2024-07-11 15:32:25 +02:00
Adria Navarro 7dbfcc398e Implement create 2024-07-11 10:04:25 +02:00
Adria Navarro bf161d9d93 More types 2024-07-10 15:41:55 +02:00
Adria Navarro 0c2024bf6a Basic get 2024-07-10 13:56:41 +02:00
Adria Navarro 38718968b0 Basic implementation 2024-07-10 13:47:34 +02:00
Sam Rose 093579a341
Respond to PR feedback. 2024-07-10 11:05:16 +01:00
Adria Navarro a7b6004c1c Fix more typings 2024-07-09 15:09:54 +02:00
Adria Navarro 288d48c60d Fix build 2024-07-09 15:04:41 +02:00
Adria Navarro 38f7b88735 Type filters 2024-07-09 14:01:44 +02:00
Adria Navarro 9c6347f7fd Move constants to types 2024-07-09 12:24:59 +02:00
Adria Navarro 7b51799e8d depcheck clean 2024-07-04 11:22:54 +02:00
Dean 2b0c8de389 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-07-03 17:00:23 +01:00
Adria Navarro 19e4e8fdb4 Allow updating email 2024-07-03 12:18:06 +02:00
Dean c5b702ab69 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-07-01 16:48:41 +01:00
mike12345567 3394e974d3 Getting casting working again, have to pass down prefix for checking against fields. 2024-06-27 18:18:41 +01:00
Dean ca44220bd3 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-26 14:30:08 +01:00
Michael Drury 9c92b8eff9
Merge branch 'master' into sustaining/typescript-5.5.2 2024-06-26 11:03:01 +01:00
Dean 5ff8b03378 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-25 12:05:31 +01:00
Peter Clement 1fa18ccfce
Some automation fixes and refactoring (#13870)
* fix issue where booleans were being parsed to null

* refactor looping out of automations

* clean out execute function in orchestrator of looping code

* re-add accidentally deleted file

* remove spec file

* remove log

* move code back into main automation thread

* account portal update

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-06-25 11:17:14 +01:00
melohagan 4ac9b657e5
Remove deprecated properties (#13958)
* Remove deprecated properties

* Fix backend-core test

* Don't run account-portal tests

* Update account-portal ref

* Run account portal unit tests

* Revert "Run account portal unit tests"

This reverts commit b509bf31a4.

* Revert "Update account-portal ref"

This reverts commit 186391fbb6.
2024-06-25 08:26:52 +01:00
mike12345567 ebf8f54bb7 Upgrading to Typescript 5.5.2 2024-06-24 16:41:28 +01:00
Dean d50a8e0746 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-20 10:43:33 +01:00
Michael Drury 223df424fc
Merge branch 'master' into feature/count-rows-to-return 2024-06-19 14:20:31 +01:00
Sam Rose 9866aabd39
Add bulk upsert to row operations list. 2024-06-19 10:49:39 +01:00
Sam Rose 80642100fa
Merge branch 'master' into feature/count-rows-to-return 2024-06-19 09:05:56 +01:00
Sam Rose 5ac8a7d514
bulkImport upsert working everywhere excpet mssql 2024-06-18 17:43:25 +01:00
Peter Clement 2b96cbcad7
Expose old row binding in automations (#13931)
* expose old row through the emitter

* accidentally added oldRow to step

* fix row fetch in external datasources

* add test for new / old row comparison

* add testing for old row update event

* allow function overloading in test files

* update tests per comments

* handle event race condition

* update test data modal to account for old row output

* switch icon positioning
2024-06-18 13:45:58 +01:00
mike12345567 03b82c0923 Merge branch 'master' of github.com:Budibase/budibase into feature/count-rows-to-return 2024-06-17 13:41:40 +01:00
Sam Rose 6516a01657
Merge branch 'master' into uncomment-search-test-todos 2024-06-17 13:34:53 +01:00
melohagan 9ecf82e0f6
Add endpoint to GET tenant info from tenant global DB. (#13923)
* Add GET tenant info endpoint

* Add GET global tenant to endpoint list.

* Use correct not found code

* Fix unit test

* Code review comments

* Ignore account portal check types

* remove account-portal-ui from type check ignore

* Remove ignore account-portal-ui from type check
2024-06-17 09:22:44 +00:00