Daniel Supernault
493b8de031
Add FeaturedCollections/Starter Kits support
7 days ago
Your Name
f4b6d03ae6
refactor: split ActivityPub Inbox into focused traits with shared helpers
...
- Extract InboxHelpers trait with common utilities (domain/user blocking, actor validation, notification deletion, cache clearing)
- Create domain-specific handler traits: HandlesFollows, HandlesLikes, HandlesCreates, HandlesAnnouncements, HandlesDeletes, HandlesUndos, HandlesStories, HandlesFlags, HandlesUpdates, HandlesMoves
- Merge duplicate story reaction/reply handlers into single handleStoryInteraction method
- Break handleDirectMessage into focused sub-methods
- Reduce Inbox.php to thin verb router (~167 lines)
- No behavioral changes; public API preserved
4 weeks ago
Your Name
2b1c9c818b
polish
4 weeks ago
Your Name
49b85e9f22
fix: use query methods instead of collection methods (phpstan noUnnecessaryCollectionCall)
...
- PollService: pluck()->first() → value()
- StoryService: groupBy()->pluck()->count() → distinct()->count()
- Inbox: find($objects)->count() → whereIn('id', $objects)->count()
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
Your Name
edb4368b08
refactor: replace deprecated laravel/helpers with native alternatives
...
Replace all deprecated helper function calls:
- str_slug() → Str::slug()
- starts_with() → str_starts_with()
- ends_with() → str_ends_with()
- array_first() → Arr::first()
- array_last() → Arr::last()
- array_flatten() → Arr::flatten()
Remove laravel/helpers package from composer.json as it is no longer
needed and will not be maintained for Laravel 13.
4 weeks ago
Ashley Hull
ab07a705e6
Merge branch 'dev' into shift-179490
4 weeks ago
Daniel Supernault
ce64d0961d
Update Inbox, fixes #6784
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.
1 month ago
dansup
a5aba15752
Merge pull request #6674 from pixelfed/shleeable-patch-7
...
Fix: Update type on handleDirectMessage
1 month ago
Shlee
acd509e0a3
Update Inbox.php
1 month ago
Shlee
9d5e2d4f1f
Update Inbox.php
1 month ago
Grant
631c0913af
Allow activities 'to' and 'cc' to be solo values in accordance with json-ld spec
8 months ago
Daniel Supernault
4bc1e22121
Refactor LikePipeline and improve Undo Announce handling
10 months ago
Daniel Supernault
85edc9ddd5
Update ActivityPub inbox, properly handle eloquent deletions to trigger observer events
10 months ago
Daniel Supernault
d7212d75d0
Update ActivityPub inbox, properly handle eloquent deletions to trigger observer events
10 months ago
Daniel Supernault
1ed48c5df2
Update ActivityPub inbox, properly handle eloquent deletions to trigger observer events
10 months ago
Daniel Supernault
590e9b2434
Update ActivityPub inbox, properly handle eloquent deletions to trigger observer events
10 months ago
Your Name
45a9a3b472
RemoveUnreachableStatementRector
11 months ago
dansup
792ca361c1
Merge pull request #6322 from grossermensch/patch-2
...
Fix error for DMs without attachment
11 months ago
Severin
2b2de5f89c
Fix error when receiving DM without attachments
...
Fix undefined array key error when processing ActivityPub objects without attachments.
11 months ago
Your Name
ca6c875bbb
Fix PHPStan class.notFound issues
11 months ago
dansup
225e835015
Staging ( #6264 )
...
* StatusPipeline defensive checks
* HomeFeedPipeline defensive checks
* DeletePipeline defensive checks
* InboxPipeline defensive checks
* MediaPipeline defensive checks
* PushNotificationPipeline defensive checks
* LikePipeline defensive checks
* FollowPipeline defensive checks
* ImageOptimizePipeline defensive checks
* Misc pipelines defensive checks
* Update CommentPipeline.php
* Update FollowPushNotifyPipeline.php
* Update LikePushNotifyPipeline.php
* Update FollowPushNotifyPipeline.php
* Update MentionPushNotifyPipeline.php
* Update MoveSendUndoFollowPipeline.php
* Update RemoteFollowPipeline.php
* Update FollowPushNotifyPipeline.php
* Update LikePushNotifyPipeline.php
* Update MentionPushNotifyPipeline.php
* Update Site/Config.php - config_cache only has 1 arg. No fallback.
* Update Bouncer.php - Called 'count' on Laravel collection, but could have been retrieved as a query. 🪪 larastan.noUnnecessaryCollectionCall
* Update Status.php - Missing use App\Models\Conversation;
* Larastan: Update UndoSharePipeline.php (Undefined variable: $status)
* Update ResilientMediaStorageService.php
* Update ImageS3UploadPipeline.php
* Larastan: Update Profile.php missing "use App\Avatar;"
* Larastan: Update MediaStorageService.php
* Larastan: Update MediaPathService.php
* Update MediaPathService.php
* Update MediaStorageService.php
* Update ImageS3UploadPipeline.php
* Larastan: Update AddUserDomainBlock.php
```
------ -------------------------------------------------------------
Line Console/Commands/AddUserDomainBlock.php
------ -------------------------------------------------------------
37 Variable $domain in empty() always exists and is not falsy.
🪪 empty.variable
------ -------------------------------------------------------------
```
* Larastan: Update CatchUnoptimizedMedia.php
```
------ -------------------------------------------------------------------------------------------------
Line Console/Commands/CatchUnoptimizedMedia.php
------ -------------------------------------------------------------------------------------------------
31 Constructor of class App\Console\Commands\CatchUnoptimizedMedia has an unused parameter $media.
🪪 constructor.unusedParameter
------ -------------------------------------------------------------------------------------------------
```
* Update DeleteUserDomainBlock.php
* Update StatusHashtag.php
* Update FixLikes.php
* Update User.php
* Update Installer.php
* Update SeedFollows.php
* Update DiscoverCategory.php
* Update FollowRequest.php
* Update Follower.php
* Update AccountController.php
* Update CustomFilterKeyword.php
* Update FederationController.php
* Update Inbox.php
* Update HttpSignature.php
---------
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Shlee <github@shl.ee>
11 months ago
Shlee
b7442c3209
Update Inbox.php
11 months ago
Daniel Supernault
3686c92122
Update Status storage, add SanitizerService to fix spacing in html stripped content
1 year ago
Daniel Supernault
ab8d0ff46c
Update AP Inbox, handle Story View with the new StoryIndexService markSeen method
1 year ago
Daniel Supernault
b54d90d405
Lint
2 years ago
Daniel Supernault
5525369fec
Update Inbox handler, improve Undo Follow logic
2 years ago
Daniel Supernault
fbe76e37f3
Update Inbox handler, add Reject Follow support
2 years ago
Daniel Supernault
3725c689e4
Update Inbox, improve Accept Follower handling
2 years ago
Anil Kulkarni
d97383c0f6
Fix the local column for statuses to not include remote shares ( #5513 )
...
* Fix the local column for statuses to not include remote shares
* Chunk the migration
2 years ago
Daniel Supernault
9eeb7b6741
Update Status caption logic, stop storing duplicate html caption in db and defer to cached StatusService rendering
2 years ago
Daniel Supernault
79d73c508c
Update Inbox
2 years ago
Daniel Supernault
cc897bc427
Update AP Inbox
2 years ago
Daniel Supernault
6d565b81fd
Update Inbox
2 years ago
Daniel Supernault
db84ae90f1
Update Inbox
2 years ago
Daniel Supernault
dfdb7531f0
Update ProcessMovePipeline and Inbox
2 years ago
Daniel Supernault
59645f683e
Update AP Inbox, fix Move activity processing
2 years ago
Daniel Supernault
8a362c12a9
Update Inbox, add delay to move handler to allow for remote cache invalidation
2 years ago
Daniel Supernault
6615408023
Update AP inbox
2 years ago
Daniel Supernault
5558535aea
Update Move pipeline, add debug logging
2 years ago
Daniel Supernault
c76fb7ec34
Update AP Inbox
2 years ago
Daniel Supernault
a55238d2e5
Update AP Inbox
2 years ago
Daniel Supernault
3e88b7c890
Update AP Inbox
2 years ago
Daniel Supernault
402a4607c9
Update Inbox, fix flag validation condition, allow profile reports
3 years ago
Daniel Supernault
ef0ff78e4a
Add Remote Reports to Admin Dashboard Reports page
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
d835e0adaa
Update Inbox, cast live filters to lowercase
3 years ago
Daniel Supernault
40b45b2a11
Update Autospam, add live filters to block remote activities based on comma separated keywords
3 years ago
Daniel Supernault
b81ae5773f
Update AP helpers, refactor post count decrement logic
3 years ago