Commit Graph

12668 Commits (8e41f6fdf8538f805a1c54c29783cbf0bc3b7adb)
 

Author SHA1 Message Date
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
Shlee 6ae40d7266
Merge pull request #6829 from pixelfed/refactor/remove-deprecated-helpers
refactor: replace deprecated laravel/helpers with native alternatives
4 weeks ago
Shlee 9d6bf91993
Merge pull request #6827 from pixelfed/fix/docker-bootstrap-cache-mount
fix: remove bootstrap/cache bind mount from docker-compose
4 weeks ago
Your Name f5d166a933 fix: remove bootstrap/cache bind mount from docker-compose
The bootstrap/cache volume mount causes stale service provider references
to persist across rebuilds. When a package is removed, the host's cached
packages.php/services.php still reference the old provider, causing
'Class not found' errors at container startup.

The AUTORUN_LARAVEL_*_CACHE env vars already handle cache regeneration
on each container start, making the bind mount unnecessary.
4 weeks ago
Shlee 559db5d73e
Merge pull request #6825 from pixelfed/fix/blade-test-str-random
fix: replace deprecated str_ helpers in Blade templates and tests
4 weeks ago
Your Name 30db57448f fix: replace str_random/str_limit/str_slug in Blade templates and tests
These deprecated helpers will throw 'undefined function' errors at
runtime since laravel/helpers was removed. Replace with Str::random(),
Str::limit(), and Str::slug() respectively.
4 weeks ago
Daniel Supernault b761107c71
Update ContextMenu, restore Edit button 4 weeks ago
Shlee 00328845c9
Merge pull request #6822 from pixelfed/refactor/replace-remaining-str-helpers
refactor: replace str_limit() with Str::limit()
4 weeks ago
Your Name faa216b329 refactor: replace str_limit() with Str::limit()
Replace remaining 3 deprecated str_limit() calls with Str::limit().
No other deprecated str_* helpers remain in the codebase.
4 weeks ago
Shlee 35595fcc70
Merge pull request #6821 from pixelfed/refactor/replace-str-random
refactor: replace deprecated str_random() with Str::random()
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 1bb05fafa9 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
Shlee 21ec7b2b29
Merge pull request #6818 from pixelfed/refactor/fix-pdo-constant-deprecation
fix: resolve PDO::MYSQL_ATTR_SSL_CA deprecation on PHP 8.5
4 weeks ago
Shlee 31330d46fa
Merge pull request #6817 from pixelfed/refactor/event-service-provider-syntax
refactor: use ::class syntax in EventServiceProvider
4 weeks ago
Shlee d77eaf1e6c
Merge pull request #6816 from pixelfed/refactor/remove-deprecated-helpers
refactor: replace deprecated laravel/helpers with native alternatives
4 weeks ago
Shlee 877c2d9e25
Merge pull request #6820 from pixelfed/shleeable-patch-1
Update CHANGELOG.md
4 weeks ago
Shlee 3bf3e12748
Update CHANGELOG.md 4 weeks ago
Your Name 5041e18050 fix: resolve PDO::MYSQL_ATTR_SSL_CA deprecation on PHP 8.5
Use Pdo\Mysql::ATTR_SSL_CA when available (PHP 8.5+), falling back to
the legacy PDO::MYSQL_ATTR_SSL_CA constant for older PHP versions.
This eliminates the deprecation warning during Docker builds and runtime.
4 weeks ago
Your Name 741bc995ca refactor: use ::class syntax in EventServiceProvider
Replace string-based event class references with proper ::class imports
for better IDE support and static analysis compatibility.
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
Shlee b279638218
Merge pull request #6814 from pixelfed/refactor/routes-class-syntax
refactor: convert string-based routes to ::class array syntax
4 weeks ago
Your Name 28927f6f66 refactor: convert string-based routes to ::class array syntax
Replace all 'Controller@method' string references with
[Controller::class, 'method'] array syntax across all route files.
Remove the $namespace property and ->namespace() calls from
RouteServiceProvider.

This is required for Laravel 13 compatibility where string-based
controller routing and automatic namespace prefixing will be removed.

