1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
Commit graph

733 commits

Author SHA1 Message Date
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
Adria Navarro
d7aa23f740 Testing 2023-10-09 13:21:40 +02:00
Adria Navarro
a5477f14d2 Handle users on search input 2023-10-09 13:21:27 +02:00
mike12345567
bc17bc43fa Fixing issue brought up by some unit tests. 2023-10-06 13:32:12 +01:00
mike12345567
7acc164e12 Fix build. 2023-10-06 13:28:27 +01:00
mike12345567
017b522a3f Comment to explain function. 2023-10-06 12:56:55 +01:00
mike12345567
6e6c5bc776 Handle arrays and fix issue brought up by REST testcase. 2023-10-06 12:31:52 +01:00
mike12345567
dc50515bcc Adding negative test case and fixing build issue. 2023-10-06 12:16:37 +01:00
mike12345567
3de8c53166 Adding a mapping layer to search queries so that we can map search inputs based on the table schema if desired - primarily for the user column. 2023-10-06 11:57:11 +01:00
mike12345567
ee4a042204 Typing fixes - unsure why all of these came up suddenly. 2023-10-05 18:40:56 +01:00
mike12345567
3e2f9dfc4e Further enhancement, client library sends up the column it wants enriched and then we can ignore everything else, makes a big difference for enriching users (with a lot of relationships). 2023-10-05 18:23:18 +01:00
mike12345567
069fd33964 Some work towards improving performance of internal DB enrichment, there is a problem with cyclic enrichment due to the outputProcessing, need to decide how to handle formulas on enrichment. 2023-10-04 19:18:21 +01:00
mike12345567
1db95a3006 Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs 2023-10-02 16:32:10 +01:00
Adria Navarro
5b5c0b31ff Fix link loading relationships on external ds+ 2023-09-28 15:54:53 +02:00
Adria Navarro
317da512a5 Fix tests 2023-09-28 10:00:25 +02:00
Adria Navarro
0cec026932 Datasource usage on tests 2023-09-28 10:00:25 +02:00
Adria Navarro
049a91debb Clean 2023-09-28 10:00:25 +02:00
Adria Navarro
bf975ac039 Fix tests 2023-09-28 10:00:25 +02:00
Adria Navarro
d0fcb5d7e6 Fix patch on external ds 2023-09-28 10:00:25 +02:00
Adria Navarro
81ca81222c Process bb_references on external 2023-09-28 10:00:25 +02:00
Adria Navarro
6487d76b1d Merge branch 'develop' into feature/user-column-type 2023-09-25 21:51:43 +02:00
Adria Navarro
79e693c89d Merge branch 'develop' into feature/user-column-type 2023-09-25 19:03:25 +02:00
mike12345567
98680f7895 Updating dual bulkDocs call, to handle the merging of similar documents. 2023-09-25 17:48:07 +01:00
mike12345567
3d143c28a9 Last PR comments. 2023-09-25 17:00:20 +01:00
mike12345567
4d1c749444 First PR comment. 2023-09-25 16:58:06 +01:00
mike12345567
61c12d88cf Final work to support app update process. 2023-09-20 16:43:50 +01:00
Adria Navarro
85be9d6ebd Lint 2023-09-20 12:45:26 +02:00
mike12345567
8e0cf1d087 Moving things around ready for implementation of temp db handle. 2023-09-19 18:38:44 +01:00
Adria Navarro
235799c07d Merge branch 'develop' into backmerge-20230919 2023-09-19 12:33:04 +02:00
Adria Navarro
3f7b615d10 Populate apps from groups while fetching apps 2023-09-18 17:58:07 +02:00