Nc-py-api

Latest version: v0.18.0

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

Scan your dependencies

Page 3 of 8

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`.

0.8.0

Added

- `download_log` method to download `nextcloud.log`. 199
- NextcloudApp: API for registering `Speech to Text` providers(*avalaible from Nextcloud 29*). 196
- NextcloudApp: API for registering `Text Processing` providers(*avalaible from Nextcloud 29*). 198
- NextcloudApp: added `get_model_path` wrapper around huggingface_hub:snapshot_download. 202

Fixed

- OCS: Correctly handling of `HTTP 204 No Content` status. 197

0.7.2

Fixed

- files: proper url encoding of special chars in `mkdir` and `delete` methods. 191 Thanks to tobenary
- files: proper url encoding of special chars in all other `DAV` methods. 194

0.7.1

Added

- The `ocs` method is now public, making it easy to use Nextcloud OCS that has not yet been described. 187

0.7.0

Added

- implemented `AsyncNextcloud` and `AsyncNextcloudApp` classes. 181

Changed

- set_handlers: `enabled_handler`, `heartbeat_handler`, `init_handler` now can be async(Coroutines). 175 181
- set_handlers: `models_to_fetch` and `models_download_params` united in one more flexible parameter. 184
- drop Python 3.9 support. 180
- internal code refactoring and clean-up 177

0.6.0

Added

- Ability to develop applications with `UI`, example of such app, support for all new stuff of `AppAPI 1.4`. 168

Fixed

- AppAPI: added authentication to the `/init` endpoint. 162

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.