22 Commits

Author SHA1 Message Date
Oliver Günther 4cc9faef4f Consistently use OpenProject::SqlSanitization instead of forwarding to sanitize_sql_array 2026-05-27 10:08:16 +02:00
Klaus Zanders 851c93b479 Fix SQL query 2026-04-14 09:58:12 +02:00
Klaus Zanders 6605180d28 Allow getting ancestors for groups in a specific order 2026-04-14 09:58:09 +02:00
Klaus Zanders e74ae25d8e Add page layout for organization page 2026-04-14 09:57:59 +02:00
Klaus Zanders c339051d13 Update app/models/groups/hierarchy.rb
Co-authored-by: Oliver Günther <o.guenther@openproject.com>
2026-03-18 09:21:41 +01:00
Klaus Zanders 9dd52bf358 Add nested group display in the UI 2026-03-17 10:26:38 +01:00
Klaus Zanders 4c61f81fd0 Fix has_principal_details for the first usage of the class 2026-03-16 17:16:26 +01:00
Klaus Zanders 79048de61f Add a where_detail scope helper to easily do where on the details table 2026-03-16 15:42:31 +01:00
Klaus Zanders ae71c27c97 Implement hierarchy for groups and prevent circular dependencies 2026-03-16 15:42:29 +01:00
Oliver Günther ab0a4e09b7 Try UNION on Group visible scope 2025-10-23 12:59:59 +02:00
Oliver Günther d47f065777 Move containing_user into a scope and add spec 2025-10-23 12:59:58 +02:00
Oliver Günther 3473394130 Restrict visibility on groups scope 2025-10-23 12:59:57 +02:00
Oliver Günther 0f1f0e62cb Reduce visibility of principals to common memberships or view_all_principals permission 2025-10-23 12:59:56 +02:00
Alexander Brandon Coles d17da65477 Freeze string literals in app/models
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/models
2025-07-22 18:26:13 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02: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
Klaus Zanders 180f72df2c Replace allowed_to_globally? -> allowed_in_any_project? / allowed_in_any_work_package? 2023-10-23 15:05:37 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard a33524ef6d remove ruby magic comment for utf-8
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
ulferts b8ca382d34 Group API (#9034)
* include group members into resource

* GET /api/v3/groups endpoint

* POST /api/v3/groups

* PATCH /api/v3/groups/:id

* DELETE /api/v3/groups/:id
2021-02-23 09:59:49 +01:00