Commit Graph

12013 Commits

Author SHA1 Message Date
Sam Rose dc913385f6
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing 2024-07-15 16:48:36 +01:00
Sam Rose 9542c497de
Create a test for required column with default value. 2024-07-15 16:46:20 +01:00
Sam Rose e39a5b0d7e
Add test for creating a row through views. 2024-07-15 16:44:43 +01:00
Sam Rose 18acaccfcb
Current User binding and tests. 2024-07-15 16:26:15 +01:00
Sam Rose ee0c4187c8
Better error handling of invalid default values. 2024-07-15 12:09:01 +01:00
Sam Rose 297e9003ca
Support bindings in default values. 2024-07-15 11:10:30 +01:00
Sam Rose 12911db06e
Process primitive default values. 2024-07-15 10:43:58 +01:00
Sam Rose 43de204ca2
Default values failing test. 2024-07-15 09:58:31 +01:00
mike12345567 19ff925dec Adding test cases for less than/greater than or equal to, there was no test cases confirming these definitely work. Also aligning the test cases with how the frontend performs these tests today. 2024-07-12 18:09:29 +01: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 0e8d216e22 Unify newid 2024-07-12 11:36:18 +02:00
Adria Navarro c0a0e860fa
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-12 11:07:11 +02:00
Sam Rose 4c4e7c12de
Fix a very rare flake in row.spec.ts. 2024-07-12 09:39:38 +01:00
Adria Navarro 1f2dab71eb
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-12 01:34:17 +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 1be14f5a05
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-11 16:59:34 +02:00
Sam Rose db9e0e7d38
Fix fun flake in MySQL / MariaDB. 2024-07-11 15:54:52 +01:00
Adria Navarro e3705f1e87
Merge branch 'master' into BUDI-8449/when-return-all-table-rows-is-selected-the-is-in-filter 2024-07-11 14:40:40 +02:00
Adria Navarro 9fb9c08aab Merge duplicated code 2024-07-11 14:36:51 +02:00
Adria Navarro 55c72c7150 Add tests 2024-07-11 14:12:43 +02:00
mike12345567 73881e9895 Only default the CouchDB SQL URL if we are in dev, otherwise attempt to work out what it is based on the main CouchDB URL (as this should work in all default production environments). 2024-07-11 11:11:28 +01:00
Adria Navarro c1eafe5b28 Fix 2024-07-10 14:05:21 +02:00
Adria Navarro 3f5161aaf7 Fix tests 2024-07-10 13:36:07 +02:00
Adria Navarro 8b40e80750 Return 401 instead of 403 2024-07-10 13:26:02 +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
Sam Rose 76d22dfffd
Respond to PR comments. 2024-07-10 11:32:34 +01:00
mike12345567 d6ad6a4686 Missing internal check. 2024-07-10 11:21:41 +01:00
Sam Rose 5356cfdce5
Fix uses of SearchFilterOperator. 2024-07-10 11:08:11 +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
mike12345567 9e8a855d14 Adding test case for separating columns to rows in same table. 2024-07-09 19:09:01 +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
mike12345567 cd19202042 Fix external relationships. 2024-07-09 13:39:49 +01:00
Adria Navarro 38f7b88735 Type filters 2024-07-09 14:01:44 +02: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 9c6347f7fd Move constants to types 2024-07-09 12:24:59 +02: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 62f5790a81 Remove unnecessary cast 2024-07-09 10:49:57 +02:00
Adria Navarro 58bd346885 Fix 2024-07-09 10:43:53 +02:00
Adria Navarro 0f1c8eb788 Disable mssql test 2024-07-09 10:43:53 +02:00