Commit Graph

258 Commits

Author SHA1 Message Date
Peter Clement f3c5a2b973
Merge branch 'master' into fix/automation-adjacent-bugs 2024-11-26 10:02:05 +00:00
Peter Clement 2a3f943957 fix issue where bindings where incorrect in automations 2024-11-22 11:30:46 +00:00
Sam Rose 889d3158e8
Bypass transformers that are trivial, allow users to configure bson buffer size. 2024-11-19 11:34:15 +00:00
Peter Clement 7072acfa1b
Merge branch 'master' into fix/issue-with-looping-iterations 2024-11-06 17:04:03 +00:00
Peter Clement 822f52ad4a remove logs 2024-11-06 17:00:32 +00:00
Peter Clement 7bbbaadea4 Issue where looping wasn't working due to missing context 2024-11-06 16:59:44 +00:00
Dean 23a3643859 Added offset for loop automation context updates. The error cases and feedback were displaying in the wrong steps. 2024-11-05 16:05:35 +00:00
Peter Clement 09e5bad62e Fix issue with branching bindings 2024-11-04 09:42:33 +00:00
Adria Navarro 3779c7f6c7 Typing 2024-10-30 17:13:03 +01:00
Adria Navarro b510d04129 Simplify 2024-10-30 17:02:34 +01:00
Adria Navarro 7aad0d6e92 Type branch filters 2024-10-30 17:00:09 +01:00
Dean 11d24db255 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-28 12:00:33 +00:00
Sam Rose 407484bbe5
Respond to PR comments. 2024-10-25 16:21:10 +01:00
Sam Rose 0875ac817c
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 10:51:29 +01:00
Dean fb17881ea3 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-23 09:23:01 +01:00
Peter Clement 09695fabd6 extract necessary user bindings and add types 2024-10-22 10:52:52 +01:00
Peter Clement a26b64bb03 pass user through to automation context 2024-10-18 15:08:18 +01:00
Sam Rose 3fc170c16b
Add settings to automation context. 2024-10-15 17:33:32 +01:00
Peter Clement 030022adad lint 2024-10-14 09:37:30 +01:00
Peter Clement b304d1d622 changes to support automation conditions on both sides of evaluation 2024-10-14 09:30:05 +01:00
Dean 9382ca4c0b Branching UX updates, fix for looping results and general failure results for automations. Added fix for stacking currentItem loop bindings 2024-10-11 16:20:26 +01:00
Peter Clement f00593ff26 pr comments 2024-10-01 12:25:41 +01:00
Peter Clement 5d31976835 updated automation thread to use ids and test 2024-09-30 13:08:11 +01:00
Peter Clement 5ef0e48ee0 add back space 2024-09-27 10:21:52 +01:00
Peter Clement f03ed03794
remove space
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-27 10:05:05 +01:00
Peter Clement acdcd02fcd Fix small issue with conditions in branches 2024-09-27 09:12:50 +01:00
Peter Clement 2cdbf4190b Merge remote-tracking branch 'origin/master' into feat/automation-step-naming-updates 2024-09-12 14:10:52 +01:00
melohagan 49a4e252c6
Allow an account holder to login to account-portal if the tenant has been deleted. (#14547)
* Add email to session for populate user

* Add email param

* use param object

* Type fix for tests

* Fix test

* Temporarily remove account-portal tests
2024-09-12 08:38:11 +00:00
Peter Clement 60dd500ecb rename func 2024-09-11 15:12:50 +01:00
Peter Clement 56b727a245 uneeded boolean 2024-09-11 15:00:39 +01:00
Peter Clement 1947000f0c update case where no branch condition is met 2024-09-11 14:50:52 +01:00
Peter Clement 2d4ac7fced remove logs 2024-09-11 11:40:06 +01:00
Peter Clement abaa40a272 automation steps using names 2024-09-10 17:09:42 +01:00
Peter Clement 452ff17e1f
Merge branch 'master' into fix/automation-context-bug 2024-09-04 17:54:15 +01:00
Peter Clement 9782ddb9ee missing param 2024-09-04 15:29:07 +01:00
Peter Clement 5e4b2fa500 use .call 2024-09-04 15:13:11 +01:00
Peter Clement 3a8a8b1195 fix issue with multiple loops breaking automation context 2024-09-04 14:54:47 +01:00
Peter Clement 56641e06c3 re-add branch step to outputs 2024-09-03 11:10:30 +01:00
Peter Clement 66fdf03398
Refactor automation orchestrator to support branching (#14461)
* refactor automation thread

* fix infinite loop in branching

* remove try catch

* remove spacing

* remove unecessary addition of branch outputs

* pr comments

* remove loopstep instance variable

* add test to cover failure scenario

* add tests for other automationf ailure conditions

* update test name

* use private keyword instead of underscore

* parse int / string safely

* fix refs

* add condition support for branching and tests

* create helper function for recursing all search filters

* move helper func

* fix import
2024-09-03 08:33:41 +00:00
Peter Clement f15847a40f
More automation typing in preparation for branching (#14378)
* More typing for automations

* undo test updates

* remove casting of loop step and add more types

* remove unused type

* pro

* Update types and fix ts issues

* add branching types

* remove any cast

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
Peter Clement 8539f6d853
Add helper function / builder for creating Automations for tests and improved types (#14220)
* basic class for generating and running an automation

* change filename

* add to existing tests

* remove dupe tests

* add types to automation steps

* add types to triggers

* update tests and typing

* fix types

* typo

* move all step schema types do types folder

* updated types

* typing pr comments

* remove unused param

* some more typing and tests

* more typing

* improve type map

* fix broken type

* this will surely fix my issue
2024-07-31 22:18:00 +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
mike12345567 38ff7debb4 Linting. 2024-06-03 12:08:54 +01:00
mike12345567 26a0801b75 Linting. 2024-06-03 10:15:16 +01:00
mike12345567 4a1f24d0d8 Fixing an issue with default parameters not being passed into dynamic parameters. 2024-05-31 16:08:10 +01:00
Peter Clement 2149b7dc57 fix issue where automation meta fields were being overridden 2024-04-11 11:31:26 +01:00
Sam Rose a8ae839186
Tidy up function rename. 2024-04-03 17:03:10 +01:00
Sam Rose 869ed4256e
Merge master. 2024-03-25 14:13:48 +00:00
mike12345567 5b1db96129 Fixing typing issue. 2024-03-22 12:05:55 +00:00
Sam Rose 08fecca9f2
Delete query.seq.spec.ts 2024-03-22 12:00:26 +00:00