Commit Graph

69 Commits (c807a8524c22f53731d0c45ebcfde88041663c4e)

Author SHA1 Message Date
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
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 fbe98ea4de
Update AccountController.php 1 month ago
Shlee 5a3d841e19
Update AccountController.php 11 months ago
Daniel Supernault 8082c004bc
Refactor following check 1 year ago
Daniel Supernault 6ce513f8c3
Update user_filters, use config_cache 3 years ago
Daniel Supernault 9873913921
Update ApiV1Controller, fix account blocks.Closes #4304 3 years ago
Daniel Supernault f17ca9d904
Update HttpSignature 3 years ago
daniel e68ec03cea
Merge pull request #3890 from vanlueckn/feat-fix-sudo-mode-url-scheme
Fix wrong url scheme in sudo mode when using reverse proxy
4 years ago
Daniel Supernault 5b879f0156
Update mute/block logic with admin defined limits and improved filtering to skip deleted accounts 4 years ago
Daniel Supernault aaed2bf66e
Dispatch follow accept/reject pipeline jobs to follow queue 4 years ago
Nils van Lück 593420d84d Fix wrong url scheme in sudo mode when using reverse proxy 4 years ago
Daniel Supernault a231b3c556
Update AccountController, fix 2FA backup code bug 4 years ago
Daniel Supernault e97900a060
Update follower counts on follow_request approval 4 years ago
Daniel Supernault 4470981af7
Improve follow request flow, federate rejections and delete rejections from database to properly handle future follow requests from same actor 4 years ago
Daniel Supernault aded149fae
Update AccountController, include account entities in follow_requests.json endpoint 4 years ago
Daniel Supernault 68300c426c
Update AccountController 4 years ago
Daniel Supernault 4dc9365acb
Update AccountController, dispatch Accept Follow activity if applicable 4 years ago
Daniel Supernault fe7687851c
Update AccountController, refresh relationship after handling follow request 5 years ago
Daniel Supernault 6f1b02456f
Update AccountController, refresh RelationshipService on mute/blocks 5 years ago
Daniel Supernault 0e892bb3fd
Update AccountController 5 years ago
Daniel Supernault 37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 5 years ago
Daniel Supernault af7face4da
Add Network Timeline 6 years ago
Daniel Supernault 1fb7e2b2c9
Update AccountController, add mutes and blocks endpoint to pixelfed api 6 years ago
Daniel Supernault 4a14e970f0
Update Profile model, improve counter caching 6 years ago
Daniel Supernault d63569c120
Add Direct Messages 6 years ago
Daniel Supernault 2c440b4882
Update AccountController, prevent blocking admins 6 years ago
Daniel Supernault 6074c56838
Update AccountController 6 years ago
Daniel Supernault 483548e217
Update AccountController, add followRequestJson method 7 years ago
Daniel Supernault 0c82c97069
Added trusted devices to sudo mode 7 years ago
Daniel Supernault 6a16559132
Update DangerZone/Sudo middleware 7 years ago
Daniel Supernault 829c41e16f
Update password reset ttl, now expires after 24 hours 7 years ago
Daniel Supernault c369882b48
Update Redis namespace 7 years ago
Daniel Supernault 1d45e5655d
Update AccountController 7 years ago
Daniel Supernault 213fba725e
Update AccountController 7 years ago
Daniel Supernault 73bacf5b8d
Update AccountController 7 years ago
Daniel Supernault b41b724803
Update AccountController 7 years ago
Daniel Supernault a10e30aefd
Update AccountController 7 years ago
Daniel Supernault f0fd072086
Add Direct view/method 7 years ago
Daniel Supernault e4e6f10c90
Update AccountController 8 years ago
Daniel Supernault 0ff56bbe35
Update AccountController 8 years ago
Daniel Supernault 3a38c7386b
Update AccountController, allow 2FA backup codes 8 years ago
Daniel Supernault 20fa6fd8e7
Update AccountController 8 years ago
Daniel Supernault c40b4f5cfd
Update AccountController 8 years ago
Daniel Supernault 10cfb02a9e
Update AccountController. Fixes #582 8 years ago
Daniel Supernault da2777d52f
Update AccountController 8 years ago
Daniel Supernault 6e798f3f75
Update AccountController 8 years ago
Daniel Supernault 9154b3d630
Update AccountController 8 years ago
Daniel Supernault ef3edc185d
Update 2fa, logout user after two failed attempts 8 years ago