Commit Graph

728 Commits

Author SHA1 Message Date
ulferts 795500cfd4 document sprints in project GET endpoint and additions to work packages 2026-03-31 11:11:23 +02:00
ulferts 0d78818a87 document sprints GET endpoint 2026-03-31 11:11:21 +02:00
ulferts 6f5a842f05 document sprint GET endpoint 2026-03-31 11:11:19 +02:00
Jan Sandbrink db4af81f30 Apply suggestions from code review
Co-authored-by: Maya Berdygylyjova <MayaBerd@users.noreply.github.com>
Co-authored-by: Jan Sandbrink <nobodysnightmare@gmail.com>
2026-03-27 10:51:44 +01:00
Jan Sandbrink 312359cbd9 Update overview of existing APIs
We only used to mention the APIv3 and the BCF API and even then
some parts of the text were clearly written as if only APIv3 existed.

This has been updated to mention the other kinds of APIs currently offered by OpenProject.
2026-03-27 09:50:25 +01:00
Klaus Zanders 2343bcc72a Update docs/api/apiv3/components/schemas/user_non_working_time_collection_model.yml
Co-authored-by: Christophe Bliard <c.bliard@openproject.com>
2026-03-25 10:00:35 +01:00
Klaus Zanders 740db7bb10 Update docs/api/apiv3/paths/user_non_working_times.yml
Co-authored-by: Christophe Bliard <c.bliard@openproject.com>
2026-03-25 10:00:29 +01:00
Klaus Zanders 6635c758ff Fix API docs for user non working times 2026-03-24 12:05:52 +01:00
Klaus Zanders ff015344dc Fix specs 2026-03-11 16:02:20 +01:00
Klaus Zanders 1d9e0b7c91 add api endpoint to edit non working days. fix api docs 2026-03-11 14:58:17 +01:00
Klaus Zanders 59696bbd7d Merge branch 'dev' into user-working-times 2026-03-11 14:25:33 +01:00
Alexander Brandon Coles ec996d4673 Merge branch 'dev' into HEAD
# Conflicts:
#	config/locales/crowdin/es.yml
#	config/locales/crowdin/it.yml
#	config/locales/crowdin/ko.yml
#	config/locales/crowdin/pt-BR.yml
#	config/locales/crowdin/zh-CN.yml
#	modules/meeting/config/locales/crowdin/fr.yml
#	modules/meeting/config/locales/crowdin/it.yml
#	modules/meeting/config/locales/crowdin/ko.yml
#	modules/meeting/config/locales/crowdin/pt-BR.yml
#	modules/meeting/config/locales/crowdin/zh-CN.yml
2026-03-08 13:44:51 -03:00
Klaus Zanders 727cb945e8 Refactor UserNonWorkingDay into a model that covers date ranges 2026-03-06 13:28:35 +01:00
Klaus Zanders fc7441997d Add API docs 2026-03-06 13:27:56 +01:00
Ivan Kuchin 47207e2141 add custom field properties to group, time entry, user and work package schemas 2026-03-05 16:47:38 +01:00
Ivan Kuchin acaf16ec4f custom comment properties in all project schemas 2026-03-05 16:47:38 +01:00
Ivan Kuchin 60949e402f custom field properties in all project type schemas 2026-03-05 16:47:37 +01:00
Ivan Kuchin e4ee24dace add custom comment schema 2026-03-05 16:47:37 +01:00
Ivan Kuchin 910768bc8a fix version model schemas to use allOf unambiguously
At least didn't work in OpenAPI Explorer
2026-03-05 16:47:36 +01:00
OpenProject Actions CI d1f03eba3c Merge branch 'release/17.2' into dev 2026-03-03 16:29:36 +00:00
OpenProject Actions CI 3f8d74bb32 Merge branch 'release/17.1' into release/17.2 2026-03-03 15:15:53 +00:00
Jan Sandbrink 929e9fd063 Merge pull request #22119 from opf/nextcloud-filter-restricted-characters
Allow to filter special characters from folder names created in Nextcloud
2026-03-03 16:13:58 +01:00
Eric Schubert 4cfe3ddb41 [fix] make embedded project optional for the meetings resource
- revert spec to original form with invisible project
2026-03-02 16:41:52 +01:00
Eric Schubert a1dc642907 Merge pull request #21991 from opf/chore/fix-some-warnings-in-api-spec
[chore] improve API specification for meetings
2026-03-02 10:28:04 +01:00
Jan Sandbrink 0934ca1056 Allow changing forbidden storage characters via API 2026-02-26 16:12:54 +01:00
Klaus Zanders c8a96dd4e3 Merge branch 'release/17.2' into merge-release/17.1-20260226135931 2026-02-26 15:01:18 +01:00
Klaus Zanders 7742591418 Merge branch 'release/17.1' into merge-17.0-in-17.1 2026-02-26 14:36:00 +01:00
ulferts 10f5aa8b5b apply visible scope to custom field api 2026-02-24 14:31:43 +01:00
Eric Schubert 5f851a8880 [chore] fix some warnings related to meetings spec 2026-02-17 11:04:05 +01:00
Eric Schubert db22057e5c [chore] added spec for meeting collection endpoint 2026-02-17 10:43:09 +01:00
Eric Schubert 1abf5638c4 Merge branch 'dev' into chore/fix-some-warnings-in-api-spec 2026-02-17 10:10:58 +01:00
Eric Schubert 6dd0f01e93 Merge pull request #21988 from opf/chore/remove-warnings-from-api-spec-validation
[chore] remove abbreviated example nodes
2026-02-17 10:02:25 +01:00
Jan Sandbrink 798c9cbe7d Make API schema of meetings more detailed 2026-02-16 12:51:28 +01:00
Eric Schubert 594e10d4ef [chore] improve API specification for meetings
- triggered by removing API spec validation warning
2026-02-13 16:10:04 +01:00
Eric Schubert 425c50a2a1 [chore] fixed integer examples 2026-02-13 15:16:07 +01:00
OpenProject Actions CI 14663b471a Merge branch 'release/17.1' into dev 2026-02-13 04:18:41 +00:00
Eric Schubert 887ded5714 [#71358] fixed version read model usage
- improved description of API spec
2026-02-12 13:13:11 +01:00
Dombi Attila c7eb130469 Merge branch 'dev' into merge-release/17.1-20260212041910 2026-02-12 10:28:06 +02:00
Eric Schubert 10d472052d [#71358] improve API specification for versions
- split into read and write models
- add custom field pattern properties
- improved description for endpoints
- add extracted examples
2026-02-11 16:35:03 +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
Eric Schubert 19e09ecad1 [chore] fixed group response example 2026-02-11 14:43:08 +01:00
Eric Schubert abbaf045c5 [chore] fix api spec validation
- validation script used unmaintained npm package
- switched to actively maintained package from same maintainer
- pipe full output to stdout
- bump node major version in development backend Dockerfile
- fix two api spec errors and two random warnings - boyscout, hell yeah
2026-02-11 14:11:20 +01:00
Jens Ulferts 1250412525 Merge pull request #21856 from opf/bug/59360-unexplicable-the-changes-were-retracted-journal-entries-automatic-subjects
Bug/59360 inexplicable the changes were retracted journal entries automatic subjects
2026-02-10 09:19:19 +01:00
Jan Sandbrink 8ca3c9eb66 Test portfolio and program schema against representer
Both are rendered through the ProjectRepresenter (because they are technically
implemented as Projects), but haven't been tested against it yet.

This also means that they still included required properties that were already
removed from the project schema (this was an error in the schema).
2026-02-06 15:50:27 +01:00
ulferts 794f9fab9d add placeholder property to schema model 2026-02-06 11:42:55 +01:00
ulferts 0e9e9bb912 fix faulty key in schema model 2026-02-06 11:42:37 +01:00
ulferts a1032a55a2 move placeholder functionality to backend schema 2026-02-05 17:04:08 +01:00
Jan Sandbrink 4d305df714 Allow to use API Tokens as Bearer tokens
We generate those tokens with a prefix, so that we
can decide by looking at a token, whether it's an API Token
or a different kind of token, so that we can decide which
code path to choose for validating the token.

The usage of access tokens as Bearer token has the usability advantage,
that you can paste them as plaintext into tools that expect you
to specify the token as a header.

Also the Basic auth approach for our old tokens usually rather caused
issues, such as browsers prompting for credentials in surprising situations.
If we were to deprecate basic authentication one day, this change today could've
been the first step towards that.
2026-02-05 08:07:04 +01:00
ulferts 53273d5fdf always generate subject unless overridden - no placeholder text set 2026-02-03 12:09:22 +01:00
Kabiru Mwenja f77d0d6130 Merge pull request #21800 from opf/bug/70979-bug-api-v3-allows-reading-writing-internal-comments-when-the-enable-internal-comments-project-setting-is-disabled
Bug/70979 api v3 allows reading writing internal comments when the enable internal comments project setting is disabled
2026-01-29 16:34:23 +03:00