Skip to content

Releases: cloud-py-api/nc_py_api

v0.0.40

22 Aug 17:45
ac9bad2
Compare
Choose a tag to compare

Added

  • Basic APIs for Nextcloud Talk(Part 1)

Changed

  • require_capabilities/check_capabilities can accept value with dot: like files_sharing.api_enabled and check for sub-values.
  • Refactored all API(except Files) again.

Fixed

  • options.NPA_NC_CERT bug, when setting throw .env file.

v0.0.31

17 Aug 15:14
7801ebb
Compare
Choose a tag to compare

Added

  • FsNode can be created from Nextcloud UiActionFileInfo reply.

Fixed

  • files.find error when searching by "name". Thanks to @CooperGerman

v0.0.30

15 Aug 19:34
d8cb165
Compare
Choose a tag to compare

Added

  • Nextcloud.response_headers property, to get headers from last response.

Changed

  • Reworked skeleton for the applications, added skeleton to examples.

v0.0.29

13 Aug 16:09
41b9d06
Compare
Choose a tag to compare

Added

  • Finished Share API.

Fixed

  • options error when setting timeouts with the .env file.
  • ShareAPI.create wrong handling of share_with parameter.

v0.0.28

11 Aug 15:51
81fa4c7
Compare
Choose a tag to compare

Added

  • APIs for enabling\disabling External Applications.
  • FileAPI: download_directory_as_zip method.

Changed

  • Much more documentation.
  • Regroup APIs, hopes for the last time.

Fixed

  • Assign groups in user creation

v0.0.27

05 Aug 13:34
9cde076
Compare
Choose a tag to compare

Added

  • Notifications API
  • options now independent in each Nextcloud class. They can be specified in kwargs, environment or .env files.

Changed

  • Switched to hatching as a build system, now correct install optional dependencies.
  • Renamed methods, attributes that was shadowing a Python builtins. Enabled additional Ruff linters checks.
  • Regroup APIs, now Users related stuff starts with user, file related stuff with file, UI stuff with gui.

v0.0.26

29 Jul 13:20
766071a
Compare
Choose a tag to compare

Added

  • More documentation.

Changed

  • Reworked User Status API, Users Group API
  • Reworked return type for weather_status.get_location
  • Reworked Files API: mkdir, upload, copy, move return new FsNode object
  • Reworked listdir: added depth parameter
  • Reworked FsNode: changed info from TypedDict to dataclass, correct fields names with correct descriptions.
  • FsNode now allows comparison for equality.

v0.0.25

24 Jul 19:21
a443c7f
Compare
Choose a tag to compare

Added

  • First Files Sharing APIs.

Changed

  • Updated documentation, description.
  • Updated FsNode class with properties for parsing permissions.

v0.0.24

18 Jul 20:10
afe6e18
Compare
Choose a tag to compare

Added

  • VERIFY_NC_CERTIFICATE option.
  • apps.ex_app_get_list and apps.ex_app_get_info methods.
  • files.download2stream and files.upload_stream methods.
  • most of FileAPI can accept FsNode as a path.

Changed

  • License changed to BSD-3 Clause

v0.0.23

07 Jul 18:46
262299e
Compare
Choose a tag to compare

Fixed

  • nextcloud_url can contain / at the end.
  • work of logs during enable/disable events.