Sam Rose
406410d916
Add DataDog tracing to automations.
2023-12-19 15:57:56 +00:00
melohagan
3697ff3efc
Support Barcode, BigInt and User column types in automations ( #12610 )
...
* Support barcode and bigint in automations
* Support users in LinkedRowSelector
* Fix clear relationships if empty
* Make sure clearRelationships is initialised to false
* Revert yarn lock
* Refactor
* Refactor
2023-12-19 10:26:28 +00:00
Adria Navarro
db2c20e3ae
eslint import/newline-after-import
2023-11-20 21:52:29 +01:00
Adria Navarro
92f411bf77
Prettier
2023-11-20 21:48:49 +01:00
Adria Navarro
4d27ff1dc0
eslint import/no-duplicates
2023-11-20 21:48:49 +01:00
Adria Navarro
742eb4ff46
Lint fix
2023-11-20 15:36:55 +01:00
Sam Rose
e3a4c34f8d
Pass types through context callbacks.
2023-11-08 16:17:24 +00:00
Sam Rose
fdfda100c1
Ensure that the DB always returns Documents.
2023-11-07 18:14:52 +00:00
Sam Rose
f21addeb71
Add another test to make sure relationships are cleared when asked.
2023-11-06 17:34:30 +00:00
Sam Rose
2684b73768
Fix type error.
2023-11-06 16:40:27 +00:00
Sam Rose
b02512fd3c
Create a test of a table with 2 link fields in updateRow.spec.ts.
2023-11-06 15:56:58 +00:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant.
2023-10-17 16:46:32 +01:00
melohagan
b4e0d98973
Add bindings support to meeting start / end dates ( #11759 )
...
* Deprecate zapier+make values1..5
* Allow dates in meeting invite to be bindable
* Add DrawerBindableSlot component
* Show calendar icon
* refactor
* Use cancel icon
* Disable cancel for JS bindings
* WIP
* WIP
* WIP
* Fix linkedIds svelte binding
* Label and icon update
* Handle arrays
* Support text area
* Add reactivity to text area icon
* Support boolean
* JSON support
* Remove rowControl
* Allow boolean field to have three states
* lint
* Refactor
---------
Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-09-29 09:15:36 +00: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
7110351bdc
Revert "revert develop into master"
...
This reverts commit fd099658a0
.
2023-08-18 14:33:21 +01:00
Michael Drury
df31fb1b8d
Merge branch 'develop' into fix/automation-improvements
2023-08-17 17:35:02 +01:00
mike12345567
e174211440
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-08-17 17:34:44 +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
melohagan
b57a8c1130
Move when filter empty option into filter drawer ( #11262 )
...
* Add when filter empty dropdown
* Add unit tests
* "fix" typescript issue
* Add empty filter check for external
* Add unit test
* Hide empty filter option for custom query
* Make onEmptyFilter optional
* Fix unit tests
* Remove onEmptyFilter automation input
* Remove unused var
* Refactor
* Fix path
* Fix type issue
* Fix types
2023-08-17 13:31:52 +01:00
Martin McKeaveney
fd099658a0
revert develop into master
2023-08-17 10:28:15 +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
Michael Drury
08e663a8d3
Merge branch 'master' into budi-7350-filter-equal-for-numbers-not-working-in-data-providers
2023-08-10 16:28:59 +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
Mel O'Hagan
8c61359b9d
Allow user specified type casting in MySQL queries
2023-08-03 17:23:15 +01:00
Adria Navarro
559f52d904
Lint
2023-08-01 13:36:38 +02:00
Adria Navarro
ff7120cf7a
Fix types on tests
2023-08-01 12:57:44 +02:00
Adria Navarro
39ba4a544a
Fix mocks
2023-07-28 17:11:48 +02: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
Adria Navarro
20635ae2ff
Type and fix test
2023-07-17 12:18:57 +02:00
melohagan
c0578d4cc2
Send meeting invite via automation email smtp ( #10787 )
...
* Pass calendar props into sendSmtpEmail
* Add calendar event to message
* Add Checkbox and DatePicker automation field UI
* Add URL prop
* Add url to sendSmtpEmail unit test
* Refactor
* Code review comments
* Make location optional
* Add EmailInvite type
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-06-08 14:25:35 +01:00
Rory Powell
abbd8c5c8b
Merge branch 'master' into develop
2023-06-05 23:19:43 +01:00
Rory Powell
b0783d373a
Lint
2023-05-30 19:16:36 +01:00
Rory Powell
6230e62b9b
Automation investigation logging + max doc size fix for automation log
2023-05-30 16:37:39 +01:00
Peter Clement
5a73b02827
update feature array to be an object
2023-05-26 11:02:47 +01:00
Peter Clement
70dfd9e8e5
Merge remote-tracking branch 'origin/develop' into feature/sync-automations
2023-05-26 09:26:51 +01:00
Martin McKeaveney
f86d321e2e
restrict openai just to self host
2023-05-24 17:17:23 +01:00
Martin McKeaveney
db5d051755
GPT4 support
2023-05-24 15:26:27 +01:00
Martin McKeaveney
bbab2a9adc
merge
2023-05-24 11:25:49 +01:00
Peter Clement
6818e4debb
check collection actually exists
2023-05-23 16:12:20 +01:00
Peter Clement
a8e40d711b
uneeded input value
2023-05-22 15:53:20 +01:00
Peter Clement
754b30dd5c
add features property to automation defintions
2023-05-22 15:46:42 +01:00
Andrew Kingston
15ff635c6e
Merge pull request #10591 from Budibase/fix/automation-filtering
...
Fix automation filtering on number fields
2023-05-22 13:12:35 +01:00
Peter Clement
e1eda14204
move sync automations away from bull and call directly
2023-05-18 17:01:53 +01:00
Peter Clement
f680fbd822
Merge remote-tracking branch 'origin/develop' into feature/sync-automations
2023-05-18 11:35:25 +01:00
Rory Powell
a685f181da
Merge branch 'master' into develop
2023-05-18 09:10:51 +01: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
Rory Powell
42f472b038
Type updates for automation jobs
2023-05-17 12:26:07 +01:00
Andrew Kingston
1bfe823bce
Fix filtering in automations not accounting for number prefixes in filter expression
2023-05-15 17:45:09 +01:00
Peter Clement
007f5ca8a9
Merge remote-tracking branch 'origin/develop' into feature/sync-automations
2023-05-15 15:19:44 +01:00
Peter Clement
dcfb65b92d
sync / async automations go through one endpoint
2023-05-12 15:56:24 +01:00
melohagan
395cf4a667
Add JSON payload support for Make and Zapier ( #10529 )
...
* Rename Integromat to Make. Update logo.
* Add JSON type for automations
* Support deprecated values in JSON
* Fix json query editor width bug
* Push body to schema if missing
* Support JSON body
* Add JSON payload support for Zapier
* Update packages/server/src/automations/steps/make.ts
Co-authored-by: Martin McKeaveney <martin@budibase.com>
* July -> November
* Add unit tests
---------
Co-authored-by: Martin McKeaveney <martin@budibase.com>
2023-05-11 17:49:33 +01:00
Peter Clement
1626571081
Merge remote-tracking branch 'origin/develop' into feature/sync-automations
2023-05-11 11:53:12 +01:00
Peter Clement
1539bf234b
add ability to trigger synchronous automation from button action
2023-05-09 12:10:20 +01:00
Peter Clement
ac57a849ce
add collect bloc definition
2023-05-09 12:04:32 +01:00
Peter Clement
9b66b30969
add property to denote if step can be looped
2023-05-09 12:04:16 +01:00
melohagan
25b42f0a28
Rename Integromat to Make. Update logo. ( #10492 )
2023-05-05 12:41:24 +01:00
Martin McKeaveney
e70e3ae662
rename
2023-04-26 15:58:21 +01:00
Martin McKeaveney
4f020a4db4
lint
2023-04-26 15:56:46 +01:00
Martin McKeaveney
84f52683b2
chatgpt automation block
2023-04-26 15:55:44 +01:00
mike12345567
ac37d00f69
Updating plugins to have a SDK, which can be used for automation action retrieval as well as datasources.
2023-04-11 16:37:26 +01:00
Michael Drury
1c7c06e983
Bulk of the automation plugin system, supporting custom plugins.
2023-04-10 23:48:54 +01:00
Michael Drury
4badd04e33
Some automation fixes and adding option to disable logging for CLI.
2023-04-10 22:33:53 +01:00
mike12345567
400a112a4b
Refactoring automation steps to be better defined in Typescript, which allows writing the validator for automations.
2023-04-06 18:11:44 +01:00
Rory Powell
d6992bbf94
Merge branch 'master' into merge-master-develop
2023-03-29 11:52:09 +01:00
mike12345567
cf5316ec8d
General fixes for open handles, attempting to find and close all issues in server which are stopping shutdown of Jest suite.
2023-03-27 19:38:49 +01:00
Peter Clement
bd7c91b1bd
Fix automation saving issue
2023-03-10 14:47:26 +00:00
melohagan
a8f873fff3
Try/catch automation Create Row relationship ( #9924 )
...
* Try/catch
* Increase height of automation test output
* Unit tests
* lint
2023-03-08 13:39:18 +00:00
mike12345567
f7f9e63fe8
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-02-21 16:53:28 +00:00
melohagan
8fe0cdf89f
Handle webhook errors ( #9715 )
2023-02-16 16:23:44 +00:00
Adria Navarro
5ee9073d9b
Merge pull request #9419 from Budibase/feature/dependencies-image
...
Chore - use testcontainers
2023-02-06 09:09:07 +00:00
Martin McKeaveney
d4a0e44b31
merge
2023-02-05 22:11:37 +00:00
adrinr
420cb36ca7
Replace beforeeach for before alls
2023-02-03 19:02:40 +00:00
melohagan
919323b500
Fix/automation update deletes relationship ( #9468 )
...
* Add padding to text field input
* Apply padding to modal binding input
* Support relationships in automation bindings
* Trim automation field keys
* Trim automation field name
* Empty string check
* Add checkbox for clearing relationships update row
* Added state for automation field metadata
* clearRelationships updateRow check
* Padding tweak
2023-01-31 10:11:56 +00:00
adrinr
7027abeaa2
Fix issues with parallel tests and self/cloud modes
2023-01-26 18:20:21 +00:00
mike12345567
b38399cb74
Adding test cases as per PR comments.
2023-01-26 18:20:21 +00:00
Adria Navarro Redo
6a4fe1d5e6
Fix automation test
2023-01-26 18:20:21 +00:00
mike12345567
697cd8b4ea
Adding test cases as per PR comments.
2023-01-25 18:27:58 +00:00
Rory Powell
fba7ef26ad
Replace ts-jest with swc/jest ( #9289 )
...
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00
Peter Clement
9d841bc947
Server and Worker tests ( #8928 )
...
* automation unit tests
* row processor tests
* update executeQuery test
* update groups assertion
* some more worker tests
* plugin tests and tidying up
* linting
* temporarily disable group tests
* more tests
* fix import
* fix backup tests
* add pro mocks to worker
* check for app existence in import test
* test new tsconfig
* testing changes
* Pro test utils (#9020 )
* Pro test utils changes
* Add test fixes
* Remove ts-ignore
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-12 22:02:32 +00:00
mike12345567
a02e9017ec
Final fixes after re-running all test suites.
2022-11-28 19:12:23 +00:00
mike12345567
3aeb6653c6
Some fixes after re-running server tests.
2022-11-28 18:14:10 +00:00
mike12345567
658f12281d
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
a3bb2e0d77
Automation overhaul to Typescript, plus type updates.
2022-11-25 19:57:07 +00:00
mike12345567
02ede5d067
Finally removing all usages of backend-core/ type imports from server, including some further typescript conversions.
2022-11-22 19:49:59 +00:00
mike12345567
c6366c573a
Final server test fixes, after all updates to context/removal of context faking.
2022-11-15 19:04:39 +00:00
mike12345567
bc94f20794
Typescript conversions - trying to get all of context/db layer into TS.
2022-11-11 11:57:50 +00:00
Martin McKeaveney
87717ebdf5
merge with master
2022-10-31 13:44:23 +00:00
mike12345567
51251b1fe2
Adding backup queue to bullboard if enabled.
2022-10-26 18:50:40 +01: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
Mel O'Hagan
7166a48382
Unused import
2022-10-25 15:19:46 +01:00
Mel O'Hagan
e11f4932d3
Handle multiple automation loop bindings
2022-10-25 15:19:07 +01:00
Rory Powell
56456f3f6d
Startup fixes
2022-10-25 13:37:26 +01:00
mike12345567
0bd2a18e46
Main types and work for the CRUD operations of app backup backend in pro + the listeners to handle exporting apps from the server.
2022-10-14 19:24:03 +01:00