OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Merge remote-tracking branch 'origin/release/12.5' into dev
ulfertsed22c5fd5000
diff --cc docs/user-guide/nextcloud-integration/README.mdindex d8265de1ca3,18c287f6ef0..e630cd88d81--- a/docs/user-guide/nextcloud-integration/README.md+++ b/docs/user-guide/nextcloud-integration/README.md@@@ -160,7 -160,7 +160,7 @@@ In addition to actions related to indiv- There are two additional features related to the integration that you can enable in Nextcloud. In your personal settings page, under *OpenProject *, you will find these options:-There are two additional features related to the integration that you can enable in Nextcloud. In your personal settings page, under **OpenProject **, you will find these options:++There are two additional features related to the integration that you can enable in Nextcloud. In your personal settings page, under **OpenProject**, you will find these options:- **Enable navigation link** displays a link to your OpenProject instance in the Nextcloud header- **Enable unified search for tickets** allows you to search OpenProject work packages via the universal search bar in Nextclouddiff --cc spec/features/search_spec.rbindex 67dcaf3de09,ec8d596b3ef..fc4e1d7404a--- a/spec/features/search_spec.rb+++ b/spec/features/search_spec.rb@@@ -171,7 -171,7 +171,7 @@@ describe 'Search', js: true, with_mailenddescribe 'search for work packages' do-- context 'when search in all projects' do++ context 'when searching in all projects' dolet(:params) { [project, { q: query, work_packages: 1 }] }context 'as custom fields not searchable' do@@@ -214,22 -214,29 +214,46 @@@endend+ describe 'by #id' do+ let(:work_package) { work_packages.last }++ it 'loads the WP results table with the correct WP' do+ select_autocomplete(page.find('.top-menu-search--input'),+ query: "##{work_package.id}",+ select_text: "In all projects ↵",+ wait_dropdown_open: false)+ table = Pages::EmbeddedWorkPackagesTable.new(find('.work-packages-embedded-view--container'))+ table.ensure_work_package_not_listed!(*work_packages[0...-1])+ table.expect_work_package_subject(work_package.subject)+ end++ context 'when submitting without autocomplete' do+ it 'loads the WP in full view' do+ global_search.search "##{work_package.id}"+ global_search.submit_with_enter++ wp_page = Pages::FullWorkPackage.new(work_package)+ wp_page.expect_subject+ end+ end+ end+++ context 'when a work package is closed' do+ let(:params) { [{ q: query, scope: 'all' }] }+ let(:run_visit) { false }+ let(:work_package) { work_packages.last }++ before do+ work_package.update(status: create(:closed_status))+ visit search_path(*params)+ end++ it 'marks the closed work package' do+ within 'dt.work_package-closed' do+ expect(page).to have_link(text: Regexp.new(work_package.status.name))+ end+ end+ endendcontext 'for project search' do