Commit Graph

1964 Commits

Author SHA1 Message Date
melohagan ee0f0abad2
Fix/rename mysql column (#13186)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

* Remove _add for internal save

* Internal DB add column unit test

* rename column test

* update modules

* fix tests

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 15:55:45 +00:00
Sam Rose 1857383c47
Constrain query execution response slightly based on PR feedback. 2024-03-04 13:37:41 +00:00
Sam Rose c39053bb51
Respond to PR feedback. 2024-03-04 11:06:25 +00:00
Sam Rose 37a10857df
Migrate ViewV2API 2024-03-01 17:35:51 +00:00
Sam Rose 8d39b24c44
Merge branch 'master' of github.com:budibase/budibase into test-api-unification 2024-03-01 15:20:15 +00:00
Sam Rose 16e9c5ff4e
Migrate QueryAPI 2024-03-01 14:33:18 +00:00
Michael Drury 30bd1deb37
Merge branch 'master' into revert-13160-revert-13128-feature/sql-query-aliasing 2024-03-01 11:37:45 +00:00
Sam Rose f876c5c6e4
Merge master. 2024-02-29 17:34:16 +00:00
Sam Rose 46bec3c515
Migrate PermissionAPI 2024-02-29 17:33:36 +00:00
mike12345567 a91ecb8c14 Addressing PR comments. 2024-02-29 17:03:04 +00:00
mike12345567 50bbbb2e06 Updating datasource controller types, this branched out a little bit to removing as many anys as possible, and allowing RowValue to correctly be returned from the allDocs function of the DB. 2024-02-29 16:28:00 +00:00
Sam Rose 4fbe03bbda
Migrate DatasourceAPI. 2024-02-29 15:50:18 +00:00
Michael Drury c5591ee87f
Revert "Revert "SQL Query aliasing"" 2024-02-29 12:33:03 +00:00
Michael Drury de3968ffe3
Revert "SQL Query aliasing" 2024-02-29 12:32:15 +00:00
Michael Drury 1ce15528b6
Merge branch 'master' into feature/sql-query-aliasing 2024-02-29 11:39:19 +00:00
Sam Rose 7a48fd85ac
Migrate ApplicationAPI 2024-02-28 17:27:15 +00:00
Sam Rose 223a268483
Respond to PR feedback. 2024-02-28 16:35:15 +00:00
Sam Rose a9392b2176
More types. 2024-02-28 12:13:13 +00:00
Michael Drury a9da4e11d3
Merge branch 'master' into feature/sql-query-aliasing 2024-02-27 09:59:10 +00:00
melohagan 6e4c2b7242
Export data make CSV delimiter configurable (#13028)
* Add delimiter option

* Add custom delimiter

* external export delimiter

* Custom headers for row export

* External export rows custom headers

* Support custom JSON export labels

* Handle export table source switch

* update account portal

* Add space as delimiter

* Refactor

* update account portal
2024-02-27 09:23:49 +00:00
mike12345567 967f737158 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-26 18:38:32 +00:00
mike12345567 cb19e1f24c Fixing response types of DS+ query function. 2024-02-26 17:56:28 +00:00
Sam Rose c1a88f1279
Fix type checks. 2024-02-26 17:55:32 +00:00
Sam Rose 8f61b69ee5
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles 2024-02-26 17:28:51 +00:00
Sam Rose c15554547b
Respond to PR feedback. 2024-02-26 17:28:37 +00:00
Sam Rose b9600d8330
More progress on modernising application tests. 2024-02-26 11:57:56 +00:00
mike12345567 cbce9af2b0 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-23 16:18:37 +00:00
melohagan 896b879ce7
Feature/query array schema (#13118)
* Revert "Revert "Add nestedSchemaFields to RestQueryViewer (#13102)""

This reverts commit 6545af12fa.

* Revert "Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…""

This reverts commit ae4bc362c3.
2024-02-22 17:06:08 +00:00
Martin McKeaveney ae4bc362c3
Revert "Dynamic schema generation for query arrays: bug fix and refactor (#13…"
This reverts commit 0c9d13c79a.
2024-02-21 21:30:22 +00:00
Sam Rose b2c4f04aa6
Typing and config.api'ing application.spec.ts, WIP 2024-02-21 17:52:58 +00:00
melohagan 0c9d13c79a
Dynamic schema generation for query arrays: bug fix and refactor (#13082)
* Bug fix and refactor

* lint

* Refactor

* refactor

* lint

* type fixes

* Unit test fix and refactor

* refactor

* Make name option for preview, required for query

* Refactor unit tests

* Fix test

* update account-portal

* Revert "update account-portal"

This reverts commit e378f8d702.

* simplify set iteration

* comment
2024-02-21 15:33:13 +00:00
mike12345567 285916d0bf Some PR comments/build issue. 2024-02-20 11:11:27 +00:00
Sam Rose 93b18b81e0
Fix re-used context in JS runner. 2024-02-20 10:49:45 +00:00
mike12345567 19090dd547 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-19 16:29:29 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
melohagan 649dafba47
n8n automation action integration (#12992)
* Add n8n automation action

* Add authorization header support

* add unit tests

* Replace test.com with example.com

* Add HttpMethod enum to types

* fix unit test

* Add required field label asterisk
2024-02-15 13:05:03 +00:00
Adria Navarro 411dd55259 Update types 2024-02-08 16:27:48 +01:00
Adria Navarro 0d0171fa08 Move cpulimits responsability 2024-02-08 09:38:09 +01:00
Adria Navarro 218ba1d283 VM types 2024-02-08 09:38:09 +01:00
Sam Rose 7a012f1f4b
Add tests for create queries. 2024-02-05 16:49:21 +00:00
mike12345567 f73f78c67c Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-05 10:04:07 +00:00
Sam Rose f3e0dfd466
Update to @budibase/nano 10.1.5 2024-01-31 11:55:29 +00:00
mike12345567 bb0b776684 Updating how aliasing is handled. 2024-01-30 17:57:10 +00:00
mike12345567 7245ceb58f Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-30 11:32:09 +00:00
Adria Navarro 9da9935c95 Types 2024-01-29 23:25:12 +01:00
mike12345567 fcf8cf61da Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-29 12:35:54 +00:00
jvcalderon 82f457008f Add Microsoft to LoginSource enum 2024-01-29 09:12:56 +01:00
mike12345567 57d512b041 Some missed conversions. 2024-01-24 17:09:26 +00:00
melohagan 1636677ce9
Merge branch 'master' into fix/budi-7916 2024-01-24 08:58:13 +00:00
mike12345567 2810d66c92 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-23 17:38:46 +00:00