]> BookStack Code Mirror - bookstack/commit
Laravel 8 shift squash & merge (#3029)
authorDan Brown <redacted>
Sat, 30 Oct 2021 20:29:59 +0000 (21:29 +0100)
committerGitHub <redacted>
Sat, 30 Oct 2021 20:29:59 +0000 (21:29 +0100)
commitf139cded789908efce3ac2ed1be26b947df647db
treefd59cb90ebdfcb30e6140fd59c013e3b0ac7634c
parentf77236aa3832a5a0f050e097c60189b9b6a19969
Laravel 8 shift squash & merge (#3029)

* Temporarily moved back config path
* Apply Laravel coding style
* Shift exception handler
* Shift HTTP kernel and middleware
* Shift service providers
* Convert options array to fluent methods
* Shift to class based routes
* Shift console routes
* Ignore temporary framework files
* Shift to class based factories
* Namespace seeders
* Shift PSR-4 autoloading
* Shift config files
* Default config files
* Shift Laravel dependencies
* Shift return type of base TestCase methods
* Shift cleanup
* Applied stylci style changes
* Reverted config files location
* Applied manual changes to Laravel 8 shift

Co-authored-by: Shift <redacted>
71 files changed:
app/Actions/Comment.php
app/Actions/Tag.php
app/Auth/Role.php
app/Auth/User.php
app/Config/app.php [changed mode: 0755->0644]
app/Config/auth.php
app/Config/broadcasting.php
app/Config/cache.php
app/Config/filesystems.php
app/Config/logging.php
app/Config/queue.php
app/Entities/Models/Book.php
app/Entities/Models/Bookshelf.php
app/Entities/Models/Chapter.php
app/Entities/Models/Page.php
app/Exceptions/Handler.php
app/Http/Kernel.php
app/Http/Middleware/PreventRequestsDuringMaintenance.php [moved from app/Http/Middleware/CheckForMaintenanceMode.php with 58% similarity]
app/Http/Middleware/RedirectIfAuthenticated.php
app/Http/Middleware/TrustHosts.php
app/Http/Middleware/TrustProxies.php
app/Providers/AppServiceProvider.php
app/Providers/EventServiceProvider.php
app/Providers/RouteServiceProvider.php
app/Uploads/Image.php
composer.json
composer.lock
database/factories/Actions/CommentFactory.php [new file with mode: 0644]
database/factories/Actions/TagFactory.php [new file with mode: 0644]
database/factories/Auth/RoleFactory.php [new file with mode: 0644]
database/factories/Auth/UserFactory.php [new file with mode: 0644]
database/factories/Entities/Models/BookFactory.php [new file with mode: 0644]
database/factories/Entities/Models/BookshelfFactory.php [new file with mode: 0644]
database/factories/Entities/Models/ChapterFactory.php [new file with mode: 0644]
database/factories/Entities/Models/PageFactory.php [new file with mode: 0644]
database/factories/ModelFactory.php [deleted file]
database/factories/Uploads/ImageFactory.php [new file with mode: 0644]
database/seeders/.gitkeep [moved from database/seeds/.gitkeep with 100% similarity]
database/seeders/DatabaseSeeder.php [moved from database/seeds/DatabaseSeeder.php with 92% similarity]
database/seeders/DummyContentSeeder.php [moved from database/seeds/DummyContentSeeder.php with 71% similarity]
database/seeders/LargeContentSeeder.php [moved from database/seeds/LargeContentSeeder.php with 60% similarity]
public/index.php
routes/api.php
routes/console.php [new file with mode: 0644]
routes/web.php
storage/framework/.gitignore
tests/AuditLogTest.php
tests/Auth/AuthTest.php
tests/Auth/LdapTest.php
tests/Auth/OidcTest.php
tests/Auth/Saml2Test.php
tests/Auth/SocialAuthTest.php
tests/Entity/BookShelfTest.php
tests/Entity/BookTest.php
tests/Entity/ChapterTest.php
tests/Entity/CommentSettingTest.php
tests/Entity/CommentTest.php
tests/Entity/PageDraftTest.php
tests/Entity/PageEditorTest.php
tests/Entity/PageTest.php
tests/Entity/SortTest.php
tests/Entity/TagTest.php
tests/HomepageTest.php
tests/LanguageTest.php
tests/Permissions/EntityPermissionsTest.php
tests/Permissions/RolesTest.php
tests/SharedTestHelpers.php
tests/ThemeTest.php
tests/Uploads/AvatarTest.php
tests/User/UserManagementTest.php
tests/User/UserProfileTest.php