Commit Graph

29481 Commits

Author SHA1 Message Date
Eric Schubert 887ded5714 [#71358] fixed version read model usage
- improved description of API spec
2026-02-12 13:13:11 +01:00
Eric Schubert db6aaaa984 [#71358] add search version tool
- https://community.openproject.org/work_packages/71358
- add tool
- add specs for the tool
- slightly improve version model for the api
2026-02-11 16:34:04 +01:00
Jens Ulferts e40ec6fbe2 Merge pull request #21949 from opf/bug/71859-wp-comment-is-missing-text-if-project-initiation-request-has-default-setting
[#71859] WP comment is missing text if project initiation request has default settings
2026-02-11 13:27:51 +01:00
Jan Sandbrink 16fb55fedf Merge pull request #21939 from opf/mcp-portfolios
Add separate tools to search portfolios and programs
2026-02-11 11:23:49 +01:00
Jan Sandbrink 780d880eb1 Merge pull request #21904 from opf/project-api-schema
Only return projects from search_projects MCP tool
2026-02-11 11:18:33 +01:00
Oliver Günther b352a1210d Fall back to default attachment store 2026-02-11 10:13:34 +01:00
Dombi Attila 5d15a48ef4 [#71859] WP comment is missing text if project initiation request has default setting
https://community.openproject.org/work_packages/71859

Set default value for creation wizard work package comment.
2026-02-11 10:53:25 +02:00
Dombi Attila bc64a491e0 Merge pull request #21933 from opf/bug/71379-project-initiation-request-cannot-be-finished-with-default-setting
[#71379] Project initiation request cannot be finished with default setting
2026-02-10 17:58:22 +02:00
Dombi Attila 8ff1ecd550 Update error messages. 2026-02-10 17:37:42 +02:00
Oliver Günther 80e6aa4657 Do not update the attachment on initial journals
https://community.openproject.org/work_packages/71403
2026-02-10 14:39:23 +01:00
Dombi Attila c8665b74d4 Make the assignee and comment fields optional in the project creation wizard. 2026-02-10 14:08:18 +02:00
Dombi Attila 096904006a Prevent wizard activation when type or status is missing. 2026-02-10 13:46:12 +02:00
as-op e4b7932212 [#69515] Fine-tuning of margins in pdf exports
https://community.openproject.org/work_packages/69515
2026-02-10 12:21:52 +01:00
Behrokh Satarnejad 3d68c1b496 [69352] CKeditor style buttons open underneath wizard left pane (#21929)
Fix CKEditor grouped dropdown overflowing editor width
2026-02-10 10:19:25 +01:00
Jan Sandbrink 1279c0dc2c Add separate tools to search portfolios and programs
We separated projects from portfolios and programs conceptually.
While older APIs can return mixed results for backwards-compatibility
purposes, the MCP API already purely returns projects from the search_projects
tool, thus we need additional tools for results of other types.
2026-02-10 10:16:54 +01:00
Jan Sandbrink 40b4dc407e Limit search_projects to actual Projects
This means we are excluding Portfolios and Programs from it.
Those will need their own tools.
2026-02-10 10:05:58 +01:00
Dombi Attila cbe4a5930d [#71379] Project initiation request cannot be finished with default setting
https://community.openproject.org/work_packages/71379
2026-02-09 18:52:41 +02:00
Jan Sandbrink f80d55fb9c Merge pull request #21899 from opf/mcp-users
MCP: Add tools and resources around users
2026-02-09 15:59:47 +01:00
Oliver Günther 71ee7d77dd Exclude mail_from from validation if not set
https://community.openproject.org/work_packages/70906
2026-02-09 15:23:03 +01:00
Oliver Günther 57b69c26f5 Allow groups to be assigned to PIRs 2026-02-09 14:37:23 +01:00
Jan Sandbrink 953ab1a6a8 Fix API::Errors::InternalError class
This class got broken during what seems to be a
drive-by style-improvement in fbe1215365. That change:

* made it incompatible with frozen strings as error messages
* broke the intended hiding of messages if they came from the
  wrong class

All of this went by unnoticed, because there were no specs
for the InternalError class.

Specs have now been added and the previous version of the code
mostly restored. Since there were some callers that always created the
exception with known safe error messages, I added a new class just for these
cases, because they were intended to "just show the message". So we can
keep using the original implementation for rescue_from handling.
2026-02-09 11:04:57 +01:00
ulferts d443479d20 increase robustness of wizard pages in case of disabled fields only page 2026-02-06 16:51:04 +01:00
Behrokh Satarnejad 1948ab4e55 [70458] Project status button is missing colors in the dropdown (#21892)
* Set color for icons in status button of projects and meetings

* Apply suggestion from @HDinger

Co-authored-by: Henriette Darge <h.darge@openproject.com>

---------

Co-authored-by: Henriette Darge <h.darge@openproject.com>
2026-02-06 14:52:20 +01:00
Tobias Dillmann 1aa3f73f36 Merge pull request #21632 from opf/bug/70315-user-is-not-informed-of-pir-project-attributes-misconfiguration-which-leads-to-a-500-error
Bug/70315 user is not informed of pir project attributes misconfiguration which leads to a 500 error
2026-02-06 11:32:10 +01:00
Jan Sandbrink 9d362cc032 Add tools and resources around users
Allowing to search for users, e.g. to allow queries like
"find work packages assigned to Maria".
Allowing to find the current user, to enable classic use cases
like "find work packages assigned to me".
2026-02-06 11:14:22 +01:00
Eric Schubert 4497351879 [#71101] change pagination usage methods
- have only a switch on, and a read method
2026-02-06 10:07:43 +01:00
Eric Schubert 1eeb575c92 [#71101] add pagination enabled flag
- move page param check to the tool implementation
2026-02-06 10:00:04 +01:00
Eric Schubert be855f85c9 [#71101] move pagination logic to tools base class
- https://community.openproject.org/work_packages/71101
- set default page to 1
- add method in base class to be called in tool's `call` method
2026-02-06 09:59:54 +01:00
Tobias Dillmann 050572066f [#70315] Merge release/17.1 2026-02-06 09:43:00 +01:00
Henriette Darge f0c28e776b Merge pull request #21884 from opf/bug/69491-scroll-bar-overlaps-input-fields-on-pir
[69491] Scroll bar overlaps input fields on PIR
2026-02-06 08:45:22 +01:00
Oliver Günther e71e643e55 Add -break-word to warning url 2026-02-05 21:06:39 +01:00
Jan Sandbrink c1ffc6b740 Merge pull request #21861 from opf/list-resource-tools
MCP: Tools for list resources
2026-02-05 17:10:55 +01:00
Oliver Günther 1b3d104516 Merge pull request #21872 from opf/fix/hashed-token-pepper
Use a settings-based hashed token pepper that is not bound to secret_key_base
2026-02-05 15:04:32 +01:00
Oliver Günther 5b82f6a6ff Set full-width and different warning for mobile full page prompt
https://community.openproject.org/work_packages/71103
2026-02-05 13:31:55 +01:00
Jens Ulferts 2ff2895f6f Merge pull request #21882 from opf/task/69285-17-1-release-teaser-image
17.1 Teaser icon
2026-02-05 09:37:23 +01:00
Oliver Günther 9ac8ec7ad1 Add persist_on_first_read: true option to settings to lazy-save default 2026-02-05 09:33:41 +01:00
Jan Sandbrink 0e7a19b54c Add tools that return the content of certain resources
They are useful for clients that don't support resources,
or ignore them, even if they could support them.
2026-02-05 08:44:30 +01:00
Jan Sandbrink abe1cffd75 Merge pull request #21867 from opf/mcp-project-pluralization
MCP: Pluralize name of search_project tool
2026-02-05 08:43:26 +01:00
Henriette Darge bf064c8209 Add padding instead of gap to avoid that the scrollbar overlaps the actual content 2026-02-05 08:38:19 +01:00
corinnaguenther c6d09f7cf1 17.1 Teaser icon
[#69285] Create 17.1 release teaser

https://community.openproject.org/work_packages/69285
2026-02-05 07:57:10 +01:00
Dombi Attila 867ab8b5da Merge pull request #21843 from opf/bug/71093-form_configuration-status-422-unable-to-change-custom-fields-in-work-packages-without-enterprise-plan
[#71093] "form_configuration-status=422" Unable to Change Custom fields in Work Packages without Enterprise Plan
2026-02-04 17:20:28 +02:00
Henriette Darge 0af401994a Merge pull request #21870 from opf/bug/58458-loading-spinner-is-unreadable-on-timeand-costs-module-when-in-dark-mode
[58458] Replace ajax loading indicator with Primer component
2026-02-04 15:38:44 +01:00
Oliver Günther b718dc0430 Get rid of find_by_plaintext_value! 2026-02-04 15:16:09 +01:00
Oliver Günther 492c900bae Use stable hashed token pepper, fallback to key base 2026-02-04 15:16:09 +01:00
Eric Schubert 05a7843fd9 Merge branch 'release/17.1' into mcp-project-pluralization 2026-02-04 13:52:02 +01:00
Eric Schubert dd1ed25c48 Merge pull request #21860 from opf/implementation/71101-paginate-search-project-results
[#71101] add simple pagination to search projects
2026-02-04 13:24:12 +01:00
Henriette Darge 0029a0fac0 Replace old ajax loading indicator with Primer spinner 2026-02-04 11:13:53 +01:00
Jan Sandbrink beec674117 Pluralize name of search_project tool
This tool returns multiple results, so it should
consistently be called search_projects.
2026-02-04 09:23:26 +01:00
Jan Sandbrink c1ed698528 Merge pull request #21847 from opf/mcp-work-packages-tool
MCP: search_work_packages tool
2026-02-04 08:48:44 +01:00
Jan Sandbrink 5ab26e3b41 Add search_work_packages MCP tool 2026-02-03 16:06:33 +01:00