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

355 commits

Author SHA1 Message Date
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
Adria Navarro
a8c3011071 Rename FieldType.ATTACHMENT to FieldType.ATTACHMENTS 2024-04-03 12:54:20 +02:00
Sam Rose
217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Sam Rose
009c795f54
Reenable no-undefs. 2024-03-19 17:47:39 +00:00
Andrew Kingston
16ce5ac65e Update how snippets are fetched and enriched into context, because HBS helpers can't be async 2024-03-12 17:02:01 +00:00
Sam Rose
5d42804020
Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +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
Adria Navarro
8dfcc3aeb1
Revert "Revert "Migrate from vm to isolated-vm"" 2024-02-02 12:02:09 +01:00
Sam Rose
332a201ae7
Revert "Migrate from vm to isolated-vm" 2024-02-02 09:51:46 +00:00
Adria Navarro
45ea6a6fd6
Revert "Revert "Migrate from vm to isolated-vm"" 2024-02-01 16:47:41 +01:00
Adria Navarro
16749ec3dd
Revert "Migrate from vm to isolated-vm" 2024-02-01 16:30:34 +01:00
Adria Navarro
3808718004 Fix tests 2024-02-01 12:42:23 +01:00
Adria Navarro
aca7b50dc5 Fix tests 2024-01-29 15:27:09 +01:00
mike12345567
cc249e6696 Typescript conversion for some old tests - were failing after refactor. 2024-01-26 13:33:50 +00:00
mike12345567
ccc751d09c A quick refactor to get rid of the old 'FieldTypes' enumeration, considering how core it is to all data handling in Budibase, the fact we had both 'FieldType' and 'FieldTypes' was confusing - righting this fully. 2024-01-24 16:58:13 +00:00
melohagan
bd0202e7b5
Error deleting datasource on first attempt at deleting (#12819)
* Add badge photo to the employee import

* Update revisions from relationships when loop deleting tables
2024-01-22 10:25:21 +00:00
Sam Rose
c5fa0806c8
Optimise getLinkDocuments 2023-12-18 09:20:44 +00:00
Sam Rose
0597c0efc6
Respond to PR feedback. 2023-12-14 11:08:55 +00:00
Sam Rose
598ab03fd0
Optimise getUniqueByProp 2023-12-14 10:40:22 +00:00
mike12345567
b86640772b Fix for saving relationships that have the same field name used on both sides, previously this could cause a relationship to be cleared depending on how the relationship schema was configured. There is a chance when saving that this won't happen as which side of the relationship is denoted by doc1 and doc2 is random, so when this happens is random. Using the table to pick the correct side is safer than just using the field name. 2023-11-29 18:45:48 +00:00
Adria Navarro
db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Adria Navarro
742eb4ff46 Lint fix 2023-11-20 15:36:55 +01: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
Michael Drury
c511f621d3
Merge branch 'master' into more-db-typing-improvements 2023-11-08 18:50:39 +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
Sam Rose
47292b8ab4
Make DB name non-optional. 2023-11-08 14:37:19 +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
fdfda100c1
Ensure that the DB always returns Documents. 2023-11-07 18:14:52 +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
mike12345567
17319a6981 Moving things around so that DEFAULT_BB_DATASOURCE_ID can be imported without cyclics occurring. 2023-10-31 17:52:39 +00:00
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
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
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
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
f9bff0846a
Merge branch 'master' into refactor/remove-jsdoc-types-in-ts-files 2023-10-18 11:45:52 +01:00
Adria Navarro
06ae3fb52c Log warn 2023-10-18 12:07:50 +02:00
Adria Navarro
ea1853c78c Remove sentry from the backend 2023-10-18 10:51:09 +02:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant. 2023-10-17 16:46:32 +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
a3b3c176d3 More types 2023-10-11 13:37:50 +02:00
Adria Navarro
1e8aa9eb60 More types 2023-10-11 13:36:56 +02:00
Adria Navarro
79ef97387b Subtype on datetime 2023-10-11 13:06:18 +02:00
Adria Navarro
3f6d48da1f Fix autoid numbers 2023-10-11 13:03:05 +02:00
Adria Navarro
74cba9de27 Lint 2023-10-10 18:54:57 +02:00
Adria Navarro
1b7be0d637 Fix import 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