Skip to content

Releases: cloud-py-api/nc_py_api

v0.3.0

28 Sep 13:59
c12bd13
Compare
Choose a tag to compare

Added

  • TalkAPI:
    • send_file to easy send FsNode to Talk chat.
    • receive_messages can return the TalkFileMessage subclass of usual TalkMessage with additional functionality.
  • NextcloudApp: The ex_app.verify_version function to simply check whether the application has been updated.

Changed

  • NextcloudApp: Updated info.xml in examples to reflect upcoming changes in the AppStore

v0.2.2

26 Sep 18:15
fe10135
Compare
Choose a tag to compare

Added

  • FilesAPI: Chunked v2 upload support, enabled by default.
  • New option to disable chunked v2 upload if there is a need for that: CHUNKED_UPLOAD_V2
  • TalkAPI: Poll API support(create_poll, get_poll, vote_poll, close_poll).
  • TalkAPI: Conversation avatar API(get_conversation_avatar, set_conversation_avatar, delete_conversation_avatar)

Changed

  • Default chunk_size argument is now 5Mb instead of 4Mb.

v0.2.1

14 Sep 19:23
2caa2d9
Compare
Choose a tag to compare

Added

  • NextcloudApp: ex_app.persistent_storage function that returns path for the Application persistent storage.
  • NextcloudApp: from nc_py_api.ex_app import persist_transformers_cache - automatic use of persistent app directory for the AI models caching.

v0.2.0

13 Sep 16:52
9d46ecb
Compare
Choose a tag to compare

Added

  • FilesAPI: FsNode.info added mimetype property.

Changed

  • AppEcosystem_V2 Project was renamed to App_API, adjust all routes, examples, and docs for this.
  • The Application Authentication mechanism was changed to a much simple one.

v0.1.0

06 Sep 18:30
483589b
Compare
Choose a tag to compare

Added

  • ActivityAPI: get_filters and get_activities. #112
  • FilesAPI: added tags support. #115

Changed

  • FilesAPI: removed listfav method, use new more powerful list_by_criteria method. #115

Fixed

  • NotificationInfo.time - was always incorrectly parsed and equal to datetime(1970,1,1)

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