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

1739 commits

Author SHA1 Message Date
Adria Navarro
fe31f88cc8 Add validation 2024-07-10 15:48:16 +02:00
Adria Navarro
bf161d9d93 More types 2024-07-10 15:41:55 +02:00
Adria Navarro
c1eafe5b28 Fix 2024-07-10 14:05:21 +02:00
Adria Navarro
0c2024bf6a Basic get 2024-07-10 13:56:41 +02:00
Adria Navarro
de2938799b Initial test 2024-07-10 13:47:34 +02:00
Adria Navarro
dfda2f0f54 Register router 2024-07-10 13:47:34 +02:00
Adria Navarro
107bd08e21 Endpoint scaffolding 2024-07-10 13:47:34 +02:00
Adria Navarro
3f5161aaf7 Fix tests 2024-07-10 13:36:07 +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
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
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
0f1c8eb788 Disable mssql test 2024-07-09 10:43:53 +02:00
Adria Navarro
5be8882122 Handle composite keys on exports 2024-07-09 10:43:45 +02:00
Sam Rose
72a0364ca0
Fix search tests. 2024-07-08 15:02:26 +01:00
Sam Rose
014ff81841
Remove accidental imports of the aws-sdk SQS (fml) 2024-07-08 14:25:05 +01:00
Sam Rose
69d54b523d
Finish implementation, fix tests. 2024-07-08 14:21:07 +01:00
Michael Drury
e8ceed08a5
Merge branch 'master' into fix/default-table-sqs-indexing 2024-07-05 16:32:14 +01:00
mike12345567
eafe66d01e Linting. 2024-07-05 16:26:26 +01:00
mike12345567
39523685d6 Adding test case for searching sample data. 2024-07-05 16:20:27 +01:00
Adria Navarro
f26a8d410a Add export composite key 2024-07-05 11:19:01 +02:00
mike12345567
77abe6da83 Handling invalid time values when ISO strings are input as filter options. 2024-07-04 18:29:08 +01:00
Sam Rose
ce406e0c5d
Unfocus test, you numpty. 2024-07-04 11:43:13 +01:00
Sam Rose
b318850c7e
Support non-ascii column in SQS. 2024-07-04 11:37:18 +01:00
Adria Navarro
53af94f971 Fix search returning non visible columns 2024-07-02 14:02:16 +02:00
Adria Navarro
882a056cd9 Don't trim any fields on view crud endpoints 2024-07-02 13:58:16 +02: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
5c09d6f41f
Fix type error. 2024-07-01 11:46:35 +01:00
Sam Rose
11f49c95dc
Fix contains search on multi-user column. 2024-07-01 09:47:58 +01:00
mike12345567
b3d07aa228 Adding parameterised tests. 2024-06-28 15:21:39 +01:00
mike12345567
510baf4f6e Adding test case and updating how prefix updates in filters work. 2024-06-28 14:19:11 +01:00
mike12345567
41f045d8a6 Allow constant internal columns to be duplicated based on being case sensitive. 2024-06-26 13:36: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
Peter Clement
f3d466f255
fix issue where schema wasn't updating types when a query was run (#14004)
* fix issue where schema wasn't updating types when a query was run

