nc_py_api

Nextcloud Python Framework

OTHER License

Downloads
4.8K
Stars
88
Committers
9

Bot releases are hidden (Show)

nc_py_api - v0.17.1 Latest Release

Published by bigcat88 about 1 month ago

Added

  • NextcloudApp: setup_nextcloud_logging function to support transparently sending logs to Nextcloud. #294

Fixed

  • NextcloudApp: nc.log now suppresses all exceptions to safe call it anywhere(for example in exception handlers). #293
nc_py_api - v0.17.0

Published by bigcat88 about 1 month ago

Added

  • message_type property to TalkBotMessage. #292

Changed

  • NextcloudApp: TextProcessing, Speech2Text and Translation AI Providers API was removed. #289
nc_py_api - v0.16.0

Published by bigcat88 2 months ago

Changed

  • NextcloudApp: rework of TaskProcessing provider API. #284

Fixed

  • nc.files.makedirs not working properly on Windows. #280 Thanks to @Wuli6
nc_py_api - v0.15.1

Published by bigcat88 3 months ago

Fixed

  • Corrected behaviour of ocs function for Group Folders app routes(they are not fully OCS API). #279
  • NextcloudApp: get_computation_device function now correctly returns result in upper_case. #278
nc_py_api - v0.15.0

Published by bigcat88 3 months ago

Added

  • Initial Webhooks API support for the upcoming Nextcloud 30. #272

Changed

  • NextcloudApp: fetch_models_task function now saves paths to downloaded models. #274 Thanks to @kyteinsky
nc_py_api - v0.14.0

Published by bigcat88 3 months ago

Added

  • LoginFlowV2 implementation by @blvdek #255
  • files.get_tags function to get all tags assigned to the file or directory. #260
  • NextcloudApp: nc.ui.files_dropdown_menu.register_ex to register new version of FileActions(AppAPI 2.6.0+) #252
  • NextcloudApp: enabled_state property to check if the current ExApp is disabled or enabled. #268
  • NextcloudApp: support for the new AI API for the Nextcloud 30. #254
nc_py_api - v0.13.0

Published by bigcat88 6 months ago

Added

  • NextcloudApp: occ commands registration API(AppAPI 2.5.0+). #247
  • NextcloudApp: Nodes events listener registration API(AppAPI 2.5.0+). #249
nc_py_api - v0.12.1

Published by bigcat88 7 months ago

Fixed

  • Incorrect Display name when creating user, which led to the parameter being ignored. #239 Thanks to @derekbuckley
nc_py_api - v0.12.0

Published by bigcat88 7 months ago

Update with new features only for NextcloudApp class. #233

Added

  • ex_app.get_computation_device function for retrieving GPU type(only with AppAPI 2.4.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.
nc_py_api - v0.11.0

Published by bigcat88 8 months ago

Added

  • Files: lock and unlock methods, lock file information to FsNode. #227

Fixed

  • NextcloudApp: MachineTranslation provider registration - added optional actionDetectLang param. #229
nc_py_api - v0.10.0

Published by bigcat88 8 months ago

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
nc_py_api - v0.9.0

Published by bigcat88 9 months ago

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.
nc_py_api - v0.8.0

Published by bigcat88 9 months ago

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
nc_py_api - v0.7.2

Published by bigcat88 10 months ago

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
nc_py_api - v0.7.1

Published by bigcat88 10 months ago

Added

  • The ocs method is now public, making it easy to use Nextcloud OCS that has not yet been described. #187
nc_py_api - v0.7.0

Published by bigcat88 10 months ago

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
nc_py_api - v0.6.0

Published by bigcat88 11 months ago

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
nc_py_api - v0.5.1

Published by bigcat88 11 months ago

Fixed

  • move, copy, trashbin_restore correctly set utf-8 headers. #157 Thanks to @tschechniker
  • upload_stream correctly set utf-8 headers. #159
  • headers can now be httpx.Headers and not only dict. #158
nc_py_api - v0.5.0

Published by bigcat88 12 months ago

Added

  • Support for the new /init AppAPI endpoint and the ability to automatically load models from huggingface. #151

Changed

  • All examples were adjusted to changes in AppAPI.
  • The examples now use FastAPIs lifespan instead of the deprecated on_event.
nc_py_api - v0.4.0

Published by bigcat88 about 1 year ago

As the project moves closer to beta, final unification changes are being made.
This release contains some breaking changes in users, notifications API.

Added

  • Support for users avatars(get_avatar). #149
  • __repr__ method added for most objects(previously it was only present for FsNode). #147

Changed

  • users.get_details renamed to get_user and returns a class instead of a dictionary. #145
  • Optional argument displayname in users.create renamed to display_name.
  • The apps.ExAppInfo class has been rewritten in the same format as all the others. #146
  • notifications.Notification class has been rewritten in the same format as all the others.

Fixed

  • users.get_details with empty parameter in some cases was raised exception.
  • ClientMode: in case when LDAP was used as user backend, user login differs from user id, and most API failed with 404. #148