Commit Graph

15483 Commits

Author SHA1 Message Date
ulferts 0f9cb250dd again try to stabilize flickering my page work package table spec 2026-06-09 17:58:25 +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 16707c0224 update locales from crowdin [ci skip] 2026-06-09 12:39:31 +00:00
Jan Sandbrink 1feba4d963 Move CanonicalPageInfo query into internal namespace
Making it more clear that this is a query for internal usage
2026-06-09 13:15:28 +02:00
Jens Ulferts ceb7771000 Merge pull request #23495 from opf/fix/improve_speed_of_backlog_filtering
Fix/improve speed of backlog filtering
2026-06-09 12:03:57 +02:00
Jan Sandbrink e6d02ca89d Merge pull request #23528 from opf/configure-internal-wiki
Add UI for internal wiki provider
2026-06-09 11:22:53 +02:00
Eric Schubert e8fea8cc8a Merge pull request #23581 from opf/implementation/73352-add-create-wiki-page-dialog
[#73352] added create wiki page dialog
2026-06-09 11:21:37 +02:00
Jens Ulferts 319633fd99 Merge pull request #23619 from opf/merge-release/17.5-20260609045502
Merge release/17.5 into dev
2026-06-09 10:07:07 +02:00
Marcello Rocha dd0b94692c Implements GET /wiki_page_links (#23597)
* Create tests for the endpoint

* Filter by PageLink#type

* Implements the endpoint
2026-06-09 10:03:42 +02:00
ulferts db815d0d22 Merge remote-tracking branch 'origin/dev' into merge-release/17.5-20260609045502 2026-06-09 09:32:19 +02:00
Oliver Günther 92a0c03c42 Fix fetching of SAML metadata for large aggregate endpoints (#23531)
* Fix fetching of SAML metadata for large aggregate endpoints

https://community.openproject.org/work_packages/OP-19420

* Use XML pull parser to avoid text parsing
2026-06-09 09:13:52 +02:00
Oliver Günther adfe334449 Merge pull request #23605 from opf/feat/flat-meeting-objects
Flat meeting API objects
2026-06-09 09:06:44 +02:00
Mir Bhatia 6f0e53f406 Please rubocop 2026-06-09 09:05:28 +02:00
Mir Bhatia 141f4b1669 Improve async version 2026-06-09 08:53:11 +02:00
Mir Bhatia 1d8329c220 Try async fetch 2026-06-09 08:53:08 +02:00
Jan Sandbrink f466dd3832 Reduce maximum result size of XWiki search_pages
This is only done to improve worst-case latency, because
we perform one additional request per result.

Local testing showed a latency above 1000ms for 50 results
and ~500ms for 20 results. I'd expect real world scenarios to
be slightly worse, because of higher network latency.
2026-06-09 08:51:51 +02:00
Jan Sandbrink 1599bde011 Return a proper failure if unexpected JSON is encountered
Instead of raising an error, we use throw-catch based control flow
to return the same failure that would be returned if the response
had not been JSON at all.
2026-06-09 08:51:50 +02:00
Jan Sandbrink 1ba2bf95ce Use stable identifiers to fetch XWiki pages
We now have two ways to fetch page infos from XWiki:

* using the canonical identifier (but through a new endpoint that will resolve stable identifiers as well)
* using the stable identifier

Since we want to store the stable identifier, the stable version is the one exposed through the XWiki registry.
The canonical form is required to fully resolve some list queries from XWiki properly.
2026-06-09 08:51:27 +02:00
Mir Bhatia cc3c3fbdf6 Add component specs 2026-06-09 08:51:19 +02:00
Mir Bhatia 7a508e1b1e Add project quick filter to global meetings index page 2026-06-09 08:51:18 +02:00
Mir Bhatia addc37c0ff Rename QuickFilter::SegmentedControlComponent 2026-06-09 08:51:17 +02:00
Jan Sandbrink 7f650bf1c4 Rename PageReference to CanonicalPageReference
This represents XWikis default way of representing page references, but
those are susceptible to become invalid after a page or space gets renamed.

We'll also support other page references, so it's important to distinguish that
multiple reference types exist.
2026-06-09 08:41:44 +02:00
Jan Sandbrink 96e1f09858 Adapt breadcrumbs in wiki providers views
Making them consistent with the internal wiki view.
Essentially we have a two-level navigation on the left
and that needs to be reflected in the breadscrumbs everywhere.
2026-06-09 08:15:15 +02:00
Jan Sandbrink 6aed4d207a Add UI for managing internal wiki provider 2026-06-09 08:11:24 +02:00
OpenProject Actions CI 857d445c29 update locales from crowdin [ci skip] 2026-06-09 04:36:23 +00:00
Wieland Lindenthal 9763ebfeed Fix vertical content jumps in BlockNote editor (#23609)
Fix vertical content jumps in the BlockNote editor on selection

BlockNote 0.51 puts the className we pass to <BlockNoteView>
(`block-note-editor-container`) onto BOTH the outer `.bn-container`
wrapper AND an inner wrapper that does NOT carry `.bn-container`. With
the previous selector matching by class name alone, every rule cascaded
onto both nesting levels — most importantly `display: flex`,
`flex-direction: column-reverse` and `gap: 10px`.

Two flex layouts stacked one inside the other meant that whenever the
side menu / drag handle plugin views re-rendered (which happens every
time the selection moves or the mouse leaves the editor), both layout
calcs ran and the inner wrapper's gap shifted the visible content by a
few pixels.

Tightening the selector to `.block-note-editor-container.bn-container`
restricts the rules to the outer wrapper only; the inner wrapper falls
back to defaults (`display: block`, no gap) and stops contributing to
the layout.

Refs https://community.openproject.org/wp/STC-779

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-09 06:36:17 +02:00
OpenProject Actions CI 2e96f3379d update locales from crowdin [ci skip] 2026-06-09 04:31:52 +00:00
Tom Hykel 422849b372 Merge pull request #23566 from opf/bug/stc-805-numeric-id-showing-in-github-tab-on-work-packages-without-links-to-prs
[STC-805] Use semantic IDs in github/gitlab suggestions
2026-06-08 21:42:23 +02:00
Judith Roth 4e01466d2f Merge pull request #23610 from opf/jr/bug/blocknote-undo-wiped-on-17.5-with-bne-0.1.0
[STC-779] Fix Ctrl+Z (Undo) Does Not Work in the Document Editor
2026-06-08 17:23:21 +02:00
Eric Schubert 892fc6a4d0 [#73352] consolidate controller actions
- reorder yaml file to satisfy reviewdog?
2026-06-08 16:40:41 +02:00
Oliver Günther c25e8a15ea Test all paths with varying project memberships 2026-06-08 16:35:11 +02:00
Judith Roth 595872727c [STC-779] Add tests for CTRL-Z in documents
https://community.openproject.org/wp/STC-779
2026-06-08 16:26:19 +02:00
Mir Bhatia 24265c1fa0 Merge pull request #23596 from opf/bug/meet-556-patch-api-v3-meetings-id-participants-cannot-be-removed-via-_links-participants
[MEET-556] PATCH /api/v3/meetings/{id} - participants cannot be removed via _links.participants
2026-06-08 13:49:03 +02:00
Oliver Günther 164e31c1d5 Add flat paths for meeting API 2026-06-08 13:16:22 +02:00
ulferts 5bc54dd1ec fix flickering work package table on my page spec
rspec ./modules/my_page/spec/features/my/work_package_table_spec.rb:81

The spec actually tested a differnt widget
2026-06-08 13:09:08 +02:00
Mir Bhatia 0f70b6c91e Merge pull request #23305 from opf/bug/74304-user-cannot-restore-a-cancelled-occurrence-if-series-has-a-deleted-wp-on-the-agenda
[#74304] User cannot restore a cancelled occurrence if series has a deleted WP on the agenda
2026-06-08 12:34:40 +02:00
Jan Sandbrink 857d51aee7 Merge pull request #23555 from opf/precise-ssrf-error
Be more precise about SSRF errors
2026-06-08 11:04:41 +02:00
Alexander Brandon Coles d49e116b10 Merge pull request #23561 from opf/code-maintenance/OP-19461-inject-field
[OP-19461, DREAM-544] Migrate `@InjectField` usages to inject(), fix more console warnings
2026-06-08 10:02:58 +01:00
Alexander Brandon Coles ccdeee4550 Merge pull request #23589 from opf/bug/DREAM-707-tracking-expressions-not-stable
[DREAM-707] Stabilize Angular track keys
2026-06-08 08:52:07 +01:00
Mir Bhatia e684d98324 Merge pull request #23584 from opf/bug/meet-554-get-api-v3-meetings-id-_links-participants-count-does-not-match-_embedded-participants-count
[MEET-554, -555] Meetings API fixes
2026-06-08 09:46:51 +02:00
Jan Sandbrink 40301c3463 Make SSRF error message more specific
Feedback from devs that were confronted with the "is not an allowed host"
message shows, that the message is not very actionable. It's not clear why something
that is clearly a legitimate and existing host would be considered "not allowed".

The new error message clearly points at the SSRF policy as the source. Making the
problem more search engine friendly and hopefully allowing admins to better understand
what they have to fix.
2026-06-08 09:34:34 +02:00
Alexander Brandon Coles 860393d5dd Merge branch 'dev' into code-maintenance/OP-19461-inject-field 2026-06-08 08:27:38 +01:00
Alexander Brandon Coles e419c22c95 [DREAM-707] Stabilize Angular track keys
Use stable scalar keys for Angular `@for` loops with rebuilt object
values across breadcrumbs and related list templates to avoid DOM
recreation warnings.

https://community.openproject.org/wp/DREAM-707
2026-06-08 08:17:19 +01:00
Mir Bhatia 56a9345962 Update SetAttributesService to allow replacing participants list 2026-06-08 09:10:24 +02:00
Mir Bhatia 78219f6ad5 Fix specs 2026-06-08 08:36:14 +02:00
Jan Sandbrink 42ee5fc134 Allow to disable SSRF filter selectively in specs
Otherwise they would interfere with running specs when
recording VCR cassettes.
2026-06-08 08:15:39 +02:00
Oliver Günther d965a0c5b0 Call meeting.destroy!, not delete to also delete content
https://community.openproject.org/work_packages/MEET-551
2026-06-08 07:25:01 +02:00
OpenProject Actions CI 79d810d2e7 Merge branch 'release/17.5' into dev 2026-06-06 04:49:26 +00:00
ulferts 3aac600592 Merge remote-tracking branch 'origin/dev' into fix/improve_speed_of_backlog_filtering 2026-06-05 17:36:16 +02:00