1
0
Fork 0
mirror of synced 2024-09-25 13:51:40 +12:00
Commit graph

962 commits

Author SHA1 Message Date
mike12345567
c4c696baa7 Setting internal tables to count as SQL when using SQS. 2024-05-24 15:57:47 +01:00
Adria Navarro
28137f9500 Validate view schema on upsert 2024-05-24 16:07:07 +02:00
mike12345567
b18ca2670a Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs 2024-05-24 12:22:20 +01:00
Michael Drury
a3d2871330
Merge branch 'master' into feature/audit-log-sqs 2024-05-23 16:52:50 +01:00
Sam Rose
c8e7b6d777
Merge branch 'master' of github.com:budibase/budibase into sqs-user-tests 2024-05-23 15:17:06 +01:00
mike12345567
0c28d05d40 Some work to correctly handle JSON columns from SQS as well. 2024-05-23 14:57:38 +01:00
mike12345567
90d646facb Updating pagination method. 2024-05-23 14:37:41 +01:00
Adria Navarro
cf43530e1c
Merge branch 'master' into BUDI-8279/time-constrains 2024-05-23 15:33:50 +02:00
Adria Navarro
43acea931a Ensure iso time config still work 2024-05-23 15:23:02 +02:00
Adria Navarro
b8400294d5 Add extra tests 2024-05-23 14:59:51 +02:00
Adria Navarro
d1ef9067dc Allow range crossing midnight 2024-05-23 14:59:51 +02:00
Adria Navarro
5b80e4fb6e Add more tests 2024-05-23 14:59:51 +02:00
Adria Navarro
d58c144dce Add extra tests 2024-05-23 14:59:51 +02:00
Adria Navarro
fb06254964 Extra tests 2024-05-23 14:59:51 +02:00
Adria Navarro
bed18615b5 Add basic tests 2024-05-23 14:59:51 +02:00
Adria Navarro
402426a5f3 Validate time only field constrains 2024-05-23 14:59:51 +02:00
Adria Navarro
c7a4179c40
Merge branch 'master' into BUDI-8279/prevent-changing-date-or-time-only-when-fetched 2024-05-23 13:00:27 +02:00
Michael Drury
d8870f1852
Merge branch 'master' into feature/audit-log-sqs 2024-05-23 10:44:39 +01:00
Adria Navarro
f6146c4974 Validate time only fields 2024-05-23 11:39:45 +02:00
Adria Navarro
028afd9cca Fix checks 2024-05-23 11:34:58 +02:00
Adria Navarro
b3bea1e839 Block timeOnly changes in the api 2024-05-23 10:40:33 +02:00
Sam Rose
f8fb08c72c
Merge master. 2024-05-22 17:24:29 +01:00
Sam Rose
e53dddfdf0
Merge branch 'master' into delete-sql-spec-ts-2 2024-05-22 10:35:16 +01:00
mike12345567
a5c5e2ffcd Fixing issue discovered by test with 1: syntax being required for relationship based filters. 2024-05-21 18:39:46 +01: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
99debcbc34
Merge branch 'master' into optimise-aliasing 2024-05-21 15:53:28 +01:00
Sam Rose
7bbb920aa7
Optimise the reverse method in sqlAlias.ts. 2024-05-21 15:49:48 +01:00
mike12345567
082092b392 Handling pagination for SQS API. 2024-05-21 12:39:36 +01:00
Sam Rose
6bd984ab9c
Making progress towards deleting sql.spec.ts. 2024-05-21 11:51:42 +01:00
mike12345567
93e4824549 Fixing some error scenarios 2024-05-20 15:25:55 +01: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
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
deanhannigan
f20ed14e61
Merge branch 'master' into feature/signature-field-and-component 2024-05-20 10:30:55 +01:00
mike12345567
d1b6a542fa Getting audit log searching with sqs working - a bit more work than expected but fixed quite a few SQS bugs along the way. 2024-05-17 20:26:34 +01:00
mike12345567
c1ce6be9b9 Disallowing arrays for single types (attachment and user). 2024-05-17 17:17:57 +01:00
Dean
37dd75823f PR feedback, signature to signature single 2024-05-17 17:04:15 +01:00
mike12345567
d7f3109a22 Making sqlite design doc generation more accessible. 2024-05-17 12:35:31 +01:00
deanhannigan
1bfcdb36c2
Merge branch 'master' into feature/signature-field-and-component 2024-05-17 12:15:34 +01: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
mike12345567
06d6d84b55 Addressing PR comments. 2024-05-16 13:27:54 +01:00
Dean
166206f185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-15 16:35:31 +01:00
Michael Drury
1c22c7d2d1
Merge branch 'master' into feature/sqs-table-cleanup 2024-05-15 12:34:12 +01:00
mike12345567
6b8d52def1 Linting and build issues. 2024-05-15 12:00:15 +01:00
Adria Navarro
8e0fb2f74b Lint 2024-05-15 11:30:18 +02:00
Adria Navarro
062df0ff8b Cleanup 2024-05-15 11:01:36 +02:00
Adria Navarro
6c1b3a0d2d Fix tests 2024-05-14 18:08:41 +02:00
mike12345567
aa51db20ee Changing how cleanup works - the cleanup is now part of the DB deletion, making sure it cannot be missed. 2024-05-14 15:41:48 +01:00
Dean
b0a65b4699 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-13 16:22:19 +01:00
Dean
0589a6a730 Refactored signature from previous array implementation to the new single approach. Added support for automations 2024-05-13 16:19:02 +01:00
mike12345567
f25703b88e Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup 2024-05-13 13:54:00 +01:00
Adria Navarro
01b9d6069c Fix build 2024-05-13 12:35:01 +02:00
Adria Navarro
91332ce411 Lint 2024-05-13 12:35:01 +02:00
Adria Navarro
fdea7221e4 Fix filter operations 2024-05-13 12:35:01 +02:00
Adria Navarro
5c8a789047 Fix query 2024-05-13 12:35:01 +02:00
mike12345567
a3d079f847 Fixing an issue with cleanup, making sure the correct app is cleaned up on deletion. 2024-05-09 18:33:29 +01:00
mike12345567
fd7f6455bd Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup 2024-05-09 17:38:24 +01:00
Adria Navarro
d83e5e21f2
Merge branch 'master' into feat/budi-8123-single-user 2024-05-09 18:05:16 +02:00
deanhannigan
bf88090c89
Merge branch 'master' into feature/signature-field-and-component 2024-05-09 16:39:54 +01:00
Sam Rose
bfc63bd4e2
Remove the last internal.spec.ts file. 2024-05-09 16:26:08 +01:00
deanhannigan
b5bf914cd7
Merge branch 'master' into feature/signature-field-and-component 2024-05-09 14:47:14 +01:00
deanhannigan
32cce5f5c6
Merge branch 'master' into feature/filter-bindings 2024-05-09 14:24:29 +01:00
mike12345567
04083adaac Adding ID column special case and fixing build issue. 2024-05-09 13:05:58 +01:00
Michael Drury
6b84abda48
Merge branch 'master' into fix/disable-external-auto-columns 2024-05-09 12:57:02 +01:00
mike12345567
0a96bb9684 Disabling auto-column fieldtype and subtypes. This is not something that is currently supported through the UI, so this is not a breaking change, just making sure these type of scenarios don't actually occur as they don't work particularly well. 2024-05-09 12:44:30 +01:00
Sam Rose
69c8264388
Remove src/sdk/app/rows/tests/internal.spec.ts. 2024-05-09 11:57:17 +01:00
Dean
4c6629d15f Merge remote-tracking branch 'origin/master' into feature/filter-bindings 2024-05-09 11:05:58 +01:00
Dean
3712e290b0 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-09 09:19:00 +01:00
mike12345567
21ce586d93 Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup 2024-05-08 17:04:34 +01:00
Dean
a29301a2fc Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-08 09:43:30 +01:00
deanhannigan
46995a115a
Merge branch 'master' into feature/filter-bindings 2024-05-08 09:37:14 +01:00
mike12345567
a2d4f8523c Some typing improvements, as well as getting deletion/setup working a bit better. 2024-05-07 18:27:47 +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
mike12345567
654905ea90 Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup 2024-05-07 12:44:02 +01:00
Sam Rose
ae281c3e7a
Merge branch 'master' of github.com:budibase/budibase into search-tests-boolean 2024-05-07 10:01:28 +01:00
Dean
39233c66f8 Remove leftover from config refactor 2024-05-07 09:46:04 +01:00
Adria Navarro
9a6e6ed115 Fix data between old and new 2024-05-06 08:06:43 +02:00
Adria Navarro
569488deee Move migration logic to backend 2024-05-06 08:06:43 +02:00
Adria Navarro
3e4b0e8cd6 Handle migrations 2024-05-06 08:06:43 +02:00
Sam Rose
1777f1f8fe
Fix boolean searching for Lucene/SQS 2024-05-03 17:29:20 +01:00
mike12345567
541e31633d Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup 2024-05-03 14:18:25 +01:00
Sam Rose
2b52c11b9a
Expand the tests slightly. 2024-05-03 14:16:33 +01:00
Sam Rose
af516427fc
Attempt to fix race condition when creating multiple auto ID columns in parallel. 2024-05-03 14:14:10 +01:00
Dean
a743028662 Lint 2024-05-02 16:32:07 +01:00
Dean
5e7d1169f7 Minor refactor to accomodate testing with snippets. More test cases for multiple binding types 2024-05-02 16:26:09 +01:00
Adria Navarro
34b6581aed Lint 2024-05-02 12:15:23 +01:00
Adria Navarro
a0e58600bd Lint 2024-05-02 12:12:29 +01: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
mike12345567
1c1f9c950d Quick improvement to use the bulk import endpoint, we don't need to search for the type: row anymore. 2024-04-26 15:51:53 +01:00
mike12345567
7f1500ac86 Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup 2024-04-26 15:48:40 +01:00
Sam Rose
951b7d3e59
Merge branch 'master' of github.com:budibase/budibase into sqs-auto-tests 2024-04-26 15:07:45 +01:00
Adria Navarro
06b3023b15 Test and fix single reference search 2024-04-26 13:38:35 +02:00
Adria Navarro
d45aa9beaf Merge branch 'master' into budi-8123/single-user-column-type 2024-04-26 12:47:35 +02:00
Adria Navarro
1aad2ee6d2 Fix after renames 2024-04-26 12:23:11 +02:00
Adria Navarro
637f7f514a Remove FieldTypeSubtypes 2024-04-26 12:18:50 +02:00
Adria Navarro
61bb40d0d3 Remove FieldTypeSubtypes 2024-04-26 12:09:32 +02:00
Sam Rose
8b2156ed08
Add more AUTO tests. 2024-04-25 16:41:02 +01:00
Adria Navarro
afdbf4cc42 Add BB_REFERENCE_SINGLE type 2024-04-25 13:20:59 +02:00
mike12345567
006addb9ca Cleaning up tables when they are deleted, refactored a bit to make more similar to table save. 2024-04-23 13:34:50 +01:00
mike12345567
8189952f0b Adding implementation to DB for purge and cleanup APIs of SQS, to make sure the DB is cleared of any unused tables or rows. 2024-04-19 18:03:38 +01:00
Adria Navarro
b05f56222e Fix tests 2024-04-19 13:13:12 +02:00
Adria Navarro
72c65cd7fd Fix test 2024-04-19 12:39:04 +02:00
Dean
f6691fc9ef Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-18 15:10:30 +01:00
mike12345567
933c3fdec4 Merge branch 'master' of github.com:Budibase/budibase into more-sqs-tests-4 2024-04-18 10:55:33 +01:00
Dean
04d3226185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-18 09:08:16 +01:00
mike12345567
e90e2b214e Making sure meta.table is always available. 2024-04-17 17:36:19 +01:00
Michael Drury
58580f9ae3
Merge branch 'master' into more-sqs-tests-4 2024-04-17 16:27:28 +01:00
Adria Navarro
3996ca6ff4
Merge branch 'master' into feat/budi-8126 2024-04-17 17:06:38 +02:00
Adria Navarro
5572467d39
Merge branch 'master' into feat/budi-8126 2024-04-17 16:01:08 +02:00
Adria Navarro
f12e654811
Merge branch 'master' into chore/remove-disabling-nounusedvars 2024-04-17 15:49:35 +02:00
mike12345567
42b7992430 Merge branch 'fix/remove-search-query' of github.com:Budibase/budibase into more-sqs-tests-4 2024-04-17 14:47:45 +01:00
mike12345567
c51df0eceb Fixing test case. 2024-04-17 14:05:47 +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
2da0daafe5 Clean 2024-04-17 12:13:18 +02:00
Adria Navarro
54f2c825fc Remove _add 2024-04-17 12:12:41 +02:00
Dean
0e4cda458d Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-17 09:07:17 +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
Sam Rose
253fa0def8
In progress: bigint tests. 2024-04-16 16:20:44 +01:00
Dean
7f5c2b59e3 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-15 18:15:07 +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
Michael Drury
6d5fb40ad5
Merge branch 'master' into feature/sqs-relationships 2024-04-15 13:20:51 +01:00
Andrew Kingston
7152f957c8
Merge branch 'master' into feature/signature-field-and-component 2024-04-15 10:24:00 +01:00
mike12345567
aeda5931c0 Fixing lint. 2024-04-12 16:34:33 +01:00
mike12345567
bfb7750213 Getting search input mapping up a level in the search SDK - avoids having to call it for every search type. 2024-04-12 16:17:06 +01:00
mike12345567
ebb79c16fe Aliasing support for SQS. 2024-04-12 16:15:36 +01:00
mike12345567
d6b252013b Quick fix to link document structure in sqlite. 2024-04-11 18:25:18 +01:00
mike12345567
6e4a66b2e1 Initial implementation of generating SQS junction table definitions. 2024-04-11 18:19:47 +01:00
Sam Rose
12fdaefe4c
Add tests for sorting to search.spec.ts 2024-04-11 17:12:15 +01:00
Dean
f3e9030c3a Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-11 15:07:20 +01:00
Dean
9c7fed9eb8 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-11 15:06:59 +01:00
Sam Rose
5a36422b97
Fix postgres tests. 2024-04-11 10:21:30 +01:00
Sam Rose
672025e176
Solve onEmptyFilter in a nicer way. 2024-04-11 10:11:03 +01:00
mike12345567
2e3e512433 Linting. 2024-04-10 17:40:12 +01:00
mike12345567
20da8bb816 Adding support for SQS prepared statement API. 2024-04-10 17:36:57 +01:00
Dean
e1c69429c8 Added signature type to sqs type map 2024-04-10 09:32:47 +01:00
Adria Navarro
8f9dea43a0
Merge pull request #13408 from Budibase/BUDI-8122/tests
Tests and handle imports
2024-04-10 10:16:54 +02:00
Adria Navarro
f6eb27c19c Fix merge conflicts 2024-04-10 10:10:15 +02:00
Andrew Kingston
bf6bd127ca
Merge branch 'master' into feature/signature-field-and-component 2024-04-10 09:08:35 +01:00
Adria Navarro
5b6c3d0c96 Merge branch 'master' into revert-13398-revert-13356-BUDI-8122/single-attachment-column-type 2024-04-10 09:01:36 +02:00
Sam Rose
2d36cf6c6a
Working towards getting first SQS test passing. 2024-04-09 15:55:44 +01:00
mike12345567
efe66186f4 Last PR comment - fixing issue with lucene test case. 2024-04-09 12:37:03 +01:00
mike12345567
c820114054 Moving SQS table functionality into SDK, accessible to migrations. 2024-04-09 10:43:26 +01:00
Andrew Kingston
e89f5f313b
Merge branch 'master' into feature/signature-field-and-component 2024-04-09 09:32:10 +01:00
Michael Drury
737adfdea9
Merge branch 'master' into labday/sqs 2024-04-08 17:52:09 +01:00
Dean
eae257dde4 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-08 17:08:48 +01:00
mike12345567
0afb697653 Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-04-08 16:34:31 +01:00
Sam Rose
7294fef252
Merge branch 'master' of github.com:budibase/budibase into budi-8091-cant-rename-ms-sql-columns-incorrect-syntax-near 2024-04-08 15:58:14 +01:00
Sam Rose
d2c0842c45
Fix viewV2 tests (for now) 2024-04-08 15:17:24 +01:00
Sam Rose
81cd2a1559
Attempt to fix View / ViewV2 types. 2024-04-08 14:58:48 +01:00
Dean
9b276aa3c1 Add in signature field testing support. Some signature fixes 2024-04-08 12:18:05 +01:00
Sam Rose
bcc09bd86e
table.spec.ts passing for internal and postgres 2024-04-05 16:38:57 +01:00
Dean
203d6484ea Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-04-05 14:15:47 +01:00
Dean
1e5506b8c3 Full support for signature field type and some feedback changes 2024-04-05 12:50:09 +01:00
Adria Navarro
6928e7454c Handle single files on imports 2024-04-04 21:05:56 +02:00
Adria Navarro
28d10ec086 Fix 2024-04-04 19:58:25 +02:00
Adria Navarro
615e27c798 Merge branch 'master' into revert-13398-revert-13356-BUDI-8122/single-attachment-column-type 2024-04-04 19:28:17 +02: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
6d41b890db
Fix test that doesn't work if you run it with reuse containers. 2024-04-03 16:09:12 +01:00
Michael Drury
5437188385
Revert "Revert "Single attachment column type"" 2024-04-03 16:05:18 +01:00
Michael Drury
1cfe4da027
Revert "Single attachment column type" 2024-04-03 16:01:45 +01:00
Sam Rose
b2ef045ecf
Merge master. 2024-04-03 15:17:38 +01:00
Adria Navarro
9438662603
Merge branch 'master' into BUDI-8122/single-attachment-column-type 2024-04-03 16:07:11 +02:00
Adria Navarro
a8c3011071 Rename FieldType.ATTACHMENT to FieldType.ATTACHMENTS 2024-04-03 12:54:20 +02:00
mike12345567
0b02233055 Moving test case to be more accurate in placement. 2024-03-28 17:59:51 +00:00
mike12345567
4c755b3af3 Improving typing around search, there was duplicates of SearchParams and SearchResponse - which were a little different, bring all of this together under the types library. 2024-03-28 17:57:37 +00:00
Sam Rose
4183a0aeb7
Set default packages/server test timeout to 30 seconds, and unmock console.log. 2024-03-27 16:57:31 +00:00
mike12345567
42214919be Improving types around row search. 2024-03-26 16:34:19 +00:00
mike12345567
3843dc994b Fixing a type issue. 2024-03-26 13:52:22 +00:00
mike12345567
de518de8fa Merging issue with static index. 2024-03-26 12:53:45 +00:00
Michael Drury
69f0c06171 Refactoring, moving SQS around, re-introducing old internal search. 2024-03-25 19:00:08 +00:00
Sam Rose
7bf17932c9
Merge branch 'master' of github.com:budibase/budibase into remove-pg-mock 2024-03-25 15:00:56 +00:00
Sam Rose
869ed4256e
Merge master. 2024-03-25 14:13:48 +00:00
Sam Rose
419880e4fb
Merge branch 'master' into pull-images-prior-to-tests 2024-03-25 13:51:38 +00:00
Sam Rose
538f3b9dbe
Align our use of images across the codebase. 2024-03-25 13:51:27 +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
6824d8626a Fixing failing test. 2024-03-25 11:19:31 +00:00
mike12345567
cc8a0274a4 Updating based on PR comments. 2024-03-22 15:26:02 +00:00
Sam Rose
a9aa409d7c
Fix up tests. 2024-03-22 15:01:40 +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
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
a81a1b13ce
Remove mysql mocks. 2024-03-20 16:55:34 +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
Adria Navarro
7d12af9ba8
Merge branch 'master' into reenable-no-case-declarations 2024-03-19 19:51:11 +01:00
Michael Drury
7f509f0b66
Merge branch 'master' into fix/13282 2024-03-19 16:09:44 +00:00
Sam Rose
f1278312ab
Reenable no-case-declarations. 2024-03-19 15:58:25 +00:00
mike12345567
f82f6e7b3b Set on save, isSQL as well. 2024-03-19 15:07:28 +00:00
mike12345567
5c01ba0095 Fix for issue with aliasing not quite working as expected when interacting with very old datasources, there is a flag 'isSQL' which was not set in old versions, this is now set when retrieving datasources to avoid issues with it being unset. 2024-03-19 14:48:56 +00:00
Sam Rose
1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
Sam Rose
fec6c7d267
Fold some mocky unit tests into row.spec.ts 2024-03-15 15:57:27 +00:00
Sam Rose
ac61087379
Merge branch 'master' into reorganise-row-tests 2024-03-15 12:02:17 +00:00
Sam Rose
850fb3d4ec
Get viewV2.spec.ts running against real databases. 2024-03-14 17:11:09 +00:00
deanhannigan
1db358d5c2
Merge branch 'master' into feature/app-list-actions 2024-03-14 09:33:33 +00:00
Sam Rose
477d17b53e
Making progress on getting SQL Server working. 2024-03-12 12:25:30 +00:00
mike12345567
2eb16a70db Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-03-06 17:27:53 +00:00
deanhannigan
63f9995a21
Merge branch 'master' into feature/app-list-actions 2024-03-06 09:04:51 +00:00
Michael Drury
edda776b14 PR comments. 2024-03-05 17:42:44 +00:00
Dean
136eeefc26 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-05 16:24:14 +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
melohagan
8694b8d772
Relationship picker incorrectly renders selections (#13175)
* Ensure _id is decoded for external search

* Fetch initial value for 'Update' type forms

* test didn't run locally - might run on github workflow

* Tested and appears to be as before

* Null-pointer fix

* undo type change

* update modules

* add test

* update modules
2024-03-05 09:03:19 +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
Dean
41b55c28b7 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-04 15:13:47 +00:00
Dean
42893c1218 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-04 10:00:03 +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
5d42804020
Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +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
mike12345567
7641e84430 Merge branch 'revert-13160-revert-13128-feature/sql-query-aliasing' of github.com:Budibase/budibase into labday/sqs 2024-02-29 13:14:37 +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
mike12345567
71ad1fde0f Fixing some build/type issues. 2024-02-28 17:16:36 +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
Sam Rose
fde5825589
Fix type checks. 2024-02-28 11:20:42 +00:00
Sam Rose
c81ca66aa4
Get tests passing again. 2024-02-28 11:16:26 +00:00
mike12345567
4068df6025 Adding error handling for table names or columns which contain dots (invalid). 2024-02-27 17:46:02 +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
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
cbce9af2b0 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-23 16:18:37 +00:00
Dean
6877d0a016 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-02-22 15:00:34 +00:00
Dean
18f09f4e13 Duplicate app behaviour and test updates 2024-02-22 15:00:16 +00:00
Adria Navarro
f6e968efe8 Fix test 2024-02-21 10:18:46 +01:00
mike12345567
19090dd547 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-02-19 16:29:29 +00:00
Adria Navarro
2c26b55a7c Handle view creation on new table requests 2024-02-12 11:59:05 +01:00
Sam Rose
51280b5526
Make import/export fs calls as async as possible. 2024-02-09 10:49:24 +00:00
Sam Rose
8e9db069e5
Remove all uses of test.com in the code, replace them with example.com and create a lint rule to prevent this in future. 2024-02-08 16:32:14 +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
mike12345567
d87c7a1c4a Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-02-02 17:09:54 +00:00
mike12345567
010f160fa5 Cleaning up files after import is finished (with large files this saves on tmp space) as well as fixing an issue where menu would appear next to a restore despite having no options. 2024-01-31 18:22:18 +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
aca7b50dc5 Fix tests 2024-01-29 15:27:09 +01:00
Adria Navarro
d806029075
Merge branch 'master' into remove_test_flakiness 2024-01-29 15:21:24 +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
mike12345567
41c1c6ae65 Fixing type build issue. 2024-01-26 17:01:56 +00:00
Adria Navarro
50b3138acb
Merge branch 'master' into refactor/remove-field-types 2024-01-26 11:29:32 +01:00
Adria Navarro
cb53d31833 Renames 2024-01-26 10:56:38 +01:00
José Vte. Calderón
aa1153abde
Merge branch 'master' into feature/count-creators-in-groups 2024-01-25 10:04:15 +01: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
35a3d663ba Comments on PR - some small changes. 2024-01-24 12:33:29 +00:00
jvcalderon
6f9075d44c Solve a failing test 2024-01-24 12:27:02 +01:00
mike12345567
2810d66c92 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2024-01-23 17:38:46 +00:00
mike12345567
e5e51ede81 Merge branch 'master' of github.com:Budibase/budibase into fix/budi-7916 2024-01-22 13:39:29 +00:00
Conor Webb
fa36701f0f
Added function to get correct plan display name (#12810)
* Changed minPlan BUSINESS to PREMIUM_PLUS

* Added new helper to display the correct string plan

* Changed ManageAccessModal to use the new helper

* Refactored to use plan title helper, removed title function

* Removed capitalised function from svelte template

* Fixed linting issues

* Ran yarn lint. Fixed linting issues.
2024-01-22 10:54:47 +00:00
mike12345567
db7c2c804b Updating query responses to follow the same form consistently. 2024-01-19 18:13:12 +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
Adria Navarro
3f6e1bbaa2 Move datasource.buildSchemaFromDb to sdk 2024-01-08 19:07:47 +01:00
Adria Navarro
8e038e61b0 Move datasource.save to sdk 2024-01-08 19:02:39 +01:00
Adria Navarro
498137ba7c Split back 2024-01-08 14:19:26 +01:00
Adria Navarro
1f9ee5a206 Clean code 2024-01-08 14:19:26 +01:00
Adria Navarro
dd77779bc1 Move code to sdk 2024-01-08 14:19:26 +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
Adria Navarro
0c77cf2b40 Fix concurrent saves 2023-12-22 14:37:54 +01:00
Adria Navarro
f722ae970c Add autoid tests (failing) 2023-12-22 14:37:54 +01:00
Adria Navarro
becb7bd46d Add tests 2023-12-22 14:37:54 +01:00
Adria Navarro
0452b1a307 Fix imports 2023-12-22 14:37:54 +01:00
Adria Navarro
ed32b701ec Move row save to sdk 2023-12-22 14:37:54 +01:00
mike12345567
ec64decd01 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2023-12-08 17:48:58 +00:00
mike12345567
4302c720ed Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-12-08 16:13:09 +00:00
mike12345567
7665d2fd53 Fix for attachment deletion when updating table column name, as well as refactoring to make the code a bit easier to follow. 2023-12-07 16:35:43 +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
mike12345567
0727df6f98 Breaking attachment out into constant that can be re-used, and fixing some imports. 2023-12-06 11:39:46 +00:00
mike12345567
19c069946a Fixing importing - still some work to get links correct. 2023-12-01 19:37:43 +00:00
mike12345567
e76dc01859 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-query-aliasing 2023-12-01 13:53:14 +00:00
mike12345567
02fefa5529 Fixes for postgres test case, there was an issue with creating tables with relationships during the creation phase. 2023-11-30 15:09:01 +00:00
mike12345567
160fbf2125 Adding test case and fixing issue that it revealed with external tables as well. 2023-11-29 19:53:56 +00:00
melohagan
37dc8ba6e4
Only export selected columns (#12438)
* Only export selected columns

* Refactor and unit test
2023-11-29 10:23:21 +00:00
mike12345567
cb7c1898f2 Getting basic aliasing working after some testing. 2023-11-27 19:02:06 +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
Adria Navarro
d0e40afbcb Fix lint issues 2023-11-17 14:42:37 +01:00
mike12345567
20895cf426 Adding test case. 2023-11-09 18:22:06 +00:00
mike12345567
dde446286d Switching getMultiple to default to failure if not all entries found, then updating usages. 2023-11-09 17:08:14 +00:00
mike12345567
a26f2e83e4 Some of the new table getters did not account for table IDs not being found, adding a new function which properly accounts for IDs being missing and manages it correctly, rather than leaving tables in an undefined state. 2023-11-09 14:45:23 +00:00
mike12345567
4dc6b1eeda Merge branch 'master' of github.com:Budibase/budibase into fix/11972-external-relationship-formulas 2023-11-08 14:41:53 +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
57eb23dc50
Remove unnecessary type cast. 2023-11-08 09:24:51 +00:00
Michael Drury
18c417f02f
Merge branch 'master' into fix/11972-external-relationship-formulas 2023-11-07 18:35:43 +00:00
Sam Rose
fdfda100c1
Ensure that the DB always returns Documents. 2023-11-07 18:14:52 +00:00
mike12345567
fdae7ab913 Fixing issues discovered by tests. 2023-11-07 13:37:45 +00:00
mike12345567
635af0f76a Getting external rows to be more consistent with the internal API - the formulas should be processed using the outputProcessing as they were being processed, but was causing an overwrite. The problem was that the external system internally processed the formulas/relationships, then squashed the relationships. Once it got to the external API, it would go through normal output processing, which would run over the squashed rows, causing an inconsistent behaviour. 2023-11-06 19:03:37 +00:00
Dean
9bb9fb5549 Reintroduce filtering and sorting for exported row data 2023-11-06 17:00:47 +00:00
mike12345567
00f1d2cbdc Moving functions inside class. 2023-11-02 18:23:16 +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
15b1f3efe6 Removing duplicate filtering of automation logs. 2023-10-31 10:51:46 +00:00
mike12345567
2b96de3c30 Merge branch 'master' of github.com:Budibase/budibase into fix/backups-remove-automation-logs 2023-10-31 10:38:07 +00:00
mike12345567
41d99f6a58 Updating app backup exports to not include automation logs as these bloat the backups. 2023-10-30 17:41:08 +00:00
Sam Rose
45543cbc03
Catch a few more edge cases with column names, add tests for them. 2023-10-27 15:59:31 +01:00
Michael Drury
2bfdd9769e
Merge pull request #12177 from Budibase/feature/make-table-source-id-required
Make sourceId property of table required (for all table types)
2023-10-27 13:35:47 +01:00
mike12345567
9b1a7bd854 PR comments - updating pickAPI to use a common function. 2023-10-27 11:43:01 +01:00
mike12345567
d0f989597a Updating tests to be more consistent in how they pick to create an internal or external table. 2023-10-26 17:27:54 +01:00
Sam Rose
536d85d828
WIP: Improving the use of DatabaseQueryOpts. 2023-10-26 15:04:33 +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
fd0d8f17f2 Making sure single table get also includes sourceId. 2023-10-25 19:07:51 +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
6c3b535863
Simplify try-catch in the migrate function. 2023-10-25 16:49:29 +01:00
Sam Rose
4a00649f7f
Simplify the function signature of processInternalTables 2023-10-25 16:46:14 +01:00
Sam Rose
70f39b6b6b
Fix missing sourceId on Table sent to the websocket. 2023-10-25 14:41:23 +01:00
Sam Rose
78afba63de
Emit table updates to the builder socket, and some minor refactoring. 2023-10-25 11:03:35 +01:00
Sam Rose
0f5c2cff00
Handle a couple more edge cases more gracefully. 2023-10-24 18:06:25 +01:00
Sam Rose
5e6ed0fd67
Implement many-to-one user column migration. 2023-10-23 11:54:27 +01:00
Sam Rose
febfab0927
Fix tests/types. 2023-10-23 10:48:10 +01:00
Sam Rose
86458dc321
Merge branch 'feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column-2 2023-10-23 09:50:40 +01:00
Sam Rose
2d26597d07
Fix tests after merge. 2023-10-23 09:49:57 +01:00
Sam Rose
a563cf3594
Merge master. 2023-10-23 09:39:34 +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
a3ad8780de
Implement many-to-many user column migrations. 2023-10-19 17:28:55 +01:00
mike12345567
d1b551c6aa Type fixes. 2023-10-19 16:56:45 +01:00
mike12345567
470735cc97 Updating types across old table utilities. 2023-10-19 12:26:29 +01:00
mike12345567
f072a77d9f Updating throw. 2023-10-19 12:03:49 +01:00
mike12345567
54d976f750 Fixing PR comments. 2023-10-19 12:02:49 +01:00
Sam Rose
77729737bc
First test passes! 2023-10-19 09:47:50 +01:00
mike12345567
9bd67595ec Merge branch 'master' of github.com:Budibase/budibase into refactor/improve-table-sdk 2023-10-18 19:05:23 +01:00
mike12345567
25ad78a94e Adding utilities. 2023-10-18 18:58:27 +01:00
mike12345567
8d1163e50d Adding external SDK, updating external controllers. 2023-10-18 18:58:19 +01:00
mike12345567
6bfa9d407b Adding internal SDK, updating internal table controllers. 2023-10-18 18:57:52 +01:00
mike12345567
291a97a078 Moving getters. 2023-10-18 18:57:30 +01:00
mike12345567
35e6452ecb Adding basic structure for the external/internal SDK. 2023-10-18 18:57:19 +01:00
Sam Rose
6517150f32
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-18 18:05:18 +01:00
Sam Rose
1771b5905a
Most of the way to getting my first test passing. 2023-10-18 18:02:10 +01:00
Sam Rose
6ae5451fdf
Create failing test. 2023-10-18 16:56:55 +01:00
mike12345567
13dadbcc7d Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf 2023-10-18 15:22:00 +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
Sam Rose
c25de74e17
Action Michael's feedback about the structure of this feature. 2023-10-18 15:14:34 +01:00
Michael Drury
b98f313754
Merge branch 'master' into fix/improve-external-request-typing 2023-10-18 12:04:22 +01:00
mike12345567
68e8630d85 Improving the typing around the ExternalRequest object, which has implications throughout the row API and SDK, cleaning up where possible based on it. 2023-10-18 10:57:04 +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
mike12345567
6a4877159d Quick fix to make sure that the important components of the app metadata are correctly updated - as well as adjusting the import modal to check if the export is encrypted. 2023-10-13 17:43:14 +01:00
mike12345567
09ce950e64 Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf 2023-10-11 17:24:08 +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
ea1c273de0 Clean 2023-10-11 13:18:04 +02:00
Adria Navarro
a8c814e714 Fixes fixes 2023-10-10 18:54:57 +02:00
Adria Navarro
1f1ebc82e5 Fix more types 2023-10-10 18:54:57 +02:00
Adria Navarro
6c328109b6 Fixes 2023-10-10 18:54:57 +02:00
Adria Navarro
ea86ded912 Fixes 2023-10-10 18:54:57 +02:00
Adria Navarro
dd373cd5e9 Fix types 2023-10-10 18:54:57 +02:00