Plonemeeting.restapi

Latest version: v2.8

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

Scan your dependencies

Page 3 of 7

1.0rc18

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

- Allow usage of `type` parameter with `in_name_of` when `config_id` is not specified
[mpeeters]
- Fixed `BasePost._turn_ids_into_uids` to manage organizations outside
`My organization` this is the case for field `MeetingItem.associatedGroups`.
[gbastien]
- Refactored behavior so we use the `ISerializeToJson` serializer when
any parameter is given.
[gbastien]
- Completed the `config` service (that now uses a `SearchGet`)
to return every `MeetingConfigs` when `config_id=*`.
[gbastien]
- Refactored the `get` endpoint to use a `SearchGet` so we can use `in_name_of`.
[gbastien]
- Added `DeserializeFromJson._need_update_local_roles` that will
`update_local_roles` when creating an item when required, this is needed in
some case like when creating an item with `internalNotes` because this field
relies on `local_role/permission` that need to be setup to be writeable.
[gbastien]
- Register `get GET` endpoint for `IPloneSiteRoot` instead `IFolderish`.
[gbastien]
- Added possibility to get the selectable choices of a field in the response.
Parameter `include_choices_for=field_name` may be given, in this case,
a key `field_name__choices` is added to the result with `token/title` of
the selectable values.
[gbastien]
- Refactored `item extra_include=linked_items` to filter results using a
catalog query so parameters and functionnality is similar to other endpoints.
Removed `utils.filter_data` that could be dangerous and build a catalog query.
Formalized convenience catalog index names substitution (passing parameter `type`
corresponds to index `portal_type` or `state` corresponds to `review_state`).
[gbastien]
- Parameter `config_id` is no more required when using `in_name_of`
in `get` or `search`.
Added `bbb.py` to backport methods `get_filtered_plone_groups_for_user` and
`getActiveConfigs` from `ToolPloneMeeting` so it is avaible when using
`PloneMeeting 4.1.x`.
[gbastien]

1.0rc17

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

- Redo broken release...
[gbastien]

1.0rc16

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

- Added `extra_include=linked_items` available on item.
This will append the item linked items, various `modes` may be asked:
`auto` (by default) will return every auto linked items, `manual` will return
manually linked items, `predecessor` will return the first predecessor,
`predecessors` will return every predecessors, `successors` will return the
direct `successors` and `every_successors` will return chain of successors.
[gbastien]
- Added `utils.filter_data` that will let filter given data.
[gbastien]
- Renamed `BaseSerializeToJson._get_param` to `BaseSerializeToJson.get_param`
or it is considered as a private method not to use directly but actually
it must be used instead `utils.get_param`.
[gbastien]

1.0rc15

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

- Removed temporary fix introduced in version `plonemeeting.restapi=1.0rc13`
to avoid creating an empty item. This was fixed in `plone.restapi=7.8.0`.
[gbastien]

1.0rc14

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

- Use `BadRequest` instead `Exception` for every errors, this will return
an error code `400` instead `500` that is used for internal server errors.
[gbastien]

1.0rc13

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

- Enable environment variable `RESTAPI_DEBUG` in tests.
[gbastien]
- Prevent create an empty item. Temporarily completely overrided
`DeserializeFromJson.__call__` from `plone.restapi` until issue
https://github.com/plone/plone.restapi/issues/1386 is fixed.
[gbastien]

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.