14 Commits

Author SHA1 Message Date
Oliver Günther 4d731dcab6 Replace raw and explicit html_safe calls 2026-03-20 09:49:10 +01:00
Kabiru Mwenja 88eb4eb9a6 Specify non-abbreviated month format for Reminders success message RelativeTimeComponent to account for French locale (#19320)
Specify non-abbreviated month format for `OpPrimer::RelativeTimeComponent`

In French, abbreviated month names (like "juil." for "juillet") officially require a period at the end, according to typographic and localization standards. For example, "juil." is the correct abbreviation for "juillet" in French, and the period is part of the abbreviation.

As out translation file ends with a period, the date component would add a seemingly redundant period at the end which looks like a double period ("..")

> ..notification for this work package le 26 juil..

https://community.openproject.org/wp/64695
2025-06-26 09:58:04 +03:00
Kabiru Mwenja e097974c62 bug/64695 Upon setting a work package reminder, present the reminder time in relative humanized format (#19230)
https://community.openproject.org/work_packages/64695
2025-06-19 08:51:14 +03:00
Kabiru Mwenja 92f162fcb2 DRY up RemindersController methods plus minor touch ups 2025-06-12 09:22:46 +03:00
Kabiru Mwenja 20d01d0850 Relocate reminder contract failure handling to Reminders::SetAttributesService 2025-06-12 09:22:46 +03:00
Kabiru Mwenja 5cca15cde8 Move remind_at building to set attributes service 2025-06-12 09:22:24 +03:00
Kabiru Mwenja 48a3595172 bug/63461 Reminders: saving without entering a date or time throws an error but also unnecessarily clears the other field
https://community.openproject.org/work_packages/63461
2025-06-11 18:05:58 +03:00
Kabiru Mwenja 3e13f5c3ab Reminders: Offer quick-set options like 'tomorrow' or 'next week' with smart defaults
https://community.openproject.org/work_packages/60357
2025-05-29 12:35:03 +03:00
Klaus Zanders 2cf62ae3ec Fix timezone parsing for reminder form and tests 2025-03-17 11:47:13 +01:00
Ivan Kuchin 8eebf559dd use render_error_flash_message_via_turbo_stream where scheme: :danger was used 2025-01-08 11:53:25 +01:00
Ivan Kuchin 9f066c642e add render_success_flash_message_via_turbo_stream helper method 2025-01-08 11:53:24 +01:00
Ivan Kuchin 73fecde2c2 rename update_flash_message_via_turbo_stream to render_flash_message_via_turbo_stream 2025-01-08 11:53:24 +01:00
Jonas Jabari 267dd6f485 addressed feedback from @akabiru 2024-12-11 12:21:09 +01:00
Jonas Jabari 8c08239169 implemented reminder creation/update modal on workpackag page and basic spec coverage 2024-12-03 16:59:34 +01:00