745 Commits

Author SHA1 Message Date
Eric Schubert 1d91aa181e [#40945] updated work package form API specs
- https://community.openproject.org/work_packages/40945
- added model for work package form
- added model for work package schema
- updated work package write and patch model
- all changes are considered incomplete, as the whole content around
  schemas is not yet covered 100% inside the API documentation
2024-08-26 15:19:44 +02:00
Eric Schubert bfd352dcb5 [#40642] fixed API spec merging issue with collection links
- https://community.openproject.org/work_packages/40642
- introduced new model `offset_paginated_collection`
- improved `_links` definition of projects and principals collection
2024-08-19 16:23:24 +02:00
Eric Schubert 6ddbead330 [#40942] documented API behaviour for relation creation
- https://community.openproject.org/work_packages/40942
- resolved old todo about redirect of deprecated API endpoint
- introduced deprecation round for /api/v3/work_packages/:id/relations
- updated api specification docs
2024-08-07 15:33:02 +02:00
Pavel Balashou 50271d3db3 [#55643] Update API docs with JWT OIDC auth.
https://community.openproject.org/work_packages/55643
2024-07-25 14:11:01 +02:00
Eric Schubert 9ab492551a [#41053] fixed work package representer links
- adapted work package model in API specification
2024-07-15 14:23:08 +02:00
Christophe Bliard 5ac1787fd6 [55997] Add duration_format setting with hours_only by default
https://community.openproject.org/wp/55997

The `duration_format` setting can take two values: "hours_only" or
"days_and_hours". The default value is "hours_only".

The `duration_format` setting is used to determine how durations are
displayed in the frontend and in some exports.

It can be changed in Administration > Calendar and Dates > Working days
and hours.
2024-07-02 17:06:35 +02:00
ulferts 68fe020ee8 additional docs on news api 2024-06-27 11:26:08 +02:00
Ivan Kuchin b282e8d5f9 fix syntax in docs/api/apiv3/components/schemas/news_create_model.yml 2024-06-25 15:39:28 +02:00
Christophe Bliard d81fe46971 Fix api doc news creation example 2024-06-25 14:44:47 +02:00
Oliver Günther 25f6994ce1 Add API endpoints for news 2024-06-25 14:38:00 +02:00
Eric Schubert 098cbcaaaf [fix] api spec replace complete with configured
- API spec is not correct after changing implementation to use
  configured as represented attribute
2024-05-31 12:43:01 +02:00
Eric Schubert 732ec78cb2 Merge pull request #15661 from opf/chore/groom-relation-endpoints-in-openapi-spec
[chore] fixing warnings and examples in relations api docs
2024-05-30 11:59:36 +02:00
Klaus Zanders 2972b373cc Merge pull request #15692 from opf/merge-release/14.1-20240529033423
Merge release/14.1 into dev
2024-05-29 08:07:00 +02:00
Christophe Bliard f130245149 Add more details in api docs regarding progress values 2024-05-28 08:52:43 +02:00
Aaron Contreras 49ca55e690 Correct docs regarding percentageDone and derived values 2024-05-27 10:40:11 -05:00
Eric Schubert f01cf4647b [#55158] added PR comments
- renamed complete to configured
- added oauth application rendering representer spec
2024-05-24 16:33:27 +02:00
Eric Schubert 6ee6a32db5 [chore] fixing warnings and examples in relations api docs 2024-05-24 10:06:19 +02:00
Eric Schubert 064cfd6ff9 [#55158] Add complete attribute to storage representer
- https://community.openproject.org/work_packages/55158
- fix API to be able to create one drive storages
- fix API to show tenant id and drive id
2024-05-23 15:38:06 +02:00
Kabiru Mwenja 0da80c1e27 Merge pull request #15400 from opf/task/54459-investigate-queries-and-filters-to-display-the-project-list-in-projects-attribute-settings-view
[#54459] Add `AvailableProjectAttributesFilter` to project queries to display the mapped projects list in projects attribute settings view

https://community.openproject.org/work_packages/54459
2024-05-15 14:47:30 +03:00
Simon Bullik d9dbb63bc6 [chore] Specify requestBody schema for post time entry 2024-05-13 06:58:35 +02:00
Simon Bullik 06039dcbba [chore] Specify requestBody schema for post and patch project 2024-05-13 06:58:26 +02:00
Kabiru Mwenja 547eeb5740 docs[Op#54459]: document the available_project_attributes filter 2024-05-08 16:43:39 +03:00
Jens Ulferts 9146eb030a Merge pull request #15467 from wbt-solutions/openapi/maintain-priority-api-spec
[chore] maintained priority collection api specification
2024-05-06 11:03:55 +02:00
Jens Ulferts d2cfd2dfb9 Merge pull request #15468 from wbt-solutions/openapi/Versions_by_ProjectModel
[chore] Add proper api spec schema for Versions_by_ProjectModel
2024-05-06 11:02:03 +02:00
Jens Ulferts f3411305d4 Merge pull request #15469 from wbt-solutions/openapi/Types_by_ProjectModel
[chore] Add proper api spec schema for Types_by_ProjectModel
2024-05-06 11:01:34 +02:00
Simon Bullik 2ce13280ce [chore] maintained priority collection api specification 2024-05-04 21:37:57 +02:00
Simon Bullik 68cb6a3809 [chore] Add proper api spec schema for List_available_parent_project_candidatesModel 2024-05-04 19:48:09 +02:00
Simon Bullik 2cf24b4ce5 [chore] Add proper api spec schema for Types_by_ProjectModel 2024-05-04 19:01:36 +02:00
Simon Bullik a34402d80d [chore] Add proper api spec schema for Versions_by_ProjectModel 2024-05-04 18:49:42 +02:00
Jens Ulferts 7486fa4e50 Merge pull request #15453 from wbt-solutions/openapi/Categories_by_ProjectModel
[chore] Add proper api spec schema for Categories_by_ProjectModel
2024-05-03 15:42:03 +02:00
Simon Bullik 96fdc23f25 [chore] Add proper api spec schema for Categories_by_ProjectModel 2024-05-02 20:34:36 +02:00
Simon Bullik 5b7f21f069 [chore] Add proper api spec schema for Available_AssigneesModel 2024-05-02 20:06:11 +02:00
as-op 1b63e44703 lint fix 2024-04-29 17:13:24 +02:00
as-op 0e214970b4 fix header levels 2024-04-29 17:06:08 +02:00
as-op bba9cd268a add image descriptions; fix header level; harmonize with linting 2024-04-29 15:12:37 +02:00
as-op 9e72155b66 fix markdown quirks; harmonize; lint fixes 2024-04-29 13:52:04 +02:00
Aaron Dewes b9d3a9647d fix: Openproject / Open Project -> OpenProject
This fixes the spelling of OpenProject in a few places
2024-04-26 12:06:51 +02:00
Klaus Zanders 8d54c5c40d Remove available_responsibles from the API as it returns the same data as available_assignees 2024-04-15 12:50:31 +02:00
Oliver Günther e3e8d78972 Rename delay to lag
https://community.openproject.org/work_packages/44054
2024-04-08 19:31:38 +02:00
Oliver Günther 6e3000700e Do not expose updatedAt changing for admins in work packages
The field may be updating due to external changes (causes, default
values, rescheduling)
2024-03-25 15:11:37 +01:00
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Oliver Günther aa67a9ea83 Allow administrators to override static attributes 2024-03-17 20:33:11 +01:00
Oliver Günther 95989f7c3e Meetings API 2024-03-05 09:14:40 +01:00
Aaron Contreras 19610ffb74 Add request body to API docs for "Create Work package in project" 2024-03-04 11:26:01 -05:00
Eric Schubert 1d77a71a61 [#41299] updated placeholder user api spec
- changed HTTP code back to 202 (deletion in progress)
- pin type enum
- amend representer rendering spec
2024-02-19 12:28:31 +01:00
Eric Schubert d3edd1531e [#41299] fixed unit test expectations
- also fixed some older rubocop issues
2024-02-19 10:51:39 +01:00
Eric Schubert ff52a7fada [#41299] Updated API spec for placeholder users
- https://community.openproject.org/wp/41299
- added inheritance hirarchy for principal resource models
- added placeholder user paths
- revisited other principal specifications
2024-02-19 10:51:36 +01:00
as-op fbfc0d0549 chore(docs): fix links & typos 2024-02-13 09:44:59 +01:00
Aaron Contreras 3a230f723e Complete the range constraints for the OAS specs for percentageDone 2024-02-01 15:33:11 -05:00