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

964 commits

Author SHA1 Message Date
Adria Navarro
9743aca715
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-05 17:28:58 +02:00
Adria Navarro
c845db966f Fix prefixes for SQS 2024-08-05 17:25:17 +02:00
Adria Navarro
1cd3347262 Types 2024-08-05 17:23:55 +02:00
Sam Rose
7ab442eae7
Merge master. 2024-08-02 15:29:48 +01:00
mike12345567
661fc361a0 Refactoring search SDK to make it obvious the different search methods, exports was using lucene always when doing internal export rows which shouldn't be the case, should go through the complete search SDK. 2024-08-02 15:01:33 +01:00
Michael Drury
c443ad5d5b
Merge branch 'master' into fix/sql-pagination-fixes 2024-08-02 13:21:22 +01:00
Sam Rose
40e886b34d
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-08-02 10:48:14 +01:00
mike12345567
6eb3b2793b Linting. 2024-08-01 13:31:10 +01:00
mike12345567
224d2a1953 PR comments. 2024-08-01 13:07:34 +01:00
mike12345567
f0da4b0366 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-pagination-fixes 2024-08-01 11:39:01 +01:00
Adria Navarro
bf1566ebb2
Merge branch 'master' into fix/dont-allow-protected-column-names-on-import 2024-08-01 11:04:14 +02:00
Adria Navarro
3128501083
Merge branch 'master' into fix/import-column-issues 2024-08-01 10:38:56 +02:00
mike12345567
70071dac28 Merge branch 'fix/sql-pagination-fixes' of github.com:Budibase/budibase into fix/sql-pagination-fixes 2024-07-31 16:56:51 +01:00
mike12345567
de22a078c0 Adding bookmark to each subsequent (thanks tests ). 2024-07-31 16:50:20 +01:00
Michael Drury
47401e26ff
Merge branch 'master' into fix/sql-pagination-fixes 2024-07-31 16:41:04 +01:00
Adria Navarro
ad74eca709 Fix 2024-07-31 17:32:36 +02:00
mike12345567
a2f11f17fd Type fix. 2024-07-31 16:31:02 +01:00
mike12345567
1d695be77c This PR includes a change to pagination which makes sure if the 5000 max row limit is hit that pagination still kicks in. This means that you can eventually return all rows, although for very large tables you may hit rate limits (if you have thousands of rows related to each row in your table). 2024-07-31 16:21:49 +01:00
Sam Rose
f0dbaa5eae
Add query to span as a tag. 2024-07-31 15:40:54 +01:00
Sam Rose
e62298e199
Record SQS queries in DataDog. 2024-07-31 15:38:26 +01:00
Adria Navarro
fe2b2bb097 Don't export couchdb fields 2024-07-31 13:33:20 +02:00
Adria Navarro
62fa05a855 Type 2024-07-31 13:28:28 +02:00
mike12345567
4d058b7053 Fixing an issue seen when browsing through datadog error logs for app service. 2024-07-31 11:11:52 +01:00
mike12345567
76895174b5 Merge branch 'master' of github.com:Budibase/budibase into test-oracle 2024-07-31 11:03:30 +01:00
Adria Navarro
a172a44741 Fix test 2024-07-30 19:08:00 +02:00
Sam Rose
ea7a6195bf
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-07-30 17:58:44 +01:00
Adria Navarro
9371f9913e Types 2024-07-30 18:14:54 +02:00
mike12345567
76652ddab5 Fixes some issues with row actions which were allowing them to be added from the automation section (which is not allowed) as well as breaking app access once they were added - this hides them properly so they can't be added as well as fixing the issue when they exist. 2024-07-30 15:07:34 +01:00
mike12345567
d06377a25d Merge branch 'master' of github.com:Budibase/budibase into test-oracle 2024-07-30 13:02:22 +01:00
mike12345567
03f9219d1d PR comment. 2024-07-30 11:57:06 +01:00
Sam Rose
384466c754
Merge master. 2024-07-30 11:04:47 +01:00
Sam Rose
5bce8e595d
Plumb FieldSchema into parse. 2024-07-30 11:03:54 +01:00
Sam Rose
e1ef66bf56
Refactor InternalBuilder to give me more access to query state. 2024-07-29 18:11:05 +01:00
mike12345567
1beae2c040 Fix bug (thanks tests) 2024-07-26 16:57:07 +01:00
mike12345567
9fb1c6b988 When searching by row ID with external DBs/SQS we can get into a situation where the limit of 1 which is applied by the frontend can cause problems, with many to many relationships we need to retrieve multiple rows (all of the joined related rows). This was raised by poirazis, it exhibits itself in one part of the platform, when attempting to a row by ID in a form block that has multiple many to many relationships. The frontend needs to be able to send a limit of 1 incase it is using a form block but hasn't gotten a row ID (this can happen in preview/the builder) and it just wants to populate with a row for display. 2024-07-26 16:23:46 +01:00
Adria Navarro
8421a75328
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-26 15:16:21 +02:00
Adria Navarro
f2cd589aae
Merge branch 'master' into chore/renames 2024-07-26 14:42:08 +02:00
Adria Navarro
f9bfe51c81 Rename external 2024-07-26 14:37:47 +02:00
Adria Navarro
ee74a84339 Remove duplicates 2024-07-26 14:36:41 +02:00
Adria Navarro
3a095c5071 Renames 2024-07-26 14:35:36 +02:00
Adria Navarro
4cf3706904 Renamings 2024-07-26 14:29:20 +02:00
Adria Navarro
d7e2f0fc0e Fix build 2024-07-26 13:42:33 +02:00
Adria Navarro
a05ec1498f Allow importing internal tables 2024-07-26 13:27:51 +02:00
Adria Navarro
5102724f89 Fix conflicting imports in jest 2024-07-25 17:22:09 +02:00
Adria Navarro
92a26d4272 Undo async import 2024-07-25 16:43:53 +02:00
Adria Navarro
db9bc1f373 Fix types 2024-07-25 16:08:51 +02:00
Adria Navarro
297ff58b67 Pass proper params 2024-07-25 15:37:50 +02:00
Adria Navarro
f7a460a1ea Implement run 2024-07-25 08:38:11 +02:00
Adria Navarro
cf4f463da4 Fix barrel file issues 2024-07-25 08:35:01 +02:00
Adria Navarro
2e47410979 Reuse trigger 2024-07-24 17:11:03 +02:00
Adria Navarro
e161c998ca
Merge branch 'master' into feat/row-actions 2024-07-24 15:48:38 +02:00
Adria Navarro
8a8633b43b Fix throwing 404 2024-07-23 15:27:35 +02:00
Adria Navarro
4169842018 Fix get 2024-07-23 15:22:26 +02:00
Adria Navarro
75609b2a9b Move row.find to sdk 2024-07-23 15:16:15 +02:00
Adria Navarro
fa4629dfb8 Merge branch 'master' into feat/row-actions 2024-07-23 12:47:56 +02:00
Adria Navarro
b4767cea7c Add checks to shared-core 2024-07-23 12:07:05 +02:00
Adria Navarro
8678db18e2 Add tests 2024-07-23 10:46:11 +02:00
Adria Navarro
703e2c1873 Prevent renaming row actions 2024-07-23 10:15:25 +02:00
Adria Navarro
e29611f2eb Add comment 2024-07-23 10:10:00 +02:00
Adria Navarro
cc77cea269 Fix tests 2024-07-23 10:06:43 +02:00
Adria Navarro
3d57a64bab Remove unnecessary spreads 2024-07-23 10:06:43 +02:00
Adria Navarro
5c41b372f3 Fix types 2024-07-23 10:06:43 +02:00
Adria Navarro
2839bd5ece Trim data 2024-07-23 10:06:21 +02:00
Adria Navarro
b7fc1cddb7 Merge branch 'master' into feat/row-actions 2024-07-23 10:03:41 +02:00
Adria Navarro
6b58549fd9 Fix issues with circular references and barrel files 2024-07-22 16:34:14 +02:00
mike12345567
4f05f33b08 Fixing the issue, making sure if error occurs to re-evaluate. 2024-07-22 15:17:34 +01:00
Adria Navarro
9bd22bbcdf Fix after merge 2024-07-22 14:45:58 +02:00
Adria Navarro
3fa7858712 Fix references 2024-07-22 14:31:59 +02:00
Adria Navarro
3bb3376a82 Format on frontend 2024-07-22 14:31:59 +02:00
Adria Navarro
a6f51caa46 Display rowaction 2024-07-22 14:31:59 +02:00
Adria Navarro
3c9c988d8c Populate table name 2024-07-22 14:31:59 +02:00
Adria Navarro
b7a969280f Display data 2024-07-22 14:31:42 +02:00
Adria Navarro
6221b9320e Enrich 2024-07-22 14:31:00 +02:00
Adria Navarro
6c67aaf3a0 Undo 2024-07-22 14:23:18 +02:00
Adria Navarro
08a6ac3919 Add extra tests 2024-07-22 14:23:18 +02:00
Adria Navarro
f91ec1de21 Guard readonly and test 2024-07-22 14:23:17 +02:00
Adria Navarro
a799bc1c71 Change 2024-07-22 14:23:17 +02:00
Adria Navarro
b75c8b32e3 Field readonly 2024-07-22 14:23:17 +02:00
Adria Navarro
1843233168 Undefined context checks 2024-07-22 14:23:17 +02:00
Adria Navarro
eaa38c5c2d Return automationid from row action api 2024-07-22 14:23:17 +02:00
Adria Navarro
4a8f15995c Type sdk couchdb fields 2024-07-22 14:23:17 +02:00
Adria Navarro
2970bfc48a Fix update and tests 2024-07-22 14:23:16 +02:00
Adria Navarro
faf1d678fa Create automation 2024-07-22 14:23:16 +02:00
Sam Rose
df765c1dc7
Merge branch 'master' of github.com:budibase/budibase into support-spaces-as-last-char-in-column-sqs 2024-07-18 11:12:25 +01:00
Sam Rose
0b2a5162a4
Fix the problem, and the tests. 2024-07-18 11:00:10 +01:00
Adria Navarro
f57d8a6147 Fix jest circular references 2024-07-17 17:46:48 +02:00
Adria Navarro
166d8fac5e Use relative paths 2024-07-17 13:43:25 +02:00
Adria Navarro
53d6219b79 Extract find and fetch 2024-07-17 13:32:45 +02:00
Adria Navarro
dc47037dbb Move update and remove 2024-07-17 13:26:40 +02:00
Adria Navarro
373aeac00f Move automation creation to sdk 2024-07-17 13:10:19 +02:00
Adria Navarro
371a3ad8ec Ensure unique on updates 2024-07-17 12:26:36 +02:00
Adria Navarro
8297a58270 Ensure unique names 2024-07-17 12:18:09 +02:00
Adria Navarro
c51d2cd431 Trims names 2024-07-17 12:16:14 +02:00
Adria Navarro
9a7470a943
Merge branch 'master' into BUDI-8428/row-action-crud 2024-07-17 11:08:23 +02:00
mike12345567
745a05fe8d Updating how the 'merging' is handled, don't include the in-memory representation if it exists on disk in Couch, prefer that. 2024-07-12 13:54:55 +01:00
mike12345567
79c292538c There is a risk with default tables that the schema may exist in the DB as well as existing in memory - in this case we should merge the schemas to make sure that all possible attributes from the in memory representation, and the on disk version (which may have been updated by the user) have been captured in the SQLite schema. 2024-07-12 13:51:06 +01:00
Adria Navarro
99b4aae7de
Merge branch 'master' into BUDI-8428/row-action-crud 2024-07-12 11:53:12 +02:00
mike12345567
9129e47dd9 PR comment 2. 2024-07-11 17:09:41 +01:00
mike12345567
5b1850d28f PR comments. 2024-07-11 16:41:12 +01:00
mike12345567
1e189450c0 Switching to regex. 2024-07-11 16:38:30 +01:00
mike12345567
6db0379504 Resync if it is found that a table or column is missing, this was previously done for specific cases but have expanded to cover all, but only retry once (not get into an infinite loop). 2024-07-11 16:35:57 +01:00
Adria Navarro
2035713b9c Implement delete 2024-07-11 17:33:40 +02:00
Adria Navarro
ba2d6fd73b Renames 2024-07-11 17:16:14 +02:00
Adria Navarro
d03a0ebb68 Implement update 2024-07-11 17:08:57 +02:00
Adria Navarro
17fc605e4f Persist as object instead of array 2024-07-11 16:57:32 +02:00
Adria Navarro
3bcbb57baa Add id to each individual action 2024-07-11 15:32:25 +02:00
Adria Navarro
9fb9c08aab Merge duplicated code 2024-07-11 14:36:51 +02:00
Adria Navarro
2d8361d6fd Always return when table exists 2024-07-11 11:06:36 +02:00
Adria Navarro
7dbfcc398e Implement create 2024-07-11 10:04:25 +02:00
Michael Drury
55f6610f0d
Merge branch 'master' into fix/correcting-multi-relationships 2024-07-10 12:01:06 +01:00
Sam Rose
551d413900
Merge branch 'master' into sqs-per-tenant 2024-07-10 11:39:31 +01:00
Sam Rose
5069d3f953
Rename db to dbCore in more places. 2024-07-10 11:37:37 +01:00
mike12345567
4ab3aef020 PR comments. 2024-07-10 11:05:06 +01:00
Sam Rose
b48ea718d3
Merge branch 'master' of github.com:budibase/budibase into budi-8445-is-in-filter-broken 2024-07-10 09:14:34 +01:00
Sam Rose
2fa14ab35f
Merge branch 'master' into sqs-per-tenant 2024-07-09 17:30:33 +01:00
mike12345567
4cb23759a3 Removing tables and their related table definitions. 2024-07-09 16:33:10 +01:00
mike12345567
6e699a163d Cleaning up how junction fields are added to query. 2024-07-09 16:32:35 +01:00
mike12345567
396de67aea Merge branch 'master' of github.com:Budibase/budibase into fix/correcting-multi-relationships 2024-07-09 15:46:15 +01:00
Sam Rose
102bd28980
Fix lint. 2024-07-09 11:52:20 +01:00
Sam Rose
4c6f7f25c2
Fix bug in oneOf search. 2024-07-09 11:45:01 +01:00
Adria Navarro
5cba1058d4
Merge branch 'master' into budi-7065-csv-export-fails-for-table-with-composite-primary-key 2024-07-09 10:54:18 +02:00
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