Commit Graph

134 Commits

Author SHA1 Message Date
mike12345567 d83bd47bd7 Fixing some automation typing issues. 2024-11-29 17:13:39 +00:00
mike12345567 82c7c089cb Updating schema. 2024-11-15 17:24:21 +00:00
mike12345567 ce529d2f45 Some final updates to view public API, adding test cases. 2024-11-08 18:04:53 +00:00
mike12345567 6e5aab1f3f Updating view definition to include complete query and sorting. 2024-11-01 17:53:38 +00:00
mike12345567 9d85661893 Finishing specs to explain how to configure a calculation view. 2024-10-31 17:42:46 +00:00
mike12345567 037a33dc7d Updating specs to correct some issues with app ID. 2024-10-30 17:12:48 +00:00
mike12345567 38760897bf Updating specs again. 2024-10-30 14:40:13 +00:00
mike12345567 dd0764eb60 Putting view mapping in place, updating openAPI spec. 2024-10-30 14:08:03 +00:00
Sam Rose 3c97652393
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 16:38:07 +01:00
Sam Rose 78af5cdc67
Merge branches 'master' and 'budi-8742-add-a-baseurl-binding-inside-automations' of github.com:budibase/budibase into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 16:09:40 +01:00
mike12345567 99c3395cb9 Some fixes to Public API test request as per PR comments, as well as removing AI formula type from open API spec (this is used internally, not supposed to be exposed). 2024-10-25 13:13:10 +01:00
Sam Rose 0875ac817c
Merge branch 'master' into budi-8742-add-a-baseurl-binding-inside-automations 2024-10-25 10:51:29 +01:00
mike12345567 0863a1167c Updating OpenAPI definition to contain all required variables. 2024-10-24 17:41:34 +01:00
Peter Clement 09695fabd6 extract necessary user bindings and add types 2024-10-22 10:52:52 +01:00
Peter Clement a26b64bb03 pass user through to automation context 2024-10-18 15:08:18 +01:00
Sam Rose 3fc170c16b
Add settings to automation context. 2024-10-15 17:33:32 +01:00
Peter Clement f00593ff26 pr comments 2024-10-01 12:25:41 +01:00
Peter Clement 5d31976835 updated automation thread to use ids and test 2024-09-30 13:08:11 +01:00
Peter Clement abaa40a272 automation steps using names 2024-09-10 17:09:42 +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 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
mike12345567 0efa1f06ab Moving some stuff around to make way for other services using the sql layers. 2024-05-16 17:33:47 +01:00
mike12345567 4d3d78f7a0 PR comments. 2024-04-10 17:02:03 +01:00
mike12345567 d51bbb7952 When looking through the search parameters to build up information about validating search inputs better on the API (recently created linear issue) found the public docs weren't fully up to date - fixing this. 2024-04-10 16:38:52 +01:00
mike12345567 851a423615 Some typing updates to fix some build issues which were occurring. 2024-03-06 18:07:46 +00:00
mike12345567 d87c7a1c4a Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-02-02 17:09:54 +00:00
Sam Rose 456817ee7b
More loop step typing improvements. 2024-01-30 10:37:23 +00:00
Sam Rose 67a848bb86
Fix tests. 2024-01-30 10:23:11 +00:00
Sam Rose 669b0743ac
Typing improvements around automation loop tests. 2024-01-30 10:00:44 +00:00
mike12345567 90a624884e Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-11-22 12:52:27 +00:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
mike12345567 b267e4ca28 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-10-17 14:53:09 +01:00
mike12345567 d1b7ccd86f Updating docs and removing old documentation pathway. 2023-10-11 17:49:25 +01:00
mike12345567 1db95a3006 Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs 2023-10-02 16:32:10 +01:00
Martin McKeaveney 65af2ed7c2 backmerge from master 2023-09-27 17:06:57 +01:00
mike12345567 07c7192154 Adding documentation for export endpoint. 2023-09-22 13:29:16 +01:00
mike12345567 cf24d90f4b Base of API - still needs pro implementation. 2023-09-21 18:04:15 +01:00
mike12345567 87362be154 Removing required from roles on user API, as it is now paid. 2023-09-20 10:54:06 +01:00
mike12345567 8f81a16340 Updating types to be based on the open API definition rather than types. 2023-08-15 17:33:22 +01:00
mike12345567 ec761c2387 Building out public API for role assignment and un-assignment - need to flesh out pro component. 2023-08-04 18:01:45 +01:00
mike12345567 adef1ed5ce Initial attempt to get SQS up and running within BB. 2023-07-06 21:49:25 +01:00
Rory Powell 578b599428 Lint 2023-05-17 14:10:22 +01:00
Rory Powell 42f472b038 Type updates for automation jobs 2023-05-17 12:26:07 +01:00
mike12345567 0026f86cc6 Fixing operation ID. 2023-03-06 17:41:24 +00:00
mike12345567 36683459b8 Updating metrics endpoint to have examples of expected data format - show OpenMetrics response. 2023-03-06 15:55:55 +00:00
mike12345567 cb39053b12 Fix for #9778 - there was an issue with operationId in the OpenAPI spec, these need to be unique to be compliant with the spec as brought up in the issue. Also re-writing the spec generation to Typescript to be compliant with how backend code is now written. 2023-02-28 18:10:56 +00:00
mike12345567 c2eb8fb976 Update to cover the authentication for REST, replacing it with secret value and converting to password field, as well as minor update to env dropdown to only be a password field when not containing an environment variable - #9480. 2023-01-30 18:50:35 +00:00
mike12345567 5e68a4d814 Minor updates to the context system and also adding env vars to automation context. 2023-01-16 16:47:59 +00:00
Martin McKeaveney 84ab7862d1 fixes for google sheets, admin checklist, and deleting an app from API (#8846)
* fixes for google sheets, admin checklist, and deleting an app from API

* code review

* splitting unpublish endpoint, moving deploy endpoint to applications controller. Still to do public API work and move deployment controller into application controller

* updating REST method for unpublish in API test

* unpublish and publish endpoint on public API, delete endpoint unpublishes and deletes app

* removing skip_setup from prodAppDb call

* removing commented code

* unit tests and open API spec updates

* unpublish, publish unit tests - delete still in progress

* remove line updating app name in API test

* unit tests

* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

* v2.2.4

* Update pro version to 2.2.4

* lock changes (#9047)

* v2.2.5

* Update pro version to 2.2.5

* Make looping arrow point in right direction (#9053)

* v2.2.6

* Update pro version to 2.2.6

* Types/attaching license to account (#9065)

* adding license type to account

* removing planDuration

* v2.2.7

* Update pro version to 2.2.7

* Environment variable type coercion fix (#9074)

* Environment variable type coercion fix

* Update .gitignore

* v2.2.8

* Update pro version to 2.2.8

* tests passing

* all tests passing, updates to public API response

* update unpublish call to return 204, openAPI spec and unit

* fixing API tests

Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-19 13:18:00 +00:00
mike12345567 19669575e4 Fixing issue with self host build - import of backend-core changes mean that loading the public API files can require setup of backend-core, making it so that the JWT Strategy doesn't need to be setup to load backend-core. 2022-11-01 12:59:10 +00:00