236 Commits

Author SHA1 Message Date
OpenProject Actions CI feea0e8d1b update locales from crowdin [ci skip] 2026-06-13 04:39:28 +00:00
Eric Schubert 107844028a Merge pull request #23533 from opf/chore/forms-dsl-input-for-filterable-tree-view
[chore] add forms dsl input for filterable tree views
2026-06-12 10:35:17 +02:00
OpenProject Actions CI 4d59009e7c update locales from crowdin [ci skip] 2026-06-12 04:33:41 +00:00
Alexander Brandon Coles 3af3255e24 [chore] add spec for LinkExistingWikiPageForm
Covers the hidden link attributes and the wiki page selection tree.
2026-06-11 14:38:02 +01:00
Alexander Brandon Coles a3507d8883 [chore] render filterable tree view in fieldset
Fieldset-style inputs never go through the `FormControl` wrapper, so the
legend needs the `FormControl-label` class applied by the component. The
input does not support validation for the time being.

Wrapper arguments stay on the fieldset, while the component-specific and
form arguments flow to the inner tree view.
2026-06-11 14:31:33 +01:00
Eric Schubert 2c574f623e [chore] add forms dsl input for filterable tree views 2026-06-11 14:29:52 +01:00
OpenProject Actions CI bd78382cab update locales from crowdin [ci skip] 2026-06-11 04:34:09 +00:00
Yauheni Suhakou beb0bd2cab Implement referencing pages query (#23544) 2026-06-10 16:11:15 +02: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 86f9f2975f update locales from crowdin [ci skip] 2026-06-09 16:08:35 +00: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
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
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
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
Eric Schubert 892fc6a4d0 [#73352] consolidate controller actions
- reorder yaml file to satisfy reviewdog?
2026-06-08 16:40:41 +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
Eric Schubert 7c3cd3953a [#73352] use form model as dialog component model
- initialize the form models in the controller
2026-06-05 15:37:38 +02:00
Eric Schubert 55e43c4357 [#73352] reordered yml file 2026-06-05 15:14:24 +02:00
Eric Schubert 524d0ee347 [#73352] change title accessor to page title 2026-06-05 15:04:51 +02:00
Eric Schubert f1c6776255 [#73352] added create wiki page dialog
- https://community.openproject.org/work_packages/73352
- add new create wiki page dialog and form
- add concept of two step dialog
- consolidated search and create wiki pages into a single controller
2026-06-05 14:06:13 +02:00
OpenProject Actions CI 847fc5d28f update locales from crowdin [ci skip] 2026-06-05 04:35:14 +00:00
OpenProject Actions CI 435af7f14f update locales from crowdin [ci skip] 2026-06-05 04:32:47 +00:00
Jan Sandbrink 7475a609c1 Merge pull request #23538 from opf/wiki-link-delete-contract
Delete relation page links through service
2026-06-04 14:21:19 +02:00
Marcello Rocha 81e5726838 [OP#73293] Creates POST /api/v3/wiki_page_links endpoint (#23529)
* Remove the `render_author` method as it is unnecessary
* Add the necessary paths, clarify the param to wiki_provider path
* Rework the representers, merge upstream changes to the create contract
* Remove unnecessary mixin and make everything read-only
* Create Endpoint for POST /api/v3/wiki_page_links
* Incorporates @Kharonus feedback in testing multiple page link creation
2026-06-04 10:06:13 +02:00
OpenProject Actions CI f9336b69c1 update locales from crowdin [ci skip] 2026-06-04 04:41:43 +00:00
OpenProject Actions CI a0b7b96ea4 update locales from crowdin [ci skip] 2026-06-04 04:37:15 +00:00
Yauheni Suhakou c23da82186 [75226] Auth UI for XWiki update (#23462)
* Update the generated credentials for XWiki to alphanumeric
* Update translations
* Change labels from 'pending' to 'incomplete'
2026-06-03 16:20:15 +02:00
Jan Sandbrink 37537eee2d Merge pull request #23465 from opf/xwiki-search
Implement real search_pages for XWiki
2026-06-03 16:09:29 +02:00
Jan Sandbrink 31e4b7516d Implement real search_pages for XWiki
Fetching actual results from the connected XWiki
instance instead of faking it.
2026-06-03 15:39:26 +02:00
Jan Sandbrink 3433f8656f Delete relation page links through service
Allows to enforce delete permissions through contract.
2026-06-03 14:24:25 +02:00
Eric Schubert e9157b89f0 [#73350] Replaced custom tree rendering with async tree view
- use new filterable tree view component with server side filtering
- remove unused classes and methods
- add document icon for page results
- add comment to disabled authorization
- moved filterable tree to the form class
2026-06-03 12:21:17 +02:00
Eric Schubert ce55acc928 [#73350] Add stimulus controller to search pages
- https://community.openproject.org/work_packages/73350
- render search results in a tree view
2026-06-03 12:21:00 +02:00
Jan Sandbrink 6618d5064b Seed internal wiki provider
Every OpenProject instance is supposed to have one internal wiki provider.
2026-06-03 08:46:41 +02:00
OpenProject Actions CI 367d536a5e update locales from crowdin [ci skip] 2026-06-03 04:41:47 +00:00
OpenProject Actions CI c28ee43cfe update locales from crowdin [ci skip] 2026-06-03 04:37:13 +00:00
Jan Sandbrink 4f157b7c41 Shorten inspect representation of providers
This is intended to make outputs that contain providers
a bit more readable.
2026-06-02 09:29:12 +02:00
Jan Sandbrink 1f1ff548df Extract shared concern for XWiki queries
It provides common helpers that most XWiki queries
will find useful:

* authenticating & setting up HTTPX
* building REST URLs
* handling responses
2026-06-01 08:48:44 +02:00
OpenProject Actions CI b127bace86 update locales from crowdin [ci skip] 2026-05-30 04:28:26 +00:00
Jan Sandbrink f77164b3a0 Merge pull request #23393 from opf/wiki-page-search
Search pages query (for internal wiki)
2026-05-29 14:39:00 +02:00