Michael Drury
a3d2871330
Merge branch 'master' into feature/audit-log-sqs
2024-05-23 16:52:50 +01:00
Sam Rose
325819ebae
Fix tests (take 3).
2024-05-23 16:13:07 +01:00
Conor Webb
7d256d235a
Enum columns unexpectedly breaking fix ( #13756 )
...
* Added enum to SQL_MISC_TYPE_MAP to correctly map to FieldType.OPTIONS
* improve enum values extraction for multiple single-select support
* Tests to ensure enums are typed correctly MySQL and Postgres
* Fixed linting issue
* Ran prettier
2024-05-23 14:31:11 +00:00
Michael Drury
d8870f1852
Merge branch 'master' into feature/audit-log-sqs
2024-05-23 10:44:39 +01:00
Sam Rose
f8fb08c72c
Merge master.
2024-05-22 17:24:29 +01:00
mike12345567
e90aa58242
Fixing REST test failure (?).
2024-05-22 16:09:19 +01:00
mike12345567
ff8684d9b4
Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs
2024-05-22 15:23:24 +01:00
Sam Rose
e53dddfdf0
Merge branch 'master' into delete-sql-spec-ts-2
2024-05-22 10:35:16 +01:00
Adria Navarro
a920161e92
Fix tests
2024-05-21 22:02:47 +02:00
mike12345567
b533a1df8c
Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs
2024-05-21 18:17:47 +01:00
Sam Rose
7f7ed9f0cb
Move more tests out of sql.spec.ts.
2024-05-21 17:38:38 +01:00
Adria Navarro
f14e6d014c
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres
2024-05-21 16:55:00 +02:00
Adria Navarro
4bf0a43c64
Add comment
2024-05-21 16:35:11 +02:00
Adria Navarro
53605ec8ed
Fix sorting in pg
2024-05-21 16:08:22 +02:00
Sam Rose
bc63a11979
Move sort stability check to search.spec.ts.
2024-05-21 14:20:05 +01:00
Sam Rose
9c9b2ff48d
Move empty object range tests out of sql.spec.ts.
2024-05-21 14:15:17 +01:00
Sam Rose
682cdfffe8
Respond to PR feedback.
2024-05-21 14:03:07 +01:00
Sam Rose
6bd984ab9c
Making progress towards deleting sql.spec.ts.
2024-05-21 11:51:42 +01:00
Adria Navarro
2b1df81649
Fix null references
2024-05-21 11:26:30 +02:00
mike12345567
40dbe52c2e
Fixing some issues with test cases.
2024-05-20 18:22:46 +01:00
Sam Rose
e2a1ab7eaf
All tests passing.
2024-05-20 17:01:52 +01:00
Adria Navarro
0b01b67661
Merge branch 'master' into budi-8195/unable-to-load-grid-when-using-external-postgres
2024-05-20 17:06:57 +02:00
Adria Navarro
356da44b4b
Clean code
2024-05-20 17:00:51 +02:00
Adria Navarro
028aaa0bb4
Clean
2024-05-20 17:00:12 +02:00
Adria Navarro
318dd5e628
Fix time and mssql tests
2024-05-20 16:34:22 +02:00
Adria Navarro
9f75922011
SQL time only column creation as time
2024-05-20 16:31:11 +02:00
Sam Rose
402afa1df6
Merge master.
2024-05-20 14:19:55 +01:00
mike12345567
a2200a38fb
Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs
2024-05-20 14:09:57 +01:00
Sam Rose
1562e7b1f1
Working towards user relationship tests passing.
2024-05-20 12:05:01 +01:00
Sam Rose
941bd7a657
Merge master.
2024-05-20 12:00:39 +01:00
Sam Rose
902613d600
Working towards user relationship tests passing.
2024-05-20 12:00:08 +01:00
Dean
37dd75823f
PR feedback, signature to signature single
2024-05-17 17:04:15 +01:00
deanhannigan
c45ae63742
Merge branch 'master' into feature/signature-field-and-component
2024-05-17 15:11:57 +01:00
Michael Drury
acab64ea45
Merge branch 'master' into fix/rest-download-images
2024-05-17 14:51:42 +01:00
mike12345567
e320524c63
Test case.
2024-05-17 14:37:01 +01:00
mike12345567
16c69dcc33
Backwards compat.
2024-05-17 14:16:08 +01:00
mike12345567
ec2ec4014c
Fixing an issue with images and REST queries, these traditionally have only come back as binary data to Budibase, but this isn't very useful, its very difficult to convert these into something that can be used. Instead we will now download images into temporary attachments as we do for other types with a real content-disposition.
2024-05-17 14:01:43 +01:00
Adria Navarro
a780a29337
Clean
2024-05-17 12:07:28 +02:00
Adria Navarro
7807b734bb
Persist googlesheet refs in context
2024-05-17 12:07:28 +02:00
Adria Navarro
16e58a38ea
Support pg time types
2024-05-17 10:51:40 +02:00
mike12345567
0efa1f06ab
Moving some stuff around to make way for other services using the sql layers.
2024-05-16 17:33:47 +01:00
Dean
166206f185
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-15 16:35:31 +01:00
mike12345567
a8e12dfb6b
Some fixes for the rest test cases which mocked too widely.
2024-05-15 14:40:08 +01:00
mike12345567
fcb535efee
Adding test cases for content-disposition hacks.
2024-05-15 14:03:31 +01:00
mike12345567
a1cbc931e2
Reducing the likelihood of validity check clashing with filename.
2024-05-15 13:37:46 +01:00
mike12345567
16f6cad1ea
Adding a hack incase any API we are speaking to does not abide by the expected structure of the content-disposition header, fill in the missing type to allow parsing.
2024-05-15 13:28:03 +01:00
Dean
55e7ea55f7
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-14 14:48:09 +01:00
Adria Navarro
c9d5112fcc
Change methods to private
2024-05-14 11:35:01 +02:00
Dean
03a484e9df
Build fixes
2024-05-13 16:34:09 +01:00
Dean
b0a65b4699
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-13 16:22:19 +01:00
Adria Navarro
63160a394b
Fix
2024-05-13 15:22:55 +02:00
Adria Navarro
004e13a349
Fix
2024-05-13 15:15:48 +02:00
Adria Navarro
a36c46ea90
Merge branch 'master' into feat/budi-8123-single-user
2024-05-13 13:33:03 +02:00
Adria Navarro
5c8a789047
Fix query
2024-05-13 12:35:01 +02:00
Adria Navarro
68e2313e6c
Fix test setup
2024-05-13 12:35:00 +02:00
Adria Navarro
7d142511a0
Merge branch 'master' into budi-8222/deleting-a-column-on-google-spreadsheet-messes-with-the-data
2024-05-10 16:13:28 +02:00
Adria Navarro
c0a2482a4e
Fix test
2024-05-09 19:57:27 +02:00
Adria Navarro
5a45ebcebc
Lint anys
2024-05-09 19:13:20 +02:00
Adria Navarro
10df627744
Keep headers
2024-05-09 18:44:07 +02:00
Adria Navarro
d83e5e21f2
Merge branch 'master' into feat/budi-8123-single-user
2024-05-09 18:05:16 +02:00
Adria Navarro
7bcdcda10d
Merge pull request #13594 from Budibase/budi-8123/usercolumn-migration
...
Fix user relationship to user column migration
2024-05-09 18:04:37 +02:00
deanhannigan
0ffa9d768a
Merge branch 'master' into feature/signature-field-and-component
2024-05-09 16:27:22 +01:00
mike12345567
381c33cfb5
Adding support for buffers in a few places - this helps with BYTE type columns in SQL.
2024-05-09 15:10:05 +01:00
deanhannigan
b5bf914cd7
Merge branch 'master' into feature/signature-field-and-component
2024-05-09 14:47:14 +01:00
Peter Clement
db273bcd36
Support attachment columns in Automations ( #13567 )
...
* base work to support attachments in create / update row
* handle single attachment column
* fix tests
* pro
* fix some types
* handle case where file exists in storage
* improve attacment processing
* refactor slightly and ensure correct url is used for existing attachments
* add test
* Fixing a build issue.
* update tests
* some lint
* remove cursed backend-core test util
* addressing pr comments
* refactoring nasty automationUtils upload code
* remove uneeded check
* use basneeame for fallback filename
* add a test to ensure coverage of single attachment column type
* fail early when fetching object metadata
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2024-05-09 14:30:56 +01:00
Dean
3712e290b0
Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component
2024-05-09 09:19:00 +01:00
Michael Drury
95b6a05a8c
Merge branch 'master' into fix/BUDI-8147
2024-05-08 16:12:53 +01:00
mike12345567
ed1f9f19a7
Updating test case to cover this scenario properly.
2024-05-08 16:12:24 +01:00
mike12345567
fd94e3aea9
Typing improvements around the REST integration to make sure when no response is returned it doesn't break anything.
2024-05-08 16:08:29 +01:00
Sam Rose
264ce5e272
Merge branch 'master' into search-tests-boolean
2024-05-08 14:20:36 +01:00
Peter Clement
1d300c2577
Remove aws sdk global mock and update tests ( #13637 )
...
* Remove aws sdk global mock and update tests
* add awaits
* Minio healthcheck in tests.
* Bind to 127.0.0.1 instead of 0.0.0.0
* Fix port fetching for minio container.
* Actually fix port mapping this time.
* Pull minio container before running tests.
* Enable testcontainers debug logging.
* Promote minio container to always running in tests, like CouchDB.
* Remove testcontainers debug logging.
---------
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-05-08 14:08:34 +01:00
Dean
877d23aeff
Add Signature type to external integration utils
2024-05-08 10:19:05 +01:00
Sam Rose
39f8727830
Move boolean coversion down a layer in the stack so it's not tied so directly to search.
2024-05-07 17:41:43 +01:00
Adria Navarro
30f099ac59
Fix google user
2024-05-06 14:34:55 +02:00
Adria Navarro
aabed795ec
Fix mappings
2024-05-06 08:27:21 +02:00
Adria Navarro
04ed10b06e
Lint
2024-05-06 08:06:44 +02:00
Adria Navarro
9a6e6ed115
Fix data between old and new
2024-05-06 08:06:43 +02:00
Adria Navarro
70c6d56c1e
Merge branch 'feat/budi-8123-single-user' into budi-8123/single-user-column-type
2024-05-02 12:06:42 +01:00
Sam Rose
2bc7b56d74
Merge branch 'master' of github.com:budibase/budibase into make-reuse-containers-default
2024-04-26 14:02:06 +01:00
Sam Rose
dd02224806
Restart testcontainers every day, and add a script to kill them.
2024-04-26 14:01:52 +01:00
Adria Navarro
24aec6efb1
Clean types
2024-04-26 13:30:08 +02:00
Adria Navarro
d45aa9beaf
Merge branch 'master' into budi-8123/single-user-column-type
2024-04-26 12:47:35 +02:00
Sam Rose
777b5b5f53
Make REUSE_CONTAINERS the default for running tests.
2024-04-26 11:35:23 +01:00
Adria Navarro
1aad2ee6d2
Fix after renames
2024-04-26 12:23:11 +02:00
Adria Navarro
34d97ab16a
Fix switch
2024-04-26 09:15:00 +02:00
Adria Navarro
afdbf4cc42
Add BB_REFERENCE_SINGLE type
2024-04-25 13:20:59 +02:00
Peter Clement
a4c0328c53
REST file handling and SMTP automation block attachments ( #13403 )
...
* handle files in rest connector
* fetch presigned url and return
* further updates to handle files in rest connector
* remove unused important and fix extension bug
* wrong expiry param
* tests
* add const for temp bucket
* handle ttl on bucket
* more bucket ttl work
* split out fileresponse and xmlresponse into utils
* lint
* remove log
* fix tests
* some pr comments
* update function naming and lint
* adding back needed response for frontend
* use fsp
* handle different content-disposition and potential path traversal
* add test container for s3 / minio
* add test case for filename* and ascii filenames
* move tests into separate describe
* remove log
* up timeout
* switch to minio image instead of localstack
* use minio image instead of s3 for testing
* stream file upload instead
* use streamUpload and update signatures
* update bucketcreate return
* throw real error
* tidy up
* pro
* pro ref fix?
* pro fix
* pro fix?
* move minio test provider to backend-core
* update email builder to allow attachments
* testing for sending files via smtp
* use backend-core minio test container in server
* handle different types of url
* fix minio test provider
* test with container host
* lint
* try different hostname?
* Revert "try different hostname?"
This reverts commit cfefdb8ded
.
* fix issue with fetching of signed url with test minio
* update autoamtion attachments to take filename and url
* fix tests
* pro ref
* fix parsing of url object
* pr comments and linting
* pro ref
* fix pro again
* fix pro
* account-portal
* fix null issue
* fix ref
* ref
* When sending a file attachment in email fetch it directly from our object store
* add more checks to ensure we're working with a signed url
* update test to account for direct object store read
* formatting
* fix time issues within test
* update bucket and path extraction to regex
* use const in regex
* pro
* Updating TTL handling in upload functions (#13539 )
* Updating TTL handling in upload functions
* describe ttl type
* account for ttl creation in existing buckets and update types
* fix tests
* pro
* pro
2024-04-22 15:30:57 +00:00
mike12345567
8bb6956925
Merge branch 'master' of github.com:Budibase/budibase into fix-oidc-error-logging
2024-04-19 13:29:21 +01:00
Adria Navarro
706d0cb89c
Refactor
2024-04-19 14:06:47 +02:00
Adria Navarro
2bce7424f1
Refactor logic
2024-04-19 13:43:18 +02:00
Adria Navarro
11ef351400
Fix dropping links
2024-04-19 12:56:51 +02:00
Adria Navarro
874c698776
lint
2024-04-19 12:52:25 +02:00
Adria Navarro
16d2c06b8a
Add constraints and extra fields
2024-04-19 12:40:39 +02:00
Adria Navarro
1685568089
Improve and fix test
2024-04-19 12:38:57 +02:00
Adria Navarro
c34cd470ee
Fix dropping columns existing only internally
2024-04-19 11:05:36 +02:00
Adria Navarro
642f30416a
Fix schema and aliasing usage
2024-04-18 17:48:10 +02:00
mike12345567
933c3fdec4
Merge branch 'master' of github.com:Budibase/budibase into more-sqs-tests-4
2024-04-18 10:55:33 +01:00
mike12345567
58d4b2b56e
renaming some sqlstatement generation to lte/gte.
2024-04-17 17:13:08 +01:00
mike12345567
60ed4d8443
Updating how between/less than/greater than are handled for sqlite.
2024-04-17 17:12:26 +01:00
Michael Drury
58580f9ae3
Merge branch 'master' into more-sqs-tests-4
2024-04-17 16:27:28 +01:00
Adria Navarro
c986cf2b56
Merge pull request #13512 from Budibase/budi-8126/fix-changing-column-type
...
Fix changing column type
2024-04-17 17:27:10 +02:00
mike12345567
a33c2599b5
Adding error to catch scenario that caused tests to fail - fixing cases of table metadata not aligning with entityId
2024-04-17 16:25:27 +01:00
Adria Navarro
1bc7072a72
Fix type swap on refetch schema
2024-04-17 17:18:57 +02:00
Adria Navarro
3996ca6ff4
Merge branch 'master' into feat/budi-8126
2024-04-17 17:06:38 +02:00
mike12345567
828d78f2af
Fixing build after recent type updates.
2024-04-17 14:47:56 +01:00
Adria Navarro
ec93ea59c1
Remove // eslint-disable-next-line @typescript-eslint/no-unused-vars
2024-04-17 12:17:03 +02:00
Adria Navarro
21898afb29
Persist externalType changes
2024-04-17 12:13:18 +02:00
Adria Navarro
8afb0e3c91
Fix tests
2024-04-17 12:12:09 +02:00
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