Commit Graph

108213 Commits

Author SHA1 Message Date
ulferts 955318d957 use cached schema if it exists for the field 2026-06-11 09:03:20 +02:00
ulferts 0bdedded2c stabilizing loading the resource form
There can be race conditions when the resource update is failing after a
type swtich and the form for the updated type needs to be fetched.
Sometimes, the old form is used (from the former type) which does not
have information on a custom field property.

In this case, a fallback is added to force fetching the form.

This solution is not ideal as an additional request is sent to the
server. Ideally, the changes to the table should only be rendered after
the schema (as part of the form) is present.
2026-06-10 13:28:29 +02:00
ulferts 0f9cb250dd again try to stabilize flickering my page work package table spec 2026-06-09 17:58:25 +02:00
Jens Ulferts 3497816850 Merge pull request #23624 from opf/code-maintenance/68063-journals-predecessor-cte
Code Maintenance/STC-462: Resolve only-changes predecessor once via a journals CTE
2026-06-09 15:56:57 +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 4f59344fdb fix lockfileVersion 2026-06-09 09:40:46 +02:00
dependabot[bot] de3f31f3df Bump the typescript-eslint group in /frontend with 2 updates (#23621)
Bumps the typescript-eslint group in /frontend with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser).


Updates `@typescript-eslint/eslint-plugin` from 8.59.4 to 8.60.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.60.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.59.4 to 8.60.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.60.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.60.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: typescript-eslint
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.60.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: typescript-eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 08:35:17 +01:00
ulferts db815d0d22 Merge remote-tracking branch 'origin/dev' into merge-release/17.5-20260609045502 2026-06-09 09:32:19 +02:00
Kabiru Mwenja f94d7b0bfc Resolve the changes-filter predecessor once in a journals CTE
The :only_changes filter re-seeked each journal's predecessor in every EXISTS
branch (~7 LATERAL lookups per row). A CTE now shadows the journals table,
exposing predecessor_id/predecessor_data_id once per row, and each branch reads
those columns instead. On a 703-journal work package this cuts the COUNT from
~1.13M to ~35K shared buffers.
2026-06-09 10:25:21 +03: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
Klaus Zanders b25543b490 Merge pull request #23622 from opf/dependabot/bundler/dev/retriable-3.5.1
Bump retriable from 3.5.0 to 3.5.1
2026-06-09 08:57:48 +02:00
Kabiru Mwenja 96d5b5805f Merge pull request #23587 from opf/code-maintenance/68063-lateral-predecessor-changes-filter
Code Maintenance/STC-462: Fix slow "only changes" activity filter on work packages with long histories
2026-06-09 09:53:32 +03:00
Mir Bhatia 6f207589ef Update label to change colours and include counter conditionally 2026-06-09 08:53:15 +02:00
Mir Bhatia 7957079830 Add clear button and turbo navigate instead of full page reload 2026-06-09 08:53:14 +02:00
Mir Bhatia eaf8eb0c17 Add single select version 2026-06-09 08:53:12 +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 81304f093d Update docs 2026-06-09 08:51:19 +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
Mir Bhatia e0d7aff43a Add QuickFilter::SelectPanelComponent 2026-06-09 08:45:13 +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
Dombi Attila 9cd2b2a262 Merge pull request #23545 from opf/reviewdog-failures
fix and cleanup linter actions
2026-06-09 09:17:49 +03: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
dependabot[bot] 8998fa0606 Bump retriable from 3.5.0 to 3.5.1
Bumps [retriable](https://github.com/kamui/retriable) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/kamui/retriable/releases)
- [Changelog](https://github.com/kamui/retriable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kamui/retriable/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: retriable
  dependency-version: 3.5.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-09 05:41:32 +00:00
Kabiru Mwenja 32a8bc43cc Surface the predecessor lateral alias at each call site
The LATERAL subquery is aliased `predecessor` where it is joined rather
than inside the helper, so the relation each EXISTS clause references is
visible without reading the helper.
2026-06-09 08:36:32 +03: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 dc1d965423 Merge pull request #23363 from opf/jr/improve-docker-tls-setup-documentation
Set host setting for docker tls setup to avoid broken links with port
2026-06-08 17:43:41 +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 551b1850bf [STC-779] Update op-blocknote-extensions to fixed version
https://community.openproject.org/wp/STC-779
2026-06-08 16:26:19 +02:00