plone.locking


Nameplone.locking JSON
Version 3.0.1 PyPI version JSON
download
home_pagehttps://pypi.org/project/plone.locking
Summarywebdav locking support
upload_time2024-01-22 19:47:44
maintainer
docs_urlNone
authorPlone Foundation
requires_python>=3.8
licenseGPL version 2
keywords locking webdav plone
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Overview
========

Provides basic automatic locking support for Plone. Locks are stealable by
default, meaning that a user with edit privileges will be able to steal
another user's lock, but will be warned that someone else may be editing
the same object. Used by Plone, Archetypes and plone.app.iterate

Version Information
-------------------

- 3.x -> Plone 6.0+ only
- 2.3.x -> used in Plone 5+ (not compatible with earlier Plone versions)
- 2.0.x -> used by Plone 4.x (but *may* also be compatible with earlier versions).
- Versions 1.x are used by Plone 3.

Changelog
=========

.. You should *NOT* be adding new change log entries to this file.
   You should create a file in the news directory instead.
   For helpful instructions, please see:
   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst

.. towncrier release notes start

3.0.1 (2024-01-22)
------------------

Internal:


- Update configuration files.
  [plone devs] (6e36bcc4, 7723aeaf)


3.0.0 (2023-04-16)
------------------

Breaking changes:


