109 Commits

Author SHA1 Message Date
Oliver Günther 4d731dcab6 Replace raw and explicit html_safe calls 2026-03-20 09:49:10 +01:00
Behrokh Satarnejad a913c3f858 update page header breadcrumbs in index pages 2025-11-05 10:58:12 +01:00
Christophe Bliard 40e4b36fc8 [68600] Carry over user filter when applying type filters in activity
https://community.openproject.org/wp/68600
2025-10-27 11:00:38 +01:00
Henriette Darge 44f5e054cd Cleanup code 2025-07-04 15:02:04 +02:00
Henriette Darge 8d46e97468 Create a OP specific patch for the PageHeader to always prepend the organization name as the first element in the breadcrumb 2025-07-04 11:31:59 +02:00
Ivan Kuchin 4374050601 rename activity type project_attributes to project_details 2025-03-20 13:54:04 +01:00
Ivan Kuchin 1f89ab90da erblint + use label_tag helper 2025-03-20 13:54:03 +01:00
Ivan Kuchin c2119680a2 rename activity filter from project attribute to project details 2025-03-20 13:53:50 +01:00
Ivan Kuchin 7c24cf6048 erb_lint auto fix part of style 1/3 2025-02-11 18:49:21 +01:00
Ivan Kuchin 03b5b577cd erb_lint auto fix lint 2025-02-11 18:49:20 +01:00
Ivan Kuchin 0f6a12da3a erb_lint auto fix layout 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 0b1f73ec79 erb_lint auto except rubocop linter 2025-02-11 18:49:19 +01:00
Henriette Darge d200c2694c Don't show the instance name on a project level 2024-10-11 08:40:33 +02:00
Behrokh Satarnejad 35afa861bc use page header description to show the subtitle 2024-09-27 10:22:54 +02:00
Behrokh Satarnejad a528ecbfac fix failing tests in news, activity and cost report 2024-09-25 18:37:28 +02:00
Behrokh Satarnejad 3a367f2dc1 show correct breadcrumb in home page for the time that there is a project selected 2024-09-24 15:42:20 +02:00
Behrokh Satarnejad a4a912b66c show correct breadcrumb in activity page for the time that there is a project selected 2024-09-24 15:27:51 +02:00
Behrokh Satarnejad 564482ae5f update pageheader in activity page 2024-09-20 14:46:11 +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
Henriette Darge 67dcba6fbe Merge button styles "alt-highlight" and "highlight" together in one "primary" style 2024-03-08 14:10:30 +01: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 7341b98b48 move the activity sidebar into the menu 2023-07-03 16:22:34 +02:00
Oliver Günther 486cc037b8 Add user_id to previous/next links in activity
https://community.openproject.org/wp/47855
2023-04-24 13:52:25 +02:00
Mir Bhatia 6300e75cca [46191] Indicate the subproject only when the update concerns a subproject
https://community.openproject.org/work_packages/46191

Adapt project suffix in activity title:
- For project activities, no suffix
- For current project activities, no suffix (in project activities list)
- For subprojects of current project, subproject suffix (in project
  activities list)
- For other activities, project suffix

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>
2023-02-24 10:22:40 +01:00
Christophe Bliard 0f90fc4cb7 Pass activity_page for diff back link without using global state 2023-02-22 16:37:26 +01:00
Christophe Bliard 09c76f987c refactor: Reduce code duplication
`Activities::DaysComponent` factorizes the code to generate the HTML for
the activities per days.

By moving `journal` into `Activities::Event`, `journals_by_id` does not
need to be passed around anymore. Eager loading of journals is moved to
`Activities::Fetcher` instead of being handled by the controller. It
also means that the atom feed will be slower as it does not need the
journals information.
2023-02-16 16:34:07 +01:00
Christophe Bliard 93535c96e3 refactor: Move activity components in a dedicated folder 2023-02-16 09:58:22 +01:00
Christophe Bliard 2bde2c22d0 Render user activity list like in project activity
Rename 'op-project-activity' prefix in css classes as 'op-activity' as
this css class is used in multiple contexts.
2023-02-16 09:05:56 +01:00
Christophe Bliard 7321c39d9e Render project activity list with ViewComponent 2023-02-16 09:05:55 +01:00
Mir Bhatia d887d5373e Remove extra hiddden field 2023-02-15 13:14:51 +01:00
Mir Bhatia 5e43024ea5 Reformat labels 2023-02-15 13:12:59 +01:00
Mir Bhatia e71904bfa9 Update labels and layout for activity filters 2023-02-13 09:37:46 +01:00
Christophe Bliard 6d057f8dc1 refactor: Shorten line length 2023-02-06 09:30:32 +01:00
Christophe Bliard b49bbe76c1 Hide project name for project activity items 2023-02-06 09:30:30 +01:00
Christophe Bliard 5e108dbfb2 Hide non-rendered activity details 2023-02-06 09:30:27 +01:00
Mir Bhatia a8276347da Remove inefficient event.journal method 2023-01-24 16:00:25 +01:00
Mir Bhatia 512e1bcbd2 Update the look of activity items 2023-01-23 17:52:22 +01:00
Christophe Bliard c1202db64a Prevent N+1 issue when displaying project activities
The journals relations are eager loaded to display the changes in the
activities page.
2023-01-20 10:14:08 +01:00
Christophe Bliard 9bf276ee35 Add activity description 2023-01-20 08:21:32 +01:00
Benjamin Bädorf f0aff204f4 Update spacings in project activity list
Co-authored-by: Christophe Bliard <c.bliard@openproject.com>
Co-authored-by: Mir Bhatia <m.bhatia@openproject.com>
2023-01-20 08:21:31 +01:00
Mir Bhatia 9918661969 Add basic html scaffolding for project activity list 2023-01-20 08:21:30 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
ulferts 3d36fd9741 Merge pull request #11768 from opf/implementation/45082-display-project-attributes-activities-in-activity-module
Display project attributes activities in activity module
2022-12-12 15:43:43 +01:00
Christophe Bliard 8e6aeaed73 Display project activities as 'Project attributes' 2022-12-12 14:48:44 +01:00
Christophe Bliard f86f9f4ae1 #45348 In Activity page, keep "Subprojects" state when navigating between pages 2022-12-12 08:35:32 +01:00
ulferts fd874a8311 apply formatted text truncation to search 2022-05-27 13:44:55 +02:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00