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/resources/views/auth
Your Name 8a2649b3ff feat: add critical path test suite and fix auth/config issues
Test Infrastructure:
- Modernize phpunit.xml (bootstrap, source block, Laravel 12 env vars)
- Configure tests/Pest.php with pest()->extend(TestCase::class)->in('Feature')
- Add docker-compose.test.yml (Redis for test suite)
- Add composer test/test:quick scripts
- Rename CACHE_DRIVER to CACHE_STORE across config (backwards compatible)
- Update .env.testing for in-memory SQLite + Docker Redis

Test Coverage (190 tests):
- CriticalRoutes: public routes, auth routes, API endpoints, middleware, schedule
- Auth/LoginTest: login, logout, rate limiting, redirect behavior
- Auth/RegisterTest: registration flow, validation, disabled registration
- Auth/PasswordResetTest: reset request, token validation, password update
- Auth/TwoFactorTest: 2FA checkpoint, setup behind password confirmation
- Auth/PasswordConfirmationTest: sudo mode flow via Laravel password.confirm
- Api/ScopeTest: scope enforcement, public endpoints, admin access

Bugs Fixed:
- Fix unauthenticated API returning 500 instead of 401 (AuthenticationException
  not handled in custom exception renderer in bootstrap/app.php)
- Replace custom DangerZone middleware with Laravel password.confirm
- Add HasFactory trait to Profile model for test factories

Bugs Documented (known-bugs group):
- Registration crashes with str_ends_with TypeError (RegisterController:82)
- OAuth routes use legacy array syntax causing ReflectionFunction TypeError
4 weeks ago
..
curated-register fix: replace str_random/str_limit/str_slug in Blade templates and tests 4 weeks ago
email uses max length of 30 instead of 15 10 months ago
oauth Update authorize.blade.php 1 month ago
passwords Update captcha, use config_cache helper 3 years ago
remote Update Remote Auth feature, fix custom domain bug and enforce banned domains 3 years ago
checkpoint.blade.php Update checkpoint view, improve input autocomplete. Fixes #4959 3 years ago
iar-resend.blade.php Staging (#5815) 2 years ago
iar.blade.php Add app register email verify resends (#5814) 2 years ago
login.blade.php Merge pull request #5891 from eufelipemateus/translate-auth 1 year ago
register.blade.php translate auth 2 years ago
sudo.blade.php feat: add critical path test suite and fix auth/config issues 4 weeks ago
two-factor.blade.php [Server Bug]: app.logo is not used in code 9 months ago