История коммитов

simba77
feat(contacts): explain the language fallback in the settings
The settings say which language the public page falls back to and that filling it in is enough; the default language is marked in the selector and opened first.
simba77
refactor(profile): remember the profile language through the locale resolver
simba77
refactor(language): remember the picked language through the locale resolver
LocaleResolver::remember() checks the code against the installed languages and stores it in the session; both the ?setlng parameter and the language modal go through it, so the rule lives in one place.

The test of an unknown language now picks a language first and checks that the unknown one does not replace it.
simba77
fix(language): remember the language picked in the modal
The POST branch of the controller was a stub returning an empty body, so the modal closed and the page reloaded in the same language. The picked code is now validated against the installed languages and stored in the session, which the locale resolver reads back on the next request.

A functional test covers both the switch and a language the site does not have.
simba77
feat(contacts): improve settings language selector
simba77
feat(contacts): redesign admin message views
simba77
feat(consent): redesign admin screens
simba77
feat(admin): redesign advertising management
simba77
feat(news): show sections as a tree in admin
simba77
fix(install): clear database before migrations