From 7a7b4bc717c47b37bcad447a95bb0e00c2a68d26 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 9 Feb 2024 20:54:17 -0700 Subject: [PATCH 1/2] Update AuthServiceProvider --- app/Providers/AuthServiceProvider.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 34d25ac76..52e992ce0 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -31,11 +31,6 @@ class AuthServiceProvider extends ServiceProvider if(config('instance.oauth.pat.enabled')) { Passport::personalAccessClientId(config('instance.oauth.pat.id')); } - Passport::setDefaultScope([ - 'read', - 'write', - 'follow', - ]); Passport::tokensCan([ 'read' => 'Full read access to your account', @@ -45,6 +40,12 @@ class AuthServiceProvider extends ServiceProvider 'admin:write' => 'Modify all data on the server', 'push' => 'Receive your push notifications' ]); + + Passport::setDefaultScope([ + 'read', + 'write', + 'follow', + ]); } // Gate::define('viewWebSocketsDashboard', function ($user = null) { From e5bbe9340a33df98a0941cb31b854bcef3638b1f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 9 Feb 2024 20:57:45 -0700 Subject: [PATCH 2/2] Bump version to v0.11.11 --- CHANGELOG.md | 7 ++++++- config/pixelfed.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b61cdd706..de5f73b61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Release Notes -## [Unreleased](https://github.com/pixelfed/pixelfed/compare/v0.11.10...dev) +## [Unreleased](https://github.com/pixelfed/pixelfed/compare/v0.11.11...dev) + +## [v0.11.11 (2024-02-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.10...v0.11.11) + +### Fixes +- Fix api endpoints ([fd7f5dbb](https://github.com/pixelfed/pixelfed/commit/fd7f5dbb)) ## [v0.11.10 (2024-02-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.9...v0.11.10) diff --git a/config/pixelfed.php b/config/pixelfed.php index 3fe962513..9ed7fc616 100644 --- a/config/pixelfed.php +++ b/config/pixelfed.php @@ -23,7 +23,7 @@ return [ | This value is the version of your Pixelfed instance. | */ - 'version' => '0.11.10', + 'version' => '0.11.11', /* |--------------------------------------------------------------------------