]> BookStack Code Mirror - bookstack/commit
Updated footer links to be a configurable list
authorDan Brown <redacted>
Sun, 31 Jan 2021 00:23:15 +0000 (00:23 +0000)
committerDan Brown <redacted>
Sun, 31 Jan 2021 00:23:15 +0000 (00:23 +0000)
commit44c41e9e4dbe31f071b8c87ffae77ad6737c2cbc
tree0faeea7782ae7f8dd347ae19ced000000bc2e21f
parenta6633642232efd164d4708967ab59e498fbff896
Updated footer links to be a configurable list

Made so footer link ordering, names and urls can be set.
Cleaned up some of the setting-service and added support for array
setting types, which are cleaned on entry and stored as json with a new
type indicator column on the settings table for auto-decode.
Also added testing to cover this feature.

Related to #1973 and #854
app/Settings/SettingService.php
database/migrations/2021_01_30_225441_add_settings_type_column.php [new file with mode: 0644]
resources/lang/en/common.php
resources/lang/en/settings.php
resources/sass/_footer.scss
resources/views/common/footer.blade.php
resources/views/settings/footer-links.blade.php [new file with mode: 0644]
resources/views/settings/index.blade.php
tests/FooterLinksTest.php [new file with mode: 0644]