Explorar o código

Update changelog

Daniel Supernault hai 3 meses
pai
achega
f0b1a8eaae
Modificáronse 2 ficheiros con 2 adicións e 3 borrados
  1. 2 0
      CHANGELOG.md
  2. 0 3
      app/Policies/CustomFilterPolicy.php

+ 2 - 0
CHANGELOG.md

@@ -4,6 +4,7 @@
 
 
 ### Added
 ### Added
 - Pinned Posts ([2f655d000](https://github.com/pixelfed/pixelfed/commit/2f655d000))
 - Pinned Posts ([2f655d000](https://github.com/pixelfed/pixelfed/commit/2f655d000))
+- Custom Filters ([437d742ac](https://github.com/pixelfed/pixelfed/commit/437d742ac))
 
 
 ### Updates
 ### Updates
 - Update PublicApiController, use pixelfed entities for /api/pixelfed/v1/accounts/id/statuses with bookmarked state ([5ddb6d842](https://github.com/pixelfed/pixelfed/commit/5ddb6d842))
 - Update PublicApiController, use pixelfed entities for /api/pixelfed/v1/accounts/id/statuses with bookmarked state ([5ddb6d842](https://github.com/pixelfed/pixelfed/commit/5ddb6d842))
@@ -18,6 +19,7 @@
 - Update DiscoverController, improve public hashtag feed. Fixes #5866 ([32fc3180c](https://github.com/pixelfed/pixelfed/commit/32fc3180c))
 - Update DiscoverController, improve public hashtag feed. Fixes #5866 ([32fc3180c](https://github.com/pixelfed/pixelfed/commit/32fc3180c))
 - Update report views, fix missing forms ([475d1d627](https://github.com/pixelfed/pixelfed/commit/475d1d627))
 - Update report views, fix missing forms ([475d1d627](https://github.com/pixelfed/pixelfed/commit/475d1d627))
 - Update private settings, change "Private Account" to "Manually Review Follow Requests" ([31dd1ab35](https://github.com/pixelfed/pixelfed/commit/31dd1ab35))
 - Update private settings, change "Private Account" to "Manually Review Follow Requests" ([31dd1ab35](https://github.com/pixelfed/pixelfed/commit/31dd1ab35))
+- Update ReportController, fix type validation ([ccc7f2fc6](https://github.com/pixelfed/pixelfed/commit/ccc7f2fc6))
 -  ([](https://github.com/pixelfed/pixelfed/commit/))
 -  ([](https://github.com/pixelfed/pixelfed/commit/))
 
 
 ## [v0.12.5 (2025-03-23)](https://github.com/pixelfed/pixelfed/compare/v0.12.5...dev)
 ## [v0.12.5 (2025-03-23)](https://github.com/pixelfed/pixelfed/compare/v0.12.5...dev)

+ 0 - 3
app/Policies/CustomFilterPolicy.php

@@ -4,12 +4,9 @@ namespace App\Policies;
 
 
 use App\Models\CustomFilter;
 use App\Models\CustomFilter;
 use App\Models\User;
 use App\Models\User;
-use Illuminate\Auth\Access\HandlesAuthorization;
 
 
 class CustomFilterPolicy
 class CustomFilterPolicy
 {
 {
-    use HandlesAuthorization;
-
     public function view(User $user, CustomFilter $filter)
     public function view(User $user, CustomFilter $filter)
     {
     {
         return $user->profile_id === $filter->profile_id;
         return $user->profile_id === $filter->profile_id;