]> BookStack Code Mirror - bookstack/commit
Split out settings view and made functional
authorDan Brown <redacted>
Mon, 28 Mar 2022 10:09:55 +0000 (11:09 +0100)
committerDan Brown <redacted>
Mon, 28 Mar 2022 10:09:55 +0000 (11:09 +0100)
commit895f656897c70190b8e0a4e426a56b9df83a23b2
treec2a5a3a0c5cee78f45d5b477a6bee047ece5bcdb
parent31dbf132b932bd0777edc87605f62c3681d94b32
Split out settings view and made functional

- Split settings out to new views using a core shared layout.
- Extracted added language text to translation files.
- Updated settings routes to be dynamic to category.
- Added redirect for old primary settings route.
- Updated existing tests to cover settings route changes.
- Added tests to cover settings view.
- Improved contrast of settings links for dark mode.
14 files changed:
app/Http/Controllers/SettingController.php
resources/lang/en/settings.php
resources/sass/_lists.scss
resources/views/settings/customization.blade.php [new file with mode: 0644]
resources/views/settings/features.blade.php [new file with mode: 0644]
resources/views/settings/index.blade.php [deleted file]
resources/views/settings/layout.blade.php [new file with mode: 0644]
resources/views/settings/registration.blade.php [new file with mode: 0644]
routes/web.php
tests/Auth/AuthTest.php
tests/Permissions/RolesTest.php
tests/Settings/FooterLinksTest.php
tests/Settings/SettingsTest.php [new file with mode: 0644]
tests/Uploads/ImageTest.php