Plonemeeting.restapi

Latest version: v2.8

Safety actively analyzes 682251 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

1.0b2

------------------

- Adapted code and tests now that `Meeting` was moved from `AT` to `DX`.
[gbastien]
- Manage `extra_include=classifiers` in `config GET` endpoint.
[gbastien]
- Do no more require parameter `config_id` when a `type` is given in `search`
endpoint. When `type` is other than `item/meeting`, we simply add it to the
`query` as `portal_type`.
`config_id` is only required when `type` is `item` or `meeting`.
[gbastien]
- Added possibility to filter the `annexes endpoint` on any of the boolean
attributes (`to_print`, `publishable`, `confidential`, `to_sign/signed`).
[gbastien]
- Adapted `extra_include=deliberation` that was always returning every variants
of deliberation (`deliberation/public_deliberation/public_deliberation_decided`),
now the `extra_include` value is the name of the variants we want to get.
[gbastien]
- Take into account the `extra_include_fullobjects` in the `MeetingItem` serializer.
To handle this, it was necessary to implement a summary serializer for `Meeting`.
[gbastien]
- Added `test_restapi_search_items_extra_include_deliberation_images` showing
that images are received as base64 data value.
[gbastien]

1.0b1

------------------

- Override default `PMBrainJSONSummarySerializer` for `ICatalogBrain` from
`imio.restapi` (that already overrides the one from `plone.restapi`) to
include metadata `enabled` by default.
Define also `PMJSONSummarySerializer` for object (not brain) to have a
summary representation of any objects. This makes it possible to get summary
serializers for a `MeetingConfig` and it's associated groups while using
`config?extra_include=associated_groups`.
[gbastien]
- Changed behavior of our overrided `search` : before, it was overriding the
default `search` and was requiring a `config_id` to work, now `config_id` is
optional, when given, it will ease searching for items or meetings, but if
not given, then the endpoint will have the default `search` behavior.
Nevertheless, if parameter `type` is given, then `config_id`
must be given as well.
[gbastien]

1.0a6

------------------

- `Products.PloneMeeting.utils.fplog` was moved to
`imio.helpers.security.fplog`, adapted code accordingly.
[gbastien]

1.0a5

------------------

- Added parameters `extra_include_proposing_groups`,
`extra_include_groups_in_charge` and `extra_include_associated_groups`
to `config GET` endpoint.
[gbastien]
- By default, restrict access to endpoints to role `Member`,
was given to role `Anonymous` by default by `plone.restapi`.
[gbastien]

1.0a4

------------------

- Completed test showing that `MeetingItem.adviceIndex` was not correctly
initialized upon item creation.
[gbastien]
- Added parameter `extra_include_meeting` to `IMeetingItem` serializer.
[gbastien]
- Completed `IMeeting` serializer `_additional_values` with `formatted_date`,
`formatted_date_short` and `formatted_date_long`.
[gbastien]

1.0a3

------------------

- Fixed `test_restapi_config_extra_include_categories` as former
`AT MeetingCategory` are now `DX meetingcategory` that use field `enabled`
instead workflow `review_state` `active`.
[gbastien]
- Added `test_restapi_add_item_wf_transitions` that was broken
with `imio.restapi<1.0a11`.
[gbastien]
- When adding a new item, insert the event `create_element_using_ws_rest`
in the `workflow_history` at the beginning, just after the `created` event.
[gbastien]

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.