742 route references converted across 5 route files.
4 weeks ago
Daniel Supernault 8f1e475407
Fix typo 4 weeks ago
Shlee 3c88343a52
Merge pull request #6813 from pixelfed/refactor/middleware-aliases-property
refactor: rename $routeMiddleware to $middlewareAliases
4 weeks ago
Shlee 1593fb71b8
Merge pull request #6811 from pixelfed/refactor/replace-maintenance-mode-middleware
refactor: replace deprecated CheckForMaintenanceMode with PreventRequestsDuringMaintenance
4 weeks ago
Your Name d2bd73c27e refactor: rename $routeMiddleware to $middlewareAliases
The $routeMiddleware property was renamed to $middlewareAliases in Laravel 11.
The old name still works in 12 via backwards compatibility but is on the
deprecation path for removal in Laravel 13.
4 weeks ago
Daniel Supernault bb33696cc1
Update changelog 4 weeks ago
Your Name f363715ad8 refactor: replace deprecated CheckForMaintenanceMode with PreventRequestsDuringMaintenance
CheckForMaintenanceMode was deprecated in Laravel 8 and will be removed in
Laravel 13. PreventRequestsDuringMaintenance is the modern replacement with
support for secret bypass tokens and pre-rendered maintenance views.
4 weeks ago
Daniel Supernault 7937d91c37
Update ApiV1Controller, add is_suggestable to update_credentials endpoint 4 weeks ago
Daniel Supernault 0a2b97fb98
Update CHANGELOG.md 4 weeks ago
Daniel Supernault 4e2e49f843
Update ApiV1Controller, add show_atom support to update_credentials endpoint 4 weeks ago
Daniel Supernault e69910e2b4
Update CHANGELOG.md 4 weeks ago
Daniel Supernault 59f57b1107
Update AccountService 4 weeks ago
Daniel Supernault e4033b05bd
Update composer 4 weeks ago
Shlee 61b5fef6eb
Merge pull request #6806 from pixelfed/fix/composer-lock-larastan
fix: add larastan/larastan to composer.lock to fix docker build
4 weeks ago
Your Name 2dbee8599d fix: add larastan/larastan to composer.lock to fix docker build 4 weeks ago
Shlee 403c435e37
Merge pull request #6762 from pixelfed/replace-jenssegers-agent-with-matomo-device-detector
Laravel Refactor: Replace unmaintained jenssegers/agent with matomo/device-detector
4 weeks ago
Your Name 79541afaa0 Merge origin/staging, resolve conflicts keeping matomo/device-detector over jenssegers/agent 4 weeks ago
Daniel Supernault 004ce3225e
Update compiled assets 4 weeks ago
Shlee 6ec53cc183
Merge pull request #6805 from pixelfed/shleeable-patch-1
Add entry for fixing oauth client deletion
4 weeks ago
Shlee 63d28a4865
Add entry for fixing oauth client deletion 4 weeks ago
Shlee 3642a634bf
Merge pull request #6803 from pixelfed/shleeable-patch-1
Fix deleting oauth client
4 weeks ago
Shlee 449570b413
Merge pull request #6804 from pixelfed/shleeable-patch-2
fix: deleting oauth clients
4 weeks ago
Shlee 80271c9002
Update Clients.vue 4 weeks ago
Shlee b7f70cae7e
Update CHANGELOG.md 4 weeks ago
Shlee 80738385ba
Merge pull request #6777 from pixelfed/fix/pat-creation-500-6630
Fix: Bounce error on PAT when OAUTH_PAT_ENABLED is false
4 weeks ago
Daniel Supernault 6235594cf5
Update compiled assets 4 weeks ago
Shlee 06e3351e92
Merge pull request #6778 from pixelfed/fix/prevent-pat-client-deletion-6630
Fix: Improve the web UX for deleting the OAuth Client and PAT
4 weeks ago
Shlee f2a019744c
Merge pull request #6776 from pixelfed/fix/oauth-client-secret-display-6630
Fix: OAuth client secret not displayed after creation
4 weeks ago
Shlee ad8f783bf7
Merge pull request #6798 from pixelfed/unstable
Unstable
4 weeks ago