Kabiru Mwenja
392ba04d1d
Use formatted_id in journal cause formatter and link_to_work_package
...
The activity feed renders an automatic entry whenever a parent / child /
predecessor / related work package change cascades dates onto the
current WP. Both render paths spoke numeric ids:
- The plain-text branch (used for the API JSON) hardcoded `##{id}`.
- The HTML branch went through `link_to_work_package`, which built the
visible link label as `Type ##{id}: subject`.
Both now use `formatted_id`, which produces `PROJ-7` in semantic mode
and `#42` in classic — same shape, mode-aware. The link href was
already mode-correct via `to_param`; only the visible label needed the
swap.
2026-05-13 17:41:48 +03:00
Dombi Attila
5af77448d1
Escape version name when displaying cause in activities
2026-03-19 13:48:36 +02:00
Dombi Attila
6f437a55b6
[ #71251 ] Migrate Versions to Sprints
...
https://community.openproject.org/work_packages/71251
- Validate dates only on active Agile::Sprints
- Create journals for migrating Versions to Sprints
- Create migration from Versions to Sprints
2026-03-19 10:37:27 +02:00
Ivan Kuchin
41d82d8322
Merge pull request #21452 from opf/feature/64264-comment-fields-for-project-attributes
...
Feature/64264 comment fields for project attributes
2026-02-25 20:45:14 +01:00
as-op
e7b2cc440a
fix code broken on merge
2026-02-25 16:04:08 +01:00
Ivan Kuchin
b188bda6cb
move admin_only check of custom field related activity to the query
...
This should be more efficient and will ensure "The changes were
retracted" message shown when all changes are hidden
2026-02-25 16:00:26 +01:00
Ivan Kuchin
b85682a537
use same logic for hiding deleted custom field activity as for comments
...
Currently removing custom field will reveal its activity except for
project, for which current state of linking is used, which is deleted
alongside custom field itself
2026-02-25 16:00:26 +01:00
Ivan Kuchin
aa144bae9d
show custom comment journal diff
2026-02-25 16:00:25 +01:00
as-op
0b98d75179
[ #72446 ] Create journal entries for issue history
...
https://community.openproject.org/work_packages/72446
2026-02-25 11:21:42 +01:00
Oliver Günther
5af326a2ec
Remove unused options in work package helper ( #21687 )
...
* Remove unused options and improved output in work package helper and object_linking
* Extend tests
2026-01-26 06:40:58 +01:00
Jens Ulferts
f2d11aef6a
Merge pull request #20057 from opf/bug/66925-activity-shows-changes-to-admin-only-custom-fields-also-to-non-admin-users
...
Bug/66925 activity shows changes to admin only custom fields also to non admin users
2025-09-11 09:43:38 +02:00
Oliver Günther
c84dd850fa
Refactor static links to ensure users have to go through url_for
...
This ensures links will be translated if they are part of the website
2025-09-09 13:43:26 +02:00
Ivan Kuchin
be3f82ba95
[ #66925 ] Activity shows changes to admin only custom fields also to non admin users
...
https://community.openproject.org/work_packages/66925
2025-08-26 19:44:38 +02:00
ulferts
f84e9c5d7d
explicitly handle deleted project phases
2025-05-12 17:39:02 +02:00
ulferts
65789f3208
have project phase chnages show up on wp activity
2025-05-08 09:49:25 +02:00
Ivan Kuchin
db86777911
handle deleted project phases in changes formatters
2025-04-01 20:13:29 +02:00
ulferts
005d93b157
rename end_date/end_gate to finish_date/finish_gate
2025-04-01 16:38:52 +02:00
ulferts
2972c175f2
lint _1 to it
2025-04-01 16:41:51 +03:00
Ivan Kuchin
89bbb3dd2a
add gates to activity messages
2025-04-01 16:41:49 +03:00
ulferts
8f305dd92f
linting
2025-04-01 16:41:47 +03:00
Ivan Kuchin
f63e36a23d
make journaling work
2025-04-01 16:41:43 +03:00
ulferts
464e97499c
rename steps and step definitions
2025-04-01 16:39:37 +03:00
Ivan Kuchin
718648c5aa
remove grouping option for multiple_attributes_changes
2025-03-20 13:54:07 +01:00
Ivan Kuchin
09e5c3db94
displaying project life cycle step change
2025-03-20 13:54:00 +01:00
Mir Bhatia
8cec8b96cf
Merge branch 'dev' into merge-release/15.4-20250313034149
2025-03-13 15:23:29 +01:00
Oliver Günther
b438d67f9a
Change scheduling mode journal label
...
https://community.openproject.org/work_packages/62091
2025-03-12 13:06:36 +01:00
Alexander
a889773aa8
Translate Spent Time records at activity logs
2025-03-12 10:52:56 +03:00
Marcello Rocha
bb7daa8fa5
Changing the where into a find to avoid random weird ordering ( #17435 )
...
* Changing the where into a find to avoid random weird ordering
* Adds missing test, ensures ordering by using the passed ids as the main mapping source
* Adds new translation key
2024-12-11 17:12:46 +01:00
Marcello Rocha
0587d1f63b
Remove logging statements 🤦
2024-12-10 10:31:13 +01:00
Marcello Rocha
f37b9d1d1b
Makes the custom field formatter aware of hierarchy fields
2024-12-10 10:31:11 +01:00
Aaron Contreras
2f2561c08f
Add in simple average calculation mode job
...
* Adds temporary depth table - Could be cleaned up down thie line with
the `work_package_hierarchies` table.
2024-09-24 16:35:58 -05:00
Aaron Contreras
6cbfdc8e78
Trigger the recalculation job when changing to work weighted mode
...
* Triggers job
* Adds journal entries with specs and translations
2024-09-24 11:10:22 -05:00
Marcello Rocha
78f21f9450
Make the renderer ignore rename entries
2024-09-04 17:26:12 +02:00
Ivan Kuchin
4911b8a149
remove years from copyrights (except for COPYRIGHT file)
2024-07-31 15:02:49 +02:00
Ivan Kuchin
d13bc03e17
use diff formatter with changed label for activity on custom field of type text
...
Looks like making formatters initialize just for one change instead of
for journal would greatly simplify them
2024-07-30 15:06:25 +02:00
Ivan Kuchin
57e870c490
rename CustomField to CustomField::Plain
2024-07-30 15:06:24 +02:00
Christophe Bliard
e03d626897
[49409] Update cause messages for status changes
...
- Update the messages according to latest specification
- Update the journal cause to handle multiple changes in one cause
2024-05-22 14:45:39 +02:00
Christophe Bliard
6b4c0dccf2
[49409] Handle excluded statuses from totals in update job
...
The job has been updated to excluded work packages having a status with
`excluded_from_totals` set to true. The journal entry has valid values
so that the cause renders correctly.
The job is not yet triggered properly when the "excluded from totals"
attribute of a status is changed in the administration.
2024-05-15 12:35:47 +02:00
Christophe Bliard
7b442e2cd2
[54646] Update cause text in journal activity
2024-05-06 16:00:51 +02:00
Christophe Bliard
eedaafacee
[15328] Use better messages for progress calculation adjustments
...
See https://community.openproject.org/wp/54328
It has a better wording and links to the blog post explaining the
changes in progress calculations.
2024-04-19 15:13:23 +02:00
Christophe Bliard
e15e00db1d
Update work packages when changing to status-based mode
...
https://community.openproject.org/wp/40749
2024-04-09 19:18:43 +02:00
ulferts
82ee799f83
Merge remote-tracking branch 'origin/dev' into feature/40749-consistent-calculation-of-percent-complete
2024-04-09 17:49:51 +02:00
Christophe Bliard
849cb99e82
Update work packages when status % complete is changed via UI
...
The % Complete and Remaining work fields are updated in status-based
mode whenever the % complete of a status is changed via the UI.
https://community.openproject.org/wp/40749
2024-04-09 17:04:25 +02:00
Christophe Bliard
a32c41b97f
refactor: put methods in the same order as in case statement
2024-04-09 10:17:40 +02:00
Oliver Günther
6227f6f04d
Add diff for agenda item notes ( #15179 )
...
* Add diff for agenda items
To make the diff available without too much hassle in the journal controller,
the key of the events need to be what the journal details are (e.g., `agenda_items_X_notes`).
For that to work, we need to adapt the event mapper and formatters a little bit.
https://community.openproject.org/work_packages/53975
* Use target=_top for diff link
* Add diff for agenda items
To make the diff available without too much hassle in the journal controller,
the key of the events need to be what the journal details are (e.g., `agenda_items_X_notes`).
For that to work, we need to adapt the event mapper and formatters a little bit.
https://community.openproject.org/work_packages/53975
* Use target=_top for diff link
* Update spec
* Adapt journal key after merge
---------
Co-authored-by: Mir Bhatia <m.bhatia@openproject.com >
2024-04-08 19:33:47 +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
289e789e60
Add cause when changes are written
2024-03-17 20:43:13 +01:00
Dombi Attila
71e9878bf2
Add unknown_storage translation key
2024-02-01 14:22:11 +02:00