Sam Rose
4329e1274c
Implement APM and metrics on our bull queues.
2025-03-27 11:49:09 +00:00
Sam Rose
4f936ae2ed
Merge master.
2025-02-20 09:20:07 +00:00
Sam Rose
ddf64b9f70
Improve APM traces around automations.
2025-02-19 16:51:09 +00:00
Sam Rose
2a4da79d85
Merge master.
2025-02-18 11:47:18 +00:00
deanhannigan
b54f287732
Merge branch 'master' into execute-script-v2
2025-02-18 09:48:49 +00:00
Sam Rose
8c84a715cf
Add tests for cron stopping.
2025-02-17 17:39:38 +00:00
Sam Rose
2eb3a9fcd8
More refactoring.
2025-02-13 17:44:48 +00:00
Sam Rose
3f104cb2ab
Big automation refactor. Down to 11 test failures.
2025-02-13 12:02:23 +00:00
deanhannigan
e3ea844b9d
Merge branch 'master' into execute-script-v2
2025-02-06 09:05:55 +00:00
Sam Rose
bd6d6534be
Some typing improvements in automation queues.
2025-02-04 15:14:58 +00:00
deanhannigan
628e64ff3e
Merge branch 'master' into execute-script-v2
2025-02-04 11:42:12 +00:00
Sam Rose
32b0e34b66
respond to pr feedback
2025-02-04 10:56:08 +00:00
Sam Rose
f450cf6912
Move trigger definitions to shared-core.
2025-02-03 10:46:03 +00:00
Sam Rose
6dafe79e67
Tweak styling of new component, add deprecation warning to old component.
2025-01-15 12:24:33 +00:00
mike12345567
c073500d50
Metadata API.
2024-12-02 17:42:46 +00:00
mike12345567
b2b74aa048
Automation API typing.
2024-11-29 17:00:24 +00:00
Adria Navarro
cbf0cf76d3
Use timestamp from runtime
2024-11-06 12:39:56 +01: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
mike12345567
8a7e0793d4
Linting.
2024-07-30 16:07:09 +01:00
mike12345567
8f7a88ce86
Moving logic to frontend - definitions are returned unless they are deprecated, frontend decides which it can use to create.
2024-07-30 16:04:33 +01:00
mike12345567
76652ddab5
Fixes some issues with row actions which were allowing them to be added from the automation section (which is not allowed) as well as breaking app access once they were added - this hides them properly so they can't be added as well as fixing the issue when they exist.
2024-07-30 15:07:34 +01:00
Adria Navarro
f57d8a6147
Fix jest circular references
2024-07-17 17:46:48 +02:00
Adria Navarro
0e8d216e22
Unify newid
2024-07-12 11:36:18 +02:00
Conor Webb
3c74d29cf6
Added the ability to disable automations ( #13667 )
...
* Added disabling functionality for automations
* Removed external trigger automations that are disabled from selectable bindings
* Added new popover option for disabling automations
* Added toggle UI Inside automation screen
* Added subtle styling to automation list for disabled functionality.
* Fixed linting error
* Removed duplicate bbui import
* Fixed store function spacing
* Fixed linting issues.
* Added the requested changes to how disable is handled.
* Fixed linting issues.
* Minor UI tweaks based on feedback.
* Added logic to prevent crons type automations from running when disabled.
* Removing webhook disable, causes trigger url to be re-generated.
* Add unit test to ensure disabled automations are filtered out of the active queue
* Fixed lint issues
* Reverted disabled unit test
* Added error throw for disabled automations
* Add test for when a disabled automation gets triggered
* Added try, catch for trigger function - error handling
* Fixed linting issues
2024-05-20 15:13:08 +01:00
Peter Clement
2660149fea
move constant to shared-core
2024-02-13 15:14:03 +00:00
mike12345567
8bf79c5f10
Adding some basic cron validation to publishing, currently the error is not explained if it is hit - still need some frontend for this, but this now means that an error is provided to users when attempting to publish, and we can re-use this validation in the automation UI. Need to have both backend and frontend validation as invalid CRONs will already exist, backend makes sure these are error'd on.
2024-02-09 18:04:40 +00:00
Sam Rose
642b75e0ae
Revert "Remove all custom tracing to see if it's the cause of the memory leak."
2024-01-02 11:36:32 +00:00
Sam Rose
3c0901f530
Remove all custom tracing to see if it's the cause of the memory leak.
2023-12-21 11:06:05 +00:00
Sam Rose
406410d916
Add DataDog tracing to automations.
2023-12-19 15:57:56 +00:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant.
2023-10-17 16:46:32 +01:00
mike12345567
d096f359d7
Revert "Revert "Merge branch 'develop' into master""
...
This reverts commit 3265042025
.
2023-09-05 12:28:56 +01:00
Rory Powell
64af549341
Revert "Merge pull request #11489 from Budibase/fix/automation-disable"
...
This reverts commit e6319cce67
, reversing
changes made to 7c12280fe3
.
2023-09-01 15:12:23 +01:00
Martin McKeaveney
3265042025
Revert "Merge branch 'develop' into master"
...
This reverts commit 99adc2039b
, reversing
changes made to fec20e526e
.
2023-08-29 14:27:39 +01:00
mike12345567
95b8a4ea10
Adding feature flagging, the option to only start the automations, or the API, meaning we can split the service if needed.
2023-08-17 16:39:25 +01:00
mike12345567
9489e309b5
Improving logging of publishing around CRON jobs, try to understand what is being disabled/created.
2023-08-16 18:12:21 +01:00
mike12345567
a3a8d35b8d
Adding logging of start, end and duration from automation logs.
2023-08-09 16:58:46 +01:00
mike12345567
63006e36d4
Adding the ability to disable an automation, as well making sure that automations have steps before running.
2023-08-09 16:24:57 +01:00
Adria Navarro
58c59eba5e
Remove unused db usages
2023-07-18 12:00:02 +02:00
Adria Navarro
2698e47ec4
Type internal db.get
2023-07-18 11:41:51 +02:00
Rory Powell
55ee94892a
Support setting object name for logged json objects
2023-05-17 22:18:50 +01:00
Rory Powell
f41b134d31
Refactor to use param for doInAutomationContext
2023-05-17 14:57:29 +01:00
Rory Powell
578b599428
Lint
2023-05-17 14:10:22 +01:00
Rory Powell
ad37186665
Logging updates for automations
2023-05-17 13:54:20 +01:00
mike12345567
bc94f20794
Typescript conversions - trying to get all of context/db layer into TS.
2022-11-11 11:57:50 +00:00
mike12345567
a24694a4ea
Refactoring a lot of content around webhooks to Typescript, as well as fixing webhooks and automation app IDs on import of new app.
2022-10-25 18:19:18 +01:00
mike12345567
b702c7482a
Fixes for cronjob stop - correctly handle this without stalled job handle.
2022-10-14 13:26:42 +01:00
mike12345567
b6ca14aa85
Renaming some queue to automationQueue, getting build working.
2022-10-13 17:39:26 +01:00
Rory Powell
79226777b1
Merge develop
2022-09-28 08:56:45 +01:00
mike12345567
dae6a6b81c
Fixing minor issue with automation quota updates.
2022-05-30 14:06:42 +01:00
mike12345567
723b96c5a5
Adding the ID inputs for the quota breakdown functionality.
2022-05-26 16:01:10 +01:00