Adria Navarro
4dedde5165
Add missing rowaction
2024-10-24 13:51:44 +02:00
Adria Navarro
342d70b326
Proper typing
2024-10-24 13:42:01 +02:00
Adria Navarro
47e16dd844
Typing emitter
2024-10-24 13:07:13 +02:00
Peter Clement
94ebd7c6ef
update automation emitter
2024-10-22 14:36:15 +01:00
Peter Clement
bce430b57c
pr comments
2024-10-22 12:03:16 +01:00
Peter Clement
a26b64bb03
pass user through to automation context
2024-10-18 15:08:18 +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
Peter Clement
8a90a1a3e4
pr comments
2024-01-23 10:10:38 +00:00
Peter Clement
00fda6af41
update emitter to account for a new chaining property
2024-01-18 16:38:34 +00:00
Adria Navarro
8492ef18fa
Ignore 409 errors on user syncs
2023-06-09 12:36:09 +01:00
mike12345567
b4e6cbce7a
Some final updates to get tests passing again, issue with publisher tenant ID being the 'unique' format which cannot actually be used.
2023-04-17 15:59:59 +01:00
mike12345567
453d5cc0e6
Further PR comments.
2023-04-17 14:03:54 +01:00
Michael Drury
ef5bcc4b66
Main body of PR comments, switching event handling to be a publisher of async events, a generic event; then adding a new async document update processor, which can later be converted to be part of the event processing pipeline.
2023-04-15 00:37:22 +01: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
mike12345567
658f12281d
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
7eac8fafd6
Some server typescript re-writes, only automations left and some controllers.
2022-11-25 15:01:46 +00:00
Rory Powell
6cdcfe18c8
Disable automation chaining in cloud
2022-08-23 12:35:53 +01:00
mike12345567
a88ce0d608
Attempting to fix the issue with 4001, this updates the cypress tests so that it is easier to change the port on which it runs as well as updating the electron usage of the app to use port 0 (an ephermeral port).
2021-02-03 16:09:48 +00:00
mike12345567
5a7c0de397
Adding jest test cases to string templating library.
2021-01-19 17:29:38 +00:00
mike12345567
cdef4ead8c
Removing mention of mustache from the server package.
2021-01-15 14:38:10 +00:00
mike12345567
837778c250
Fixing test case and also making sure that external trigger does what its expected to.
2020-12-07 17:55:35 +00:00
mike12345567
63f38ce99d
Making chaining of automations through different row creation/deletions possible.
2020-12-07 17:23:53 +00:00
mike12345567
5b2be03bc3
Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now.
2020-10-29 10:28:27 +00:00
mike12345567
5d49d529e3
Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing.
2020-10-09 19:10:28 +01:00
mike12345567
fdaa69ee7f
Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet.
2020-10-09 18:49:23 +01:00
mike12345567
e798fca33b
Fixing issue with modelId being returned from API causing next model update to cause model to be returned as a record from model record view.
2020-09-29 18:03:29 +01:00
mike12345567
7e3715d88a
Some groundwork for the linked records, building up a much more in-depth emitter for models and records to drive the record cleanup.
2020-09-25 18:05:26 +01:00
mike12345567
5f064ade9d
Renaming workflows -> automate/automations, throughout the API and the builder itself.
2020-09-21 13:49:34 +01:00
mike12345567
3a591c13d0
Major update to server workflow backend, implementing a very basic queue API in between triggers and orchestration and then moving everything around to keep it generally more concise, creating a directory to handle all workflow related matters as they do not pertain to the API (running of workflows is a completely separate operation).
2020-09-10 15:00:21 +01:00
Andrew Kingston
766d8ac8fc
Add all workflow blocks to server and remove concept of workflow environment
2020-09-10 11:29:35 +01:00
Martin McKeaveney
9e00550eda
Cypress Tests Running in CI ( #524 )
...
* cypress test setup
* running cypress in CI
* fixing tests after first time setup wizard
* bb api key
* API Key in right place
* adding env in cypress.json
* env var in setup
* lint
* API key not working
* fill in API key form if present
* allow more time for creation
* cypress server for debug
* video recording, better debugging
* Adding debug logs
* set node env
* cypress env
* cancel irrelevant test
2020-08-05 15:18:28 +01:00
Martin McKeaveney
b719880ffc
fix backend workflow
2020-06-04 13:55:52 +01:00
Martin McKeaveney
b372f6b03d
tidy up
2020-06-01 21:26:32 +01:00
Martin McKeaveney
176906e766
server side workflows
2020-06-01 16:22:13 +01:00
Martin McKeaveney
cb496d1819
workflow DAO tests
2020-06-01 11:52:15 +01:00
Martin McKeaveney
15ba1a5a12
move workflow to array data structure
2020-06-01 10:41:28 +01:00
Martin McKeaveney
5c1aa00fd0
server side event emitter
2020-05-31 17:12:52 +01:00
Martin McKeaveney
6f0a84dd38
adding workflow blocks, parameter parsing, templating
2020-05-28 20:20:03 +01:00
Martin McKeaveney
0ea48245cf
groundwork for pubsub
2020-05-24 22:54:08 +01:00