Adria Navarro
e1c092d65d
Refetch when type changed
2024-04-17 12:12:09 +02:00
Adria Navarro
4aba988ca9
Keep schema by default
2024-04-17 12:12:09 +02:00
Sam Rose
affa546159
Fix tests.
2024-04-16 17:45:06 +01:00
Sam Rose
38dc7ae391
Remove extraneous ? and ! operators.
2024-04-16 17:39:05 +01:00
Sam Rose
a70210312a
Merge branch 'master' of github.com:budibase/budibase into more-sqs-tests-4
2024-04-16 17:38:15 +01:00
Sam Rose
b01b260e39
Fix some of the broken tests.
2024-04-16 17:36:51 +01:00
Sam Rose
d77bb56e51
Merge master.
2024-04-16 17:29:12 +01:00
Sam Rose
03b1823463
Range tests passing.
2024-04-16 17:28:21 +01:00
Michael Drury
8b0fc5ed5d
Making table required.
2024-04-16 17:22:17 +01:00
Michael Drury
7d2861718a
Making meta required in query JSON.
2024-04-16 16:41:39 +01:00
mike12345567
e2ca21053e
Fixing build issue caught in CI.
2024-04-16 11:38:00 +01:00
mike12345567
69ae603fa4
Updating errors from sql table actions and making sure SQS tables cannot be reach the sql table actions/will error if they do.
2024-04-15 18:24:11 +01:00
mike12345567
b13b7df678
Correctly handling aliasing for sorting/json field types with SQS.
2024-04-15 18:23:39 +01:00
Michael Drury
05708f9dcc
Merge branch 'master' into feature/sqs-relationships
2024-04-15 18:07:33 +01:00
Sam Rose
d61d5f51cc
Add tests for array column types, fixing some bugs along the way.
2024-04-15 15:31:46 +01:00
mike12345567
ebb79c16fe
Aliasing support for SQS.
2024-04-12 16:15:36 +01:00
Michael Drury
c190a9983f
Merge branch 'master' into fix-oidc-error-logging
2024-04-11 17:01:04 +01:00
Sam Rose
672025e176
Solve onEmptyFilter in a nicer way.
2024-04-11 10:11:03 +01:00
Sam Rose
229bbc0d10
Assert length on search tests, fixes bug in SQS around on empty return none.
2024-04-11 09:53:54 +01:00
Martin McKeaveney
4a6e1b7192
fix all cases of lint rule
2024-04-10 17:39:12 +01:00
mike12345567
0a4ee7e308
Fixing issue introduced in merge, using new native SQL function.
2024-04-08 18:29:06 +01:00
Michael Drury
737adfdea9
Merge branch 'master' into labday/sqs
2024-04-08 17:52:09 +01:00
Sam Rose
83c7f08c5a
Fix sql.spec.ts
2024-04-08 11:11:06 +01:00
Sam Rose
9da10c790e
One failure left for MSSQL
2024-04-05 17:47:55 +01:00
Sam Rose
de2afa01b9
table.spec.ts passing with MySQL
2024-04-05 16:54:29 +01:00
mike12345567
30c81e58ec
Some typing and test fixes.
2024-04-04 18:16:23 +01:00
mike12345567
65fa317f9e
Fixing yarn lock merge conflict.
2024-04-04 17:23:28 +01:00
mike12345567
d11c316572
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-04-04 15:02:25 +01:00
Sam Rose
b2ef045ecf
Merge master.
2024-04-03 15:17:38 +01:00
Sam Rose
db877b7802
Create unique MongoDB databases.
2024-04-03 12:55:44 +01:00
Sam Rose
79184e70af
Remove CONTAINER_NAMESPACE, it wasn't the solution.
2024-04-03 12:32:29 +01:00
Sam Rose
8cffdeda56
Re-use containers and create namespaces for each test.
2024-04-03 11:33:39 +01:00
Sam Rose
e3fbce25fa
Merge branch 'master' of github.com:budibase/budibase into reuse-containers
2024-04-03 11:15:11 +01:00
mike12345567
5e186b5c8a
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-04-02 12:05:34 +01:00
Sam Rose
90cfdd661d
Rework how we connect to containers.
2024-03-28 17:36:26 +00:00
mike12345567
d8de0a3154
An issue which comes up relatively often is that localhost is not a valid option for a datasource in our cloud and our self host environments. Fixing this so it only shows this in development.
2024-03-28 12:14:56 +00:00
Sam Rose
eb33dac9b1
Make container reuse optional, disabled by default.
2024-03-27 16:40:41 +00:00
Sam Rose
831c174362
Give SQL integrations their own database when fetching a new datasource.
2024-03-27 15:25:37 +00:00
Sam Rose
b84bbd6003
Migrate viewV2.spec.ts to new datasource providers.
2024-03-26 14:43:17 +00:00
Sam Rose
158964c4d2
Got container reuse strategy in place, need to convert tests now.
2024-03-26 11:22:40 +00:00
Sam Rose
869ed4256e
Merge master.
2024-03-25 14:13:48 +00:00
Michael Drury
37b4b756ea
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-03-25 13:31:31 +00:00
Michael Drury
5240c2c2ca
Merge branch 'master' into fix/BUDI-7444
2024-03-25 10:03:38 +00:00
Michael Drury
a7142dc618
Merge branch 'master' into remove-mongodb-mock
2024-03-22 16:16:15 +00:00
Sam Rose
a9aa409d7c
Fix up tests.
2024-03-22 15:01:40 +00:00
mike12345567
3f225c94e7
Linting.
2024-03-22 11:50:07 +00:00
mike12345567
f4f7ac42ec
Adding test cases for interpolation of SQL, confirming that the context correctly gets cleaned up before passing into bindings.
2024-03-22 11:40:44 +00:00
mike12345567
3a05076c3e
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-03-21 15:01:20 +00:00
Adria Navarro
bc02fb372f
Merge branch 'master' into BUDI-8084/single-attachment-binding
2024-03-21 14:20:15 +01:00
Sam Rose
78c878c3ea
Merge branch 'master' into remove-mongodb-mock
2024-03-21 11:35:09 +00:00
Adria Navarro
30f08ef232
Merge branch 'master' into BUDI-8084/single-attachment-binding
2024-03-21 10:39:57 +01:00
Adria Navarro
0827cc6bda
Type everywhere!
2024-03-20 19:33:39 +01:00
Sam Rose
545c67eac6
Remove mssql mock, unify SQL-based query tests.
2024-03-20 17:59:35 +00:00
Sam Rose
a81a1b13ce
Remove mysql mocks.
2024-03-20 16:55:34 +00:00
Sam Rose
681c53156f
Merge master.
2024-03-20 15:52:44 +00:00
Sam Rose
ff22db3d9f
Fold MongoDB unit tests into integration tests, delete MongoDB mocks.
2024-03-20 15:42:06 +00:00
mike12345567
9995f71871
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-03-20 13:45:27 +00:00
mike12345567
8df38b8bb2
Merging in most recent changes, recent SQL aliasing changes caused some big differences.
2024-03-20 12:42:07 +00:00
Sam Rose
217b39c232
Reenable no-unused-vars
2024-03-20 11:46:39 +00:00
Sam Rose
efd4496d48
Reenable no-prototype-builtins
2024-03-20 10:27:51 +00:00
Adria Navarro
7d12af9ba8
Merge branch 'master' into reenable-no-case-declarations
2024-03-19 19:51:11 +01:00
Sam Rose
03a702e765
Merge master.
2024-03-19 17:07:26 +00:00
mike12345567
8d7267691d
Handling aliasing in column conversions.
2024-03-19 16:28:25 +00:00
mike12345567
6a0e46a0a6
Proper fix, making sure that low level handling of JSON column types correctly handles aliasing.
2024-03-19 16:24:15 +00:00
Sam Rose
476f84c6d1
Merge branch 'master' into reenable-no-useless-escape
2024-03-19 16:00:07 +00:00
Sam Rose
f1278312ab
Reenable no-case-declarations.
2024-03-19 15:58:25 +00:00
Sam Rose
7dc9e4ef3f
Fix incorrect test.
2024-03-19 15:34:02 +00:00
Sam Rose
5749333fc7
Reenable no-useless-escape.
2024-03-19 11:14:16 +00:00
Sam Rose
7a63dc9830
Making progress on getting the eslint-jest plugin working.
2024-03-19 10:46:59 +00:00
Sam Rose
1f63f0bddf
Run auto fix.
2024-03-19 09:46:10 +00:00
Sam Rose
ae0eda21a5
Remove uses of console in tests.
2024-03-18 13:43:43 +00:00
Sam Rose
a5c8e8845f
Implement Adri's type guard suggestion.
2024-03-13 13:38:08 +00:00
Sam Rose
d061c19c80
Remove some extraneous, unused code.
2024-03-12 17:21:33 +00:00
Sam Rose
aff0209176
MariaDB tests passing.
2024-03-12 15:27:34 +00:00
Sam Rose
477d17b53e
Making progress on getting SQL Server working.
2024-03-12 12:25:30 +00:00
Sam Rose
ce209a16b3
Get tests running with SQL Server. Need to make them pass next.
2024-03-12 10:42:42 +00:00
mike12345567
851a423615
Some typing updates to fix some build issues which were occurring.
2024-03-06 18:07:46 +00:00
mike12345567
2eb16a70db
Merge branch 'master' of github.com:Budibase/budibase into labday/sqs
2024-03-06 17:27:53 +00:00
Michael Drury
de56324a4b
Linting
2024-03-05 18:16:27 +00:00
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
mike12345567
e174211440
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-08-17 17:34:44 +01:00
Martin McKeaveney
fd099658a0
revert develop into master
2023-08-17 10:28:15 +01:00
melohagan
6d40a54fd5
Only get definition for given schema ( #11532 )
2023-08-17 10:10:52 +01:00
Michael Drury
08e663a8d3
Merge branch 'master' into budi-7350-filter-equal-for-numbers-not-working-in-data-providers
2023-08-10 16:28:59 +01:00
melohagan
ece1c421fa
Fix/formula as display ( #11439 )
...
* Allow formulas to be display columns in the grid
* Ensure SQL Server always has a sort order
2023-08-04 13:53:30 +01:00
Mel O'Hagan
20f71fadd3
Refactor
2023-08-03 18:52:55 +01:00
Mel O'Hagan
8c61359b9d
Allow user specified type casting in MySQL queries
2023-08-03 17:23:15 +01:00
mike12345567
8c2d0f594c
Quick fix for utilising a hyphen in a Postgres schema - this needed to be escaped correctly.
2023-08-01 18:18:53 +01:00
Adria Navarro
f4675aab6e
Fix import
2023-08-01 12:52:12 +02:00
Adria Navarro
b9820f94e6
Import lodash modules
2023-07-28 17:11:48 +02:00
Adria Navarro
1ce9bffe40
Remove duplicated key
2023-07-28 17:11:48 +02:00
mike12345567
c185dd7dd0
Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs
2023-07-21 18:41:48 +01:00
mike12345567
7673673db2
Updating RelationshipTypes -> RelationshipType.
2023-07-21 12:57:47 +01:00
Adria Navarro
58c59eba5e
Remove unused db usages
2023-07-18 12:00:02 +02:00
Adria Navarro
13ef7b8858
Merge branch 'develop' into backmerge-20230717
2023-07-17 17:13:26 +01:00
Adria Navarro
a7801c52f8
Allow authtype undefined by default
2023-07-13 11:09:40 +02:00
Adria Navarro
2dadf1d429
Fix conflicting mssql configuration
2023-07-11 20:05:10 +02:00
Adria Navarro
02fa87b59b
Merge pull request #11200 from Budibase/budi-7265-sql-ntlm-configuration
...
Allow MSSQL ntlm configuration
2023-07-11 15:33:49 +01:00
Adria Navarro
119506fcc7
Fix typo
2023-07-11 15:41:49 +02:00
Adria Navarro
4280e08f22
Renames
2023-07-11 15:31:59 +02:00
melohagan
89c0d3b389
Add BigInt type support ( #11145 ) ( #11195 )
...
* Add BigInt type
* Allow BigInt columns to be added
* Sort fixes
* Add BigInt field
2023-07-11 14:01:55 +01:00
Adria Navarro
c4fec6973f
Add ntml config
2023-07-11 13:08:15 +02:00
Adria Navarro
00fff6eded
Add local AD option
2023-07-11 12:35:00 +02:00
mike12345567
f7a60bc65a
Some minor improvements while working on documenting the outcomes.
2023-07-07 13:47:42 +01:00
mike12345567
adef1ed5ce
Initial attempt to get SQS up and running within BB.
2023-07-06 21:49:25 +01:00
mike12345567
4428678ebd
Quick fix for QA-core tests, when encrypt is undefined for MS-SQL, it defaults to true, need to be aware of this so can set trustServerCertificate correctly. Also fixing the naming of a test.
2023-06-30 12:05:18 +01:00
mike12345567
63d16f1809
Only enable trust server certificate if encryption enabled.
2023-06-29 16:09:25 +01:00
mike12345567
7b6246ee59
Fixes discovered by MS-SQL validator tests in QA-core, fixing custom ports being used (not default) and allowing the use of self signed certificates. Also updating an error message in line with Peters changes.
2023-06-29 16:09:25 +01:00
mike12345567
a66d5bf7be
Merge branch 'develop' of github.com:Budibase/budibase into feat/surface-sql-errors
2023-06-28 17:58:56 +01:00
Michael Drury
72e7373073
Merge pull request #11058 from Budibase/feature/budi-7076
...
Datasource settings tab for SQL databases and SQL schema export functionality
2023-06-28 17:56:03 +01:00
mike12345567
30a9b349d8
Merge branch 'develop' of github.com:Budibase/budibase into feat/surface-sql-errors
2023-06-28 17:31:03 +01:00
Adria Navarro
ec3f962d3c
Fix typings
2023-06-28 15:16:47 +01:00
Adria Navarro
b6f9ae762d
Lint
2023-06-28 14:59:49 +01:00
Adria Navarro
47d6113fee
Submit nested
2023-06-28 14:33:52 +01:00
Adria Navarro
a95a5f1cb2
Populate fields
2023-06-28 14:33:52 +01:00
Adria Navarro
758b4f8254
Allow open by default for field groups
2023-06-28 14:33:52 +01:00
Adria Navarro
352ea72c53
Select and conditional fields
2023-06-28 14:33:52 +01:00
Adria Navarro
8a7d610faf
Move creation pool on the connect step
2023-06-28 14:33:51 +01:00
Adria Navarro
c9bee9e423
Display errors
2023-06-28 14:33:51 +01:00
Adria Navarro
1e5492b18d
Type mssql
2023-06-28 14:33:51 +01:00
mike12345567
25d0f3f518
Adding settings tab for SQL datasources.
2023-06-28 11:59:53 +01:00
Peter Clement
87768fd577
update error messages:
2023-06-28 09:28:40 +01:00
Peter Clement
fed6a83bca
remove incorrect psql codes
2023-06-28 09:18:41 +01:00
Peter Clement
cf0300973a
add error mapping system
2023-06-27 15:28:10 +01:00
Peter Clement
46a9142676
propagate errors coreectly for datasource plus
2023-06-27 15:27:56 +01:00
Mel O'Hagan
6f75c5df53
Use any type to fix TypeScript check
2023-06-27 09:59:02 +01:00
Dean
eaecd3ab68
Merge remote-tracking branch 'origin/develop' into merge-master
2023-06-27 09:31:35 +01:00
melohagan
0ecda93ea9
Fix for $in on ObjectIds ( #11014 )
2023-06-26 15:07:29 +01:00
mike12345567
3d3efadb37
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-06-23 15:19:49 +01:00
melohagan
3aca0c0ed3
Null safety ( #11007 )
2023-06-23 14:48:07 +01:00
mike12345567
cbfeea121c
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-06-20 18:09:23 +01:00
melohagan
b0debf17ef
Table disappears from side bar when changing display name ( #10909 )
...
* Pass sourceId on fetch tables
* Use ExternalTable type
2023-06-20 17:07:12 +01:00
Adria Navarro
cdd15fd75f
Merge pull request #10953 from Budibase/budi-7115-sql-schema-export
...
BUDI-7115 - Sql schema export
2023-06-20 11:57:46 +01:00
mike12345567
289a75fc9a
Few minor updates to the integration suite to make it easier to decipher what is happening under the hood, as well as making it easier to log from these (where there is no pino logging available, importing backend-core breaks things). Also added a new script which can be used to get local environment setup as needed to run qa-core tests. Finally, xdescribe for the failing test until can work out what is wrong with MongoDB installation in QA environment.
2023-06-19 18:28:38 +01:00
Adria Navarro
718fe1efc6
Implement mssql and tests
2023-06-19 17:56:12 +01:00
Adria Navarro
c44b10eadf
Lint
2023-06-19 17:56:12 +01:00
Adria Navarro
e21dca5582
Implement and test mysql sql dump
2023-06-19 17:56:12 +01:00
Adria Navarro
ab5b8716c0
Get mysql schema
2023-06-19 17:56:12 +01:00
Adria Navarro
d337c52adf
Add feature flags
2023-06-19 17:56:11 +01:00
Adria Navarro
7a4eb3113d
Add external schema endpoint
2023-06-19 17:56:11 +01:00
Adria Navarro
dbcf7814a8
Support ssl
2023-06-19 17:56:11 +01:00
Adria Navarro
e7026d4aed
Get schema function
2023-06-19 17:56:11 +01:00
Rory Powell
5f716a62a4
Revert "Merge branch 'develop' into master"
...
This reverts commit 67fb9de7f4
, reversing
changes made to ebec885b0a
.
2023-06-16 10:13:43 +01:00
Adria Navarro
df3afe2a7c
Merge pull request #10918 from Budibase/budi-5262/support_pg_client_cert
...
Budi 5262 - Support pg client cert
2023-06-15 12:40:16 +01:00
Adria Navarro
4d3ab040bf
Support postgres client certificates
2023-06-15 11:06:01 +01:00
Adria Navarro
e6ad3a4719
Type pg
2023-06-14 17:17:29 +01:00
Adria Navarro
f31c615e18
Merge branch 'develop' into backmerge-master
2023-06-14 15:45:47 +01:00
Michael Drury
fdad2e6bf3
Merge pull request #10895 from Budibase/fix/budi-7099
...
MySQL cyclic JSON conversion issue with primary display columns
2023-06-14 15:09:17 +01:00
mike12345567
3f63a81c01
PR comments.
2023-06-14 14:34:12 +01:00
mike12345567
68082eecf9
Fix for circular issue with primary display fields on SQL tables introduced in most recent update - if somehow the primary display field is set to a relationship field there was a chance of cyclic structure occurring which Koa could not convert to JSON.
2023-06-13 18:21:22 +01:00
mike12345567
60d58034dd
Fixes #6346 - issue with date parsing, adding in some testing around it.
2023-06-13 16:11:22 +01:00
Adria Navarro
c1e09d0305
Close client on testconnection
2023-06-13 10:49:09 +01:00
Adria Navarro
a14b29efac
Improve fetch performance
2023-06-07 12:29:36 +01:00
Adria Navarro
dd58aaf5cb
Use fancycheckboxgroup
2023-06-07 11:44:32 +01:00
Adria Navarro
5135ac36b7
Fix fetching tables
2023-06-07 11:31:10 +01:00
Adria Navarro
deeba8bae3
Revert "Merge branch 'develop' into master"
...
This reverts commit 6f29c978e0
, reversing
changes made to 1c6ff73c19
.
2023-06-06 22:06:34 +01:00
mike12345567
cc60baa3d1
Some fixes for BBUI and updating postgres table name fetching to get uniques.
2023-06-06 17:40:14 +01:00
Adria Navarro
21e870109c
Save datasource
2023-06-06 11:29:50 +01:00
Adria Navarro
1e238ce693
Validate google sheets url
2023-06-06 11:29:49 +01:00
Rory Powell
abbd8c5c8b
Merge branch 'master' into develop
2023-06-05 23:19:43 +01:00
mike12345567
0506096e72
Fixing filtering plus pagination in googlesheets, the pagination previously was first which broke the filtering.
2023-06-05 10:03:47 +01:00
mike12345567
e7649374d2
Fixing googlesheets filtering by _id - there was an issue with the response API giving _rowNumber rather than the expected primary key of rowNumber, need to update the filters accordingly.
2023-06-02 18:25:35 +01:00
mike12345567
213315e14f
Fixing issue with row deletion not returning the _id of the row which was deleted in googlesheets.
2023-06-02 18:03:43 +01:00
Michael Drury
cde4dabe42
Fixing some redis type errors.
2023-06-01 11:10:39 +01:00
Adria Navarro
77a619945b
Merge pull request #10680 from Budibase/budi-6933-verify-data-source-connection-during
...
Verify data source connection before saves
2023-05-26 10:47:42 +02:00
Adria Navarro
b264708af6
Merge remote-tracking branch 'origin/develop' into chore/esbuild
2023-05-24 14:17:32 +02:00
Adria Navarro
237cda064c
Simplify integration features
2023-05-24 10:50:51 +02:00
Adria Navarro
c3036af072
Merge pull request #10659 from Budibase/feature/table-fetching
...
Datasource+ table fetching API
2023-05-23 15:39:18 +02:00
andz-bb
7b9d56ac25
add role field to snowflake datasource connection
2023-05-23 12:38:50 +01:00
mike12345567
590844c8a9
PR comments.
2023-05-23 12:22:22 +01:00
Adria Navarro
aa58a24a6d
Change query for retrieving postgres primary keys
2023-05-23 11:20:18 +02:00
Adria Navarro
e838a90d3e
Add small unit test
2023-05-23 10:22:26 +02:00
Adria Navarro
023373bb25
Remove unnecessary load info
2023-05-23 10:18:37 +02:00
Adria Navarro
b7b604ca00
Improve test
2023-05-23 10:17:42 +02:00
Adria Navarro
5ea19986b1
Add basic test
2023-05-23 10:14:06 +02:00
Adria Navarro
74ea851fa3
Fetch google sheets
2023-05-23 09:55:46 +02:00
mike12345567
83ddb9c8dd
Adding feature to denote fetch table names function.
2023-05-22 14:28:18 +01:00
mike12345567
d6c07f47b6
Adding base implementation for googlesheets integration.
2023-05-22 13:57:56 +01:00
Michael Drury
732ebb4f87
Adding function to fetch table names.
2023-05-18 22:09:44 +01:00
Adria Navarro
2d2d50a5df
Merge branch 'develop' into chore/esbuild
2023-05-18 11:34:11 +02:00
mike12345567
f3785892a9
Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild
2023-05-17 12:45:28 +01:00
Adria Navarro
8e95038671
Merge pull request #10620 from Budibase/feature/oracle-conn-checking
...
Oracle connection checking
2023-05-17 10:52:31 +02:00
Adria Navarro
a2e22bda71
Merge pull request #10618 from Budibase/budi-6932/check_elastic
...
Check elastic search connection settings
2023-05-17 10:16:16 +02:00
mike12345567
ee5f0ec641
Remove unused type.
2023-05-17 09:15:06 +01:00
Adria Navarro
896bc61934
Check elastic connection
2023-05-17 09:38:37 +02:00
mike12345567
9f57d7c33a
Fixes after testing against actual Oracle service.
2023-05-16 19:31:12 +01:00
mike12345567
832f8b3aa8
Adding Oracle connection checking.
2023-05-16 19:04:46 +01:00
Adria Navarro
e465422031
Implement connection
2023-05-16 15:08:34 +02:00
Adria Navarro
ce357ecac8
Setup CONNECTION_CHECKING feature
2023-05-16 13:37:30 +02:00
Adria Navarro
d285c2aeb2
Merge pull request #10601 from Budibase/budi-6932/verify_google_sheets
...
Verify google sheets connection
2023-05-16 13:33:08 +02:00
Adria Navarro
87497fee73
Comments
2023-05-16 13:24:16 +02:00
Adria Navarro
419e2de602
Test airtable connection
2023-05-16 13:24:16 +02:00
Adria Navarro
062127b1f1
Fix types
2023-05-16 11:48:40 +02:00
Adria Navarro
b3b962534f
Test snowflake connection
2023-05-16 11:47:38 +02:00
Adria Navarro
911a072069
Update types
2023-05-16 11:44:58 +02:00
Adria Navarro
cd93d327a5
Test google sheets
2023-05-16 11:43:13 +02:00
mike12345567
6b7269b954
Refactoring response from integrations to a simple type.
2023-05-15 17:36:16 +01:00
Michael Drury
18d2c33839
Merge pull request #10583 from Budibase/budi-6932/verify_redis
...
Implement redis connection verification
2023-05-15 17:22:32 +01:00
Michael Drury
fbc3697c8c
Merge pull request #10546 from Budibase/budi-6932/verify_mysql
...
Implement mysql connection verification
2023-05-15 17:13:32 +01:00
Michael Drury
9e6f22653b
Merge pull request #10550 from Budibase/budi-6932/verify_couchdb
...
Implement couchdb connection verification
2023-05-15 17:12:54 +01:00
Michael Drury
3ef204cf7b
Merge pull request #10553 from Budibase/budi-6932/verify_mssql
...
Implement MSSQL connection verification
2023-05-15 17:12:05 +01:00