12 Commits

Author SHA1 Message Date
Alexander Brandon Coles 525ad5c72e Rework TextSettingComponent JS/TS using Stimulus
Replace final remnants of ad-hoc (previously jQuery) functions with
`multi-lang-text-setting` Stimulus controller.
2025-11-04 18:21:44 +00:00
Alexander Brandon Coles e3c1fe90dc Use Settings::FormHelper in TextSettingComponent 2025-07-18 10:09:24 +01:00
Alexander Brandon Coles 8bde21115c Fix TextSettingComponent select, text area labels 2025-07-18 10:09:24 +01:00
Ivan Kuchin 03b5b577cd erb_lint auto fix lint 2025-02-11 18:49:20 +01:00
Ivan Kuchin fb715f21b9 erb_lint auto fix quotes 2025-02-11 18:49:19 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
ulferts 873006e6ac Merge pull request #12835 from opf/implementation/48451-add-default-language-to-available-languages-when-changed-in-settings
Implementation/48451 add default language to available languages when changed in settings
2023-07-05 10:24:04 +02:00
Christophe Bliard 52303a1fe9 [48451] Include default language in valid languages
https://community.openproject.org/wp/48451
2023-06-15 11:17:34 +02:00
Christophe Bliard c0a45951f1 Restore some authentication settings in admin
Also makes ckEditorAugmentedTextarea read-only if the wrapped text area
is disabled.

As for the invitation_expiration_days setting, commit 269f9416dd and
commit 286d862c38 got intertwined with merge commit eb63698a3d, and
resulted in hiding the setting when
`OpenProject::Configuration.registration_footer` is set.

As for the registration_footer setting, PR #6321 intent was to prevent
modifying it if it was already set via env var or configuration file.
When `OpenProject::Configuration` and `Settings` were merged, this code
was not updated. With the default value being non-blank, it lead to
hiding the setting from the administration pages.

This commit restores both settings.
2023-06-12 16:22:11 +02:00
Dombi Attila 804462f00c Remove including helpers in ViewComponents, use the #helpers method instead (#12709)
* Remove including helpers in ViewComponents, and use the #helpers method instead
2023-05-30 06:43:37 +02:00
Dombi Attila fb18ddd9fd [#47014] Replace Settings::XxxSettingCell by ViewComponent
https://community.openproject.org/work_packages/47014
2023-05-23 15:31:47 +03:00