You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/tests/Feature
Your Name 6ff9ffbbb8 Add media storage migration commands (local<->cloud) with integrated GC
Add admin:MediaMoveStorageLocalToCloud and admin:MediaMoveStorageCloudToLocal:
- Copy media (+thumbnail) between local and cloud disks, verify by size (and
  sha256 against original_sha256 when present) before deleting the source.
- Integrated GC: delete the verified source copy (local on upload, cloud on
  download), set version=4 / reset to 3, and bust MediaService/StatusService
  caches. --keep-local / --keep-cloud opt out.
- Manage PF_ENABLE_CLOUD in .env AND the live runtime + config cache so new
  uploads route to the correct backend mid-migration on a hot server. Uses the
  installer's atomic .env writer (shared ManagesMediaStorageEnv trait).
- --limit / --dry-run / --force.

Replaces media:migrate2cloud (CloudMediaMigrate) and media:s3gc
(MediaS3GarbageCollector); scheduler now runs MediaMoveStorageLocalToCloud
hourly for straggler upload + GC. Keeps media:fix-nonlocal-driver.

Adds feature tests (download+GC, --keep-cloud, dry-run, env-flag flip both
directions, unknown-disk guard).
4 weeks ago
..
Account Add media storage migration commands (local<->cloud) with integrated GC 4 weeks ago
Api refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Auth refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AuthScope refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Compose refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
CriticalRoutes fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
Federation refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Framework refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Security refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Settings refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ActivityPubDeliveryServiceTest.php refactor: extract shared ActivityPub pool delivery into ActivityPubDeliveryService 4 weeks ago
AdminRemoveCwTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
CommentPrivatePostTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
DeleteWorkerAuthorizationTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HttpClientMigrationTest.php fix: resolve larastan class.notFound errors 4 weeks ago
LoginTest.php API improvements + test fixes (#5925) 1 year ago
ModelNamespaceMigrationTest.php test: verify morph map resolves legacy model namespaces 4 weeks ago
NotificationServiceTest.php refactor: extract duplicate patterns into shared methods 4 weeks ago
RemoteOidcTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ValidUsernameTest.php refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago