1
0
Fork 0
mirror of synced 2024-09-03 11:11:49 +12:00
Commit graph

379 commits

Author SHA1 Message Date
Sam Rose
182a1df960
Fix the bug, I think. 2024-03-05 17:35:04 +00:00
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
16e9c5ff4e
Migrate QueryAPI 2024-03-01 14:33:18 +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
a9392b2176
More types. 2024-02-28 12:13:13 +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
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
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
Sam Rose
7a012f1f4b
Add tests for create queries. 2024-02-05 16:49:21 +00: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
Peter Clement
3030db8eb6
Merge branch 'master' into feat/configure-automation-chaining 2024-01-23 14:47:31 +00:00
Peter Clement
a4797366ad fix types 2024-01-23 12:08:20 +00:00
mike12345567
e5e51ede81 Merge branch 'master' of github.com:Budibase/budibase into fix/budi-7916 2024-01-22 13:39:29 +00:00
melohagan
bd0202e7b5
Error deleting datasource on first attempt at deleting (#12819)
* Add badge photo to the employee import

* Update revisions from relationships when loop deleting tables
2024-01-22 10:25:21 +00:00
mike12345567
db7c2c804b Updating query responses to follow the same form consistently. 2024-01-19 18:13:12 +00:00
Peter Clement
00fda6af41 update emitter to account for a new chaining property 2024-01-18 16:38:34 +00:00
Peter Clement
99ffe7db6b missed type 2024-01-15 14:51:07 +00:00
Peter Clement
78ef231e03 fix issue with being able to select any automation to trigger 2024-01-10 16:34:52 +00:00
Peter Clement
49676f2cae recomitting trigger another automation work 2023-12-30 18:51:08 +00:00
Adria Navarro
c6840960a4 Add appMigrationMetadata utils 2023-12-04 16:30:06 +01:00
Andrew Kingston
9b99991b2e Update SDK to account for new creator builder flag 2023-11-23 14:01:58 +00:00
Sam Rose
969508cd1c
Merge branch 'better-types-in-global-users' of github.com:budibase/budibase into better-types-in-global-users-2 2023-11-08 13:53:28 +00:00
mike12345567
935ec4c47e Updating layout typing. 2023-11-08 12:57:07 +00:00
mike12345567
e8fb43d30c Updating DesignDocument and View typing - making it more clear how view and lucene indexing works. 2023-11-08 12:46:00 +00:00
Sam Rose
d146df5f73
Convert user.spec.js to user.spec.ts 2023-11-08 11:53:00 +00:00
Sam Rose
fdfda100c1
Ensure that the DB always returns Documents. 2023-11-07 18:14:52 +00:00
melohagan
f28eb054f3
Set the relationship type (#12275)
* Set the relationship type

* Add users type

* Set user relationship type saveColumn

* Set relationshipType for users type on save

* Add relatioshipType to schema

* Refactor

* Check isUsersColumn

* Make relationshipType optional

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-11-07 11:59:51 +00:00
mike12345567
a62d82afb8 Fixing user migration issue where relationships created from the other side (from user table) where not being migrated correctly. 2023-11-02 18:14:25 +00:00
mike12345567
ed0670a008 Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things. 2023-10-26 13:19:09 +01:00
mike12345567
455b26bac9 Making sure the source ID is always set when creating a table - the frontend expects this to be set for every table so making the type represent this correctly. 2023-10-25 19:00:25 +01:00
Sam Rose
a8ae16852c
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column-4 2023-10-24 17:34:19 +01:00
jvcalderon
f643bc5ee8 Keep only migrations 2023-10-24 10:24:00 +02:00
Sam Rose
42e31d19fb
Merge master. 2023-10-23 16:18:51 +01:00
jvcalderon
648410348d [Revert] [Added] Per user per creator changes 2023-10-23 13:27:59 +02:00
Sam Rose
a563cf3594
Merge master. 2023-10-23 09:39:34 +01:00
mike12345567
470735cc97 Updating types across old table utilities. 2023-10-19 12:26:29 +01:00
Sam Rose
c84abb3e86
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-18 15:15:06 +01:00
jvcalderon
5b2f55a592 Per user per creator changes 2023-10-18 13:36:34 +02:00
Sam Rose
5747f30b5f
Precondition checks to make sure the migration is from the right column to the right column. 2023-10-18 12:04:50 +01:00
mike12345567
f1b73058c2 Merge branch 'fix/update-vm2' of github.com:Budibase/budibase into backmerge-20231011 2023-10-11 18:49:39 +01:00
mike12345567
d14a773925 Merge branch 'develop' of github.com:Budibase/budibase into backmerge-20231011 2023-10-11 14:02:48 +01:00
Adria Navarro
e6b807cf4a Fix merge conflicts 2023-10-11 14:14:55 +02:00