Skip to content

Releases: cloud-py-api/nc_py_api

v0.0.43

02 Sep 08:55
870b6af
Compare
Choose a tag to compare

Added

  • Basic APIs for Nextcloud Talk(Part 2) #111

Fixed

  • makedirs correctly work with paths started with /
  • listdir correctly handles exclude_self=True when input path starts with /

v0.0.42

30 Aug 14:45
d73c24b
Compare
Choose a tag to compare

Added

  • TrashBin API:
    • trashbin_list
    • trashbin_restore
    • trashbin_delete
    • trashbin_cleanup
  • File Versions API: get_versions and restore_version.

Fixed

  • Created FsNode from UiActionFileInfo now have the file_id with the NC instance ID as from the DAV requests.

v0.0.41

26 Aug 14:30
0759272
Compare
Choose a tag to compare

Added

  • Nextcloud Talk API for bots + example

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.