Commit Graph

51 Commits (b24503a46ccadf8e6b43438e7415f0222f5aa28d)

Author SHA1 Message Date
Daniel Supernault 57e7eef082
Fix StoryIndexService 2 weeks ago
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
Daniel Supernault 33dce75f2c
Pint app/ 4 weeks ago
Your Name 58efefb878 fix: add missing FeedUnfollowPipeline import
Add missing use statement for FeedUnfollowPipeline in PrivacySettings
and FollowerObserver. These caused PHPStan internal errors blocking
full analysis.
4 weeks ago
Your Name c807a8524c refactor: replace short facade aliases with fully-qualified imports
Convert all 273 short facade alias imports (e.g. 'use Cache;') to their
fully-qualified class names (e.g. 'use Illuminate\Support\Facades\Cache;')
across 193 files.

This resolves 643 PHPStan 'class.notFound' errors caused by the static
analyzer being unable to resolve global aliases, and aligns with modern
Laravel conventions. It also unblocks removing the aliases array from
config/app.php in a future change.

All 107 tests pass.
4 weeks ago
Shift 19880c2ffb
Convert string references to `::class`
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
4 weeks ago
Shlee de8f3b3fcd
Update FollowerObserver.php 1 month ago
Daniel Supernault c9123c6dae
Fix UserObserver 9 months ago
Daniel Supernault 53742fa699
Lint 9 months ago
Your Name b5c6984689 Fix PHPStan arguments.count issues 11 months ago
Daniel Supernault 949e99798e
Update UserObserver, fix type casting 3 years ago
Daniel Supernault 665581d80c
Update cloud storage, use config_cache 3 years ago
Daniel Supernault 089ba3c471
Update Inbox and StatusObserver, fix silently rejected direct messages due to saveQuietly which failed to generate a snowflake id 3 years ago
Daniel Supernault fa0380ac3b
Update UserObserver, add default domain blocks logic 3 years ago
Daniel Supernault 19233cc976
Update HashtagFollowObserver 3 years ago
Daniel Supernault c6a6b3ae30
Update Experimental Home Feed, fix remote posts, shares and reblogs 3 years ago
Daniel Supernault 015b1b80b4
Update hashtag following 3 years ago
Daniel Supernault 125208fb9e
Update UserFilterObserver, dispatch FeedFollowPipeline jobs 3 years ago
Daniel Supernault 73cb8b43b3
Update HomeFeedPipeline, add follow/unfollow 3 years ago
Daniel Supernault ce63c4997b
Add Feed fanout 3 years ago
Daniel Supernault 1cd96ced2a
Update StatusHashtagObserver 3 years ago
Daniel Supernault fe6123c820
Update ImportPostController 3 years ago
Daniel Supernault 10dd348c28
Update ImportService, filter deleted posts from getImportedPosts endpoint 3 years ago
Daniel Supernault 892907d5d1
Update TransformImports command, improve handling of imported posts that already exist or are from deleted accounts 3 years ago
Daniel Supernault 796e374040
Update UserObserver 4 years ago
Daniel Supernault 29f2c50e2e
Update StatusHashtagObserver 4 years ago
Daniel Supernault 1cdc0fe8ed
Update delete pipelines 4 years ago
Daniel Supernault 3328b367fd
Add optional home feed caching 4 years ago
Daniel Supernault 81f7d17263
Update FollowerService, improve cache invalidation 4 years ago
Daniel Supernault 356cc2774a
Update FollowerService, use redis sorted sets for follower relations 4 years ago
Daniel Supernault 9f7672f570
Update AvatarObserver, fix cloud delete bug by checking if cloud storage is enabled 4 years ago
Daniel Supernault 78665b0c17
Update model observers, handle events after all transactions are committed 4 years ago
Daniel Supernault 805a014e38
Update StatusObserver, handle events after all transactions are committed 4 years ago
Daniel Supernault d122c2d042
Add StatusObserver 4 years ago
Daniel Supernault 80d9b9399a
Refactor following & relationship logic. Replace FollowerObserver with FollowerService and added RelationshipService to cache results. Removed NotificationTransformer includes and replaced with cached services to improve performance and reduce database queries. 5 years ago
Daniel Supernault 38e5fc43eb
Add FollowObserver 5 years ago
Daniel Supernault d3157f2a2d
Add LikeObserver 5 years ago
Daniel Supernault 68aa25400b
Add Auto Following support for admins 5 years ago
Daniel Supernault b299da9311
Update AccountService, cache object and observe changes 6 years ago
Daniel Supernault 9eafc31e6f
Update AvatarObserver, add logic to delete avatars stored in S3 6 years ago
Daniel Supernault 889c3d8758
Update AvatarController, remove deprecated thumb_path 6 years ago
Daniel Supernault f6528c8470
Update avatars, use jpeg default 6 years ago
Daniel Supernault 51642fc40d
Add modlog notifications 7 years ago
Daniel Supernault f400c632f0
Update DeleteAccountPipeline, fixes #2016 7 years ago
Daniel Supernault 8a0e1402dd
Add UserFilterObserver 7 years ago
Daniel Supernault 9d55d65b58
Add StatusHashtagObserver 7 years ago
Daniel Supernault 4ee3d10da8
Update UserObserver 7 years ago
Daniel Supernault a641db0764
Update avatar deletion 7 years ago
Daniel Supernault 64462cdb94
Add NotificationObserver 8 years ago
Daniel Supernault db22469f06
Add AvatarObserver 8 years ago