Metadata-Version: 2.4
Name: collective.collabora
Version: 2.0.0
Summary: Collabora Online integration for Plone
Home-page: https://github.com/collective/collective.collabora
Author: Guido A.J. Stevens
Author-email: guido.stevens@cosent.net
License-Expression: GPL-2.0-only
Project-URL: PyPI, https://pypi.org/project/collective.collabora/
Project-URL: Source, https://github.com/collective/collective.collabora
Project-URL: Tracker, https://github.com/collective/collective.collabora/issues
Project-URL: Documentation, https://collectivecollabora.readthedocs.io/en/latest/
Keywords: Python Plone CMS
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Framework :: Plone :: 6.2
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11,<3.15
Description-Content-Type: text/x-rst
License-File: LICENSE.GPL
License-File: LICENSE.rst
Requires-Dist: plone.api
Requires-Dist: plone.app.contenttypes
Requires-Dist: plone.protect
Requires-Dist: plone.restapi
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: license-expression
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

.. This README is meant for consumption by humans and PyPI. PyPI can render rst files so please do not use Sphinx features.
   If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
   This text does not appear on PyPI or github. It is a comment.

.. image:: https://github.com/collective/collective.collabora/actions/workflows/plone-package.yml/badge.svg
    :target: https://github.com/collective/collective.collabora/actions/workflows/plone-package.yml

.. image:: https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/gyst/2a12a9fe2dbca0d4337ca96603bd58d7/raw/covbadge.json
    :alt: Coverage

.. image:: https://img.shields.io/pypi/v/collective.collabora.svg
    :target: https://pypi.python.org/pypi/collective.collabora/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/status/collective.collabora.svg
    :target: https://pypi.python.org/pypi/collective.collabora
    :alt: Egg Status

.. image:: https://img.shields.io/pypi/pyversions/collective.collabora.svg?style=plastic
    :alt: Supported - Python Versions

.. image:: https://img.shields.io/pypi/l/collective.collabora.svg
    :target: https://pypi.python.org/pypi/collective.collabora/
    :alt: License


collective.collabora
====================

Collabora Online integration for Plone.


Introduction
------------

`Collabora Online <https://www.collaboraonline.com/>`_ provides collaborative open source document editing, controlled by you.

Collective.collabora brings this capability into Plone. It can be used as-is
on Plone 6.2. For older Plone versions, use the 1.x series.

Additionally, collective.collabora provides a building block for integration of
real-time document collaboration into Plone-based applications like
Quaive and iA.Delib.

Features
--------

- Real-time collaborative document editing of office-type documents: Word
  documents, spreadsheets, etc.

- Reading Office files and PDFs in your browser in a Plone page, with comments,
  even if you do not have edit rights.

Documentation
-------------

For instructions on configuring collective.collabora,
see the documentation at `Read the Docs <https://collectivecollabora.readthedocs.io/en/latest/>`_.

Authors
-------

- Johannes Raggam (thet): initial proof of concept (integration, WOPI implementation).

- Guido A.J. Stevens (gyst): production quality code (cleanup, tests, CI, documentation, backporting, release).


Contribute
----------

- Issue Tracker: https://github.com/collective/collective.collabora/issues

- Source Code: https://github.com/collective/collective.collabora


Support
-------

If you are having issues, please let us know via the `issue tracker
<https://github.com/collective/collective.collabora/issues>`_.

This package is part of `Quaive <https://quaive.com>`_ and supported by the
Quaive partners Cosent, Syslab.com and iMio.

Development of this package was sponsored by `iMio <https://imio.be>`_ and
`Syslab.com <https://syslab.com>`_.


License
-------

The project is licensed under the GPLv2.




Changelog
=========

.. towncrier release notes start

2.0.0 (2026-11-12)
------------------

Breaking changes:


- Drop Archetypes support: the ``ATStoredFile`` adapter, the views for ``IATFile`` and ``IDummy``.
  [gyst]
- Drop Plone 4/5 and Python 2.7 compatibility code, and the ``future`` and ``python-dateutil`` dependencies.
  Removed from ``collective.collabora.utils``: ``IS_PLONE4``, ``IS_PLONE5``, ``IS_PLONE6``, ``PLONE_VERSION``,
  ``disallow`` and ``human_readable_size``; use ``plone.base.utils.human_readable_size`` instead.
  [gyst]
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
  Support only Plone 6.2 and Python 3.11+.


Bug fixes:


- Close the ``@import url(...)`` of ``edit.css``, drop the Plone 4/5 iframe offsets and CSS rules,
  and register the Collabora message listener once when ``edit.js`` loads twice.
  [gyst]
- Document how to let Collabora accept more than one Plone site, and make the example
  ``coolwsd.xml`` trust its development site explicitly instead of the first site that connects.
  [gyst]
- Issue proper log level when encountering an unsupported mimetype.
  [gyst]


Internal:


- Update configuration files.
  [plone devs]
- Use ``logger.warning`` instead of the deprecated ``logger.warn``.
  [gyst]


1.x series
==========

The 1.x series supports Plone 6, Plone5, Plone 4, Archetypes, and python 2.7.

NB: all releases >= 1.2.0 and < 2.0 were refused by PyPi.
If you need a 1.3.x version, use a private egg server.


1.3.1 (2026-07-09)
------------------

- Fix Collabora menu bar overflow in non-English UI. [gyst]


1.3.0 (2026-06-22)
------------------

- Fix IStoredFile's file field name [cadam, gyst]

- Declare and test python3.14 and Plone 6.2 supported [gyst]

- More Github CI infra upgrades [gyst]


1.2.0 (2026-06-17)
------------------

- Reset File object actions on uninstall [gyst]

- Propagate UI language setting to Collabora [gyst]

- Update Github CI infrastructure [gyst]


1.1.0 (2025-07-25)
------------------

- Make it easier to provide custom IStoredField adapters for varying file field names. [gyst]


1.0.1 (2025-04-18)
------------------

- Fix documentation URL in setup.py [gyst]


1.0.0 (2025-04-18)
------------------

- Cleanup unused code [thet]

- Add translations [macagua, gyst]

- Extract documentation to readthedocs [gyst]

- Configure build tooling [gyst]

- Remove unneeded CORS headers [gyst]

- Let Collabora handle locking conflicts [gyst]

- Increase log level on file writes, and document that Collabora
  always saves changes, even on browser exit. [gyst]

- Disable CSRF protection, after exhausting all other options. [gyst]


0.9.0 (2025-04-10)
------------------

- Initial release. [gyst, ale-rt]