- Drop python 2.7. (#1)


New features:


- Update the info viewlet css classes to Bootstrap 5.
  [ewohnlich] (bs5)


Internal:


- Update configuration files.
  [plone devs] (234bb1d6, 5cc689e5)


2.3.0 (2023-02-08)
------------------

Bug fixes:


- Update to Zope4 only including troove classifiers. [jensens] (#19)


2.2.5 (2021-10-09)
------------------

Bug fixes:


- Register a fallback @@plone_lock_info view to allow objects without plone.locking behavior to be edited.
  [ericof] (#3331)


2.2.4 (2020-04-20)
------------------

Bug fixes:


- Minor packaging updates. (#1)


2.2.3 (2018-09-27)
------------------

Bug fixes:

- More Python 2 / 3 compatibility fixes.
  [thet]


2.2.2 (2018-02-05)
------------------

Bug fixes:

- Update tests to not use plone.app.testing.bbb code.
  This should avoid test isolation problems.
  [gforcada]


2.2.1 (2018-02-02)
------------------

Bug fixes:

- Add Python 2 / 3 compatibility
  [pbauer]


2.2 (2017-06-08)
----------------

New features:

- All LockingOperations method can optionally redirect to the context view
  [ale-rt]

Bug fixes:

- Test fix: Use print in doctest (Python 3/ Zope 4 compat)
  [MatthewWilkes]


2.1.3 (2016-09-09)
------------------

New features:

- Update README.rst with Compatibility
  [djowett]


2.1.2 (2016-08-15)
------------------

Fixes:

- Use zope.interface decorator.
  [gforcada]


2.1.1 (2015-10-27)
------------------

New:

- Use registry lookup for types_use_view_action_in_listings
  [esteele]

- Locks stored on annotations are a safe write on read.
  [gforcada]


2.1.0 (2015-09-07)
------------------

- Pull lock_on_ttw_edit setting from the configuration registry
  [esteele]


2.0.8 (2015-07-20)
------------------

- Fix write on read CSRF issues with latest plone.protect
  [vangheem]


2.0.7 (2015-06-05)
------------------

- Fix possible package problem with Python 2.6 and old setuptools (at
  least 0.6c11) not finding the ``README.txt``.
  [maurits]


2.0.6 (2015-06-05)
------------------

- Pep8.
  [vangheem]


2.0.5 (2014-10-20)
------------------

- Adding "create_lock" to "plone_lock_operations"
  [hman]

- The locking timeout is now modifiable through LockType definition
  [parruc]

- Ported to plone.app.testing
  [tomgross]


2.0.4 (2012-10-20)
------------------

- Do not download the file when we click on "unlock" in the context of a file.
  Refs https://dev.plone.org/ticket/13191
  [thomasdesvenain]


2.0.3 (2012-01-04)
------------------

- Check if context is not joined to zodb connection for transaction where lock
  is added.
  [fafhrd91]

2.0.2 (2011-11-29)
------------------

- Do not cleanup stale lock if database is in read-only mode.
  http://dev.plone.org/ticket/12239
  [fafhrd91]


2.0.1 - 2011-05-12
------------------

- Make plone.locking check for the global lock settings if a context-specific
  adapter is not found. Fixes http://dev.plone.org/plone/ticket/11779
  [ggozad]

- Add MANIFEST.in.
  [WouterVH]


2.0 - 2010-07-18
----------------

- Define all package dependencies.
  [hannosch]

- Update license to GPL version 2 only.
  [hannosch]


1.2.1 - 2010-07-01
------------------

- Load the ``cmf.*`` permissions from Products.CMFCore.
  [hannosch]


1.2.0 - 2009-03-04
------------------

- Added IRefreshableLockable interface and TTWLockable implementation.
  [davisagli]

- Changed default lock timeout to 10 minutes.
  [davisagli]


1.1.0
-----

- Clarified license and copyright statements.
  [hannosch]

- Declare test dependencies in an extra. Avoid dependency on Plone.
  [hannosch]

- Specify package dependencies.
  [hannosch]

- Fix missing internationalization (#8609 thanks to Vincent Fretin)
  [encolpe]


1.0.5 - 2008-01-03
------------------

- Fix lock timeout which was set by default to 12 minutes, it is
  now set to maxtimeout (71582788 minutes).
  Fixes http://dev.plone.org/plone/ticket/7358
  [jfroche]

- Fix TypeError when an anonymous user locks content.  Fixes
  http://dev.plone.org/plone/ticket/7246
  [maurits]


1.0 - 2007-08-17
----------------

- Initial release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/plone.locking",
    "name": "plone.locking",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "locking webdav plone",
    "author": "Plone Foundation",
    "author_email": "plone-developers@lists.sourceforge.net",
    "download_url": "https://files.pythonhosted.org/packages/ab/2b/ef051c251ea3c845d9fe42d12b3d7f14eed41090ec01a30cdc497d3864e0/plone.locking-3.0.1.tar.gz",
    "platform": null,
    "description": "Overview\n========\n\nProvides basic automatic locking support for Plone. Locks are stealable by\ndefault, meaning that a user with edit privileges will be able to steal\nanother user's lock, but will be warned that someone else may be editing\nthe same object. Used by Plone, Archetypes and plone.app.iterate\n\nVersion Information\n-------------------\n\n- 3.x -> Plone 6.0+ only\n- 2.3.x -> used in Plone 5+ (not compatible with earlier Plone versions)\n- 2.0.x -> used by Plone 4.x (but *may* also be compatible with earlier versions).\n- Versions 1.x are used by Plone 3.\n\nChangelog\n=========\n\n.. You should *NOT* be adding new change log entries to this file.\n   You should create a file in the news directory instead.\n   For helpful instructions, please see:\n   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst\n\n.. towncrier release notes start\n\n3.0.1 (2024-01-22)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (6e36bcc4, 7723aeaf)\n\n\n3.0.0 (2023-04-16)\n------------------\n\nBreaking changes:\n\n\n- Drop python 2.7. (#1)\n\n\nNew features:\n\n\n- Update the info viewlet css classes to Bootstrap 5.\n  [ewohnlich] (bs5)\n\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (234bb1d6, 5cc689e5)\n\n\n2.3.0 (2023-02-08)\n------------------\n\nBug fixes:\n\n\n- Update to Zope4 only including troove classifiers. [jensens] (#19)\n\n\n2.2.5 (2021-10-09)\n------------------\n\nBug fixes:\n\n\n- Register a fallback @@plone_lock_info view to allow objects without plone.locking behavior to be edited.\n  [ericof] (#3331)\n\n\n2.2.4 (2020-04-20)\n------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n2.2.3 (2018-09-27)\n------------------\n\nBug fixes:\n\n- More Python 2 / 3 compatibility fixes.\n  [thet]\n\n\n2.2.2 (2018-02-05)\n------------------\n\nBug fixes:\n\n- Update tests to not use plone.app.testing.bbb code.\n  This should avoid test isolation problems.\n  [gforcada]\n\n\n2.2.1 (2018-02-02)\n------------------\n\nBug fixes:\n\n- Add Python 2 / 3 compatibility\n  [pbauer]\n\n\n2.2 (2017-06-08)\n----------------\n\nNew features:\n\n- All LockingOperations method can optionally redirect to the context view\n  [ale-rt]\n\nBug fixes:\n\n- Test fix: Use print in doctest (Python 3/ Zope 4 compat)\n  [MatthewWilkes]\n\n\n2.1.3 (2016-09-09)\n------------------\n\nNew features:\n\n- Update README.rst with Compatibility\n  [djowett]\n\n\n2.1.2 (2016-08-15)\n------------------\n\nFixes:\n\n- Use zope.interface decorator.\n  [gforcada]\n\n\n2.1.1 (2015-10-27)\n------------------\n\nNew:\n\n- Use registry lookup for types_use_view_action_in_listings\n  [esteele]\n\n- Locks stored on annotations are a safe write on read.\n  [gforcada]\n\n\n2.1.0 (2015-09-07)\n------------------\n\n- Pull lock_on_ttw_edit setting from the configuration registry\n  [esteele]\n\n\n2.0.8 (2015-07-20)\n------------------\n\n- Fix write on read CSRF issues with latest plone.protect\n  [vangheem]\n\n\n2.0.7 (2015-06-05)\n------------------\n\n- Fix possible package problem with Python 2.6 and old setuptools (at\n  least 0.6c11) not finding the ``README.txt``.\n  [maurits]\n\n\n2.0.6 (2015-06-05)\n------------------\n\n- Pep8.\n  [vangheem]\n\n\n2.0.5 (2014-10-20)\n------------------\n\n- Adding \"create_lock\" to \"plone_lock_operations\"\n  [hman]\n\n- The locking timeout is now modifiable through LockType definition\n  [parruc]\n\n- Ported to plone.app.testing\n  [tomgross]\n\n\n2.0.4 (2012-10-20)\n------------------\n\n- Do not download the file when we click on \"unlock\" in the context of a file.\n  Refs https://dev.plone.org/ticket/13191\n  [thomasdesvenain]\n\n\n2.0.3 (2012-01-04)\n------------------\n\n- Check if context is not joined to zodb connection for transaction where lock\n  is added.\n  [fafhrd91]\n\n2.0.2 (2011-11-29)\n------------------\n\n- Do not cleanup stale lock if database is in read-only mode.\n  http://dev.plone.org/ticket/12239\n  [fafhrd91]\n\n\n2.0.1 - 2011-05-12\n------------------\n\n- Make plone.locking check for the global lock settings if a context-specific\n  adapter is not found. Fixes http://dev.plone.org/plone/ticket/11779\n  [ggozad]\n\n- Add MANIFEST.in.\n  [WouterVH]\n\n\n2.0 - 2010-07-18\n----------------\n\n- Define all package dependencies.\n  [hannosch]\n\n- Update license to GPL version 2 only.\n  [hannosch]\n\n\n1.2.1 - 2010-07-01\n------------------\n\n- Load the ``cmf.*`` permissions from Products.CMFCore.\n  [hannosch]\n\n\n1.2.0 - 2009-03-04\n------------------\n\n- Added IRefreshableLockable interface and TTWLockable implementation.\n  [davisagli]\n\n- Changed default lock timeout to 10 minutes.\n  [davisagli]\n\n\n1.1.0\n-----\n\n- Clarified license and copyright statements.\n  [hannosch]\n\n- Declare test dependencies in an extra. Avoid dependency on Plone.\n  [hannosch]\n\n- Specify package dependencies.\n  [hannosch]\n\n- Fix missing internationalization (#8609 thanks to Vincent Fretin)\n  [encolpe]\n\n\n1.0.5 - 2008-01-03\n------------------\n\n- Fix lock timeout which was set by default to 12 minutes, it is\n  now set to maxtimeout (71582788 minutes).\n  Fixes http://dev.plone.org/plone/ticket/7358\n  [jfroche]\n\n- Fix TypeError when an anonymous user locks content.  Fixes\n  http://dev.plone.org/plone/ticket/7246\n  [maurits]\n\n\n1.0 - 2007-08-17\n----------------\n\n- Initial release.\n",
    "bugtrack_url": null,
    "license": "GPL version 2",
    "summary": "webdav locking support",
    "version": "3.0.1",
    "project_urls": {
        "Homepage": "https://pypi.org/project/plone.locking"
    },
    "split_keywords": [
        "locking",
        "webdav",
        "plone"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b2172f2e1bcad58767bfce397558cfd9dcb244bb7f367ada1fc1f1525a77ad7d",
                "md5": "6d30361efb761526452f2503ba53dc89",
                "sha256": "61df01a4916a634f51a41c8ff2e99c0d7583cf61542d8cbc2556d01fcdf1d161"
            },
            "downloads": -1,
            "filename": "plone.locking-3.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6d30361efb761526452f2503ba53dc89",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 16864,
            "upload_time": "2024-01-22T19:47:42",
            "upload_time_iso_8601": "2024-01-22T19:47:42.552115Z",
            "url": "https://files.pythonhosted.org/packages/b2/17/2f2e1bcad58767bfce397558cfd9dcb244bb7f367ada1fc1f1525a77ad7d/plone.locking-3.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab2bef051c251ea3c845d9fe42d12b3d7f14eed41090ec01a30cdc497d3864e0",
                "md5": "2d9b0abdea1b788e3bb098ff6a96cf8b",
                "sha256": "0c3c5c051886dbda86ea820ceb5924f9bb3f3b410dd5e8e397e4576181b297f5"
            },
            "downloads": -1,
            "filename": "plone.locking-3.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2d9b0abdea1b788e3bb098ff6a96cf8b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 23355,
            "upload_time": "2024-01-22T19:47:44",
            "upload_time_iso_8601": "2024-01-22T19:47:44.126182Z",
            "url": "https://files.pythonhosted.org/packages/ab/2b/ef051c251ea3c845d9fe42d12b3d7f14eed41090ec01a30cdc497d3864e0/plone.locking-3.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-22 19:47:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "plone.locking"
}
        
Elapsed time: 0.36068s