Peter Clement
0e229c9b2e
Update automation test builder to support branching ( #14387 )
...
* add branch step definition
* update automation test builder to support branching
* rename Automation test builder
* example test
* pr comments
2024-08-15 16:07:42 +00:00
Sam Rose
e1268b7ec8
Merge branch 'master' of github.com:Budibase/budibase into feature-flag-cleanup
2024-08-15 14:57:04 +01:00
mike12345567
e32409da15
Fixing an issue with app import - old attachments which have an invalid state can cause the app to fail to import.
2024-08-15 14:25:36 +01:00
Sam Rose
4a1fd6481f
Remove old, unused feature flags.
2024-08-15 10:53:43 +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
Peter Clement
37f749019d
Add more automation tests ( #14369 )
...
* Add more automation tests
* remove comment
* update assertion
* unused type
* split out query creation
* remove map
2024-08-13 14:16:55 +01:00
Sam Rose
aaaf173295
Initial UI.
2024-08-09 13:59:00 +01:00
Adria Navarro
24463bd387
Add helper
2024-08-07 10:51:40 +02:00
Adria Navarro
1cd3347262
Types
2024-08-05 17:23:55 +02:00
Adria Navarro
4799e0c2c4
Add extra typings
2024-08-05 10:29:36 +02:00
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