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 6b14b229d1 Fix media storage migration crash when no .env file exists
The media storage migration commands read/parsed the .env file directly to
check and flip PF_ENABLE_CLOUD. In containerized deploys there is no .env on
disk (config is injected via env vars), so updateEnvFile() threw
'file_get_contents(.env): Failed to open stream' and the scheduled command
exited 1.

- Check the live setting via config_cache('pixelfed.cloud_storage') like the
  rest of the app, instead of parsing .env.
- Make the .env write best-effort in ManagesMediaStorageEnv: skip gracefully
  when the file is missing or read-only, and still apply the runtime + DB
  config-cache updates (the load-bearing changes on a hot server).
- Apply the same fix to the sibling unstable:MediaMoveStorageCloudToLocal.
- Add a regression test covering the no-.env container scenario.
3 weeks ago
..
Account Fix media storage migration crash when no .env file exists 3 weeks ago
Admin Add admin:resyncemoji command to re-download remote emoji locally 4 weeks ago
Api Mark direct messages read with a single bulk update 3 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
Console refactor: simplify storage:maintenance flags and make it quiet by default 4 weeks ago
CriticalRoutes fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
Federation Add domain-mismatch metadata to Announce status fetch and stop noisy ERROR logs 4 weeks ago
Framework refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MediaPipeline Add structured metadata to MediaDeletePipeline skip/failure logs 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
ComposeControllerTest.php perf: fix N+1 queries; fix ComposeController lint and test namespace 4 weeks ago
DedupeQueryPatternsTest.php Extract duplicated blocked-id and duplicate-shortcode query patterns 3 weeks ago
DeleteWorkerAuthorizationTest.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
FollowerServiceFollowingIdsTest.php Extract following-ids lookup into FollowerService::getFollowingIds 3 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
RemoteAuthServiceTest.php Add timeout, retry and error handling to remote auth HTTP calls 3 weeks ago
RemoteOidcTest.php Fix larastan errors in RemoteOidcTest: import Test attribute and RefreshDatabase, replace removed str_random helper 4 weeks ago
SeasonalAggregationTest.php Compute Year-in-Review averages in SQL instead of in PHP 3 weeks ago
StatusDeleteCleanupTest.php Stream deletions with cursor and batch notification lookups in delete jobs 3 weeks ago
ValidUsernameTest.php refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago