Commit Graph

366 Commits

Author SHA1 Message Date
Sam Rose 84d9f6816c
Enable a variety of useful looking lints. 2024-12-09 12:52:21 +00:00
mike12345567 e137205de0 PR comments. 2024-11-22 16:42:09 +00:00
Sam Rose 4e2f0405db
Additional instrumentation for DD around CouchDB. 2024-11-21 16:36:31 +00:00
Adria Navarro 42f27bacb2 Cleanup SQS feature usages 2024-10-21 15:19:36 +02:00
mike12345567 87bdd68afa Updating to use enum for feature flags across the board. 2024-10-18 17:07:35 +01:00
Sam Rose 4c4429b88a
Fix tests. 2024-10-10 15:49:00 +01:00
Michael Drury 64492dca2a
Merge branch 'master' into fix/related-rows-dont-exist 2024-10-09 12:18:37 +01:00
Sam Rose a4a90d7456
Fix tests. 2024-10-08 09:56:51 +01:00
Sam Rose 27578db4b7
Fix SQS error handling. 2024-10-07 09:48:33 +01:00
mike12345567 a6f6942288 Fixing an issue with corrupt relationship records referencing rows which don't exist, this is a temporary measure as these relationships should be cleaned up correctly but for now ignore any which reference rows which no longer exist. 2024-10-03 16:10:07 +01:00
Sam Rose b68a51bd55
Merge master. 2024-09-25 14:59:47 +01:00
Sam Rose f475454bce
Fix search API break. 2024-09-24 18:07:31 +01:00
Sam Rose e3256cb005
Fix row.spec.ts. 2024-09-24 17:46:38 +01:00
Sam Rose 0eb90cfbea
Type checks pass, now to find out how much stuff I've broken. 2024-09-24 16:35:53 +01:00
mike12345567 a5cb1b39dc All docs no error fix. 2024-09-24 15:51:41 +01:00
mike12345567 ad60f8a811 All docs returns no docs if 404. 2024-09-24 15:47:07 +01:00
mike12345567 6d8921978b Quick temporary fix for issue - previously the invalid state was never reset, which can cause apps to go missing completely, updating this so it will fix it self after a short while. 2024-09-24 15:30:39 +01:00
Sam Rose 265000f7e1
Merge master. 2024-08-27 14:37:19 +01:00
Sam Rose c12a96b4d8
Fix backend-core tests. 2024-08-15 16:21:12 +01:00
Sam Rose 354e5dd34c
More specifically import feature flags. 2024-08-15 15:17:37 +01:00
Sam Rose 86717b536b
Use new feature flag API for SQS. 2024-08-15 14:58:11 +01:00
Adria Navarro 643d57b583 Add extra tests 2024-07-30 17:29:03 +02:00
Adria Navarro 61d73b1f59 Add createdAd and updatedAt on bulkDocs 2024-07-30 17:26:49 +02:00
Adria Navarro e07bc5b572 Add bulkDocs test 2024-07-30 17:26:29 +02:00
Adria Navarro 8280c2ccfd Add databaseImpl.put tests 2024-07-30 17:22:21 +02:00
melohagan 60f7c03e17
Fix/verify sso bug (#14253)
* Delete associated SSO user

* Update reset password screen

* Partial type removed

* lint

* Split getFirstPlatformUser from getPlatformUsers

* lint

* Use correct method

* Code review comments

* lint
2024-07-29 13:25:46 +01:00
mike12345567 4e0a84f7f8 PR comment. 2024-07-25 10:26:02 +01:00
mike12345567 7c6c12f325 Adding a small utility to DB layer for bulk removing documents, this is a problem that Mel ran into, the fact it doesn't default to throwing errors, I've updated a few cases and added functionality for it to maintain compatiability with the old way of doing things (errors silenced). 2024-07-24 18:13:27 +01:00
mike12345567 8d308b591a Enabled SQS in self-host/development (single tenancy) as long as the SQS_ENABLED flag has been set, tenants don't need to be specified as there are no tenants. 2024-07-11 13:33:56 +01: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
Sam Rose 56c6742a0e
Create a way to enable SQS for all tenants. 2024-07-10 15:22:18 +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
mike12345567 e4375c2196 Fixing a build issue uncovered by tests. 2024-07-05 15:27:54 +01:00
mike12345567 77abe6da83 Handling invalid time values when ISO strings are input as filter options. 2024-07-04 18:29:08 +01:00
mike12345567 cb41e4d5a1 Fix for CouchDB integration, the typing in it was very poor and wise hiding issues, I've updated how this is implemented so that static typing can catch issues with it. 2024-07-03 12:50:33 +01:00
mike12345567 cb50cca40b Stripping credentials from Couch URLs + test cases. 2024-07-03 11:25:21 +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 def3b0260e Disallowing prohibited columns consistently, no matter the case, and backend validation for this as well. 2024-06-20 18:48:22 +01:00
Michael Drury b76d535202
Merge branch 'master' into BUDI-7656/add-migration 2024-06-07 10:24:50 +01:00
mike12345567 ab6614a683 Capturing any 500s which occur from SQS cleanup - it appears to 500 if there is nothing to do. 2024-06-06 17:38:52 +01:00
Michael Drury ea1d3000c2
Merge branch 'master' into BUDI-7656/add-migration 2024-06-06 16:49:48 +01: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 cf6f86cb2f Updating migrations to correctly cover all the required elements. 2024-06-04 17:24:11 +01:00
mike12345567 647a8c2a74 Final fix for remove function. 2024-05-16 13:52:38 +01:00
mike12345567 06d6d84b55 Addressing PR comments. 2024-05-16 13:27:54 +01: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
mike12345567 f25703b88e Merge branch 'master' of github.com:Budibase/budibase into feature/sqs-table-cleanup 2024-05-13 13:54:00 +01:00