Commit Graph

100174 Commits

Author SHA1 Message Date
Oliver Günther 898f45a489 Fix indent of sles case 2025-12-05 10:31:04 +01:00
Kabiru Mwenja 84975af7f5 Remove blocknote editor feature flag (#21273)
https://community.openproject.org/wp/68232
2025-12-05 11:37:26 +03:00
Jens Ulferts 6350aba7e6 Merge pull request #21349 from opf/fix/admin-pir-permissions
Too many permissions required to fill out wizard
2025-12-05 09:20:04 +01:00
Oliver Günther 0adacf551c Add note for sles 2025-12-05 09:06:00 +01:00
Oliver Günther 4ee045a6cf Add note on PostgreSQL 17.0 2025-12-05 09:04:52 +01:00
Oliver Günther 4ae11653a7 Remove automatic install support for SLES, as packages are incompatible 2025-12-05 08:59:17 +01:00
Oliver Günther b4ae77d756 Use flash.now when rendering directly 2025-12-05 07:30:39 +01:00
Oliver Günther e2027b2684 Use User.execute_as_admin to submit PIR 2025-12-05 07:30:39 +01:00
OpenProject Actions CI 0bc22ed225 update locales from crowdin [ci skip] 2025-12-05 03:37:33 +00:00
Oliver Günther 14da828008 Merge pull request #21329 from opf/bug/69497-user-who-is-not-an-instance-admin-cannot-create-a-pir 2025-12-04 20:53:36 +01:00
Oliver Günther 4dc8e455a8 Use project_attributes_only contract flag for UpdateService
We're only updating project attributes, so we shouldn't need
edit_projects permissions
2025-12-04 19:52:40 +01:00
Jens Ulferts e2afd69a8f Merge pull request #21247 from opf/bug/69468-portfolio-view-should-not-display-sub-portfolios
Portfolio view should not display sub-portfolios
2025-12-04 17:39:19 +01:00
Christophe Bliard 4bab81398a Merge pull request #21342 from opf/fix-flicker
Fix flickering spec
2025-12-04 15:37:08 +01:00
Jan Sandbrink 4260a12561 Fix flickering spec
Selection by work package ID was unreliable, because the text
that's selected by is from anywhere in the selected element.

The element shows different information:
* WP subject
* WP ID
* Project name
* status name

The intention of the original code was to uniquely select work packages
by their ID, however it was also perfectly possible to have a project
named "Project 123" as the parent of all work packages. So if the WP
id happens to be 123 as well, the selection would be effectively random
across the work packages.

(Credit for discovering the root cause of this flicker goes to Christophe Bliard
if anyone is asking ;-) )

Fixes flickers of spec/features/work_packages/details/relations/hierarchy_spec.rb,

Reproduction instructions as provided by Christophe:

    rm -f db/structure.sql; \
    bin/rails db:drop db:create db:migrate RAILS_ENV=test > /dev/null ; \
    CI=true TZ=UTC OPENPROJECT_LOG__LEVEL=info CAPYBARA_PUMA_THREADS=0:4 DISABLE_SPRING=1 \
    bin/rspec --seed 34872 -fd \
    'spec/features/work_packages/details/relations/hierarchy_spec.rb[1:1:1:1]' \
    spec/features/work_packages/work_package_index_spec.rb:46
