240 Commits

Author SHA1 Message Date
Oliver Günther 4d731dcab6 Replace raw and explicit html_safe calls 2026-03-20 09:49:10 +01:00
Henriette Darge 2b31d05f0a Merge pull request #21612 from opf/code-maintenance/68481-remove-new-project-overview-feature-flag
[#68481] Remove new project overview feature flag
2026-02-24 12:20:13 +01:00
Henriette Darge 0fbb221c33 Merge remote-tracking branch 'origin/dev' into code-maintenance/68481-remove-new-project-overview-feature-flag 2026-02-24 10:39:21 +01:00
Henriette Darge 72a274dbd5 Restore the old customOptions table but within a separate "items" tab 2026-02-19 15:45:20 +01:00
OpenProject Actions CI 54f3a66f30 Merge branch 'release/17.1' into dev 2026-02-03 12:35:14 +00:00
Alexander Brandon Coles b55ca2d1d1 Replace CSS nesting selector with :scope
Although the result should be the same in evergreen browsers, `:scope`
pseudo-selector has been around longer and as such, is better supported
than the CSS nesting selector (`&`).

See:
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:scope
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Nesting_selector
2026-02-02 17:33:40 -03:00
Alexander Brandon Coles 30e4d7e3c1 [#71325] Fix drag and drop controller Turbo interop
Improves `GenericDragAndDropController`'s interop with Turbo's partial
page updates: although not reproducible in current production code, list
items are sometimes no longer draggable after a partial page update.

This patch attempts to handle page changes "idiomatically" via Stimulus
lifecycle callbacks rather than a hand-rolled `MutationObserver`-based
implementation.

https://community.openproject.org/work_packages/71325
2026-02-02 17:33:40 -03:00
ulferts 68d851870d use appropriate font weight on the type 2026-01-30 15:49:32 +01:00
ulferts 17d8ee3c54 show type on edit form of custom fields 2026-01-28 16:19:54 +01:00
ulferts 7fba5cadbf display cf type in page title 2026-01-27 17:58:10 +01:00
Tobias Dillmann ee9857b0d5 [#65634] Remove unnecessary padding 2026-01-16 16:00:26 +01:00
Tobias Dillmann 7acc5aee82 [#65634] Phase definitions: increase header container height 2026-01-14 18:27:41 +01:00
Alexander Brandon Coles 9819eb1cca [#68481] Remove new project overview feature flag 2026-01-09 11:27:53 +01:00
ulferts 59f27bea3d change label on help text tab in cf administration 2026-01-07 14:49:20 +01:00
ulferts 9111ca0bb9 use cf attribute key for i18n 2026-01-06 12:08:06 +01:00
Tobias Dillmann 6467ddd399 [#69399] Fix new custom field projects modal 2025-12-12 12:47:06 +01:00
Tobias Dillmann 5b472afb5f [#69399] Show "all projects" info on project attributes 2025-12-12 09:59:52 +01:00
Oliver Günther 3237096fe5 Add tab to project custom fields settings 2025-11-25 22:06:39 +01:00
Klaus Zanders b295ce44e5 Primerize form 2025-11-21 11:29:13 +01:00
Klaus Zanders 5a9c04c0a0 Merge pull request #20998 from opf/membership-custom-fields
Add association between custom field and role
2025-11-19 12:08:51 +01:00
Henriette Darge caa609d34c [61445] Configure project attribute sections to be shown as widgets on the project overview page (#20899)
* Show project attributes as sections in project overview

* Introduce a column "shown_in" for CustomFieldSection which defines whether the section shall be shown in the sidebar or the main section of the project overview

* Show only those attributes in main section that are configured to be shown there. Same for the sidebar.

* Update project attribute sections after editing them

* Write a test for the new positioning behavior of project attribute sections

* Rename "shown_in" with "display_representation" and make it a hash

* Provide proper default when creating a new section

* Enforce project attribute widgets to be in a new line and wrap properly

* Hide logic for moivng sections to the main area behind the feature flag

* Rename "main section" to "main area"

* Extract custom margins into normal sass

* Rename "side-panel" to "side panel"

* Update test to changed wording
2025-11-19 08:01:42 +01:00
Klaus Zanders a95132582a Move role assignemnt to its own tab 2025-11-18 10:02:18 +01:00
Oliver Günther 3cd9aa9f96 Add attributes to creation wizard 2025-11-17 21:25:05 +01:00
Alexander Brandon Coles 5af647e1cf Merge branch 'dev' into code-maintenance/68734-migrate-legacy-settings-js-to-stimulus 2025-11-06 12:21:21 +00:00
Alexander Brandon Coles 525ad5c72e Rework TextSettingComponent JS/TS using Stimulus
Replace final remnants of ad-hoc (previously jQuery) functions with
`multi-lang-text-setting` Stimulus controller.
2025-11-04 18:21:44 +00:00
Eric Schubert 52bc1080bd [#68700] added new enterprise key for weighted item lists
- fix migration to rename existing data in custom fields table
- update project custom fields header to show all custom fields with
  enterprise addon
- show upsale page for hierarchies and weighted item lists
2025-11-03 15:59:02 +01:00
Eric Schubert 9d6ba3934e Merge branch 'release/16.6' into implementation/68700-rename-to-weighted-item-list 2025-11-03 13:33:04 +01:00
Dombi Attila 0fb3949ec4 Remove non existing feature flag. 2025-10-31 14:47:01 +02:00
Yauheni Suhakou 0de0713a53 Big rename
Renames `scored_list` to `weighted_item_list`
2025-10-30 15:36:55 +01:00
Klaus Zanders 1630c965af Merge branch 'dev' into merge-release/16.5-20251023034238 2025-10-23 08:23:36 +02:00
Henriette Darge adab5c3cae Render Footer outside the Body for correct spacings 2025-10-22 08:09:20 +02:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02:00
Ivan Kuchin 7973c77dd7 show enterprise banner for calculated value 2025-09-24 20:03:31 +02:00
Eric Schubert 17baf3b428 [#67453] disable hierarchy for project custom fields
- as long as the feature flag for scored lists are in place
2025-09-23 12:23:58 +02:00
Eric Schubert e321db10d4 [#67453] added hierarchical lists to project custom fields
- https://community.openproject.org/work_packages/67453
- added scored list and hierarchy to project attributes
- added new controller and routes
- amended view templates
2025-09-19 17:03:08 +02:00
Alexander Brandon Coles 04eefed350 Freeze string literals in app/components
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/components
2025-07-22 13:06:59 +01:00
Alexander Brandon Coles e3c1fe90dc Use Settings::FormHelper in TextSettingComponent 2025-07-18 10:09:24 +01:00
Alexander Brandon Coles 8bde21115c Fix TextSettingComponent select, text area labels 2025-07-18 10:09:24 +01:00
Jens Ulferts 4208aad71f Merge pull request #19418 from opf/bug/65416-custom-field-type-is-not-visible-on-custom-field-creation-page
[#65416] Show custom field format on #new
2025-07-08 11:19:52 +02:00
Henriette Darge 9f9a74e4ef Exclude index pages from items used to generate the mobile back button 2025-07-04 15:26:39 +02:00
Tobias Dillmann 90a7b0ed19 [#65416] Show custom field format on #new 2025-07-04 13:25:13 +02:00
Jens Ulferts aae1b2710e Merge pull request #19352 from opf/bug/65074-create-a-new-custom-field-link-on-empty-index-page-does-not-allow-creating-one
Bug/65074 create a new custom field link on empty index page does not allow creating one
2025-07-01 16:58:54 +02:00
Jens Ulferts fc26246e8a Merge pull request #19226 from opf/implementation/64347-new-project-attribute-calculated-value-add-attribute
Implementation/64347 new project attribute calculated value
2025-07-01 13:07:56 +02:00
Tobias Dillmann f0c119ca85 [#64347] Allow viewing/editing calculated values without FF
We still show these CFs, but we will not allow creating new ones. This
explictly only applies to enabled/disabled custom fields. We are
stricter with the enterprise flag.
2025-06-30 16:11:32 +02:00
Tobias Dillmann 30b946d9d6 [#64347] name in database cannot be falsy 2025-06-30 11:26:43 +02:00
Tobias Dillmann 344df0bf35 [#65074] specs for project attribute in section creation 2025-06-30 10:00:43 +02:00
Tobias Dillmann 521b60c138 [#65074] Offer project attribute format selection for section 2025-06-27 13:56:28 +02:00
Tobias Dillmann 8cb4f16034 [#64347] use existing helper for cf label 2025-06-27 10:07:11 +02:00
Tobias Dillmann 57d36225f4 [#53722] Specs for conditional pcf creation 2025-06-26 15:22:26 +02:00
Tobias Dillmann 2ef58e38ad [#53722] Only allow pcf to be created when there is at least one section 2025-06-26 15:22:25 +02:00