66 Commits

Author SHA1 Message Date
Oliver Günther d851d25524 Merge remote-tracking branch 'origin/release/17.5' into dev 2026-06-10 11:29:44 +02:00
Tomas Hykel 285f3381a9 [STC-811] Fix pagination for filtered Documents & Reserved identifiers 2026-06-05 14:18:05 +02:00
Oliver Günther 11dc79a74d Merge remote-tracking branch 'origin/release/17.5' into dev 2026-06-02 16:22:39 +02:00
Tomas Hykel 27f56b14bd fix: Render a proper error when releasing a 404d project identifier 2026-06-02 12:08:01 +02:00
Oliver Günther 1f3da064ac Escape CSV formula cells by default 2026-06-01 13:44:29 +02:00
Tomas Hykel 948fa43321 chore: Remove feature flag for project-based work package identifiers 2026-05-25 17:45:06 +02:00
Tomas Hykel 15f86021b1 feat: Add progress bar for identifier conversion 2026-05-20 21:28:07 +02:00
Tomas Hykel 46390ca62a feat: Release reserved project identifiers via admin 2026-05-20 20:48:00 +02:00
Tomas Hykel 1ce03faa03 feat: Improve progress reporting during identifier conversion 2026-05-20 20:27:43 +02:00
Klaus Zanders a66bc91c63 Include all permission dependencies, add a factory for the role with the correct permissions 2026-05-04 11:15:43 +02:00
Klaus Zanders b00b01d519 Always include the selected option in the settings form 2026-05-04 10:31:22 +02:00
Oliver Günther 02ae6a9119 Remove password min-rules in favor of clearly listed/checked password rules
https://community.openproject.org/work_packages/73461
2026-04-22 13:43:42 +02:00
Tomas Hykel 3a7fad89df [#73711] refactor: Rename the project identifier namespace 2026-04-16 21:40:38 +02:00
Tomas Hykel cc475e6c2e [#71645] Improve interface of WP identifier setting controller 2026-04-16 20:35:34 +02:00
Oliver Günther 712731ca73 Render link warning 2026-01-28 13:51:53 +01:00
Mir Bhatia 103ce1b468 Add and fix specs 2025-11-25 09:02:11 +01: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
Aaron Contreras 2f2561c08f Add in simple average calculation mode job
* Adds temporary depth table - Could be cleaned up down thie line with
  the `work_package_hierarchies` table.
2024-09-24 16:35:58 -05:00
Aaron Contreras 6cbfdc8e78 Trigger the recalculation job when changing to work weighted mode
* Triggers job
* Adds journal entries with specs and translations
2024-09-24 11:10:22 -05:00
Christophe Bliard a3a221fdaa Fixes from PR review
Co-authored-by: Aaron Contreras <aaronlcaq@gmail.com>
2024-09-13 08:35:26 +02:00
Christophe Bliard edc1d1843a Move progress tracking fields in dedicated admin page 2024-09-04 15:00:27 +02:00
Christophe Bliard e4e18cdf6c refactor: use shared_examples instead of obscure method
I did not understand what `require_admin_and_render_template` was
supposed to do. I thought it was creating some initial user and
rendering the template as a before action, but actually it only adds
some examples.

Using RSpec shared examples makes intent clearer.
2024-09-04 14:45:31 +02:00
Christophe Bliard aea93c6835 refactor: Rename WorkPackageSettingsController to WorkPackageGeneralController 2024-09-04 14:21:10 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Christophe Bliard b5b0c411bf Remove days per month and days per week from admin
The days_per_month setting is kept as it is also used in the frontend,
and could be useful if some people input months as durations.

The rest has been removed and can be easily retrieved from source
history.
2024-06-10 12:11:28 +02:00
Christophe Bliard 5e4766f072 Merge branch 'dev' into feature/49409-status-exclude-from-totals 2024-06-03 17:56:41 +02:00
Aaron Contreras b600e76244 Sync days_per_week and days_per_month on client side 2024-05-24 11:44:26 -05:00
Aaron Contreras 102b0cc252 Make hours/day, hours/week, days/month configurable 2024-05-24 11:44:25 -05:00
Christophe Bliard 6b4c0dccf2 [49409] Handle excluded statuses from totals in update job
The job has been updated to excluded work packages having a status with
`excluded_from_totals` set to true. The journal entry has valid values
so that the cause renders correctly.

The job is not yet triggered properly when the "excluded from totals"
attribute of a status is changed in the administration.
2024-05-15 12:35:47 +02:00
Aaron Contreras 0be7415a81 Rename WorkingDays constant and route to WorkingDaysAndHours 2024-05-14 15:31:24 -05:00
Christophe Bliard 708aaba387 [54646] Remove totals of childless work packages in a migration
https://community.openproject.org/wp/54646

A concurrency key has been set on all jobs updating progress values to
ensure that only one job is performed at a time.

All classes related to managing progress updates in jobs has been moved
to a specific folder.
2024-05-06 11:48:05 +02:00
Christophe Bliard b47a16b788 Merge branch 'dev' into feature/40749-consistent-calculation-of-percent-complete 2024-04-10 16:47:20 +02:00
Christophe Bliard e15e00db1d Update work packages when changing to status-based mode
https://community.openproject.org/wp/40749
2024-04-09 19:18:43 +02:00
Dombi Attila 35783e1d2f [#51793] Split existing project administration settings into multiple pages
https://community.openproject.org/work_packages/51793
2024-04-09 11:42:12 +03: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
Mir Bhatia 519c9ce046 Add rubocop overrides 2023-07-21 12:36:37 +02:00
Mir Bhatia 0d32ee938d Refactor require_admin tests 2023-07-14 10:42:40 +02:00
Mir Bhatia 0e7dcb4aa0 Add require_admin tests for all remaining settings 2023-07-03 12:53:20 +02:00
Mir Bhatia 083ce060cf WIP: Add general_settings_controller_spec 2023-06-30 15:33:13 +02:00
Mir Bhatia 10e5a523e1 Add icalendar_settings_controller_spec 2023-06-30 14:50:05 +02:00
Mir Bhatia 6888af6019 WIP: Add icalendar_settings_controller spec 2023-06-27 20:36:27 +02:00
Mir Bhatia 3f0926ea1c Update field instruction links for cal settings 2023-06-23 14:53:04 +02:00
Mir Bhatia 581a588b33 Merge branch 'dev' into implementation/48379-rename-working-days-and-add-second-level-of-navigation 2023-06-19 14:23:32 +02:00
Christophe Bliard 8e2abcba65 Merge pull request #12839 from opf/bug/41275-perform-language-reset-on-setting-save
[#41275] Perform default language reset on saving language settings
2023-06-19 14:16:30 +02:00
Aaron Contreras c1b4b2a962 Use Settings::LanguageUpdateService in LanguagesSettingsController
Updates the `LanguageSettingsController` to use the new `LanguageUpdateService`
which handles forcing the default language on users with an unavailable language
set.

There were no controller specs, so adding one in.
2023-06-19 13:44:21 +02:00
Christophe Bliard 48d4e93d98 Merge pull request #12838 from opf/fix/restore_registration_footer_setting_in_admin
Restore some authentication settings in admin
2023-06-15 14:04:45 +02:00