* add tests for schema matching
2024-06-25 08:51:35 +01:00
Sam Rose
bb91849976
Merge branch 'master' into budi-8390-receiving-a-column-has-been-specified-more-than-once-in-the 2024-06-24 17:32:26 +01:00
Sam Rose
da1eb6f6ac
Fix primary key appearing twice in the SQL ORDER BY clause. 2024-06-24 17:09:27 +01:00
Sam Rose
01b2f69b74
Merge branch 'master' of github.com:budibase/budibase into budi-8220-support-updating-existing-rows-for-external-databases-using-2 2024-06-24 15:51:03 +01:00
mike12345567
965725d022 First PR comments. 2024-06-24 12:43:26 +01:00
mike12345567
05ea231d20 Adding back missing comments. 2024-06-24 11:53:02 +01:00
mike12345567
fcf67f7297 Fixing an issue raised by Poirazis around empty relationships coming back as related to themselves. 2024-06-21 19:29:30 +01:00
mike12345567
6812c21076 Updating test cases. 2024-06-21 16:58:40 +01:00
Sam Rose
d5481312d0
Fix lint, add new update test. 2024-06-21 15:31:34 +01:00
Sam Rose
c9fecbaa77
Fix updating rows in external tables where the primary key is an autocolumn. 2024-06-21 15:12:02 +01:00
Sam Rose
f4378bd561
Merge branch 'master' of github.com:budibase/budibase into budi-8220-support-updating-existing-rows-for-external-databases-using-2 2024-06-21 13:08:39 +01:00
mike12345567
b4910043c6 Addressing PR comments. 2024-06-21 11:27:47 +01:00
mike12345567
fead1f436a test case is only for internal. 2024-06-20 18:53:01 +01:00
mike12345567
ae68c561f4 Test case. 2024-06-20 18:51:04 +01:00
mike12345567
86bae92ada Refactoring search test to make it easier to find promises which aren't handled. 2024-06-20 17:13:42 +01:00
mike12345567
66ef0cb79a Adding back SQS - wasn't causing a problem. 2024-06-20 16:05:03 +01:00
mike12345567
b6b05e08b1 Removing SQS from view test to check. 2024-06-20 15:52:56 +01:00
mike12345567
3345364675 Updating test case - not exactly sure what it was testing before, but now it definitely confirms paginated results are stable. 2024-06-20 14:36:08 +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
Sam Rose
602faf1c67
Add test for composite primary keys for external datasource imports. 2024-06-19 17:52:48 +01:00
mike12345567
58ec7a50b0 Implementing row counting for in-memory, also updating the in memory search function. 2024-06-19 17:51:11 +01:00
mike12345567
a97b24658f Fixing test case, it didn't provide a primary field. 2024-06-19 15:08:22 +01:00
Michael Drury
223df424fc
Merge branch 'master' into feature/count-rows-to-return 2024-06-19 14:20:31 +01:00
mike12345567
0e5de7f16d Test updates. 2024-06-19 13:36:34 +01:00
Sam Rose
80642100fa
Merge branch 'master' into feature/count-rows-to-return 2024-06-19 09:05:56 +01:00
mike12345567
e0d8a66fd8 Adding test cases for counting as well as some small fixes. 2024-06-18 18:44:17 +01:00
Sam Rose
e288fc8795
Disable upserting for MSSQL in bulkImport for now. 2024-06-18 18:02:20 +01:00
Sam Rose
5ac8a7d514
bulkImport upsert working everywhere excpet mssql 2024-06-18 17:43:25 +01:00
Sam Rose
335c174643
Create a failing test. 2024-06-18 16:39:35 +01:00
Peter Clement
2b96cbcad7
Expose old row binding in automations (#13931)
* expose old row through the emitter

* accidentally added oldRow to step

* fix row fetch in external datasources

* add test for new / old row comparison

* add testing for old row update event

* allow function overloading in test files

* update tests per comments

* handle event race condition

* update test data modal to account for old row output

* switch icon positioning
2024-06-18 13:45:58 +01:00
mike12345567
73013332ae Adding countRows to search validators. 2024-06-18 11:16:21 +01:00
Sam Rose
75e79156f7
Merge branch 'master' into budi-8238-rewrite-postgresspects-to-use-knex 2024-06-17 16:45:33 +01:00
Sam Rose
903c3cf84d
Fix flake in generic-sql.spec.ts. 2024-06-17 16:17:00 +01:00
Sam Rose
c107ab937d
Remove rawQuery entirely. 2024-06-17 16:15:51 +01:00
Sam Rose
a54048e308
Solve all remaining TODOs in search.spec.ts. 2024-06-14 14:57:31 +01:00
Sam Rose
1161c185e2
Down to 0 failures. 2024-06-13 17:46:03 +01:00
Sam Rose
c01c2c7cc3
Down to 4 failures. 2024-06-13 16:23:16 +01:00
Sam Rose
746ee711ae
Down to 19 failures. 2024-06-13 14:45:43 +01:00
Sam Rose
cb6acd8c0b
Down to 71 failures. 2024-06-13 12:24:27 +01:00
Sam Rose
7e69f85e77
More progress. 2024-06-12 18:07:46 +01:00
Sam Rose
22bf0d05ad
Making progress. 2024-06-12 17:58:13 +01:00
Sam Rose
ae6539161f
Get rid of negation in predicate. 2024-06-12 17:28:03 +01:00
Sam Rose
7e4f571eb3
wip 2024-06-12 15:24:46 +01:00
Sam Rose
95f5844a44
Get in-memory searching into the search tests. 2024-06-12 15:24:46 +01:00
melohagan
f8765fb254
Don't add or remove quotas for external DB rows (#13926)
* Don't add or remove quotas for external DB rows

* update account-portal

* fix unit test
2024-06-12 13:49:37 +00:00
Sam Rose
13ec629109
Trigger server tests. 2024-06-10 15:50:04 +01:00
Sam Rose
d579972e5f
Slim down postgres.spec.ts, most of its content is tested elsewhere now across all datasources. 2024-06-10 10:59:33 +01:00
Michael Drury
dcd5e7934d
Merge branch 'master' into fix/BUDI-8258-update-presence 2024-06-07 18:01:38 +01:00
mike12345567
3cc4b71561 Fixing some issues highlighted by test case. 2024-06-07 17:59:18 +01:00
mike12345567
f76eb1b220 Merge branch 'master' of github.com:Budibase/budibase into fix/BUDI-8258-update-presence 2024-06-07 17:24:40 +01:00
mike12345567
5de2dc8382 Some test updates to make the fetchSchema tableFilter prop usable. 2024-06-07 17:13:06 +01:00
Sam Rose
85c372c4d6
Move some mysql.spec.ts and postgres.spec.ts tests into datasource.spec.ts. 2024-06-07 16:56:07 +01:00
Sam Rose
d682320371
Fix last test. 2024-06-07 16:40:25 +01:00
Sam Rose
c07d73beaf
Modernise datasource.spec.ts. 2024-06-07 16:35:46 +01:00
Adria Navarro
f4e14db22a Add failing test 2024-06-07 10:54:14 +02:00
mike12345567
2c86ea14fd Changing how disk cleanup is performed. 2024-06-06 15:07:06 +01:00
Sam Rose
ac53a97176
WIP 2024-06-06 14:55:07 +01:00
mike12345567
878114133c Adding test. 2024-06-06 12:36:57 +01:00
Adria Navarro
47b77d6744 Run test only with internal tables 2024-06-04 16:46:50 +02:00