Michael Drury
b58b0d3b40
Fixing integration base types.
2024-03-05 18:15:19 +00:00
Michael Drury
1918ec6c68
Reverting type changes.
2024-03-05 18:00:15 +00:00
Michael Drury
b72edc21ec
Linting.
2024-03-05 17:46:09 +00:00
Michael Drury
0520c0c540
Adding tests to confirm when aliasing should be used.
2024-03-05 17:27:35 +00:00
Michael Drury
a332c058ce
Disabling aliasing on writes (create, update, delete) for MySQL/MS-SQL datasources.
2024-03-05 16:19:21 +00:00
mike12345567
45702ce918
Fixing typing.
2024-03-04 17:02:52 +00:00
mike12345567
86aefcfe1a
Updating test values.
2024-03-04 17:00:34 +00:00
mike12345567
a7fcd7cca1
Attempting to fix issue with table name needing to be aliased.
2024-03-04 16:55:10 +00:00
mike12345567
02e3b36cd8
Adding missing files.
2024-03-04 15:47:27 +00:00
mike12345567
7b7d10d1ff
Fixing an issue with returning statements in MS-SQL and MySQL, when creating, updating or deleting rows the response is not retrieved correctly when aliased.
2024-03-04 15:47:04 +00:00
mike12345567
ad0c1a94c9
Fixing some typing that was added.
2024-03-01 13:59:42 +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
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
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
mike12345567
2d75e1e85c
Merge branch 'feature/sql-query-aliasing' of github.com:Budibase/budibase into labday/sqs
2024-02-28 17:03:59 +00:00
mike12345567
56b1855f6a
Adding test cases for table names in table names.
2024-02-28 15:18:07 +00:00
mike12345567
be99d27460
Merging recent changes - had to change some type definitions.
2024-02-28 14:49:11 +00:00
melohagan
039df5d476
FIX: cannot delete a renamed column with a mysql datasource ( #13147 )
...
* Support MySQL column rename in Budibase
* Delete NOT ignored types
* unit tests
* update account portal
2024-02-28 13:44:52 +00:00
mike12345567
aa6fa76618
Missing word in test case.
2024-02-28 13:37:47 +00:00
mike12345567
cd81a83b94
Reverting changes to handle full stops.
2024-02-28 13:37:11 +00:00
mike12345567
a2df1deb85
Fixing issue found by test cases, column names containing table names.
2024-02-28 11:08:35 +00:00
mike12345567
0c51a60e9a
Updating test cases as per PR comments.
2024-02-28 10:16:21 +00:00
mike12345567
35c1f5bbce
Adding handling for columns with dots in them.
2024-02-27 17:15:20 +00:00
mike12345567
fac9f18bc2
PR comments.
2024-02-27 13:40:31 +00:00
mike12345567
c11527d539
Adding in char sequence.
2024-02-27 09:56:56 +00:00
mike12345567
d68fcbf8f7
Loop aliasing.
2024-02-26 18:36:34 +00:00
mike12345567
80dc0beeed
Multiline SQL tests.
2024-02-26 18:22:19 +00:00
mike12345567
cb19e1f24c
Fixing response types of DS+ query function.
2024-02-26 17:56:28 +00:00
mike12345567
90c06e633b
Merging latest master.
2024-02-26 15:46:00 +00:00
mike12345567
45d2e67905
Adding some new test cases based on finishing off testing.
2024-02-26 13:50:15 +00:00
mike12345567
5f76f143bf
Adding the ability to disable SQL aliasing if necessary.
2024-02-23 17:31:45 +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
9845930ae6
Add return types to mongodb integration ( #13125 )
2024-02-23 10:16:46 +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
Sam Rose
7211cf4bbf
Remove unused import.
2024-02-16 16:11:55 +00:00
Sam Rose
e0d8362009
Make a better MySQL healthcheck.
2024-02-16 15:57:27 +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
ad8d1e2598
Make the MySQL healthcheck stricter.
2024-02-15 09:44:01 +00:00
Sam Rose
d42ce6ac09
Merge branch 'master' into postgres-query-tests
2024-02-14 16:26:22 +00:00
Sam Rose
75c2392b60
Flesh out Postgres tests, add MySQL tests.
2024-02-08 15:32:38 +00:00
Adria Navarro
a7859f7fd8
Fix test
2024-02-07 14:09:19 +01:00
Adria Navarro
456edfa7b4
Fix mongo findOneAndUpdate
2024-02-07 13:37:06 +01:00
Adria Navarro
b8d22d6ef1
Lint
2024-02-07 00:01:09 +01:00
Adria Navarro
2c4601440f
Merge branch 'master' into revert-12934-revert-12930-revert-12929-revert-12769-isolated-vm
2024-02-06 17:53:22 +01:00
Sam Rose
3be9ad7d78
Disable schema dumping for Postgres in Budicloud.
2024-02-06 15:47:47 +00:00
mike12345567
e8e7eea47a
Adding some test cases for aliasing.
2024-02-05 15:23:24 +00:00
Sam Rose
a773841518
Improve error messages relating to failing to connect to datasources.
2024-02-05 14:53:05 +00:00
Sam Rose
1573242031
Respond to PR feedback.
2024-02-05 14:26:19 +00:00
mike12345567
c4f4a46d70
Quick fix based on testing.
2024-02-05 12:45:19 +00:00
Sam Rose
7cceb04ca2
Basic Postgres and Mongo query testcases.
2024-02-05 11:43:40 +00:00
Martin McKeaveney
b17bd4d8fd
merge
2024-02-02 17:00:09 -03:00
mike12345567
d87c7a1c4a
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-02-02 17:09:54 +00:00
mike12345567
bb0b776684
Updating how aliasing is handled.
2024-01-30 17:57:10 +00:00
mike12345567
09a0d00aa7
Fixing some test cases.
2024-01-30 13:50:36 +00:00
mike12345567
5d2ba68fae
Adding test case based on capture of real failing query.
2024-01-30 13:35:45 +00:00
mike12345567
6964e2d146
Fixing update aliasing.
2024-01-29 13:43:51 +00:00
mike12345567
fcf8cf61da
Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing
2024-01-29 12:35:54 +00:00
mike12345567
99c2a51f41
Updating back to use our own home-rolled version which allows us to specify the image version correctly, but using the testcontainers option to wait for two logs.
2024-01-26 16:48:56 +00:00
mike12345567
ccd6c2ece6
Merge branch 'fix/postgres-test-db-not-starting' of github.com:Budibase/budibase into fix/postgres-test-db-not-starting
2024-01-26 15:59:27 +00:00
mike12345567
cf60138832
Trying proper Postgres testcontainers - should have more accurate startup.
2024-01-26 15:59:06 +00:00
Michael Drury
555871d84d
Merge branch 'master' into fix/postgres-test-db-not-starting
2024-01-26 14:36:59 +00:00
mike12345567
870ca2266e
Adding a 2 second timeout after the message occurs to make sure DB is fully started - can't wait for both messages.
2024-01-26 14:22:25 +00:00
mike12345567
d4fd775c37
Attempting to fix issue with Postgres not being fully started in Github CI - previous message the DB was starting, this message means the database is fully started.
2024-01-26 13:42:39 +00:00
mike12345567
0eb29ef73f
PR comments.
2024-01-24 18:00:32 +00:00
mike12345567
ccc751d09c
A quick refactor to get rid of the old 'FieldTypes' enumeration, considering how core it is to all data handling in Budibase, the fact we had both 'FieldType' and 'FieldTypes' was confusing - righting this fully.
2024-01-24 16:58:13 +00:00
mike12345567
2a21556402
Get rid of schemaFields on backend.
2024-01-22 13:29:14 +00:00
mike12345567
3ce00c42a2
Adding SQL logging capabilities.
2024-01-18 18:13:11 +00:00
mike12345567
88c54bcc1d
Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing
2024-01-15 12:26:31 +00:00
mike12345567
82ba1df4ef
Fixing an issue with typing in the information_schema table that was leading to an 'invalid syntax name' message when attempting to fetch tables from our QA postgres database.
2024-01-09 13:40:34 +00:00
Martin McKeaveney
a34ae9e2e2
merge with master
2024-01-08 16:44:32 +00:00
Martin McKeaveney
de80d895a2
remove deprecated mongodb TLS option
2024-01-08 16:15:37 +00:00
Michael Drury
fa41b15ded
Merge branch 'master' into feature/postgresql-multiple-schema
2024-01-08 15:39:12 +00:00
Adria Navarro
6df4bf84df
Lint
2024-01-08 14:19:25 +01:00
rg2011
f73f8f4433
Add support for full search path to postgres integration
2024-01-05 17:46:44 +01:00
Adria Navarro
92950cef91
Maintain views on finaliseExternalTables
2024-01-04 16:20:48 +01:00
mike12345567
4ddcecfd04
Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing
2024-01-02 16:21:05 +00:00
melohagan
6adb5cfe79
Do not throw error on 204 no content ( #12643 )
2023-12-20 11:02:59 +00:00
Sam Rose
93da29611d
Fix type error.
2023-12-19 10:11:51 +00:00
mike12345567
d681d5298b
Type fixes.
2023-12-18 18:33:04 +00:00
mike12345567
615bf4a5b6
Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing
2023-12-12 17:36:29 +00:00
mike12345567
b2b51a03f8
merge branch 'master' of github.com:Budibase/budibase into fix/budi-7827
2023-12-12 15:00:27 +00:00
mike12345567
185e4d2f82
Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing
2023-12-12 13:47:07 +00:00
Sam Rose
c50e8fd05b
Split withEnv, so the core env isn't touched in it.
2023-12-11 17:43:56 +00:00
mike12345567
a3ebf0bffd
Allowing external formulas to be updated.
2023-12-11 16:58:41 +00:00
mike12345567
4302c720ed
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2023-12-08 16:13:09 +00:00
mike12345567
8110a33fd8
Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing
2023-12-07 13:12:16 +00:00
melohagan
269ad4ee66
Support enum types in PostgreSQL and MySQL ( #12512 )
...
* Support enums in Postgres table fetch
* MySQL support for enum values
* null safety
* Refactor
2023-12-06 14:01:36 +00:00
mike12345567
7eccbb851d
Fixing issues with other SQL functions than just reading.
2023-12-01 15:27:49 +00:00
mike12345567
5c4dc0dc83
Fixing issue with aliasing.
2023-12-01 14:14:44 +00:00
mike12345567
649025ca12
Fixing missed from.
2023-11-28 18:45:05 +00:00
mike12345567
65cddae9da
Getting relationship aliasing working.
2023-11-28 18:43:38 +00:00
mike12345567
cb7c1898f2
Getting basic aliasing working after some testing.
2023-11-27 19:02:06 +00:00
mike12345567
478e297e9e
Initial work towards aliasing queries for SQL.
2023-11-24 18:11:53 +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
Adria Navarro
92f411bf77
Prettier
2023-11-20 21:48:49 +01:00
Adria Navarro
4d27ff1dc0
eslint import/no-duplicates
2023-11-20 21:48:49 +01:00
mike12345567
3228463749
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2023-11-17 17:23:25 +00:00
melohagan
b68607b048
Redis query command doesn't accept spaced values ( #12357 )
...
* Handle string phrase with spaces value
* Unit test
2023-11-09 18:21:28 +00:00
mike12345567
17319a6981
Moving things around so that DEFAULT_BB_DATASOURCE_ID can be imported without cyclics occurring.
2023-10-31 17:52:39 +00:00
Dean
7e33aacbb1
Stop the sample data being identified as an external source.
2023-10-31 14:48:23 +00:00
Michael Drury
9643d9c0e2
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column
2023-10-30 17:41:44 +00:00
Sam Rose
af59039d1c
Add tests for attachment processing endpoint.
2023-10-30 16:46:27 +00:00
mike12345567
9b1a7bd854
PR comments - updating pickAPI to use a common function.
2023-10-27 11:43:01 +01:00
mike12345567
19eaafd946
Fixing some test cases.
2023-10-26 16:32:34 +01: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
007e919d0e
Spring cleaning before review.
2023-10-25 14:53:51 +01:00
mike12345567
fdfd58391a
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2023-10-19 18:25:11 +01:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant.
2023-10-17 16:46:32 +01:00
mike12345567
b267e4ca28
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2023-10-17 14:53:09 +01:00
Sam Rose
89e64d18a5
Remove TODOs.
2023-10-13 16:11:56 +01:00
Sam Rose
2f0e88c17c
Merge branch 'master' of github.com:Budibase/budibase into fix/budi-7433-google-sheets-validation-wont-let-you-import-any-sheets-if-2
2023-10-13 13:13:41 +01:00
Sam Rose
18363b7b60
Make sure to stop postgres container after the postgres integration tests have run.
2023-10-13 09:50:45 +01:00
Sam Rose
6af05500e9
Fix lint warnings.
2023-10-12 17:59:02 +01:00
Sam Rose
f4fa542e86
Remove some unused fields, fix a broken spec.
2023-10-12 17:34:48 +01:00
Sam Rose
16451904c9
Expose an errors object via the buildSchemaFromDb endpoint.
2023-10-12 17:12:49 +01:00
Sam Rose
1faf920c67
DatasourcePlus deals exclusively in ExternalTables, reflect that in the types.
2023-10-12 16:38:15 +01:00
Sam Rose
85b3af2971
Refactor DatasourcePlus's buildSchema to return a value, rather than rely on member variables.
2023-10-12 16:27:18 +01:00
Sam Rose
6e1962e6ea
Plumb Google Sheets table fetching error through to buildSchemaFromDb endpoint.
2023-10-12 12:07:13 +01:00
Adria Navarro
62fd9011f3
Merge branch 'labday/type_schema' into feature/multi-user-type-column
2023-10-11 14:13:55 +02:00
Adria Navarro
164e1f4c18
Clean
2023-10-11 13:15:59 +02:00
Adria Navarro
6c328109b6
Fixes
2023-10-10 18:54:57 +02:00
Adria Navarro
21e2d7ddbe
Fix relationship types
2023-10-10 18:54:57 +02:00
mike12345567
635f33f81e
Make sure that external tables preserve the BB_REFERNECE type, under the hood it is text/array, but it should continue to be treated correctly as its own indpendent type when updating Budibase tables (fetching).
2023-10-09 18:28:09 +01:00
Adria Navarro
91306c79eb
Fix tests
2023-10-04 17:55:23 +02:00
Adria Navarro
46b85ac12c
Multiple users column
2023-10-04 17:55:23 +02:00
mike12345567
1db95a3006
Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs
2023-10-02 16:32:10 +01:00
Adria Navarro
8be76f1f97
Move the -2 magic number in its right place
2023-09-28 13:55:35 +02:00
Adria Navarro
c202f88b6d
Allow deleting cell
2023-09-28 12:42:42 +02:00
Adria Navarro
606bad7f4d
Clean
2023-09-28 11:41:20 +02:00
Adria Navarro
0c4cdde25f
Allow BB_REFERENCE to google sheets
2023-09-28 10:12:45 +02:00
mike12345567
7bd84bd048
Some typing fixes as well as a fix for the frontend issue of tables not correctly having their schemas updated in the table store when relationships added.
2023-09-26 17:01:30 +01:00
Adria Navarro
79e693c89d
Merge branch 'develop' into feature/user-column-type
2023-09-25 19:03:25 +02:00
Adria Navarro
235799c07d
Merge branch 'develop' into backmerge-20230919
2023-09-19 12:33:04 +02:00
Adria Navarro
3ee95938c3
Allow bb_refs to externals
2023-09-19 10:06:17 +02:00
Gerard Burns
36acd69fdd
Note about MySQL SSL ( #11797 )
2023-09-18 12:14:12 +01:00
mike12345567
8ca3f13a1c
Quick re-jig based on test failure, seems the base sql.ts is depended on fairly heavily, importing the SDK can create a lot of cycles.
2023-09-14 16:53:36 +01:00
mike12345567
217d10f5fb
Fix for more than/less than ranges, zeros were ignored when building up ranges, so that it simply acted like an upper limit, rather than a range.
2023-09-14 14:00:49 +01:00
Adria Navarro
881ff02a7d
Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest
2023-09-13 14:49:17 +02:00
Adria Navarro
c530d5fa34
Timeout issues
2023-09-13 13:17:51 +02:00
Mel O'Hagan
17dc01808c
Additional unit test
2023-09-11 21:35:51 +01:00
Mel O'Hagan
7147752b9c
Fix date validation regex
2023-09-11 21:26:05 +01:00
Adria Navarro
3fe7a9f4cb
Unmock pg
2023-09-06 12:51:08 +02:00
Adria Navarro
887ebb2eeb
Simplify
2023-09-05 11:16:37 +02:00
Adria Navarro
6240740a42
Simplify
2023-09-05 11:11:47 +02:00
Adria Navarro
b27899b1e6
Redo helpers
2023-09-05 10:47:59 +02:00
Adria Navarro
baab7d3fb5
Use docker utils helpers
2023-09-04 19:05:11 +02:00
mike12345567
7110351bdc
Revert "revert develop into master"
...
This reverts commit fd099658a0
.
2023-08-18 14:33:21 +01:00