Commit Graph

15559 Commits

Author SHA1 Message Date
Jan Sandbrink 06c462112e Create page command and service
Wiring up actual page creation to the dialog that has been prepared
beforehand.

The commands are merely responsible for creating pages in the corresponding
wiki provider. The new CreateLinkedPageService takes care of combining
the two steps needed by the UI:

1. Creating the page
2. Linking it
2026-06-12 14:49:05 +02:00
Jan Sandbrink 1c736fb887 Reorganize shared XWiki code
* extract common helper for parsing page info responses
* put helpers for request and response handling above the Queries namespace,
  because we want to use it for commands and queries alike
2026-06-11 13:08:47 +02:00
Jan Sandbrink 46d593d692 Fix canonical page info request headers
They were indicating a Content-Type of application/json, but
didn't send any content that would be encoded like that. This
was still a remnant from when the request was a PUT.
2026-06-11 08:02:24 +02:00
OpenProject Actions CI bd78382cab update locales from crowdin [ci skip] 2026-06-11 04:34:09 +00:00
Tobias Dillmann 61c5224cbd [#73887] mocked_permission_helper mirrors UserPermissibleService for empty project
It should not grant all permissions if the project argument is `nil`.
2026-06-10 19:47:12 +02:00
Tobias Dillmann 258d17ceb4 [#73887] Add missing test cases for buckets and sprints 2026-06-10 19:47:12 +02:00
Tobias Dillmann 4e616f88dc [#73887] Reorder wp schema representer spec 2026-06-10 19:47:12 +02:00
Tobias Dillmann ffb4aa8d69 [#73887] Revert "[#73887] mv BacklogBucketQuery -> Query, SprintQuery -> Query"
This reverts commit 9c93ea8450.
2026-06-10 19:47:12 +02:00
Tobias Dillmann 84761d9931 [#73887] Align Sprint and Bucket representation path 2026-06-10 19:47:12 +02:00
Tobias Dillmann 9b7ca3238b [#73887] Remove superfluous project presence checks
allowed_in_project? will return false for nil-projects, so this check is
not needed.
2026-06-10 19:47:12 +02:00
Tobias Dillmann d96781f7b1 [#73887] mv BacklogBucketQuery -> Query, SprintQuery -> Query 2026-06-10 19:47:12 +02:00
Tobias Dillmann 905b21b31f [#73887] Apply Sprint fix from #23523 for Backlog Buckets 2026-06-10 19:47:12 +02:00
Tobias Dillmann c51da0534c [#73887] Backlog bucket WP details spec 2026-06-10 19:47:12 +02:00
Tobias Dillmann 974f5b7272 [#73887] Add backlog buckets to API 2026-06-10 19:47:12 +02:00
Yauheni Suhakou beb0bd2cab Implement referencing pages query (#23544) 2026-06-10 16:11:15 +02:00
Alexander Brandon Coles 8127d71d6a Merge pull request #23588 from opf/code-maintenance/angular-22
[OP-19470] Upgrade Angular to v22
2026-06-10 14:01:14 +01:00
Oliver Günther f389bb1c9b Merge pull request #23629 from opf/fix/meeting-backlog-section
Expose the backlog section visibly through the meetings API, ensuring it appears
2026-06-10 14:06:40 +02:00
Oliver Günther cd5ceba958 Allow embed_links to be parameterized, controlling which elements should be embedded 2026-06-10 13:43:06 +02:00
Klaus Zanders 35a20584b5 Only refresh the banner instead of the entire form 2026-06-10 13:03:56 +02:00
Klaus Zanders caefdd0ab0 When the allocation spans over multiple schedules, also show this in the warning 2026-06-10 12:44:09 +02:00
Klaus Zanders c2b3ec89cc Show availability factor in the overbooking warning 2026-06-10 12:19:10 +02:00
Klaus Zanders eccaf94237 Show warning for scheduling outside of work package hours in the dialog itself 2026-06-10 11:59:37 +02:00
Klaus Zanders 372c295422 Add gray background for the box 2026-06-10 11:59:18 +02:00
Klaus Zanders 4f425b03fb Display the correct working schedule 2026-06-10 11:59:17 +02:00
Klaus Zanders 660806aeeb Show overbooking warning for a user 2026-06-10 11:59:12 +02:00
Klaus Zanders d828f28c85 Resource Allocation calculation 2026-06-10 11:57:02 +02:00
Klaus Zanders 34c262c489 Add more scopes for working time related models 2026-06-10 11:57:00 +02:00
Klaus Zanders bda6278fd6 Merge pull request #23512 from opf/resource-allocation-modals
Resource allocation modals
2026-06-10 11:50:11 +02:00
Oliver Günther d851d25524 Merge remote-tracking branch 'origin/release/17.5' into dev 2026-06-10 11:29:44 +02:00
Oliver Günther efc7a8afb6 Fix IFC direct upload callback failing on non-standard store paths
attachment_id_from_key used a regex anchored to `uploads/` which does
not match store paths on SaaS instances where the store_dir is
overridden with an instance-specific prefix (e.g. instance_qa_bim/...).

https://community.openproject.org/projects/STB/work_packages/STB-80/activity
2026-06-10 11:28:06 +02:00
Klaus Zanders 879d4e8abe Allow to schedule resource allocations on just one day 2026-06-10 09:40:08 +02:00
Alexander Brandon Coles c085eefb06 Merge branch 'dev' into code-maintenance/angular-22 2026-06-10 08:39:31 +01:00
Jan Sandbrink f102eecdc3 Adapt to latest OpenProject plugin for XWiki
This now allows to fetch canonical page infos using GET and should
return a 404 if a page with the given name does not exist.
2026-06-10 08:37:26 +02:00
OpenProject Actions CI e55881e5d9 update locales from crowdin [ci skip] 2026-06-10 04:35:21 +00:00
OpenProject Actions CI 9f7af52eff update locales from crowdin [ci skip] 2026-06-10 04:33:09 +00:00
Oliver Günther 58dfa111ba Fix meeting backlog section exposing API 2026-06-10 06:15:41 +02:00
Ivan Kuchin 7b5403f1be Merge pull request #23515 from opf/pluck-matcher
Pluck matcher
2026-06-09 22:19:42 +02:00
OpenProject Actions CI 63b5e3009d update locales from crowdin [ci skip] 2026-06-09 16:10:53 +00:00
OpenProject Actions CI 86f9f2975f update locales from crowdin [ci skip] 2026-06-09 16:08:35 +00:00
ulferts 0f9cb250dd again try to stabilize flickering my page work package table spec 2026-06-09 17:58:25 +02:00
Klaus Zanders d3b86ed049 Fix specs 2026-06-09 16:48:40 +02:00
Klaus Zanders 2b3ca6fbf3 Only load principals that are members of the project 2026-06-09 16:33:38 +02:00
Klaus Zanders ae42d25894 Add specs denying the create action for an allocation 2026-06-09 16:25:13 +02:00
Klaus Zanders 121fe536d8 Guard the Allocate action behind the allocate_user_resources permission 2026-06-09 16:22:28 +02:00
Klaus Zanders 4020444b64 Get rid of custom CSS for the footer 2026-06-09 16:20:24 +02:00
Mir Bhatia 9f89ecda16 Merge pull request #23166 from opf/implementation/74725-build-select-panel-quickfilter
[#74725] Build select panel quickfilter
2026-06-09 15:38:06 +02:00
Jan Sandbrink fc8eb59663 Merge pull request #23554 from opf/stable-page-reference
XWiki: Stable page reference
2026-06-09 14:48:41 +02:00
OpenProject Actions CI b4ee3567be update locales from crowdin [ci skip] 2026-06-09 12:42:09 +00:00
OpenProject Actions CI 16707c0224 update locales from crowdin [ci skip] 2026-06-09 12:39:31 +00:00
Kabiru Mwenja e92b78d500 [STC-805] Numeric ID showing in Gitlab tab on work packages without links to issues (#23627)
https://community.openproject.org/wp/STC-805
2026-06-09 14:35:46 +03:00