Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Sync complex package with main repository changes #3

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

hgriga
Copy link

@hgriga hgriga commented Dec 19, 2024

The complex package is currently 16 commits behind the main repository.

bTokman and others added 16 commits September 4, 2023 20:57
Co-authored-by: tokmanb <tokmanb@tokmanbs-MacBook-Pro.local>
[ci skip] [skip ci]

Co-authored-by: StyleCI Bot <bot@styleci.io>
* add default values to properties not sent

* release date is nullable

* name cannot be nullable

---------

Co-authored-by: martin.reinfandt <martin.reinfandt@check24.de>
* add default values to properties not sent

* release date is nullable

* name cannot be nullable

* adjust constructor of version so name can only be a string

* require a minimum of latest version of json mapper to support class-string syntax

---------

Co-authored-by: martin.reinfandt <martin.reinfandt@check24.de>
- fixed #523 added createdDate property
[ci skip] [skip ci]

Co-authored-by: StyleCI Bot <bot@styleci.io>
e.g. to remove a previous selection from a checkbox field
[ci skip] [skip ci]

Co-authored-by: StyleCI Bot <bot@styleci.io>
* Changed project name

* Can we use the original project name?

* feat: #WPLZ-166 - introduce timeout

---------

Co-authored-by: Peter Majmesku <majmesku@publicplan.de>
Co-authored-by: Tomáš Lipenský <tomas.lipensky@adbros.cz>
…#535)

* Create BoardResult.php

- Create a new class to hold the entire result data of the response returned from the "/rest/agile/1.0/board" endpoint

- The approach is very similar to how the existing IssueService->search() function works already

* Update BoardService.php

- Instead of updating the existing getAllBoards() method and create a breaking change, I introduced a new method getBoards()

- This method calls to the same "/rest/agile/1.0/board" endpoint as getAllBoards() but it maps the value into the newly created BoardResult class rather than ArrayObject.

- This allows the developer to determine if there are more results past the initial 50 on the first page, and get additional pages if necessary

* Update BoardTest.php

- Created a new test method which performs the same test as the get_all_boards() test but using the updated result object instead

* Update README.md

Add information about how to use the new getBoards() method to retrieve the entire list of board results

* Add periods to end of comments

Added these in order to pass StyleCI PR checks

* Rename BoardResult to more generic PaginatedResult

I realized other methods in BoardService also did not have proper pagination built in.  We will reuse this class in a more generic way for other methods such as getSprintsForBoard()

* Update BoardService.php

- Update our new getBoards() method to return PaginatedResult instead of BoardResult
- Add new method getSprintsForBoard() which has support for pagination and uses PaginatedResult
@hgriga hgriga marked this pull request as ready for review December 19, 2024 14:06
victorlap and others added 6 commits April 5, 2025 21:47
Co-authored-by: Tomáš Lipenský <tomas.lipensky@adbros.cz>
On PHP >=  8.2 Allow comment to have renderedBody property correctly set upon deserialization.
Since version 5 of the JsonMapper the property bStrictObjectTypeChecking is true by default. This causes error when mapping string dates to DateTimeInterface.

This fix sets the property to false.
* set default value for changelog

* set default value for fixVersions
[ci skip] [skip ci]

Co-authored-by: StyleCI Bot <bot@styleci.io>
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.