53 Commits

Author SHA1 Message Date
Alexander Brandon Coles 44b434e328 [#73798] Remove scrum_projects feature flag
Make Backlogs use the sprint-based behavior unconditionally and
remove the old feature-flagged branches from controllers, routes,
representers, and supporting helpers.

Update the affected Backlogs specs and PDF export expectations to
match the permanent sprint model and keep list reordering stable when
moving work packages between backlog and sprint scopes.

https://community.openproject.org/wp/73798
2026-04-17 09:47:10 +01:00
Dombi Attila 12e36d8154 [#73187] Cannot set the "Used as backlog" field in the Project Version settings.
https://community.openproject.org/work_packages/73187
2026-03-17 10:25:56 +02:00
ulferts 32f1940e6c render version form in primer 2026-02-20 12:12:18 +01:00
Dombi Attila 3d4930fdc7 Fix typo 2025-10-14 12:01:58 +02:00
Dombi Attila fefea291cc Add version create update including custom fields integration specs. 2025-10-14 12:01:58 +02:00
Henriette Darge 9423e3c236 Adapt tests to new SubHeader structure 2025-05-20 09:45:23 +02:00
Jan Sandbrink 0b87e7543f Freeze string literals in specs
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +02:00
Oliver Günther b214c61315 Reset some specs 2025-01-14 13:23:57 +01:00
Oliver Günther f791d33b72 Replace specs 2025-01-14 10:20:35 +01:00
Henriette Darge a4904fb491 Move PageHeader into their own components and fix some tests 2024-12-05 14:00:12 +01:00
Oliver Günther cd2d0f0e1a Remove primerized_flash prefix in methods 2024-09-30 21:39:36 +02:00
Oliver Günther 9cc3d98391 Replace expect_primerized_error -> expect_primerized_flash 2024-09-30 21:39:00 +02:00
Oliver Günther 1cf49e2c9f Adapt specs 2024-09-30 20:37:00 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Christophe Bliard 4f5bd139c7 Merge branch 'release/14.0' into bug/30865-roadmap-graph-shows-only-work-packages-of-current-project 2024-04-22 17:50:48 +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 b30575ffb1 Fix typo in css class name 2024-03-18 17:09:06 +01:00
Christophe Bliard 3f1208661b Use fallback text for work package graph canvas
And use this text to do assertions in the spec file. It makes the canvas
more accessible while making its content testable.
2024-03-18 17:06:46 +01:00
Christophe Bliard f3c99ee5dd Comply with rubocop Style/StringLiterals enforcing double_quotes 2024-03-18 11:42:32 +01:00
Christophe Bliard 717a85a600 [30865] Show all work packages belonging to the version in status graph
In the graph widget, the default subprojectId filter is limiting the
work packages shown to the ones belonging to the version's project and
its subprojects. This is not always the desired behavior, especially
when the version is shared with other projects with 'hierarchy',
'tree', or 'system' sharing.

The fix opts for a projects filter including all visible projects for
the version when sharing is 'tree' or 'hierarchy' (which may have a
performance penalty when there are many projects), and a global scope
when sharing is 'system'.
2024-03-18 11:28:20 +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
Klaus Zanders 78c1e4fadb Switch all uses of principal factories to use new interface 2023-10-09 10:39:44 +02:00
Aaron Contreras ac4f26f20c Fix Typos
A typo'd translation and example group description
2023-08-15 08:23:25 -05:00
Oliver Günther 19604ffc8d Extend archived version warning for types to versions
https://community.openproject.org/work_packages/49402
2023-08-15 09:23:42 +02:00
Aaron Contreras ba849b5a11 Add feature specs for "Subprojects" filter on Roadmap page
In order to get some end-to-end coverage on the behavior of the
checkbox and the versions displayed, I added this feature spec to
provide some confidence and document the expected behavior.
2023-08-09 17:20:11 -05:00
Oliver Günther 140a0ce477 Update charts and content loader 2023-06-13 20:23:01 +02:00
Christophe Bliard 4c2a9d0aa8 Enable RSpec zero monkey patching mode
The plan for RSpec 4.0 is to disable monkey patching.

See https://github.com/rspec/rspec-core/blob/main/features/configuration/zero_monkey_patching_mode.feature for details.
2023-05-31 19:22:29 +02:00
Christophe Bliard aa23106c11 lint: autocorrect RSpec/FactoryBot/ConsistentParenthesesStyle
command is

    rubocop -A --only RSpec/FactoryBot/ConsistentParenthesesStyle modules spec
2023-03-07 15:04:32 +01:00
Christophe Bliard 85b3258a29 Autocorrect with some rubocop cops
RSpec/Rails/InferredSpecType and Style/RedundantConstantBase

rubocop --autocorrect-all --only RSpec/Rails/InferredSpecType,Style/RedundantConstantBase spec modules/*/spec
2023-01-13 14:28:59 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +02:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Christophe Bliard 47a297daae Fix argument alignment since f08bea3467 (#10129)
* Fix argument alignment since f08bea3467

The FactoryBot.* prefix has been removed in f08bea3467. Since then
rubocop complains about Layout/ArgumentAlignment. This commit fixes it.

* do not fix alignments for modules/*/spec yet

hoping to be under the limit of 65535 characters for reviewdog to report on rubocop errors
2022-02-02 21:48:06 +01:00
Oliver Günther f08bea3467 Remove FactoryBot.* prefix where applicable 2022-01-25 08:19:06 +01:00
ulferts f89f19dffc use resouce based routing 2021-10-29 15:48:18 +02:00
ulferts 83cdefaa55 move version to nested settings 2021-10-28 12:44:44 +02: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 1bdd2ab9ae safe automatic fixes by rubocop (#8994) 2021-02-11 16:02:18 +01:00
Cyril Rohr b4086b2968 Standalone CI docker container (#8943) 2021-02-02 15:33:33 +01:00
ulferts 6140f4c7e9 update copyright to 2021 (#8925)
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.

Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
2021-01-13 17:47:45 +01:00
Oliver Günther 2258309baa Fix cukes in backlogs due to js cucumber
We now need to run cukes with a JS scenario all the time. Backlogs
however used manually POST requests to set up some stuff which is no
longer working now.

We can tell capybara to switch the driver shortly just to perform the
request while keeping the session. It's a hack but will prevail until
backlogs is hopefully removed soon.
2020-07-02 15:00:30 +02:00
ulferts 0b15db3c9a rename fixed_version to version 2020-03-27 09:10:44 +01:00
ulferts 9fa02860f9 introduce semver name sorting scope 2020-03-24 23:17:14 +01:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Henriette Dinger 9de876df95 Take care that Backlogs/versions partial is used && Fix tests 2020-01-06 11:55:10 +01:00
Henriette Dinger 7167a85cb0 Fix specs by correcting the project settings paths and do some minor selector changes 2020-01-06 10:51:19 +01:00
ulferts 3edb8ca8b1 display a no data notification on graph widget 2019-10-18 09:03:34 +02:00