Sam Rose
01ad68f843
Remove all mocking from rest.spec.ts.
2024-08-01 17:57:33 +01:00
Sam Rose
9a2e8031bc
Fix plugin.spec.ts's reliance on the node-fetch mock.
2024-08-01 11:43:37 +01:00
Adria Navarro
e6c4c8ef77
Merge branch 'master' into chore/unify-row-format-values
2024-08-01 10:29:36 +02: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
Adria Navarro
0202db3efe
Unify enums
2024-07-31 12:20:45 +02:00
Adria Navarro
21b9bf36fd
Add api types
2024-07-30 17:52:27 +02:00
Adria Navarro
7d17717895
Subtype required for autocolumns
2024-07-30 17:48:08 +02:00
Adria Navarro
10351c52f8
Improve types
2024-07-30 17:46:48 +02: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
melohagan
60f7c03e17
Fix/verify sso bug ( #14253 )
...
* Delete associated SSO user
* Update reset password screen
* Partial type removed
* lint
* Split getFirstPlatformUser from getPlatformUsers
* lint
* Use correct method
* Code review comments
* lint
2024-07-29 13:25:46 +01:00
Adria Navarro
b12641e467
Merge branch 'master' into BUDI-8441/row-action-run-api
2024-07-25 16:09:23 +02:00
Adria Navarro
62eaa11ebb
Add trigger
2024-07-25 15:37:49 +02:00
Adria Navarro
22f86be34d
Merge branch 'master' into feat/row-actions
2024-07-25 15:26:50 +02:00
Adria Navarro
15a8907811
Interface
2024-07-25 08:36:31 +02:00
mike12345567
7c6c12f325
Adding a small utility to DB layer for bulk removing documents, this is a problem that Mel ran into, the fact it doesn't default to throwing errors, I've updated a few cases and added functionality for it to maintain compatiability with the old way of doing things (errors silenced).
2024-07-24 18:13:27 +01:00
Adria Navarro
68018a85fb
Type
2024-07-24 17:23:18 +02:00
Adria Navarro
3bb3376a82
Format on frontend
2024-07-22 14:31:59 +02:00
Adria Navarro
b7a969280f
Display data
2024-07-22 14:31:42 +02:00
Adria Navarro
b75c8b32e3
Field readonly
2024-07-22 14:23:17 +02:00
Adria Navarro
eaa38c5c2d
Return automationid from row action api
2024-07-22 14:23:17 +02:00
Adria Navarro
faf1d678fa
Create automation
2024-07-22 14:23:16 +02:00
Adria Navarro
6571d61b86
Persist automation id in row action
2024-07-22 14:23:16 +02:00
Sam Rose
8a49953449
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing
2024-07-19 15:03:19 +01:00
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
Sam Rose
12911db06e
Process primitive default values.
2024-07-15 10:43:58 +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