11 Commits

Author SHA1 Message Date
Kabiru Mwenja 3e8a8b6372 Add missing self link for reminder representation 2025-06-04 09:44:36 +03:00
Kabiru Mwenja 916c708f13 Simplify reminder PATCH,DELETE urls
"A reminder may be related to something that's not a work package conceptually.
 Lean towards simpler canonical URLs for reminders (`/api/v3/reminders/:id`) where operations like `DELETE` and `PATCH` are targeted.
 Because then we only need to define those routes once and the only thing we have to add when attaching reminders to a new container is `/api/v3/<container-name>/:id/reminders`."
   ~ https://github.com/opf/openproject/pull/19063#issuecomment-2935288456
2025-06-03 21:12:26 +03:00
Kabiru Mwenja 1b336f34a6 Add GET /api/v3/reminders endpoint (#19083)
An endpoint that lists all reminders for a user, regardless of the workpackage.
2025-06-03 18:13:36 +03:00
Kabiru Mwenja 4b1f4c9729 Change multiple reminders restriction to HTTP 409
> The 409 (Conflict) status code indicates that the request could not be completed due to a conflict with the current state of the target resource
2025-06-03 12:08:25 +03:00
Kabiru Mwenja 0b6934d319 Add DELETE /api/v3/work_packages/:work_package_id/reminders/:reminder_id 2025-06-02 11:25:23 +03:00
Kabiru Mwenja e5cd639d22 Add PATCH /api/v3/work_packages/:work_package_id/reminders/:reminder_id 2025-06-02 11:25:22 +03:00
Kabiru Mwenja d060182bf2 Add POST /api/v3/work_packages/:work_package_id/reminders 2025-06-02 11:25:22 +03:00
Kabiru Mwenja e98c3a5371 Structure reminder GET utility 2025-06-02 11:25:22 +03:00
Kabiru Mwenja b91e206ab5 [#60568] Remove permission restriction for users to set their own reminders
https://community.openproject.org/work_packages/60568
2025-01-20 19:17:13 +03: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