Commit Graph

16 Commits (10198bf0395814fef737e3b052d44e7a1cc66b5d)

Author SHA1 Message Date
Your Name c0cde2f682 refactor: move 52 legacy models from App\ to App\Models\
Move all Eloquent models from the app/ root directory to app/Models/
for consistency with modern Laravel conventions. The project already had
54 models in App\Models; this migrates the remaining 52 legacy models.

Changes:
- Move 52 model files from app/ to app/Models/
- Update namespace declarations in each model
- Update all ~1000 import references across the codebase
- Add Relation::morphMap() in AppServiceProvider for backward
  compatibility with existing polymorphic database records
- Add missing HasSnowflakePrimary imports for models that relied
  on same-namespace resolution
4 weeks ago
Your Name de3375a9f9 Apply Pint formatting to tests/ 4 weeks ago
Ross Bearman 3bef8a349f Make test URLs environment-agnostic
Alter link generation tests to use `config('app.url')`, rather than hardcoding `https://pixelfed.dev`
1 year ago
Daniel Simon 92f615d469 remove test prefix from test method names 2 years ago
Daniel Simon f39bfcfa1d replace @test annotations with #[Test] attributes, and add it where it was missing 2 years ago
Daniel Supernault 778e83d398
Update lexer regex, fix mention regex and add more tests 3 years ago
Daniel Supernault d4f92da0e5
Fix test 3 years ago
Sven Luijten 13d359a3c5
Clean up styling in the tests 4 years ago
Daniel Supernault 2598520bbe
Update tests 6 years ago
Daniel Supernault f911c96d16
Update lexer autolinker and extractor, add support for mentioned usernames containing dashes, periods and underscore characters 7 years ago
Daniel Supernault 46a498d7a9
Update StatusLexerTest 7 years ago
Daniel Supernault 52b5eab9b7
Update Autolinker test 7 years ago
Daniel Supernault 78ccec53e0
Update StatusLexerTest 7 years ago
Daniel Supernault a9072b3ad7
Add unit test 8 years ago
Daniel Supernault 0c654f5e43
Update tests 8 years ago
Daniel Supernault 127990e95f
Add Status Lexer Test 8 years ago