Commit Graph

37 Commits

Author SHA1 Message Date
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
Rory Powell 5614c5db61 Replace isTest check with mock for triggering app backup 2022-10-24 13:05:40 +01:00
Andrew Kingston 02156387c7 Update delete endpoints to be called destroy 2022-09-26 14:18:31 +01:00
Andrew Kingston 3b4ca9e5b3 Update public API operation IDs to be shorter 2022-09-21 19:11:47 +01:00
Andrew Kingston fadb1e498e Add operationIds to public API 2022-09-20 11:24:54 +01:00
Martin McKeaveney bc090f5f9d better tests and cleaner import for server 2022-09-15 19:51:11 +01:00
mike12345567 8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
mike12345567 b3e6e2385f Updating specs to state that oneOf is allowed, fixing YAML issue and making sure allOr function works for lucene. 2022-07-05 19:54:11 +01:00
mike12345567 a96576034e Updating definitions. 2022-07-05 18:51:34 +01:00
mike12345567 db0b096c0a Fix for #5117 - raised a point that the docs didn't describe where to put properties for a query when running through the public API - fixing the spec. 2022-03-28 18:33:54 +01:00
mike12345567 30651e81d5 Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs. 2022-03-10 15:53:23 +00:00
mike12345567 b96c6218d6 Quick fix for openAPI spec, improving the search spec. 2022-03-08 17:42:26 +00:00
mike12345567 5bbbcde978 Removing org ID from cloud spec. 2022-03-07 16:41:22 +00:00
mike12345567 3becf1b8a4 Adding the tenant ID to the Budibase Cloud URL, as well as setting up variables for them all as part of the server URL. 2022-03-07 13:21:30 +00:00
mike12345567 a78b70799e Review comments and linting. 2022-03-01 22:37:42 +00:00
mike12345567 aa2d43b232 Adding a top level script for generating specs, symlinking the openapi yaml and json to top level as well. 2022-03-01 18:42:52 +00:00
mike12345567 f056bdd353 Adding new generation technique, converting openAPI spec to typescript definitions, which are then applied in mapping output middlewares to make sure that the structures of the response are fully respected. 2022-03-01 18:35:08 +00:00
mike12345567 8680faa3da Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 2022-03-01 14:37:35 +00:00
mike12345567 7b3318a19e Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
mike12345567 c4f5b42a90 Updating application output schema. 2022-02-28 11:29:48 +00:00
mike12345567 716bc5acf1 Rounding out user schema and query schema as required. 2022-02-25 19:26:19 +00:00
Michael Drury 4b3da534e3 Fixing some errors in the generated spec. 2022-02-24 23:25:03 +00:00
Michael Drury 01bb56cbf4 Adding a testing system which generates the schema and compares against responses. 2022-02-24 23:21:10 +00:00
mike12345567 26c2fc8702 Generating from typescript files. 2022-02-24 18:15:13 +00:00
mike12345567 dce23a9eb8 Updating specs. 2022-02-24 15:42:59 +00:00
mike12345567 8f6e55e65b Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
mike12345567 948c520a6a Refactoring resource system, so that examples and schemas have individual files rather than all being lumped into one. 2022-02-22 15:06:08 +00:00
mike12345567 d08c3bd6b5 Adding in request bodies. 2022-02-22 14:28:57 +00:00
mike12345567 be07f2ffb7 Updating output schemas and adding examples to everything. 2022-02-22 14:10:01 +00:00
mike12345567 d0f18d109e Adding in all endpoints/open API definitions, need to flesh everything out. 2022-02-21 19:04:13 +00:00
mike12345567 e71dda53bf Updating table schema and adding query endpoints. 2022-02-21 16:37:02 +00:00
mike12345567 604bad89fd Adding a schema for tables. 2022-02-18 18:06:58 +00:00
mike12345567 67bbba4747 Minor adjustment to get the right header for app ID. 2022-02-18 17:54:03 +00:00
mike12345567 bb917467ff Adding in row schema for create/update, making sure all existing endpoints have appId specified. 2022-02-18 17:44:08 +00:00
mike12345567 edcb138366 Rows API mostly complete, starting into tables. 2022-02-18 15:47:15 +00:00
mike12345567 51b4d42492 Adding a structure for breaking up examples and parameters. 2022-02-17 19:55:37 +00:00
mike12345567 6a09fdc3e5 Adding in public endpoint definitions. 2022-02-17 18:58:09 +00:00