Adria Navarro
5be8882122
Handle composite keys on exports
2024-07-09 10:43:45 +02:00
mike12345567
c0b85c6379
Initial implementation - needs testing.
2024-07-08 18:42:11 +01:00
Sam Rose
b5f0619c89
Fix attachments test.
2024-07-08 17:43:05 +01:00
Sam Rose
69d54b523d
Finish implementation, fix tests.
2024-07-08 14:21:07 +01:00
Sam Rose
1851e11bc0
wip
2024-07-08 13:28:48 +01:00
Michael Drury
e8ceed08a5
Merge branch 'master' into fix/default-table-sqs-indexing
2024-07-05 16:32:14 +01:00
mike12345567
34d073bcb7
Adding default tables to sync.
2024-07-05 16:03:38 +01:00
mike12345567
c48f5c6d80
Fixing build issue.
2024-07-05 15:45:00 +01:00
mike12345567
e4375c2196
Fixing a build issue uncovered by tests.
2024-07-05 15:27:54 +01:00
Sam Rose
b318850c7e
Support non-ascii column in SQS.
2024-07-04 11:37:18 +01:00
Adria Navarro
07d538f6fc
Don't trim fields on view enrich schema
2024-07-02 14:02:49 +02:00
mike12345567
5ac9fe43fc
PR comments.
2024-07-01 17:50:34 +01:00
mike12345567
c4ffd37caa
Adding fix for backwards compat, removing columns (but still filtering on) returns no rows, rather than an error.
2024-07-01 16:37:38 +01:00
Michael Drury
f3d8afcc5b
Merge branch 'master' into fix/sqs-internal-columns
2024-07-01 14:07:27 +01:00
Sam Rose
6eb37df92d
Respond to PR feedback.
2024-07-01 11:41:21 +01:00
mike12345567
13ac273c83
Updating how search filters are converted, needs full column metadata to work it out this way.
2024-06-28 14:59:00 +01:00
mike12345567
510baf4f6e
Adding test case and updating how prefix updates in filters work.
2024-06-28 14:19:11 +01:00
mike12345567
2d31e327e7
Resolving PR comments.
2024-06-28 13:49:52 +01:00
mike12345567
048d15956b
Updating environments which need to re-sync definitions.
2024-06-28 12:47:57 +01:00
Michael Drury
c1f7561839
Merge branch 'master' into fix/sqs-internal-columns
2024-06-27 18:19:03 +01:00
mike12345567
3394e974d3
Getting casting working again, have to pass down prefix for checking against fields.
2024-06-27 18:18:41 +01:00
mike12345567
b0e6d3e72c
Correctly handling overlapping column names.
2024-06-27 17:55:09 +01:00
mike12345567
1b9211ee6c
Initial implementation of solving SQS issue with case insensitivity.
2024-06-26 16:40:20 +01:00
Michael Drury
cfeab17ed8
Revert "Revert "Disallow prohibited columns""
2024-06-26 12:40:16 +01:00
Sam Rose
314d62bea0
Revert "Disallow prohibited columns"
2024-06-25 14:29:56 +01:00
mike12345567
1402716f5c
Some type updates.
2024-06-24 13:10:30 +01:00
mike12345567
965725d022
First PR comments.
2024-06-24 12:43:26 +01:00
mike12345567
337584f5b2
Updating the regex to correctly find within the filter keys.
2024-06-21 17:51:02 +01:00
mike12345567
28d0d627ce
Getting functions in place which make it easy to update pats of a filter list by their keys - getting this to work for SQS and external.
2024-06-21 17:00:12 +01:00
mike12345567
b4910043c6
Addressing PR comments.
2024-06-21 11:27:47 +01:00
mike12345567
def3b0260e
Disallowing prohibited columns consistently, no matter the case, and backend validation for this as well.
2024-06-20 18:48:22 +01:00
mike12345567
df56371ab6
Reverting change to promises.
2024-06-20 16:36:18 +01:00
mike12345567
295961edb1
Attempting without promise.all in external.
2024-06-20 16:18:32 +01:00
mike12345567
86d9de5a2d
Fixing view test cases, adding SQS to it and correcting the default sort order.
2024-06-19 18:57:37 +01:00
mike12345567
67c00c9e4c
Addressing PR comments.
2024-06-19 18:46:48 +01:00
mike12345567
aab100b130
Changing how counting is processed.
2024-06-19 14:28:22 +01:00
mike12345567
bc80841554
Promise.all for both counts (SQS and SQL).
2024-06-19 13:39:00 +01:00
mike12345567
0e5de7f16d
Test updates.
2024-06-19 13:36:34 +01:00
mike12345567
abfab054d7
Addressing comment about datasource being optional.
2024-06-19 12:03:20 +01:00
mike12345567
0de94d3535
Addressing some PR comments.
2024-06-19 11:52:50 +01:00
mike12345567
e0d8a66fd8
Adding test cases for counting as well as some small fixes.
2024-06-18 18:44:17 +01:00
mike12345567
0caff1a404
Fixing an issue with sorting in SQS.
2024-06-18 13:53:51 +01:00
mike12345567
bda83205ee
Making sure to measure whether we have paged forward in the query based on raw results.
2024-06-18 12:48:36 +01:00
mike12345567
f3ca1d0b1e
Adding countRows parameter to external API for counting.
2024-06-14 19:01:20 +01:00
mike12345567
1b36d8af51
Getting counting flow working correctly for external datasources.
2024-06-14 19:00:59 +01:00
mike12345567
908b77fd9b
Fixing some issues with using offsets.
2024-06-14 18:27:23 +01:00
mike12345567
e402f9c571
Merge branch 'uncomment-search-test-todos' of github.com:Budibase/budibase into feature/count-rows-to-return
2024-06-14 18:16:47 +01:00
mike12345567
77556820bf
Bit more work towards row counting, as well as moving external SQL to use row + 1 for working out pagination.
2024-06-14 18:12:36 +01:00
Sam Rose
a54048e308
Solve all remaining TODOs in search.spec.ts.
2024-06-14 14:57:31 +01:00
mike12345567
7491021ca0
Base implementation of counting (plumbing).
2024-06-14 14:35:14 +01:00
Sam Rose
f3c82cbf38
Ensure that sort order is always lowercased.
2024-06-14 11:00:34 +01:00
Sam Rose
c27e9c266c
Replace SortDirection with SortOrder, SortDirection is being removed.
2024-06-14 09:45:30 +01:00
mike12345567
70aa43680d
Addressing PR comments.
2024-06-06 16:49:03 +01:00
mike12345567
244fbe42b1
Updating migration to check if the SQL definitions have changed, if they haven't don't write them again.
2024-06-06 16:04:23 +01:00
mike12345567
f0f8c14216
Fixing an issue introduced here which caused template test to fail.
2024-06-06 14:58:03 +01:00
mike12345567
4f6076d2ba
Merge branch 'master' of github.com:Budibase/budibase into BUDI-7656/add-migration
2024-06-05 16:29:45 +01:00
mike12345567
cf6f86cb2f
Updating migrations to correctly cover all the required elements.
2024-06-04 17:24:11 +01:00
Adria Navarro
7aa6af6e13
Add tests to support existing configs
2024-06-04 16:40:09 +02:00
Adria Navarro
b0af50e674
Copy fix
2024-06-04 16:17:41 +02:00
Adria Navarro
e6e67af2c4
Guard display name column
2024-06-04 12:32:33 +02:00
Adria Navarro
ba9b5c3271
Merge branch 'feat/readonly-columns' into BUDI-8282/dont-treat-display-column-as-required
2024-06-04 12:09:20 +02:00
Adria Navarro
1c8feaedb1
Copy change
2024-06-04 12:03:42 +02:00
Adria Navarro
44708a27ff
Merge branch 'BUDI-8282/validate-configuration' into BUDI-8282/validate-configuration-for-hidden-views
2024-06-04 11:37:54 +02:00
Adria Navarro
9b82116c61
Copy changes
2024-06-04 10:39:56 +02:00
Adria Navarro
b937d95de2
Move isRequired to shared-core
2024-06-03 16:55:02 +02:00
Adria Navarro
c1b760ca9e
Validate that required fields can't be hidden in views
2024-06-03 12:43:51 +02:00
Adria Navarro
91c20213dc
Validate readonly
2024-06-03 12:12:04 +02:00
Adria Navarro
326a90a41e
Allow modifying views with readonly configs (other fields)
2024-06-03 12:12:04 +02:00
Adria Navarro
5912c2b129
Copy change
2024-06-03 12:12:03 +02:00
Adria Navarro
6ce0b3c368
Copy change
2024-05-30 11:46:57 +02:00
Michael Drury
35893e0bee
Merge branch 'master' into fix/template-app-rows
2024-05-29 15:27:31 +01:00
Michael Drury
aa232db669
Merge branch 'master' into fix/template-app-rows
2024-05-29 15:06:09 +01:00
Adria Navarro
4b0e433c45
Prevent write readonly column
2024-05-29 15:52:22 +02:00
Adria Navarro
2d5ecb6e3e
PR comments
2024-05-29 15:50:10 +02:00
Adria Navarro
f5f471a4aa
Merge branch 'master' into BUDI-8284/readonly-settings-columns-in-views
2024-05-29 15:41:20 +02:00
mike12345567
394fa2536c
Build fix.
2024-05-29 11:02:27 +01:00
mike12345567
cb99007a42
Fix for issue with templated apps - some template apps are *very* old and therefore don't necessarily abide by the rules that are generally followed for new apps, this is something we should resolve, but for now adding an option that allows searching for only a specific document type.
2024-05-28 18:30:06 +01:00
Adria Navarro
1eb929736c
Guard
2024-05-27 14:31:26 +02:00
Adria Navarro
041f85886c
Ensure consistency
2024-05-27 14:16:03 +02:00
Adria Navarro
65d2aa50c6
Guard readonly fields
2024-05-27 13:39:43 +02:00
mike12345567
944be41670
Only set table sql prop if it is needed, undefined for consistency as it is with Lucene.
2024-05-24 17:25:49 +01:00
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
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
mike12345567
68f3197522
Moving test to where the functions are now.
2023-09-14 17:12:09 +01:00
mike12345567
8ca3f13a1c
Quick re-jig based on test failure, seems the base sql.ts is depended on fairly heavily, importing the SDK can create a lot of cycles.
2023-09-14 16:53:36 +01:00
Adria Navarro
d248c7b6b8
Fix types
2023-09-13 15:26:29 +02:00
Adria Navarro
881ff02a7d
Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest
2023-09-13 14:49:17 +02:00
Adria Navarro
069b0d6161
Fix types
2023-09-13 10:31:39 +02:00
Peter Clement
0df9f821fe
Merge remote-tracking branch 'origin/master' into fix/remove-developer-role-from-imports
2023-09-12 09:36:11 +01:00
Peter Clement
cee89b95b1
remove reference to premium plan
2023-09-12 09:34:11 +01:00
Adria Navarro
a3e9765555
Merge branch 'develop' into BUDI-7367/ds_plus_row_unittest
2023-09-12 09:20:00 +02:00
Martin McKeaveney
722c4e6d48
merge with master
2023-09-11 11:57:18 +01:00
Adria Navarro
4e69e51cca
Fix autocolumns
2023-09-08 17:42:54 +02:00
Adria Navarro
1a7a1cdd1b
Fix view test
2023-09-08 16:23:34 +02:00
Martin McKeaveney
ab5753273d
fix for legacy custom roles
2023-09-07 18:50:07 +01:00
Adria Navarro
205d33f172
Clean cypress refs
2023-09-07 15:37:22 +02:00
Adria Navarro
cd8e667f39
Fix permission sdk usage on auth middleware
2023-09-06 00:23:19 +02:00
mike12345567
83875cd2d6
Merge branch 'develop' of github.com:Budibase/budibase into merge-master-develop
2023-09-05 12:29:27 +01:00
mike12345567
d096f359d7
Revert "Revert "Merge branch 'develop' into master""
...
This reverts commit 3265042025
.
2023-09-05 12:28:56 +01:00
Adria Navarro
c5e061c9bf
Fix types
2023-09-04 16:22:50 +02:00
Adria Navarro
d68d449f1f
DRY
2023-09-04 12:11:59 +02:00
Adria Navarro
bb8aacd830
Improve messaging
2023-09-01 17:23:47 +02:00
Adria Navarro
0dc03abe5f
Display dependant info
2023-09-01 17:03:33 +02:00
Rory Powell
64af549341
Revert "Merge pull request #11489 from Budibase/fix/automation-disable"
...
This reverts commit e6319cce67
, reversing
changes made to 7c12280fe3
.
2023-09-01 15:12:23 +01:00
Adria Navarro
5b7756936d
Change api interfaces
2023-09-01 11:33:59 +02:00
Adria Navarro
466f1e6132
Display inherit option
2023-09-01 10:52:06 +02:00
Adria Navarro
5d870fb41a
Rename
2023-09-01 09:50:55 +02:00
Adria Navarro
774ff745b6
Return role origin
2023-09-01 09:40:29 +02:00
Adria Navarro
a56712f4d7
Change shape
2023-08-31 13:01:17 +02:00
Adria Navarro
dcd8c3b289
Move permissions code to sdk
2023-08-31 10:36:17 +02:00
Adria Navarro
cefb57d78a
Merge branch 'develop' into views-v2-frontend
2023-08-30 15:12:56 +02:00
Adria Navarro
8e4138f50d
Lint
2023-08-29 18:32:18 +02:00
Adria Navarro
6f2aa32878
Implement external
2023-08-29 15:39:56 +02:00
Martin McKeaveney
3265042025
Revert "Merge branch 'develop' into master"
...
This reverts commit 99adc2039b
, reversing
changes made to fec20e526e
.
2023-08-29 14:27:39 +01:00
Adria Navarro
7e2ecc1b3a
Split between internal and external views
2023-08-29 13:35:22 +02:00
Andrew Kingston
100c6450dc
Update view tests
2023-08-25 15:50:29 +01:00
Andrew Kingston
a22fc8d208
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-24 12:07:23 +01:00
Adria Navarro
3e70369832
Use
2023-08-24 11:47:42 +02:00
Adria Navarro
664f257239
Implemment checks
2023-08-22 11:27:06 +03:00
Adria Navarro
54c285f71c
Add basic sdk checks
2023-08-21 17:56:40 +03:00
mike12345567
7110351bdc
Revert "revert develop into master"
...
This reverts commit fd099658a0
.
2023-08-18 14:33:21 +01:00
mike12345567
e174211440
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-08-17 17:34:44 +01:00
melohagan
b57a8c1130
Move when filter empty option into filter drawer ( #11262 )
...
* Add when filter empty dropdown
* Add unit tests
* "fix" typescript issue
* Add empty filter check for external
* Add unit test
* Hide empty filter option for custom query
* Make onEmptyFilter optional
* Fix unit tests
* Remove onEmptyFilter automation input
* Remove unused var
* Refactor
* Fix path
* Fix type issue
* Fix types
2023-08-17 13:31:52 +01:00
Martin McKeaveney
fd099658a0
revert develop into master
2023-08-17 10:28:15 +01:00
Andrew Kingston
c115a87cd6
Add dedicated endpoint for fetching view definitions
2023-08-15 17:07:14 +01:00
mike12345567
4bbae677b2
Updating tests/search to handle no schema means no data, rather than all data.
2023-08-14 12:44:05 +01:00
mike12345567
3b7a5c0392
Mutate in middleware, don't update reference.
2023-08-14 11:44:10 +01:00
mike12345567
97e5fe37a1
Cloning table schema to avoid mutation.
2023-08-14 11:19:00 +01:00
mike12345567
672e370904
Default state of view is no data returned.
2023-08-11 16:01:53 +01:00
mike12345567
9e0964a5e3
Removing concept of columns and schemaUI, replacing with just schema as now the backend uses UI attributes.
2023-08-11 15:52:13 +01:00
mike12345567
584784edca
Lint.
2023-08-11 14:58:09 +01:00
mike12345567
822a086666
Refactoring to make it so that visible: false columns are removed from views, and when returning view schema, all columns are enriched.
2023-08-11 14:57:53 +01:00
mike12345567
7be67bf603
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-11 14:39:12 +01:00
mike12345567
60af4029aa
Merge branch 'develop' of github.com:Budibase/budibase into BUDI-7189/handle_tableschema_changes_on_views
2023-08-11 14:15:21 +01:00
mike12345567
a24e1809b6
Merge branch 'views-v2-frontend' of github.com:Budibase/budibase into views-v2-frontend
2023-08-11 13:16:56 +01:00
mike12345567
b4b52d9266
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-11 13:16:29 +01:00
Adria Navarro
f6838631b0
Merge branch 'develop' into master-backmerge-20230810
2023-08-10 15:32:00 +03:00
mike12345567
63006e36d4
Adding the ability to disable an automation, as well making sure that automations have steps before running.
2023-08-09 16:24:57 +01:00
Adria Navarro
4f27197cce
Add extra tests
2023-08-09 16:28:17 +03:00
Adria Navarro
3bf794c6ba
Handle renames
2023-08-09 16:25:05 +03:00
Adria Navarro
a843385e79
Remove .only
2023-08-09 13:43:55 +03:00
Adria Navarro
865238a827
SyncSchema and tests
2023-08-09 13:43:13 +03:00
mike12345567
5e37d981da
Merge branch 'develop' of github.com:Budibase/budibase into feature/view-api-merge
2023-08-07 16:22:19 +01:00
Andrew Kingston
935c0006c6
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-07 14:42:22 +01:00
mike12345567
a1d85a831c
Some quick modifications to allow the views to go through the standard row CRUD, the view search is still separate for now however this may change.
2023-08-04 16:58:40 +01:00
Adria Navarro
4d74a6615f
Fix types
2023-08-04 18:22:33 +03:00
Andrew Kingston
938a5a445f
Add multi dev collab for viewV2 definitions
2023-08-04 15:04:58 +01:00
Adria Navarro
d3470dfcb0
Fix imports
2023-08-04 12:00:25 +03:00
Adria Navarro
a91ce15c9b
Move interface SearchParams to types
2023-08-03 05:14:50 +02:00
Andrew Kingston
858a0796bd
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-02 14:50:40 +01:00
Adria Navarro
a3a1e29350
Handle undefineds
2023-08-02 13:37:36 +02:00
mike12345567
7871bedb25
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-08-01 15:27:38 +01:00
Andrew Kingston
bb810e14d7
Fix issue with order 0 being ignored
2023-08-01 14:24:06 +01:00
Andrew Kingston
cb78788bdb
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-08-01 14:12:03 +01:00
Adria Navarro
67baa56cbf
Skip flaky test
2023-08-01 14:40:47 +02:00
mike12345567
4e1aa4fbbd
Final PR comment.
2023-08-01 12:33:59 +01:00
Adria Navarro
1b2ce184d9
Fix types
2023-07-31 17:22:10 +02:00
Adria Navarro
da6136a108
Enrich schema using the new data
2023-07-31 17:15:51 +02:00
Andrew Kingston
0c72d08763
Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend
2023-07-31 08:43:11 +01:00
Andrew Kingston
8204935dfa
Add ability to update views, create views with existing filters and sorting applied
2023-07-30 12:49:07 +01:00
mike12345567
8522cb94d3
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-28 17:10:43 +01:00
Adria Navarro
b9820f94e6
Import lodash modules
2023-07-28 17:11:48 +02:00
mike12345567
3798caf86d
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-28 16:08:38 +01:00
mike12345567
d8f50f139e
Frontend update for app builders, handling when in the builder portal and don't have any app access, as well as allowing viewing of apps from the portal.
2023-07-27 17:52:56 +01:00
Adria Navarro
2457bf1b37
Extract external getrow to sdk
2023-07-26 16:03:14 +02:00
mike12345567
43024e1a30
Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs
2023-07-26 14:40:49 +01:00
mike12345567
8253ad0a2e
Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052
2023-07-26 14:24:29 +01:00
Adria Navarro
11f0569446
Move row.validate to the sdk
2023-07-26 14:12:58 +02:00
Adria Navarro
2c6725404f
Types
2023-07-26 13:54:35 +02:00
Adria Navarro
aeeb69d80e
Merge pull request #11352 from Budibase/BUDI-7189/return_default_row_data
...
Return default row data
2023-07-26 11:29:24 +01:00
Adria Navarro
17b394dba9
Increase timeouts
2023-07-26 12:12:32 +02:00
Adria Navarro
d07f840559
Increase timeouts
2023-07-25 22:15:45 +02:00
Adria Navarro
3ce92e8034
Implement and test external field selector
2023-07-25 19:48:46 +02:00