Metadata-Version: 2.5
Name: trytond_dam_nextcloud
Version: 8.0.0.2
Summary: DAM Nextcloud
Author: Clemens Hupka
Maintainer-email: Clemens Hupka <clemens.hupka@backend.at>
License-Expression: GPL-3.0-or-later
License-File: COPYRIGHT
License-File: LICENSE
Keywords: aspiration,dam,nextcloud,sync,tryton
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business
Requires-Python: >=3.10
Requires-Dist: trytond-clef-nextcloud<8.1,>=8.0
Requires-Dist: trytond-dam-catalog<8.1,>=8.0
Requires-Dist: trytond-dam<8.1,>=8.0
Requires-Dist: trytond<8.1,>=8.0
Provides-Extra: test
Description-Content-Type: text/x-rst

DAM Nextcloud Module
====================

The ``dam_nextcloud`` module provides Nextcloud integration for the
Tryton Digital Asset Management system.

Features
--------

- Nextcloud server configuration with WebDAV connectivity
- Per-user sync configurations with configurable paths and filters
- Three sync modes:

  - **Link**: create a DAM asset referencing the Nextcloud file
    without copying
  - **Copy**: download the file to DAM storage, keep the Nextcloud
    original
  - **Aspirate**: download the file to DAM storage, then delete the
    Nextcloud original after a configurable verification period

- File type and minimum size filtering
- Automatic sync via cron job
- Manual sync trigger wizard
- Full audit trail via sync log entries
- Aspiration verification: files are only deleted from Nextcloud
  after confirming the DAM asset exists and its file is intact

Dependencies
------------

- ``ir``, ``res`` — core Tryton framework
- ``dam`` — digital asset management
- ``dam_catalog`` — catalog collections
- ``clef_nextcloud`` — Nextcloud server configuration

Configuration
-------------

The ``[dam_nextcloud]`` config section supports:

- ``aspirate_verify_days`` — number of days to wait before deleting
  a file from Nextcloud after aspiration (default: 7)