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