-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade to v11 #1701
Closed
lucadegasperi
wants to merge
32
commits into
laravel:11.x
from
lucadegasperi:pullrequests/laravel/11.x
Closed
upgrade to v11 #1701
lucadegasperi
wants to merge
32
commits into
laravel:11.x
from
lucadegasperi:pullrequests/laravel/11.x
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # src/ClientRepository.php
* Fixes from StyleCI * formatting and commenting * Update CHANGELOG.md * Update 2016_06_01_000001_create_oauth_auth_codes_table.php * Update 2016_06_01_000002_create_oauth_access_tokens_table.php * Update 2016_06_01_000003_create_oauth_refresh_tokens_table.php * Update 2016_06_01_000004_create_oauth_clients_table.php * Update 2016_06_01_000005_create_oauth_personal_access_clients_table.php * wip * Create the PassportClientFactory Signed-off-by: Kevin Ullyott <ullyott.kevin@gmail.com> * Publish the passport-factories Signed-off-by: Kevin Ullyott <ullyott.kevin@gmail.com> * Update PassportClientFactory.php * Update CHANGELOG.md * Update CHANGELOG.md * Remove foreign keys * Update CHANGELOG.md * Add password grant feature tests * Revoke refresh tokens as well * Implement auth token for access requests * Optionally skip if no auth_token is provided * Update CHANGELOG.md * Forget session keys on invalid match * Joined config publish registering with the rest of the publish registries * Refactor to sqlite tests * Apply fixes from StyleCI (laravel#1198) * Implement Github Actions * Bump dependencies * Fix tests * Update CHANGELOG.md * [8.x] mergeConfigFrom() already check if app is running with config cached. https://github.com/illuminate/support/blob/6.x/ServiceProvider.php#L60-L67 * Update CHANGELOG.md * Update 1_Bug_report.md * Update config.yml * Fix resolveInheritedScopes. * Add an extra test. * Update Token.php * Update CHANGELOG.md * Update tests.yml * Initial support for multiple providers * DocBlocks * Default provider to users if exists otherwise null * StyleCI suggestion Co-Authored-By: Dries Vints <dries@vints.io> * Check if client is set when validating * Fixed validation to fallback if provider is not defined * StyleCI suggestion * DocBlocks and formatting * Fix exception on deleted client auth * Update CHANGELOG.md * Compare models directly on providers. * Cleaned up returns, removed redundant code * Call the validation... * Decorate UserProvider with custom class * Fixed tests * StyleCI + validation tweak * Update Client.php * formatting * [8.x] Automatic configuration of client uuids (laravel#1231) Automatic configuration of client UUIDs via passport:install --uuids * Update CHANGELOG.md * Remove deprecated functionality (laravel#1235) * Update CHANGELOG.md * Update CHANGELOG.md * Update branch-alias * Drop support for old JWT versions * Bump league server dependency * Update CHANGELOG.md * [9.x] Implement passport:hash command (laravel#1238) * Implement passport:hash command * Skip records which are already hashed * Fix client command when hashing secrets * Use password_get_info * Update HashCommand.php Co-authored-by: Taylor Otwell <taylor@laravel.com> * Apply fixes from StyleCI (laravel#1242) * [9.x] Update UPGRADE.md (laravel#1240) * Update UPGRADE.md * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> * fix hashing name * Update CHANGELOG.md * Update CHANGELOG.md * Fix displaying secret in Vue component (laravel#1244) * Moved provider check to bearer token only (laravel#1246) * Fix create client call * Update CHANGELOG.md * Fix tests * Add force option to hash command (laravel#1251) * Fix updating clients in Vue * Implement personal access client config * formatting * [9.x] Warn about one-time-hashed-secret (laravel#1259) * Warn about one-time-hashed-secret * Update ClientCommand.php Co-authored-by: Taylor Otwell <taylor@laravel.com> * Update UPGRADE.md * [9.x] Implement secret modal (laravel#1258) * Implement secret modal * Add upgrade note on vue assets * Revert change * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> * Update CHANGELOG.md * Match name of personal access token methods to config The config values included in passport.php don't match those shown in the upgrade guide for personal access tokens in v9.1. This matches the values with those in the config file. * Allow to change Models database connection * [9.x] Update UPGRADE.md (laravel#1265) * Update UPGRADE.md * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> * wording * formatting * Change to forceFill. Fixes laravel#908. (laravel#1266) * Nonstandard ID in the token's relationship with the user (laravel#1267) * Update CHANGELOG.md * Set actingAsClient token client as proper relationship * formatting * Fix HashCommand * Update CHANGELOG.md * correct test name * Fix typo on param doc * Cleanup tests * Apply fixes from StyleCI (laravel#1291) * Apply fixes from StyleCI (laravel#1292) * Improve `passport:install` command (laravel#1294) * Fix maxlength for token names (laravel#1300) * Update CHANGELOG.md * Allow guzzle v7 * Update CHANGELOG.md * Match property sequence * Update CHANGELOG.md * Add index to access_token_id column * Update tests.yml * Use custom models in purge command if set (laravel#1316) * Apply table responsive on table class (laravel#1318) * Update CHANGELOG.md * fix cookie handling for security release * Apply fixes from StyleCI (laravel#1321) * Update composer.json * Update CHANGELOG.md * Update CHANGELOG.md * Remove old static personal client methods (laravel#1325) * Remove Guzzle dependency (laravel#1327) * Use newer Github actions (laravel#1329) * Allow PHPUnit 9 (laravel#1328) * Use only one PSR7 implementation (laravel#1330) * [10.x] Support Laravel 8 (laravel#1336) * Support Laravel 8 * Fix factories * Apply fixes from StyleCI (laravel#1337) * fix tests Co-authored-by: Taylor Otwell <taylorotwell@gmail.com> * style: correct NBSP for regular spaces (laravel#1339) * [10.x] Client Credentials Feature tests (laravel#1341) * feat: add factory state method for client credentials grant * test: add pass/fail tests for client credentials grant * style: trailing comma * Using assertSame to make assertion equals strict (laravel#1343) * Update CHANGELOG.md * wip * [10.x] Upgrade guide (laravel#1345) * Update README.md * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> * Update CHANGELOG.md * [10.x] Use newFactory to properly reference factory (laravel#1349) * Use newFactory to properly reference factory * Update composer.json * Update CHANGELOG.md * Remove Vue components (laravel#1352) * remove unnecessary return form service provider * [10.x] Update the badges to use shields.io * Update .gitattributes * Update CHANGELOG.md * [8.x] PHP 8 Support (laravel#1373) * PHP 8 Support * Update JWT usage * Try out dev versions of jwt * Use vcs * Try composer token * Update phpunit xml * Fix test for JWT 3.4 * Try git url * Bind JWT Parser to container for 4.x * Add deprecation notice * Use configuration object * Use new token interface * Update composer.json * Update workflow Co-authored-by: Luís Cobucci <lcobucci@gmail.com> * Update CHANGELOG.md * [10.x] Add purging of invalid refresh tokens to command (laravel#1396) * Delete invalid refresh tokens Delete refresh tokens referring to non-existing access tokens. * Use whereDoesntHave() instead * Add test for purge command * Update description and output of command * Update PurgeCommand.php Co-authored-by: Taylor Otwell <taylor@laravel.com> * Revert "[10.x] Add purging of invalid refresh tokens to command (laravel#1396)" (laravel#1397) This reverts commit 985577c. * Update to phpseclib v3 (laravel#1410) * Update CHANGELOG.md * [10.x] Backport phpseclib v2 (laravel#1418) * Backport support for phpseclib v2 * Apply fixes from StyleCI (laravel#1417) * Update CHANGELOG.md * Use ubuntu-18.04 * Fix `$userId` type (laravel#1422) * Update tests.yml * fix binding * use app helper * Update CHANGELOG.md * Update 1_Bug_report.md * [10.x] Use Real Keys in Tests (laravel#1450) * use real keys in tests * revert composer change * reset position of loadKeysFrom() function * dark mode logo * wip * Fix tests (laravel#1469) * Fix link to documentation * Change logo to work on Dark Theme (laravel#1481) * Apply fixes from StyleCI * [10.x] Ensure client model factory always creates models with a primary key, even when events are disabled (laravel#1492) * Ensure client model factory always creates models with a primary key, even when events are disabled * Update ClientFactory.php Co-authored-by: Taylor Otwell <taylor@laravel.com> * PHP 8.1 support * Update CHANGELOG.md * Update phpunit.xml.dist * Refactor expiry dates to intervals (laravel#1500) * [10.x] Add custom encryption key for JWT tokens (laravel#1501) * Added Passport custom encryption key * Refactored encryptUsing method * StyleCI fixes * formatting Co-authored-by: Taylor Otwell <taylor@laravel.com> * Update CHANGELOG.md * [10.x] Update test for Laravel 9 (laravel#1509) * Update test for Laravel 9 * wip * wip * Fix str_replace error when third parameter ($subject) is null (laravel#1511) * Fix str_replace error when third parameter ($subject) is null in PHP 8.1.0 str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/vendor/laravel/passport/src/PassportServiceProvider.php line 268 * Use single quotes to fix style error * Update CHANGELOG.md * fix: Internal method return types, php 8.1 tests compatibility * Update CHANGELOG.md * Update tests.yml * Update tests.yml * Laravel v9 support (laravel#1516) * Laravel 9 support * Update composer.json * Update tests.yml * Update CHANGELOG.md * [10.x] Allow to use custom authorization server response (laravel#1521) * Allow to use custom authorization server response * Update src/Passport.php Remove direct initialisation as "null" Co-authored-by: Dries Vints <dries@vints.io> * Update Passport.php Co-authored-by: Dries Vints <dries@vints.io> Co-authored-by: Taylor Otwell <taylor@laravel.com> * Update CHANGELOG.md * Minor documentation tweak to UPGRADE.md (laravel#1526) * Update UPGRADE.md I just went through the steps of upgrading passport from v8 to v10 and hit a minor snag that could have been solved by a tweak to the documentation. When upgrading from v8 to v9 it says place two Passport static calls "within the `boot` method of your `AppServiceProvider`" When upgrading from v9 to v10 it says you can remove the calls from your `AuthServiceProvider`. I don't claim to know where those calls belonged in the first place, so this proposal just updates the documentation to list them both. * Update UPGRADE.md Co-authored-by: Taylor Otwell <taylor@laravel.com> * Create update-changelog.yml * [10.x] Fix Faker deprecations (laravel#1530) When using this factory in feature tests with `$this->withoutDeprecationHandling();` call the test fails as the deprecation gets converted to an exception: ``` Since fakerphp/faker 1.14: Accessing property "company" is deprecated, use "company()" instead. ``` * Update CHANGELOG.md * Use anonymous migrations (laravel#1531) * Update CHANGELOG.md * Update .styleci.yml * Update .styleci.yml * Update update-changelog.yml * Upgrade firebase/php-jwt to ^6.0 (laravel#1538) The firebase/php-jwt recently had to make breaking changes to resolve a security flaw in their library. This change upgrades that library and fixes the code that broke with the upgrade. * Update CHANGELOG * Create pull-requests.yml * Update pull-requests.yml * Update tests.yml (laravel#1540) * [ADD] new URI Rule to validate URI and use it to RedirectRule (laravel#1544) * Apply fixes from StyleCI * Update CHANGELOG * Update pull-requests.yml * Update update-changelog.yml * fixes * update Co-authored-by: MFlor <magnus@m-flor.dk> Co-authored-by: Taylor Otwell <taylorotwell@gmail.com> Co-authored-by: Dries Vints <dries.vints@gmail.com> Co-authored-by: Kieron Wiltshire <KieronWiltshire@users.noreply.github.com> Co-authored-by: Taylor Otwell <taylor@laravel.com> Co-authored-by: Kevin Ullyott <ullyott.kevin@gmail.com> Co-authored-by: Antonio Pauletich <antonio.pauletich95@gmail.com> Co-authored-by: Ilyes512 <ilyes.ahidar@gmail.com> Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com> Co-authored-by: Lucas Michot <lucas.michot@shopify.com> Co-authored-by: Dries Vints <dries@vints.io> Co-authored-by: Bill Riess <bill.riess@flowbird.group> Co-authored-by: Bill Riess <kryptyx@gmail.com> Co-authored-by: Bill Riess <billriess86@gmail.com> Co-authored-by: Predarg Kostic <predrag@kostic.in.rs> Co-authored-by: Aaron Huisinga <aaron@platform.marketing> Co-authored-by: antonkomarev <ell@cybercog.su> Co-authored-by: Geoff Garbers <geoff@garbers.co.za> Co-authored-by: Afonso Gloeden <gloedenafonso@gmail.com> Co-authored-by: Jordan Hoff <jordan@getflywheel.com> Co-authored-by: Cor Bosman <cor@xs4all.net> Co-authored-by: Panji Setya Nur Prawira <PanjiNamjaElf@users.noreply.github.com> Co-authored-by: 白俊遥 <baijunyao@baijunyao.com> Co-authored-by: Ankur Kumar <ankurk91@users.noreply.github.com> Co-authored-by: Martin Hettiger <martin@hettiger.com> Co-authored-by: TARMIZI SANUSI <realtarmizisanusi@gmail.com> Co-authored-by: Connor Tumbleson <iBotPeaches@users.noreply.github.com> Co-authored-by: Chun-Sheng, Li <peter279k@gmail.com> Co-authored-by: Sergey Pashkevich <siarheipashkevich@gmail.com> Co-authored-by: Pataar <pataar@pm.me> Co-authored-by: Luís Cobucci <lcobucci@gmail.com> Co-authored-by: Alexander Karlstad <alexander.karlstad@gmail.com> Co-authored-by: Mohamed Said <themohamedsaid@gmail.com> Co-authored-by: Andrew Millington <andrew@noexceptions.io> Co-authored-by: Ricardo Gobbo de Souza <ricardogobbosouza@yahoo.com.br> Co-authored-by: Francisco Madeira <xico2k@gmail.com> Co-authored-by: Taylor Otwell <taylorotwell@users.noreply.github.com> Co-authored-by: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Co-authored-by: Thijs Kok <tkok@testmonitor.com> Co-authored-by: Kyryl Bogach <kyryl.bogach@gmail.com> Co-authored-by: ruben <ruben@clubforce.com> Co-authored-by: yaroslawww <23663794+yaroslawww@users.noreply.github.com> Co-authored-by: Jonathan Mitchell <jon.r.mitchell@gmail.com> Co-authored-by: driesvints <driesvints@users.noreply.github.com> Co-authored-by: Markus Machatschek <mmachatschek@users.noreply.github.com> Co-authored-by: David Kanenwisher <d.kanen@gmail.com> Co-authored-by: vic <victor.balssa@gmail.com> Co-authored-by: StyleCI Bot <bot@styleci.io>
# Conflicts: # .github/ISSUE_TEMPLATE/1_Bug_report.md # .github/workflows/tests.yml # CHANGELOG.md # UPGRADE.md # composer.json # config/passport.php # database/factories/ClientFactory.php # database/migrations/2016_06_01_000001_create_oauth_auth_codes_table.php # database/migrations/2016_06_01_000002_create_oauth_access_tokens_table.php # database/migrations/2016_06_01_000003_create_oauth_refresh_tokens_table.php # database/migrations/2016_06_01_000004_create_oauth_clients_table.php # database/migrations/2016_06_01_000005_create_oauth_personal_access_clients_table.php # resources/views/authorize.blade.php # src/Client.php # src/ClientRepository.php # src/Console/ClientCommand.php # src/Console/PurgeCommand.php # src/Guards/TokenGuard.php # src/HasApiTokens.php # src/Http/Controllers/AccessTokenController.php # src/Http/Controllers/AuthorizationController.php # src/Http/Controllers/DenyAuthorizationController.php # src/Http/Controllers/RetrievesAuthRequestFromSession.php # src/Http/Middleware/CheckClientCredentials.php # src/Http/Middleware/CheckClientCredentialsForAnyScope.php # src/Http/Middleware/CheckCredentials.php # src/Http/Middleware/CheckForAnyScope.php # src/Http/Middleware/CheckScopes.php # src/Passport.php # src/PassportServiceProvider.php # src/PersonalAccessTokenFactory.php # src/RefreshTokenRepository.php # src/RouteRegistrar.php # src/Token.php # tests/Feature/AccessTokenControllerTest.php # tests/Feature/ActingAsClientTest.php # tests/Feature/ActingAsTest.php # tests/Feature/KeysCommandTest.php # tests/Feature/PassportTestCase.php # tests/Unit/AuthorizationControllerTest.php # tests/Unit/BridgeScopeRepositoryTest.php # tests/Unit/CheckClientCredentialsForAnyScopeTest.php # tests/Unit/CheckClientCredentialsTest.php # tests/Unit/CheckForAnyScopeTest.php # tests/Unit/CheckScopesTest.php # tests/Unit/DenyAuthorizationControllerTest.php # tests/Unit/PersonalAccessTokenFactoryTest.php # tests/Unit/TokenGuardTest.php
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.