Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] dev from opf:dev #228

Merged
merged 194 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
bc2235c
[#54459] Investigate queries and filters to display the project list …
akabiru Apr 26, 2024
b7feaa6
[#54456] Develop a strategy on how to reuse the current project list …
akabiru May 2, 2024
d85d12d
WIP[Op#54456]: Lay groundwork for available project custom field mapp…
akabiru May 6, 2024
fa447bf
WIP[Op#54456]: Using query selects to generate table columns for attr…
May 6, 2024
1e6dbbe
WIP[Op#54456]: Added placholder action button for attribute projects …
May 6, 2024
d0a2e90
Allow sending notifications for invited users
oliverguenther May 7, 2024
455e4b2
Merge branch 'task/54459-investigate-queries-and-filters-to-display-t…
akabiru May 8, 2024
32858c8
chore[Op#54459]: cleanup outdated state from merger
akabiru May 8, 2024
8184882
chore[Op#54459]: cleanup outdated state from merger
akabiru May 8, 2024
135fa30
WIP[Op#54456]: Started implementation on unlinking a project attribut…
May 8, 2024
c1d6b28
Update Nextcloud docs screenshots after NC 2.6.2 release (#15425)
MayaBerd May 13, 2024
dcc6acd
[#52015] Add information about TOS app in trouble shooting section of…
MayaBerd May 14, 2024
9bd0244
fix visibility scope of labor items
ulferts May 6, 2024
33928a7
remove unused parameter
ulferts May 6, 2024
2fdeac1
extract longer view into components
ulferts May 13, 2024
2e0e39a
prevent users lacking permission from seeing actual labor costs
ulferts May 13, 2024
b0527dc
extract code from templates into components
ulferts May 13, 2024
f9fd551
WIP[Op#54456]: fix turbo stream delete link
akabiru May 14, 2024
7986fef
Handle parameters properly
mrmir May 14, 2024
64759c6
Add test case
mrmir May 14, 2024
e65b1d0
Merge branch 'dev' into feature/notify-on-meeting-creation
mrmir May 14, 2024
97e4e45
Merge branch 'dev' into task/54456-develop-a-strategy-on-how-to-reuse…
akabiru May 15, 2024
62bab3c
[#55011] 14.1 Documentation: PDF export of Gantt view (print Gantt ch…
MayaBerd May 15, 2024
e1236e2
apply limit to only have one job running and one enqueued
ulferts May 15, 2024
2d5420a
differentiate between scheduled_at and cron_at
ulferts May 15, 2024
9dc9238
rely on cron_at value for determining time interval to span
ulferts May 15, 2024
a260862
[#55100] Meeting sections do not show "Move up" and "Move to top" act…
dombesz May 15, 2024
90322fc
feat[Op#54456]: reinstate real functionality
akabiru May 16, 2024
8ec985e
[#53672] Fix toggle state for new projects.
ba1ash May 13, 2024
b10bf44
[#55026] Update description text.
ba1ash May 15, 2024
2711a28
Feature teaser 14.1
oliverguenther May 16, 2024
ed24159
Merge pull request #15540 from opf/feature/53672-hide-attachments-in-…
ba1ash May 16, 2024
4309650
Use "New section" as placeholder
oliverguenther May 16, 2024
d3ff3f6
Remove my page plus button for consistency
oliverguenther May 16, 2024
3b00e41
fix stale section menu move actions
jjabari-op May 16, 2024
d768433
Set default title
oliverguenther May 16, 2024
7a2e78e
fix further action menu bug reported by @HDinger
jjabari-op May 16, 2024
134b567
Use empty section title as untitled
oliverguenther May 16, 2024
0fa0dd0
Remove agenda items when deleting section
oliverguenther May 16, 2024
cf4ba05
[#55010] 14.1 Documentation: Add "Manage project attributes" button t…
MayaBerd May 16, 2024
d411c48
Fix typo
dombesz May 16, 2024
b4f247e
Merge pull request #15587 from opf/fix/remove-section-with-agenda-items
dombesz May 16, 2024
5bb158f
fix[Op#54456]: Use `TabNav` instead for URL navigation on tab change
akabiru May 16, 2024
e6b188c
chore[Op#54456]: There's no need to extract the form as it's not shared
akabiru May 16, 2024
0672230
Modify specs
oliverguenther May 16, 2024
b103807
chore[Op#54456]: Undo changes to edit action
akabiru May 16, 2024
377e250
chore[Op#54456]: Undo changes to before actions
akabiru May 16, 2024
ae509ee
Update release notes 14.1 (#15552)
corinnaguenther May 16, 2024
f0677a6
fix[Op#54456]: Remove turbo stream only on success
akabiru May 16, 2024
accd358
simplified and refactored section naming approach as discussed with @…
jjabari-op May 16, 2024
48bfba0
Merge branch 'release/14.1' into fix/new-section-title
oliverguenther May 16, 2024
ab4e9bf
Merge pull request #15479 from opf/bug/45834-users-who-are-not-allowe…
dombesz May 16, 2024
9e226c4
Change confirmation text when section is empty
oliverguenther May 16, 2024
2ac1c0b
fixed failing spec
jjabari-op May 16, 2024
db259e7
fixed contract spec
jjabari-op May 16, 2024
6b4aba4
fixed placeholder as reported by @cbliard
jjabari-op May 16, 2024
e7d89e3
Merge pull request #15574 from opf/bug/55100-meeting-sections-do-not-…
oliverguenther May 16, 2024
8dd7598
Merge branch 'release/14.1' into fix/new-section-title
jjabari-op May 16, 2024
e263c63
Merge pull request #15581 from opf/fix/new-section-title
cbliard May 16, 2024
3d51ab9
[#55089] [#55022] Improve File settings UI.
ba1ash May 16, 2024
638bc8a
tests[Op#54456]: clear name field before filling for correct assertion
akabiru May 16, 2024
9c71f30
tests[Op#54456]: feature tests for the project mappings page
akabiru May 16, 2024
44a4d1e
[54354] Update seed data
cbliard May 16, 2024
b578399
tests[Op#54456]: add delete service generic spec
akabiru May 16, 2024
ae109d0
update locales from crowdin [ci skip]
openprojectci May 17, 2024
e6829ed
Fix typo in sort_by_field_component.html.erb
klaustopher May 17, 2024
f1c6403
Merge pull request #15590 from opf/fix/section-delete-confirm-text
cbliard May 17, 2024
9b9a89f
Check for inconsistent interpolations in all i18n files
cbliard Mar 7, 2024
7e3b61a
build(deps): bump zone.js from 0.14.5 to 0.14.6 in /frontend
dependabot[bot] May 17, 2024
f04af56
build(deps-dev): bump @types/lodash from 4.17.1 to 4.17.4 in /frontend
dependabot[bot] May 17, 2024
73eff29
build(deps): bump rails from 7.1.3.2 to 7.1.3.3
dependabot[bot] May 17, 2024
d03cf93
build(deps-dev): bump selenium-devtools from 0.124.0 to 0.125.0
dependabot[bot] May 17, 2024
0e6abc8
Merge pull request #15598 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts May 17, 2024
5a2057e
Merge pull request #15597 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts May 17, 2024
3b7c202
Merge pull request #15595 from opf/dependabot/bundler/dev/selenium-de…
ulferts May 17, 2024
339b1a9
build(deps-dev): bump selenium-webdriver from 4.20.1 to 4.21.1
dependabot[bot] May 17, 2024
8056cc0
Merge pull request #15591 from opf/task/54354-update-seed-data
oliverguenther May 17, 2024
c5749f4
apply cron_at based interval determination to ScheduleReminderJob
ulferts May 17, 2024
c0c50c8
Cleanup i18n-tasks config file for interpolations check
cbliard May 17, 2024
07cec36
Merge pull request #14946 from opf/fix/detect_invalid_i18n_interpolat…
cbliard May 17, 2024
f752640
[#54553] reworked queries for upload link
Kharonus May 17, 2024
6b37ad4
[#55035] Remove Files module from project modules
ba1ash May 17, 2024
c076d8b
[#54553] fixed test setup and query usage
Kharonus May 17, 2024
5e5cb64
[#55005] 14.1 Documentation: Advanced meetings features https://comm…
MayaBerd May 17, 2024
7e5fcba
Merge pull request #15600 from opf/implementation/54553-use-authentic…
Kharonus May 17, 2024
a6898fd
[#55008] 14.1 Documentation: Add links to custom fields type text ht…
MayaBerd May 17, 2024
8c4676f
Merge pull request #15573 from opf/fix/limit_schedule_date_alert_jobs
ulferts May 17, 2024
e54ca03
Merge pull request #15594 from opf/dependabot/bundler/dev/selenium-we…
ulferts May 17, 2024
4157128
[#55004] 14.1 Documentation: Project lists https://community.openpro…
MayaBerd May 17, 2024
8645918
Use darker version for disabled primary button style and set border a…
HDinger May 17, 2024
3fd4ce5
Merge branch 'dev' into task/54456-develop-a-strategy-on-how-to-reuse…
akabiru May 17, 2024
4335f30
retry job twice and then discard if job limit is exceeded
ulferts May 17, 2024
1deb14e
Merge pull request #15601 from opf/bug/55132-disabled-primer-button-s…
HDinger May 17, 2024
071f005
Merge pull request #15602 from opf/fix/limit_schedule_reminder_mail_jobs
ulferts May 17, 2024
5f1aed5
Merge remote-tracking branch 'origin/release/14.1' into dev
ulferts May 17, 2024
58f4584
bump patch version requirement
ulferts May 17, 2024
7d16220
Merge pull request #15596 from opf/dependabot/bundler/dev/rails-7.1.3.3
ulferts May 17, 2024
95915f2
chore[Op#54456]: Add rubocop ignore statements
akabiru May 17, 2024
b4979c8
[#55024] Project overview headers are showing on work package view, h…
dombesz May 17, 2024
0b50a4d
Use test_selector instead of style classes
HDinger May 16, 2024
17f0d33
Merge pull request #15583 from opf/feature/53672-hide-attachments-in-…
dominic-braeunlein May 17, 2024
52c6db4
Add menu helper test selector
dombesz May 17, 2024
2f19591
Merge pull request #15604 from opf/bug/55024-project-overview-headers…
dombesz May 17, 2024
994a746
[#55035] Change permission labels for "Automatically managed project …
dominic-braeunlein May 17, 2024
8e218bf
Merge branch 'release/14.1' into feature/55035-remove-files-module-fr…
ba1ash May 17, 2024
0c86925
Merge pull request #15599 from opf/feature/55035-remove-files-module-…
ba1ash May 17, 2024
c2627b2
Fix dangling pid file in slim container
oliverguenther May 17, 2024
4c56c34
update locales from crowdin [ci skip]
openprojectci May 18, 2024
73c6806
update locales from crowdin [ci skip]
openprojectci May 18, 2024
772ae0f
update locales from crowdin [ci skip]
openprojectci May 19, 2024
0c5fcbd
update locales from crowdin [ci skip]
openprojectci May 19, 2024
d3c9e0a
update locales from crowdin [ci skip]
openprojectci May 20, 2024
ec26fc2
update locales from crowdin [ci skip]
openprojectci May 20, 2024
26d4ff0
Merge pull request #15605 from opf/fix/dangling-pid-file
machisuji May 20, 2024
8d28d94
Remove link from translations, as no longer translatable
oliverguenther May 20, 2024
d9952b2
update locales from crowdin [ci skip]
openprojectci May 21, 2024
9326f9b
update locales from crowdin [ci skip]
openprojectci May 21, 2024
2873824
Merge remote-tracking branch 'origin/release/14.0' into release/14.1
oliverguenther May 21, 2024
c3d0ebc
Merge remote-tracking branch 'origin/release/14.1' into dev
ulferts May 21, 2024
1cc5f25
update locales from crowdin [ci skip]
openprojectci May 21, 2024
c19c6f8
update locales from crowdin [ci skip]
openprojectci May 21, 2024
07774b9
---
dependabot[bot] May 21, 2024
7400252
Merge pull request #15572 from opf/task/55011-141-documentation-pdf-e…
as-op May 21, 2024
02c13bb
build(deps-dev): bump rubocop-rails from 2.24.1 to 2.25.0
dependabot[bot] May 21, 2024
e1a2820
build(deps-dev): bump lefthook from 1.6.11 to 1.6.12
dependabot[bot] May 21, 2024
0018c9a
Move seeded project plan to gantt module
oliverguenther May 13, 2024
34026eb
Merge pull request #15612 from opf/dependabot/bundler/dev/lefthook-1.…
ulferts May 21, 2024
1af5f40
Merge pull request #15611 from opf/dependabot/bundler/dev/rubocop-rai…
ulferts May 21, 2024
dfae397
Merge pull request #15615 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts May 21, 2024
6c6019d
Increase log level of pool size increase to INFO
cbliard May 21, 2024
b3afdf1
---
dependabot[bot] May 21, 2024
1bc11f4
[55123] Fixed empty project attribute mapping list unlink response
May 21, 2024
6363263
[#55112] Rename Storages::ManageNextcloudIntegrationJob
ba1ash May 21, 2024
0603a3e
Remove references to univention software
oliverguenther May 21, 2024
e959404
Add reference to release notes
oliverguenther May 21, 2024
db05146
Remove exposed PSQL port in all-in-one
oliverguenther May 21, 2024
9f3b429
Merge pull request #15622 from opf/fix/remove-exposed-psql-port
machisuji May 21, 2024
0f9b864
[55123] Moved turbo streamable to dirived project table
May 21, 2024
86b0c19
[55123] Moved streamable include to derived project table
May 21, 2024
4abfa25
Merge pull request #15476 [Op#54456] Display the mapped projects list…
akabiru May 21, 2024
c8055c4
Fix meeting type label selection on the new meeting form.
dombesz May 21, 2024
da1bfc8
Add regression spec
dombesz May 21, 2024
bef745f
Merge pull request #15619 from opf/implementation/55123-on-deactivati…
akabiru May 21, 2024
81b4b6a
[#55186] added settings attribute to project base contract
Kharonus May 21, 2024
96d7b1c
[#55006] 14.1 Documentation: Hide attachments in Files tab (#15617)
MayaBerd May 21, 2024
72e0610
[#55186] add settings update to before_action authorize
Kharonus May 21, 2024
f9849ae
apply access control to projects#deactivate_work_package_attachments
ulferts May 21, 2024
019cebc
Add condition to display form checkbox
mrmir May 21, 2024
8d53882
[#55007] 14.1 Documentation: OneDrive/SharePoint changes https://com…
MayaBerd May 21, 2024
bf1e44e
[#55009] 14.1 Documentation: Update permissions https://community.op…
MayaBerd May 21, 2024
ef60fc5
Merge pull request #15629 from opf/fix/access_control_for_projects_de…
Kharonus May 21, 2024
155f9a1
Merge pull request #15627 from opf/bug/55186-settings-prevent-project…
Kharonus May 21, 2024
63c7c10
Release notes 14.1 update (#15630)
MayaBerd May 21, 2024
bacdbaa
Revert buggy true check
mrmir May 21, 2024
0818064
Merge pull request #15625 from opf/fix-meeting-form-label
oliverguenther May 21, 2024
27157f2
update locales from crowdin [ci skip]
openprojectci May 22, 2024
b95290c
update locales from crowdin [ci skip]
openprojectci May 22, 2024
9e350ff
Use escaped formatted value
oliverguenther May 21, 2024
37a05b3
Merge remote-tracking branch 'origin/release/14.0' into release/14.1
oliverguenther May 22, 2024
4de17dc
Use escaped formatted value
oliverguenther May 21, 2024
f2a49c7
dependabot[bot] May 22, 2024
cb676b7
Fix colspan length bug.
Eric-Guo May 22, 2024
d1174ca
Add release-notes file
oliverguenther May 22, 2024
7a138db
Bumped version to 13.4.3
oliverguenther May 22, 2024
663fd42
Merge remote-tracking branch 'origin/release/13.4' into release/14.1
oliverguenther May 22, 2024
31ea7ed
Add release-notes file
oliverguenther May 22, 2024
9ca937a
Bumped version to 14.0.3
oliverguenther May 22, 2024
1bc49e0
Resolve conflicts
oliverguenther May 22, 2024
a9fc634
add missing release note entry on index
as-op May 22, 2024
6ca70c7
Merge pull request #15635 from Eric-Guo/empty_columns_span
klaustopher May 22, 2024
20e4419
fix typos
as-op May 22, 2024
7d07aac
Merge pull request #15636 from opf/documentation/fixes
as-op May 22, 2024
fb9d7c9
Merge pull request #15633 from opf/merge-release/14.1-20240522033428
oliverguenther May 22, 2024
007d9fb
split safeguard for better debugging
ulferts May 22, 2024
24d5d66
saas safe query for the good job predecessor
ulferts May 22, 2024
fb394fc
Merge pull request #15634 from opf/dependabot/npm_and_yarn/frontend/d…
ulferts May 22, 2024
f2be52d
Merge pull request #15637 from opf/fix/saas_safe_good_job_predecessor…
ulferts May 22, 2024
4c1ff89
Update release notes
oliverguenther May 22, 2024
76cc83f
Bumped version to 14.1.1
oliverguenther May 22, 2024
ef0d225
Merge remote-tracking branch 'origin/release/14.1' into dev
ulferts May 22, 2024
039d05b
Merge remote-tracking branch 'origin/release/14.0' into release/14.1
oliverguenther May 22, 2024
c6c28e5
Use strict dynamic CSP
oliverguenther May 22, 2024
a4298a0
Add reference to advisory page in GitHub
oliverguenther May 22, 2024
f2c4b87
chore[Op#55123]: remove redundant query build (#15626)
akabiru May 22, 2024
3753de2
place 24 hour limit on interval for date alerts and reminders
ulferts May 22, 2024
41fbb04
remove unused parameter
ulferts May 22, 2024
7b23d73
Merge pull request #15618 from opf/code-maintenance/55112-rename-stor…
ba1ash May 22, 2024
4c7abba
Merge pull request #15641 from opf/fix/limit_on_reminder_and_date_ale…
machisuji May 22, 2024
a51984a
Merge remote-tracking branch 'origin/release/14.1' into dev
ulferts May 22, 2024
92407bd
Make delete_permission required in the DeleteService
oliverguenther May 22, 2024
6686b4f
Adapt services
oliverguenther May 22, 2024
bb757ed
Merge pull request #15640 from opf/chore/make-delete-permission-required
oliverguenther May 22, 2024
1e80d6d
Merge pull request #15500 from opf/feature/notify-on-meeting-creation
mrmir May 22, 2024
bfdadac
update locales from crowdin [ci skip]
openprojectci May 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
120 changes: 60 additions & 60 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -226,35 +226,35 @@ GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.1.0)
actioncable (7.1.3.2)
actionpack (= 7.1.3.2)
activesupport (= 7.1.3.2)
actioncable (7.1.3.3)
actionpack (= 7.1.3.3)
activesupport (= 7.1.3.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.1.3.2)
actionpack (= 7.1.3.2)
activejob (= 7.1.3.2)
activerecord (= 7.1.3.2)
activestorage (= 7.1.3.2)
activesupport (= 7.1.3.2)
actionmailbox (7.1.3.3)
actionpack (= 7.1.3.3)
activejob (= 7.1.3.3)
activerecord (= 7.1.3.3)
activestorage (= 7.1.3.3)
activesupport (= 7.1.3.3)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.1.3.2)
actionpack (= 7.1.3.2)
actionview (= 7.1.3.2)
activejob (= 7.1.3.2)
activesupport (= 7.1.3.2)
actionmailer (7.1.3.3)
actionpack (= 7.1.3.3)
actionview (= 7.1.3.3)
activejob (= 7.1.3.3)
activesupport (= 7.1.3.3)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.2)
actionpack (7.1.3.2)
actionview (= 7.1.3.2)
activesupport (= 7.1.3.2)
actionpack (7.1.3.3)
actionview (= 7.1.3.3)
activesupport (= 7.1.3.3)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
Expand All @@ -265,31 +265,31 @@ GEM
actionpack-xml_parser (2.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
actiontext (7.1.3.2)
actionpack (= 7.1.3.2)
activerecord (= 7.1.3.2)
activestorage (= 7.1.3.2)
activesupport (= 7.1.3.2)
actiontext (7.1.3.3)
actionpack (= 7.1.3.3)
activerecord (= 7.1.3.3)
activestorage (= 7.1.3.3)
activesupport (= 7.1.3.3)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.1.3.2)
activesupport (= 7.1.3.2)
actionview (7.1.3.3)
activesupport (= 7.1.3.3)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.1.3.2)
activesupport (= 7.1.3.2)
activejob (7.1.3.3)
activesupport (= 7.1.3.3)
globalid (>= 0.3.6)
activemodel (7.1.3.2)
activesupport (= 7.1.3.2)
activemodel (7.1.3.3)
activesupport (= 7.1.3.3)
activemodel-serializers-xml (1.0.2)
activemodel (> 5.x)
activesupport (> 5.x)
builder (~> 3.1)
activerecord (7.1.3.2)
activemodel (= 7.1.3.2)
activesupport (= 7.1.3.2)
activerecord (7.1.3.3)
activemodel (= 7.1.3.3)
activesupport (= 7.1.3.3)
timeout (>= 0.4.0)
activerecord-import (1.6.0)
activerecord (>= 4.2)
Expand All @@ -302,13 +302,13 @@ GEM
multi_json (~> 1.11, >= 1.11.2)
rack (>= 2.0.8, < 4)
railties (>= 6.1)
activestorage (7.1.3.2)
actionpack (= 7.1.3.2)
activejob (= 7.1.3.2)
activerecord (= 7.1.3.2)
activesupport (= 7.1.3.2)
activestorage (7.1.3.3)
actionpack (= 7.1.3.3)
activejob (= 7.1.3.3)
activerecord (= 7.1.3.3)
activesupport (= 7.1.3.3)
marcel (~> 1.0)
activesupport (7.1.3.2)
activesupport (7.1.3.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand Down Expand Up @@ -670,7 +670,7 @@ GEM
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
lefthook (1.6.11)
lefthook (1.6.12)
letter_opener (1.10.0)
launchy (>= 2.2, < 4)
letter_opener_web (3.0.0)
Expand Down Expand Up @@ -743,7 +743,7 @@ GEM
timeout
net-smtp (0.5.0)
net-protocol
nio4r (2.7.1)
nio4r (2.7.3)
nokogiri (1.16.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -842,7 +842,7 @@ GEM
puma-plugin-statsd (2.6.0)
puma (>= 5.0, < 7)
raabro (1.4.0)
racc (1.7.3)
racc (1.8.0)
rack (2.2.9)
rack-accept (0.4.5)
rack (>= 0.4)
Expand Down Expand Up @@ -873,20 +873,20 @@ GEM
rackup (1.0.0)
rack (< 3)
webrick
rails (7.1.3.2)
actioncable (= 7.1.3.2)
actionmailbox (= 7.1.3.2)
actionmailer (= 7.1.3.2)
actionpack (= 7.1.3.2)
actiontext (= 7.1.3.2)
actionview (= 7.1.3.2)
activejob (= 7.1.3.2)
activemodel (= 7.1.3.2)
activerecord (= 7.1.3.2)
activestorage (= 7.1.3.2)
activesupport (= 7.1.3.2)
rails (7.1.3.3)
actioncable (= 7.1.3.3)
actionmailbox (= 7.1.3.3)
actionmailer (= 7.1.3.3)
actionpack (= 7.1.3.3)
actiontext (= 7.1.3.3)
actionview (= 7.1.3.3)
activejob (= 7.1.3.3)
activemodel (= 7.1.3.3)
activerecord (= 7.1.3.3)
activestorage (= 7.1.3.3)
activesupport (= 7.1.3.3)
bundler (>= 1.15.0)
railties (= 7.1.3.2)
railties (= 7.1.3.3)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
Expand All @@ -901,9 +901,9 @@ GEM
rails-i18n (7.0.9)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)
railties (7.1.3.2)
actionpack (= 7.1.3.2)
activesupport (= 7.1.3.2)
railties (7.1.3.3)
actionpack (= 7.1.3.3)
activesupport (= 7.1.3.3)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
Expand All @@ -924,7 +924,7 @@ GEM
redis-client (>= 0.22.0)
redis-client (0.22.1)
connection_pool
regexp_parser (2.9.0)
regexp_parser (2.9.2)
reline (0.5.7)
io-console (~> 0.5)
representable (3.2.0)
Expand Down Expand Up @@ -991,7 +991,7 @@ GEM
rubocop-performance (1.21.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.24.1)
rubocop-rails (2.25.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand Down Expand Up @@ -1024,9 +1024,9 @@ GEM
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
secure_headers (6.5.0)
selenium-devtools (0.124.0)
selenium-devtools (0.125.0)
selenium-webdriver (~> 4.2)
selenium-webdriver (4.20.1)
selenium-webdriver (4.21.1)
base64 (~> 0.2)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ See COPYRIGHT and LICENSE files for more details.
<% helpers.html_title t(:label_administration), @title %>

<%= render(Primer::OpenProject::PageHeader.new(border_bottom: 0)) do |header| %>
<% header.with_title { @title } %>
<% header.with_title { t(:"attributes.attachments") } %>
<% header.with_breadcrumbs([{ href: admin_index_path, text: t("label_administration") },
{ href: admin_settings_storages_path, text: t("project_module_storages") },
@title]) %>
t(:"attributes.attachments")]) %>
<% end %>

<%= render(Primer::Alpha::TabNav.new(label: "label")) do |component|
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<%#-- copyright
OpenProject is an open source project management software.
Copyright (C) 2012-2023 the OpenProject GmbH

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.

OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
Copyright (C) 2006-2013 Jean-Philippe Lang
Copyright (C) 2010-2013 the ChiliProject Team

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

See COPYRIGHT and LICENSE files for more details.

++#%>
<%= render(Settings::ProjectCustomFields::EditFormHeaderComponent.new(custom_field: @custom_field)) %>

<%=
render(Primer::Alpha::TabNav.new(label: nil, test_selector: :project_attribute_detail_header)) do |component|
component.with_tab(
selected: project_custom_field_edit_selected?,
href: edit_admin_settings_project_custom_field_path(@custom_field)
) do |tab|
tab.with_text { t(:label_details) }
end

component.with_tab(
selected: project_custom_field_project_mappings_selected?,
href: project_mappings_admin_settings_project_custom_field_path(@custom_field)
) do |tab|
tab.with_text { I18n.t(:label_project_plural) }
end
end
%>
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# frozen_string_literal: true

#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2024 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
# Copyright (C) 2006-2013 Jean-Philippe Lang
# Copyright (C) 2010-2013 the ChiliProject Team
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# See COPYRIGHT and LICENSE files for more details.
#++

module Admin
module Settings
module ProjectCustomFields
class ProjectAttributeDetailHeaderComponent < ApplicationComponent # rubocop:disable OpenProject/AddPreviewForViewComponent
TAB_NAVS = %i[
project_custom_field_edit
project_custom_field_project_mappings
].freeze

def initialize(custom_field:, selected:)
selected = selected.to_sym
raise "selected must be one of the following: #{TAB_NAVS.join(', ')}" unless TAB_NAVS.include?(selected)

super
@custom_field = custom_field
@selected = selected
end

TAB_NAVS.each do |tab_nav|
define_method(:"#{tab_nav}_selected?") do
@selected == tab_nav
end
end
end
end
end
end
3 changes: 2 additions & 1 deletion app/components/projects/table_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See COPYRIGHT and LICENSE files for more details.

++#%>

<div class="project-list-page--table">
<div class="generic-table--flex-container">
<div class="generic-table--container <%= container_class %>">
Expand Down Expand Up @@ -84,7 +85,7 @@ See COPYRIGHT and LICENSE files for more details.
<tbody>
<% if rows.empty? %>
<tr class="generic-table--empty-row">
<td colspan="<%= headers.length + 1 %>"><%= empty_row_message %></td>
<td colspan="<%= columns.length + 1 %>"><%= empty_row_message %></td>
</tr>
<% end %>
<%= render_collection rows %>
Expand Down
22 changes: 12 additions & 10 deletions app/components/projects/table_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ def build_sort_header(column, options)
# We don't return the project row
# but the [project, level] array from the helper
def rows
@rows ||= begin
projects_enumerator = ->(model) { to_enum(:projects_with_levels_order_sensitive, model).to_a } # rubocop:disable Lint/ToEnumArguments
instance_exec(model, &projects_enumerator)
end
@rows ||=
begin
projects_enumerator = ->(model) { to_enum(:projects_with_levels_order_sensitive, model).to_a }
instance_exec(model, &projects_enumerator)
end
end

def initialize_sorted_model
Expand Down Expand Up @@ -112,14 +113,15 @@ def sortable_column?(select)
end

def columns
@columns ||= begin
columns = query.selects.reject { |select| select.is_a?(Queries::Selects::NotExistingSelect) }
@columns ||=
begin
columns = query.selects.reject { |select| select.is_a?(Queries::Selects::NotExistingSelect) }

index = columns.index { |column| column.attribute == :name }
columns.insert(index, Queries::Projects::Selects::Default.new(:hierarchy)) if index
index = columns.index { |column| column.attribute == :name }
columns.insert(index, Queries::Projects::Selects::Default.new(:hierarchy)) if index

columns
end
columns
end
end

def projects(query)
Expand Down
Loading
Loading