Your Name
a142db87b4
polish
4 weeks ago
Daniel Supernault
33dce75f2c
Pint app/
4 weeks ago
Shlee
572047280f
Merge pull request #6830 from pixelfed/refactor/modern-bootstrap-app
...
refactor: migrate to modern Laravel 13+ bootstrap/app.php
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
8e41f6fdf8
refactor: migrate to modern bootstrap/app.php architecture
...
Consolidate the legacy Laravel 5-era kernel/handler architecture into
the modern Application::configure() pattern introduced in Laravel 11:
- HTTP middleware stack → bootstrap/app.php withMiddleware()
- Console schedule → bootstrap/app.php withSchedule()
- Exception handling → bootstrap/app.php withExceptions()
- Route registration → bootstrap/app.php withRouting()
- Service providers → bootstrap/providers.php
Deleted files:
- app/Http/Kernel.php
- app/Console/Kernel.php
- app/Exceptions/Handler.php
- app/Providers/RouteServiceProvider.php
- app/Providers/BroadcastServiceProvider.php
Removed framework providers from config/app.php (auto-registered by
Application::configure). Package providers use auto-discovery.
All 107 tests pass. Schedule, routes, and middleware verified working.
4 weeks ago
Your Name
98267eb26f
refactor: replace deprecated str_random() with Str::random()
...
str_random() is a deprecated helper from laravel/helpers that was
missed in the initial helpers removal. Replace all 18 call sites
with the modern Str::random() equivalent.
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
Shlee
16b5ffff10
Create SeedDevUsers.php
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
Daniel Supernault
d2f06af07d
Update UserAvatarDelete command. Fixes #6627
1 month ago
Daniel Supernault
9fe9b7eb32
Update AdminInviteController
3 months ago
Daniel Supernault
764f106de7
Create UserAvatarDelete.php
4 months ago
Daniel Supernault
d8c9cece15
Lint
6 months ago
Daniel Supernault
015f619008
Fix key
6 months ago
Daniel Supernault
1add0938fe
Increase default concurrency
6 months ago
Daniel Supernault
e4e9d12b5c
Reduce timeout
6 months ago
Daniel Supernault
92f469ff20
Fix delete fanout
6 months ago
Daniel Supernault
7be475cbb7
Add debugging
6 months ago
Daniel Supernault
9826b54d76
Dont sign content-type
6 months ago
Daniel Supernault
78a657d7df
Refactor, use actor private key, thanks Mastodon ;)
6 months ago
Daniel Supernault
dfd538e7e0
Fix signing headers
6 months ago
Daniel Supernault
f98588b769
Lint
6 months ago
Daniel Supernault
0175b4a605
Lint
6 months ago
Daniel Supernault
f5d2d95e76
Lint
6 months ago
Daniel Supernault
8aab6bdf1a
Lint
6 months ago
Daniel Supernault
b969c5acd0
Lint
6 months ago
Daniel Supernault
273efe88c1
Lint
6 months ago
Daniel Supernault
c12f07f7d8
Lint
6 months ago
Daniel Supernault
87a8b4507f
Update UserAccountDelete.php
6 months ago
Daniel Supernault
967ab88ec0
Fix UserAccountDelete delivery
6 months ago
Daniel Supernault
cfc5c9387a
Fix UserAccountDelete delivery
6 months ago
Daniel Supernault
45b5381970
Fix UserAccountDelete delivery
6 months ago
Daniel Supernault
68a6a5fa51
Update UserAccountDeleteCommand
6 months ago
Daniel Supernault
6ac683d092
Update Kernel.php
7 months ago
Daniel Supernault
d1799a0833
Lint commands
9 months ago
Daniel Supernault
6197a8296f
Update UserAccountDelete command
10 months ago
Your Name
45a9a3b472
RemoveUnreachableStatementRector
11 months ago
Shlee
6e5eee8d50
Update Installer.php
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
dansup
1586808b11
Merge pull request #6189 from rossbearman/admin-invites
...
Admin web interface for creating and expiring invites; add invitation emails
11 months ago
Daniel Supernault
76b5601a01
Update IG Import
...
To support non-local fs
11 months ago
Ross Bearman
db03733415
Add admin invite interface and email support
...
This commit does two things:
* Add invite email support to AdminInviteCommand
- Moves `invite_code` generation to AdminInvite model `creating` event
* Add admin invite management section under admin users dashboard
- Adds `Admin/AdminUserInviteController` and associated `home` and
`create` Blade templates.
- Adds "Invites" button to admin user dashboard
1 year ago
Daniel Supernault
c65052c04c
Remove AvatarSync command. Fixes #5833
1 year ago
Daniel Supernault
e3f9b1bc9e
Remove MediaReplaceDomainCommand. Fixes #5835
1 year ago
Daniel Supernault
506fe14c11
Update MediaCloudUrlRewrite command, add avatar support. Fixes #6069
1 year ago
Daniel Supernault
c319dfbcc4
Update AppRegister controller, add scheduled cleanup task to delete older than 90d
1 year ago
Daniel Supernault
bbc7f7b0d4
Fix race condition
1 year ago
Daniel Supernault
d595963f51
Fix TransformImports command
1 year ago
Daniel Supernault
a8d1d0f2eb
Update ImportService and TransformImports to fix race condition bug
1 year ago