81 Commits

Author SHA1 Message Date
Klaus Zanders cb149f3517 Allow filtering by group hierarchy 2026-03-18 14:25:31 +01:00
Klaus Zanders 466a6ac81b Fox more specs and controllers 2026-02-09 15:08:09 +01:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02:00
Oliver Günther 2d641d5398 Fix permission check on member action button
https://community.openproject.org/work_packages/66988
2025-08-29 14:28:22 +02:00
Henriette Darge 10abcbcb3a Fix some breadcrumbs for better mobile behaviour 2025-07-07 09:14:15 +02:00
Henriette Darge 9f9a74e4ef Exclude index pages from items used to generate the mobile back button 2025-07-04 15:26:39 +02:00
Henriette Darge d7c006ce82 Update SubHeader implementations to new mobile requirements in version 0.66.1 2025-05-19 15:11:05 +02: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
Oliver Günther 7705f75970 Use common helper for nested breadcrumb element (#17783)
* Use common helper for nested breadcrumb element

* Update app/components/attribute_help_texts/index_page_header_component.rb

Co-authored-by: Henriette Darge <h.darge@openproject.com>

* Fix rubocop and test

---------

Co-authored-by: Henriette Darge <h.darge@openproject.com>
2025-01-31 11:01:05 +01:00
Dombi Attila e065e1a4c3 Fix specs 2024-10-28 09:09:57 +01: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
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Klaus Zanders 1660fce6ef Manage some leftover copyright noticesthat still mention 2023 2024-07-03 08:42:09 +02:00
Henriette Darge c056cc105d Use the same structure for the submenu of Members that we used in other modules 2024-06-28 08:14:17 +02:00
Klaus Zanders 72809b1b7d More i18n string changes 2024-06-27 09:51:27 +02:00
Henriette Darge dd780757f7 Apply Subheader component to Members page 2024-06-04 09:43:13 +02:00
Ivan Kuchin fa5d03eae0 rubocop safe autocorrect all except Rails/WhereRange 2024-05-30 19:54:08 +02:00
Henriette Darge 0457be2021 Make last breadcrumb element bold of it matches the current page_title. Otherwise, it has a nested breadcrumb element and takes care of the font_weight itself. 2024-04-26 12:05:28 +02:00
Henriette Darge 5324e36cca Replace the dropdown menu in the projects list with a Primer::Alpha::Action menu 2024-04-15 10:26:12 +02:00
Henriette Darge e0f86e0879 Use the existing overflow class instead of a custom css rule. The cost_types did not need the overflow selector any more as the datepicker was rendered as direct child of the DOM anyway. 2024-04-12 09:27:15 +02:00
Christophe Bliard 91415e6a13 Merge pull request #15214 from opf/fix-member-role-creation-conflict-with-user-invitation-rate-limiting
fix member role creation conflict with user invitation rate limiting
2024-04-11 10:07:48 +02:00
Christophe Bliard 83afec1ad1 refacotr: Use multiple: true instead of manually changing to array 2024-04-11 10:05:41 +02:00
Ivan Kuchin 4cdfcafb25 fix member role creation conflict with user invitation rate limiting
invite_via_members? in openproject-multitenancy plugin is expecting user_ids to be an array
https://appsignal.com/openproject-gmbh/sites/62a6d833d2a5e482c1ef825d/exceptions/incidents/888
2024-04-10 19:13:06 +02:00
Henriette Darge c60c1503dd Change order of buttons back until we have decided on how we want to order those buttons and improve code quality 2024-04-10 08:58:13 +02:00
Henriette Darge 1a5581b54c Merge branch 'dev' into implementation-update-page-header-in-core 2024-04-08 15:03:11 +02:00
Henriette Darge 15d619b9b5 Fix breadcrumb and page title for the members page 2024-04-05 08:24:47 +02:00
Henriette Darge b1c39321ec Reflect the sidebar hierarchy in the breadcrumbs of the Members page 2024-04-04 15:10:37 +02:00
Henriette Darge ba91ed8f62 Add breadcrumb to edit state of the project list page header 2024-04-04 08:43:09 +02:00
Behrokh Satarnejad d622636a93 use double quotation marks for string 2024-04-03 08:41:51 +02:00
Behrokh Satarnejad eecae54939 change order of buttons in members page header 2024-03-28 20:43:58 +01:00
Ivan Kuchin a3659363f1 don't use confusing can_delete_shares?
Use separate may_delete_shares? and shared_work_packages?
It was still true when all work package shares are inherited, so can't be deleted
2024-03-28 17:38:35 +01:00
Behrokh Satarnejad 0c6ae6ff0e show correct breadcrumb in members and projects pages 2024-03-28 13:01:23 +01:00
Ivan Kuchin 986ed4637e renamed some dialog i18n keys for consistency and clarity 2024-03-27 19:56:15 +01:00
Ivan Kuchin 751d79fe23 separate texts in dialog when removing group member 2024-03-27 19:56:15 +01:00
Ivan Kuchin 1c08d8c0ca combine two cases of not being able to delete anything in DeleteWorkPackageSharesDialogComponent 2024-03-27 19:56:15 +01:00
Ivan Kuchin de4222df7a show suggestion to use administration interface only when current user has permission for that 2024-03-27 19:56:15 +01:00
Ivan Kuchin e02cfa5ebd handle pluralisation for the rest of the message with link to work packages 2024-03-27 19:56:15 +01:00
Ivan Kuchin 04f527f45e rename total_shared_work_packages_count to all_shared_work_packages_count 2024-03-27 19:56:15 +01:00
Ivan Kuchin 87180ac20a separate will_remove_the_users_role_html into will_remove_the_users_role and however_shares_with_user_html 2024-03-27 19:56:15 +01:00
Ivan Kuchin dbec3745ee use helper for cancel_button in both dialogs 2024-03-27 19:56:15 +01:00
Ivan Kuchin 68bb12ebea reduce nesting in dialog htmls 2024-03-27 19:56:15 +01:00
Ivan Kuchin 5b748893a2 use helpers for paragraph and button in both dialogs 2024-03-27 19:56:15 +01:00
Ivan Kuchin 3fb5e41c5c add missing route keys for delete urls in dialogs 2024-03-27 19:56:15 +01:00
Ivan Kuchin e496c226bb rubocop 2024-03-27 19:56:14 +01:00
Ivan Kuchin a2983aea5d rework interface for managing members 2024-03-27 19:56:14 +01:00
Ivan Kuchin 7879feacb4 get shared_work_package_ids instead of just count 2024-03-27 19:56:14 +01:00
Ivan Kuchin f838732b27 don't show shared work packages if current user is not allowed to view them 2024-03-27 19:56:14 +01:00
Ivan Kuchin 40a5c64dfd default to showing work packages shared with principal, switch to ids when required 2024-03-27 19:56:14 +01:00