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
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
mike12345567
c34c219e8f
Tidying up one of the weirder things knex can do.
2024-06-14 19:10:52 +01:00
mike12345567
1b36d8af51
Getting counting flow working correctly for external datasources.
2024-06-14 19:00:59 +01:00
mike12345567
e402f9c571
Merge branch 'uncomment-search-test-todos' of github.com:Budibase/budibase into feature/count-rows-to-return
2024-06-14 18:16:47 +01:00
mike12345567
77556820bf
Bit more work towards row counting, as well as moving external SQL to use row + 1 for working out pagination.
2024-06-14 18:12:36 +01:00
Sam Rose
a54048e308
Solve all remaining TODOs in search.spec.ts.
2024-06-14 14:57:31 +01:00
mike12345567
7491021ca0
Base implementation of counting (plumbing).
2024-06-14 14:35:14 +01:00
Sam Rose
c27e9c266c
Replace SortDirection with SortOrder, SortDirection is being removed.
2024-06-14 09:45:30 +01:00
Dean
3a10c57651
Merge commit
2024-06-13 16:56:25 +01:00
melohagan
115737c46c
Create Tenant endpoint + tenant_info doc ( #13902 )
...
* Create Tenant endpoint + tenant_info doc
* Don't catch on tenant_info put
* PR comments
* unit test
2024-06-11 12:16:15 +01:00
mike12345567
3a95aa6aeb
Adding the version to the status to help understand what version the service is using.
2024-06-10 18:56:24 +01:00
mike12345567
cf6f86cb2f
Updating migrations to correctly cover all the required elements.
2024-06-04 17:24:11 +01:00
mike12345567
7b8195f41d
Merge branch 'master' of github.com:Budibase/budibase into fix/rest-download-issue
2024-06-03 10:13:49 +01:00
mike12345567
75501c2251
Updating object store stream upload to make sure the stream has finished being processed before trying to upload to AWS (and only uploading a partial stream).
2024-05-31 17:57:31 +01:00
melohagan
cbb3c9aa93
Allow a user invite to be revoked ( #13805 )
...
* Add free_trial to deploy camunda script
* Allow user invites to be deleted
* Refactor to pass invite codes
* lint
* update account-portal
* yarn lock
* users terminology instead of rows and invites
2024-05-31 14:34:08 +00:00