102 Commits

Author SHA1 Message Date
Henriette Darge d5a7da66ce Fix workday saving for users when disabling all workdays 2026-03-30 12:20:37 +02:00
Henriette Darge deeb026431 Adapt tests to new reminders and notifications structure 2026-03-30 11:56:23 +02:00
Henriette Darge 35d481edb7 Pimerize the reminders form 2026-03-26 14:41:54 +01:00
Kabiru Mwenja 8cbbc0a972 Rename color mode inquiry methods (#20306)
Replace "base_theme_{light|dark}" with "{light|dark}_color_mode?" as the more consistent domain name.
2025-09-17 09:38:24 +03:00
Kabiru Mwenja b1375a2992 Use 'force' terminology for theme contrast preferences
Changes attribute names from enable_auto_*_contrast to force_*_contrast
to better match existing UI terminology and differentiate from single
theme contrast settings.
2025-09-16 17:03:53 +03:00
Kabiru Mwenja 0d08b13e17 Prefer symbols and freeze constants 2025-09-15 14:26:08 +03:00
Kabiru Mwenja 740bedb084 Add "Increase contrast" checkboxes for "Light high contrast" and "Dark high contrast" that force high contrast in Automatic mode
https://community.openproject.org/work_packages/66396
2025-09-13 12:41:05 +03:00
Kabiru Mwenja 4a973bf44a Code maintenance/66395 Add user current theme inquiry methods (#19903)
* Add theme dynamic inquiry methods
* Add base theme inquiry methods
2025-08-14 09:48:47 +03:00
Kabiru Mwenja b4f93a462b Make logo check for light high contrast explicit 2025-08-13 16:36:55 +03:00
Kabiru Mwenja da68abfa83 Rename sync_with_os -> "Automatic (match OS colour mode)" 2025-08-04 13:41:52 +03:00
Kabiru Mwenja b2561c6716 Add Auto Sync Color Theme with System (OS) user preference 2025-07-31 00:37:48 +03:00
Alexander Brandon Coles d17da65477 Freeze string literals in app/models
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/models
2025-07-22 18:26:13 +01:00
Henriette Darge 2dbeb00282 Introduce a new setting to disable the keyboard shortcuts 2025-06-23 11:21:51 +02:00
Oliver Günther 0dc8e166e6 Implement dismissable banners 2025-04-07 10:55:21 +02:00
Kabiru Mwenja c18d4a7881 Transform personal reminder camel and underscore case 2024-12-14 01:23:35 +03:00
Kabiru Mwenja d0497281d8 [#59815] Add email setting to send an email reminder immediately
https://community.openproject.org/work_packages/59815
2024-12-14 00:44:08 +03:00
Dombi Attila 84505e2dfb [#58144] Show email on the UI for users with permission
https://community.openproject.org/work_packages/58144
Remove hide_mail flag and replace with :view_user_email permission checks
2024-10-28 09:09:56 +01:00
ulferts 48377fc73e fix showing a message in case no own time zone is configured 2024-08-30 17:28:40 +02:00
ulferts 6298b8762d use UTC time zone as user pref if non is explicitly configured
The system did this anyway, but now it becomes explicit
2024-08-30 12:51:44 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Oliver Günther 80a11335a9 Use separate high contrast logo
https://community.openproject.org/work_packages/52778
2024-02-27 12:02:39 +01:00
Dombi Attila 739223b7e2 Remove serializer deprecation warning. 2024-02-01 14:22:04 +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
Henriette Darge 28a53f1965 Re-add the theme selection base on the Primer themes (Wip as not all colors are correctly overwritten yet) 2023-07-18 13:54:11 +02:00
Christophe Bliard 08b14994b2 Align headers on user activity page 2023-07-07 16:01:59 +02:00
Oliver Günther 3807fd989f Merge remote-tracking branch 'origin/release/12.4' into dev 2023-01-23 15:51:25 +01:00
Oliver Günther f15debf637 Set immediate notification mail to true by default 2023-01-23 10:19:20 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 4208661d1d Set default workdays for email reminders to Monday-Friday
It partly reverts what has been done in #11133 to fix the original issue
in another way.
2022-10-19 16:45:24 +02:00
Batracov Dmitrii 1a23483fc3 [#43158] Impossible to deselect all days when choosing days to receiv… (#11133)
* [#43158] Impossible to deselect all days when choosing days to receive mail reminders

* fix after comment

Co-authored-by: Dmitrii <dmitrybatracov@gmail.com>
2022-08-23 08:22:44 +02:00
Christophe Bliard a33524ef6d remove ruby magic comment for utf-8
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
ulferts bb9befbcb9 readd diff_type to user preferences 2021-12-20 12:06:05 +01:00
Oliver Günther e54ec53b13 Use UserPreferences::SetAttributes in Users::SetAttributes 2021-11-18 21:32:57 +01:00
Oliver Günther 68d6b44635 Pause reminders functionality 2021-10-11 20:47:49 +02:00
ulferts 92cc5a603e remove method that used to convert to tzinfo 2021-10-05 14:46:04 +02:00
Oliver Günther 385840ec89 Implemennt workdays component 2021-10-04 08:46:20 +02:00
Oliver Günther 6647c4489f [38712] Immediate reminder options 2021-09-13 15:24:00 +02:00
ulferts 23a8bef352 Merge pull request #9629 from opf/fix/copyright-file
Move license and copyright docs to root, fix names and references
2021-09-08 08:49:31 +02:00
ulferts 27f925d6d7 email reminder times settings hooked up to backend 2021-09-07 16:45:15 +02:00
ulferts cb989527fe move user preference validations to contract 2021-09-03 10:27:20 +02:00
ulferts 062e33be30 have boolean values for warn_on_leaving_unsaved 2021-09-02 22:31:41 +02:00
ulferts 57cfa51d19 accept HH:MM as valid times for the reminders 2021-09-02 22:31:40 +02:00
ulferts 0cee545248 adapt the json_validator from activerecord_json_validator
The error messages need to be more fine grained than what can be achieved with the original gem
2021-09-02 22:31:40 +02:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
ulferts f3478b1f2b avoid UserPreference responding to every call
Otherwise, e.g. FactoryBot will attempt to write created_at and updated_at to the settings
2021-09-01 19:02:20 +02:00
Oliver Günther 421335d103 Remove after_initialize hook 2021-08-26 11:10:45 +02:00