2025-12-04 15:00:08 +01:00
Yauheni Suhakou 7153964684 [69324] Update phrasing and explanation of automatically-managed project folders (at an admin level) (#21173)
Update phrasing and an explanation of automatically-managed project folders (at an admin level).
2025-12-04 14:50:59 +01:00
OpenProject Actions CI 4cfacde061 Merge branch 'release/16.6' into release/17.0 2025-12-04 13:34:04 +00:00
Christophe Bliard e6e81fff38 [69517] Dereference RecurringMeeting author_id when deleting a user
https://community.openproject.org/wp/69517

Also partly backport b1840ebff9 from `release/17.0` branch to try to
minimize future git conflicts when that gets merged. It removes the
`:author_id` references from `MeetingAgenda` and `MeetingMinutes`. They
are old tables that are no longer in use since 16.0.
2025-12-04 14:33:18 +01:00
Oliver Günther d55c55e1ec Remove 'special' fragment from semantic versioning
Removed the 'special' fragment from OpenProject's semantic versioning, which was not in use. This change is ignorable unless relied upon in plugins.
2025-12-04 14:19:19 +01:00
Ivan Kuchin 14a62b0033 Merge pull request #21321 from opf/fix-portfolio-management-upsell-banner-description
fix portfolio management upsell banner description
2025-12-04 13:04:19 +01:00
Henriette Darge afded5d7c7 Small improvements on meeting presentation mode 2025-12-04 13:01:41 +01:00
ulferts ecfd47de4a Merge branch 'release/16.6' into release/17.0 2025-12-04 12:26:47 +01:00
Jens Ulferts d07343dece Merge pull request #21286 from opf/bug/68921-shared-wp-inaccessible-to-non-project-members
[68921] Shared WP inaccessible to non-project members (Error 404)
2025-12-04 12:14:16 +01:00
Christophe Bliard d2ba93aa77 Make 2+ shared work packages accessible to non-project members
https://community.openproject.org/wp/68921

The condition was excluding work packages from a project if there was
more than one work package shared within the same project, and the user
was not a member of the project.

Reworked the query into a simpler sql applying union to get set of
member or entity permitted ids.

Co-authored-by: Jens Ulferts <jens.ulferts@googlemail.com>
2025-12-04 11:37:07 +01:00
Andrej 9a24e0fa6f Merge pull request #21336 from opf/implementation/69426-use-a-fixed-pattern-for-the-pir-pdf-filename
[#69426] Use a fixed pattern for the PIR PDF filename
2025-12-04 11:34:40 +01:00
as-op 14993e967d [#69426] Use a fixed pattern for the PIR PDF filename
https://community.openproject.org/work_packages/69426
2025-12-04 11:25:29 +01:00
Henriette Darge 430bb9c872 Merge pull request #21302 from opf/bug/69481-export-on-wiki-is-not-working
[69481] Export on wiki is not working
2025-12-04 09:36:55 +01:00
Henriette Darge c3e03270f7 Merge pull request #21324 from opf/bug/69503-application-title-input-field-is-unnecessary-long
[69503] Application title input field is unnecessary long
2025-12-04 09:33:26 +01:00
Henriette Darge d8c67d18e8 Merge pull request #21307 from opf/bug/69449-date-field-is-unnecessary-long-on-my-account-page
[69449] Date field is unnecessary long on My account page
2025-12-04 09:33:04 +01:00
OpenProject Actions CI 7a0724e40f update locales from crowdin [ci skip] 2025-12-04 03:33:12 +00:00
ulferts 665823c6be require copy_projects permission in template 2025-12-03 15:30:09 +01:00
ulferts cca3d58278 update call to render form in spec 2025-12-03 15:30:08 +01:00
Henriette Darge d391ba5068 Reduce width of application title input 2025-12-03 15:16:24 +01:00
Henriette Darge 7886af77ea Merge pull request #21306 from opf/bug/69589-blankslate-button-of-subitems-widget-should-be-renamed-1
[69589] Blankslate button of subitems widget should be renamed
2025-12-03 15:14:42 +01:00
Kabiru Mwenja 9fe0708346 bug/69542 Document connection recovery/reconnect banners flood the page (#21294)
https://community.openproject.org/work_packages/69542
2025-12-03 16:33:16 +03:00
Kabiru Mwenja 6cbb107da1 Extract blocknote localisation to reusable useBlockNoteLocale hook (#21293) 2025-12-03 16:31:44 +03:00
Judith Roth d3e8873898 Merge pull request #21316 from opf/bug/69067-it-should-not-be-possible-to-type-in-our-custom-blocknote-blocks
[#69067] It should not be possible to type in our custom BlockNote blocks
2025-12-03 14:25:21 +01:00
Henriette Darge 680ca47fa6 Replace export dialog selection by simple sub menu entries 2025-12-03 14:10:57 +01:00
Ivan Kuchin 3e2651da92 fix portfolio management upsell banner description 2025-12-03 12:50:09 +01:00
Behrokh Satarnejad cc67571054 [68734] Low color contrast on Buy now button on enterprise banners (#21239)
* Use a better color for background of upsale button

* Use same color for enterprise elements

* Use a color for the text which has good contrast in dark mode

* set correct border color
2025-12-03 12:28:10 +01:00
Henriette Darge d936f98232 Merge pull request #21277 from opf/bug/69111-mobile-web-create-wp-button-does-not-launch-wp-create-form
[69111] Mobile web - Create WP button does not launch WP create form
2025-12-03 12:25:58 +01:00
Christophe Bliard 0650edc292 Merge pull request #21298 from opf/chore/avoid_deprecation_warnings_in_v3_api_for_16_6
Avoid deprecation warnings for time and cost entries representers
2025-12-03 10:58:35 +01:00
Judith Roth 556b12c02d [#69067] It should not be possible to type in our custom BlockNote blocks
https://community.openproject.org/work_packages/69067
https://github.com/opf/op-blocknote-extensions/pull/69
2025-12-03 10:22:50 +01:00
Henriette Darge bd73bddd1f Merge pull request #21308 from opf/housekeeping/bump-primer-0-78-1
Bump primer to 0.78.1
2025-12-03 10:07:33 +01:00
Henriette Darge 9d360b6007 Take care that on mobile the user is redirected to the full WP Create page instead of split. That was previously solved with the mobileGuard in the agular router which does not work any more since the WP full view is rendered via rails 2025-12-03 08:40:20 +01:00
Henriette Darge a677f5157c Rename button text 2025-12-03 08:39:43 +01:00
Henriette Darge 4382fff408 Make date fields smaller per default 2025-12-03 08:39:33 +01:00
Henriette Darge 5a5a2c055f Bump primer to 0.78.1 2025-12-03 08:39:20 +01:00
OpenProject Actions CI b720010710 update locales from crowdin [ci skip] 2025-12-03 03:32:42 +00:00
Andrej Sandorf 239604d18e Merge pull request #21303 from opf/bug/69119-the-url-for-the-background-job-dialog-is-not-generated-correctly
[#69119] The URL for exporting is not generated correctly.
2025-12-02 16:53:12 +01:00
Andrej Sandorf 352f4ad473 Merge branch 'release/17.0' into bug/69119-the-url-for-the-background-job-dialog-is-not-generated-correctly 2025-12-02 16:36:43 +01:00