13 Commits

Author SHA1 Message Date
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
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Christophe Bliard 8fa8584538 Run rubocop --autocorrect on all files
Only the safe cops have run. rubocop version is 1.59.0.
2024-01-05 15:27:09 +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
Christophe Bliard f48435bd0d [50019] Fix untranslated 2fa strategies 2023-12-01 10:38:09 +01:00
Yule c942e44fc0 fix: align attribute groups across the application (#13081)
* [#48620] Define `AttributesGroup` view component for Storage show.html.erb

https://community.openproject.org/work_packages/48620

* feat[#48620] Define `AttributeGroup` components

https://community.openproject.org/work_packages/48620

* chore[#48620] rename attribute options to `key`, `value`

* chore[#48620] remove unecessary constructor

* chore[#48620] Allow attribute group content

* chore[#48620] remove unecessary constructor

* feat[#48620] Migrate storages/admin/show to use AttributeGroupComponent

* fix[#48620] Use correct labels

* feat[#48620] Migrate storages/admin/edit to use AttributeGroupComponent

* legal[#48620] Add copyright to views

* fix[#48620] Use simple names for slot collection vs singular component methods

* fix[#48620] Render value when truthy otherwise is empty span

* chore[#48620]: Adopt `AttributesGroupComponent` in oauth/applications/show

* chore[#48620]: Remove unnecessary `value: nil` definitions

* fix[#48620] typo

* fix: align attribute groups across the application

Attribute groups on the storages and oauth application admin pages looked different than on the work package pages. This
was introduced by https://community.openproject.org/projects/openproject/work_packages/47680/activity

To align them, this commit reduces the scope of the `wp-attribute-group` css, instead applying those styles to the more
general `attributes-group` block. It also fixes the HTML structure of the backend-rendered attribute groups to align
with those in the frontend.

Ref https://community.openproject.org/work_packages/48640/activity

* refactor: Oauth detail page uses new AttributeGroups::AttributeGroupComponent

* Convert admin/info to component

* Convert change_status_info to component

* Convert ldap_groups to component

* convert two_factor_authentication to component

* quick fix vertical alignment of attribute-key values

* convert budget show to component

* convert 2FA settings to component

* convert ldap gropus filters to component

* convert 2FA admin to component

* convert webhook admin to component

* update DB deprecation message and reduce html/rb context switches

---------

Co-authored-by: Kabiru Mwenja <makabby@gmail.com>
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
Co-authored-by: ulferts <jens.ulferts@googlemail.com>
2023-07-17 12:53:08 +02:00
Kabiru Mwenja 95056f98c5 fix[#48620] Use simple names for slot collection vs singular component methods 2023-07-03 20:14:05 +02:00
Kabiru Mwenja a1bc982414 chore[#48620] remove unecessary constructor 2023-07-03 20:14:04 +02:00
Kabiru Mwenja 728c51b6eb chore[#48620] Allow attribute group content 2023-07-03 20:14:03 +02:00
Kabiru Mwenja 44c2c00960 chore[#48620] rename attribute options to key, value 2023-07-03 20:14:03 +02:00
Kabiru Mwenja 698b5c6ff3 feat[#48620] Define AttributeGroup components
https://community.openproject.org/work_packages/48620
2023-07-03 20:14:02 +02:00