Nc-py-api

Latest version: v0.13.0

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

Scan your dependencies

Page 1 of 6

0.13.0

Added

- NextcloudApp: `occ` commands registration API(AppAPI 2.5.0+). 247
- NextcloudApp: `Nodes` events listener registration API(AppAPI 2.5.0+). 249

0.12.1

Fixed

- Incorrect `Display name` when creating user, which led to the parameter being ignored. 239 Thanks to derekbuckley

0.12.0

Update with new features only for `NextcloudApp` class. 233

Added

- `ex_app.get_computation_device` function for retrieving GPU type(only with AppAPI `2.5.0`+).
- `ex_app.integration_fastapi.fetch_models_task` are now public function, added `progress_init_start_value` param.
- Global authentication when used now sets `request.scope["username"]` for easy use.

Changed

- `UiActionFileInfo` class marked as deprecated, instead `ActionFileInfo` class should be used.

0.11.0

Added

- Files: `lock` and `unlock` methods, lock file information to `FsNode`. 227

Fixed

- NextcloudApp: `MachineTranslation` provider registration - added optional `actionDetectLang` param. 229

0.10.0

Added

- NextcloudApp: `set_handlers`: `models_to_fetch` can now accept direct links to a files to download. 217
- NextcloudApp: DeclarativeSettings UI API for Nextcloud `29`. 222

Changed

- NextcloudApp: adjusted code related to changes in AppAPI `2.0.3` 216
- NextcloudApp: `set_handlers` **rework of optional parameters** see PR for information. 226

0.9.0

Added

- class `Share`: added missing `file_source_id`, `can_edit`, `can_delete` properties. 206
- NextcloudApp: `AppAPIAuthMiddleware` for easy cover all endpoints. 205
- NextcloudApp: API for registering `MachineTranslation` providers(*avalaible from Nextcloud 29*). 207

Changed

- **large amount of incompatible changes** for `AppAPI 2.0`, see PR for description. 212
- class `Share`.raw_data marked as deprecated and changed to `_raw_data`. 206
- `ex_app.talk_bot_app`/`ex_app.atalk_bot_app` renamed to `ex_app.talk_bot_msg`/`ex_app.atalk_bot_msg`.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.