plone.resourceeditor


Nameplone.resourceeditor JSON
Version 4.0.1 PyPI version JSON
download
home_pagehttps://github.com/plone/plone.resourceeditor
SummaryIntegrates ACE editor into Plone
upload_time2023-10-06 22:23:58
maintainer
docs_urlNone
authorPlone Foundation
requires_python>=3.8
licenseGPL
keywords ace resource editor
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

This package contains resources for integrating `ACE embeddable code editor <http://ace.ajax.org>`_ into Plone.
It provides a file manager that can edit ``plone.resource`` resource directories in the ZODB.

ACE can be found under ``++resource++plone.resourceeditor/ace/*``.

The file manager can be included in a view with the following in the header::

    <metal:block use-macro="resourceDirectory/@@plone.resourceeditor.filemanager/macros/resources" />

and the following in the body::

    <metal:block use-macro="resourceDirectory/@@plone.resourceeditor.filemanager/macros/filemanager">

In both of these cases, ``resourceDirectory`` should be an in-ZODB ``plone.resource`` resource directory instance.

The macros assume that jQuery is already loaded.


Versions
========

2.x is for Plone 5.0 and up.

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

4.0.1 (2023-10-07)
------------------

Internal:


- Update configuration files.
  [plone devs] (cfffba8c)


4.0.0 (2023-04-27)
------------------

Breaking changes:


- Drop python 2.7 compatibility.
  [gforcada] (#1)


Internal:


- Update configuration files.
  [plone devs] (2a4ba395)


3.0.4 (2022-08-30)
------------------

Bug fixes:


- Fix unclosed file warnings
  [petschki] (#29)


3.0.3 (2020-09-28)
------------------

Bug fixes:


- Fixed invalid escape sequences.
  [maurits] (#3130)


3.0.2 (2020-04-22)
------------------

Bug fixes:


- Minor packaging updates. (#1)


3.0.1 (2020-03-13)
------------------

Bug fixes:


- Do not call ``processInputs``.
  It is not needed since Zope 4, and not existing in Zope 5.
  [maurits] (#26)


3.0.0 (2019-02-13)
------------------

Breaking changes:


- Move all resources for plone.staticresources. See: PLIP 1653. [thet] (#22)


Bug fixes:


- fix UnicodeDecodeError while using Build CSS in Theme Editor #2698 [MrTango]
  (#2698)


2.1.3 (2018-11-02)
------------------

Bug fixes:

- Fix UnicodeDecodeError when saving files TTW.
  [tmassman]


2.1.2 (2018-09-28)
------------------

Bug fixes:

- Fix functionality and tests in py3
  [pbauer]


2.1.1 (2018-02-02)
------------------

Bug fixes:

- Add Python 2 / 3 compatibility
  [pbauer]


2.1 (2017-07-18)
----------------

New features:

- Add the download and move endpoint to the FileManagerActions class
  [b4oshany]

- Add test cases for FileManagerAction
  [b4oshany]


2.0.6 (2017-07-03)
------------------

Fixes:

- Remove  unittest2 dependency
  [kakshay21]
- Split the error message for the move API endpoint into two. One
  is for the parent folder and the other is for the destination folder
  [b4oshany]
- Fix Jenkins flake8 errors


[b4oshany]: https://github.com/b4oshany

2.0.5 (2016-03-31)
------------------

Fixes:

- Cleanup code according to Plone style guide.
  [gforcada]

- Do not crash on saving in FilesystemResourceDirectory, and return the file
  content as 'tmp'.
  [ebrehault]


2.0.4 (2015-10-28)
------------------

Fixes:

- No longer rely on deprecated ``bobobase_modification_time`` from
  ``Persistence.Persistent``.
  [thet]

- Minor cleanup: pep8, readability, ReST.
  [jensens]

- Fixed problem causing file timestamps to show up incorrectly.
  [obct537]

- Fixed error preventing file saving in the filemanager.
  [obct537]


2.0.3 (2015-09-27)
------------------

- handle NotFound errors while generating file/folder listings
  [vangheem]


2.0.2 (2015-09-08)
------------------

- Added check to prevent overwriting folders when saving
  [obct537]

2.0.1 (2015-08-22)
------------------

- Added ability to convert absolute to relative urls
  [obct537]

- Fixed issue with ascii encoding
  [obct537]

- now properly serves filesystem files to the thememapper
  [obct537]

- resourceeditor will now register non-standard mimetypes in the python
  mimetype module
  [obct537]


2.0.0 (2015-03-21)
------------------

- move to mockup based file manager. Plone 5 only here.
  [vangheem]


1.0 (2013-05-23)
----------------

- make sure theme is disable
  [vangheem]

- do not set value inside of pre tag since it can go crazy on some markup
  [vangheem]


1.0b4 (2013-01-01)
------------------

- Fixed a bug with saving files containing non-ASCII characters.
  [optilude]


1.0b3 (2012-10-16)
------------------

- Fix right click menu bug
  [optilude]

- Upgrade to latest version of ACE
  [optilude]


1.0b2 (2012-08-08)
------------------

- Upgrade to version 1.0 of the ACE editor
  [optilude]


1.0b1 (2012-08-08)
------------------

- Initial release
  [optilude]

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/plone/plone.resourceeditor",
    "name": "plone.resourceeditor",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "ace resource editor",
    "author": "Plone Foundation",
    "author_email": "plone-developers@lists.sourceforge.net",
    "download_url": "https://files.pythonhosted.org/packages/ce/92/ff5121e8bfa3a91a7e8ef39a8529f42560c8f02023bcade256cdf1bb5691/plone.resourceeditor-4.0.1.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\nThis package contains resources for integrating `ACE embeddable code editor <http://ace.ajax.org>`_ into Plone.\nIt provides a file manager that can edit ``plone.resource`` resource directories in the ZODB.\n\nACE can be found under ``++resource++plone.resourceeditor/ace/*``.\n\nThe file manager can be included in a view with the following in the header::\n\n    <metal:block use-macro=\"resourceDirectory/@@plone.resourceeditor.filemanager/macros/resources\" />\n\nand the following in the body::\n\n    <metal:block use-macro=\"resourceDirectory/@@plone.resourceeditor.filemanager/macros/filemanager\">\n\nIn both of these cases, ``resourceDirectory`` should be an in-ZODB ``plone.resource`` resource directory instance.\n\nThe macros assume that jQuery is already loaded.\n\n\nVersions\n========\n\n2.x is for Plone 5.0 and up.\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\n4.0.1 (2023-10-07)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (cfffba8c)\n\n\n4.0.0 (2023-04-27)\n------------------\n\nBreaking changes:\n\n\n- Drop python 2.7 compatibility.\n  [gforcada] (#1)\n\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (2a4ba395)\n\n\n3.0.4 (2022-08-30)\n------------------\n\nBug fixes:\n\n\n- Fix unclosed file warnings\n  [petschki] (#29)\n\n\n3.0.3 (2020-09-28)\n------------------\n\nBug fixes:\n\n\n- Fixed invalid escape sequences.\n  [maurits] (#3130)\n\n\n3.0.2 (2020-04-22)\n------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n3.0.1 (2020-03-13)\n------------------\n\nBug fixes:\n\n\n- Do not call ``processInputs``.\n  It is not needed since Zope 4, and not existing in Zope 5.\n  [maurits] (#26)\n\n\n3.0.0 (2019-02-13)\n------------------\n\nBreaking changes:\n\n\n- Move all resources for plone.staticresources. See: PLIP 1653. [thet] (#22)\n\n\nBug fixes:\n\n\n- fix UnicodeDecodeError while using Build CSS in Theme Editor #2698 [MrTango]\n  (#2698)\n\n\n2.1.3 (2018-11-02)\n------------------\n\nBug fixes:\n\n- Fix UnicodeDecodeError when saving files TTW.\n  [tmassman]\n\n\n2.1.2 (2018-09-28)\n------------------\n\nBug fixes:\n\n- Fix functionality and tests in py3\n  [pbauer]\n\n\n2.1.1 (2018-02-02)\n------------------\n\nBug fixes:\n\n- Add Python 2 / 3 compatibility\n  [pbauer]\n\n\n2.1 (2017-07-18)\n----------------\n\nNew features:\n\n- Add the download and move endpoint to the FileManagerActions class\n  [b4oshany]\n\n- Add test cases for FileManagerAction\n  [b4oshany]\n\n\n2.0.6 (2017-07-03)\n------------------\n\nFixes:\n\n- Remove  unittest2 dependency\n  [kakshay21]\n- Split the error message for the move API endpoint into two. One\n  is for the parent folder and the other is for the destination folder\n  [b4oshany]\n- Fix Jenkins flake8 errors\n\n\n[b4oshany]: https://github.com/b4oshany\n\n2.0.5 (2016-03-31)\n------------------\n\nFixes:\n\n- Cleanup code according to Plone style guide.\n  [gforcada]\n\n- Do not crash on saving in FilesystemResourceDirectory, and return the file\n  content as 'tmp'.\n  [ebrehault]\n\n\n2.0.4 (2015-10-28)\n------------------\n\nFixes:\n\n- No longer rely on deprecated ``bobobase_modification_time`` from\n  ``Persistence.Persistent``.\n  [thet]\n\n- Minor cleanup: pep8, readability, ReST.\n  [jensens]\n\n- Fixed problem causing file timestamps to show up incorrectly.\n  [obct537]\n\n- Fixed error preventing file saving in the filemanager.\n  [obct537]\n\n\n2.0.3 (2015-09-27)\n------------------\n\n- handle NotFound errors while generating file/folder listings\n  [vangheem]\n\n\n2.0.2 (2015-09-08)\n------------------\n\n- Added check to prevent overwriting folders when saving\n  [obct537]\n\n2.0.1 (2015-08-22)\n------------------\n\n- Added ability to convert absolute to relative urls\n  [obct537]\n\n- Fixed issue with ascii encoding\n  [obct537]\n\n- now properly serves filesystem files to the thememapper\n  [obct537]\n\n- resourceeditor will now register non-standard mimetypes in the python\n  mimetype module\n  [obct537]\n\n\n2.0.0 (2015-03-21)\n------------------\n\n- move to mockup based file manager. Plone 5 only here.\n  [vangheem]\n\n\n1.0 (2013-05-23)\n----------------\n\n- make sure theme is disable\n  [vangheem]\n\n- do not set value inside of pre tag since it can go crazy on some markup\n  [vangheem]\n\n\n1.0b4 (2013-01-01)\n------------------\n\n- Fixed a bug with saving files containing non-ASCII characters.\n  [optilude]\n\n\n1.0b3 (2012-10-16)\n------------------\n\n- Fix right click menu bug\n  [optilude]\n\n- Upgrade to latest version of ACE\n  [optilude]\n\n\n1.0b2 (2012-08-08)\n------------------\n\n- Upgrade to version 1.0 of the ACE editor\n  [optilude]\n\n\n1.0b1 (2012-08-08)\n------------------\n\n- Initial release\n  [optilude]\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Integrates ACE editor into Plone",
    "version": "4.0.1",
    "project_urls": {
        "Homepage": "https://github.com/plone/plone.resourceeditor"
    },
    "split_keywords": [
        "ace",
        "resource",
        "editor"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7b7e425d19ce843d78c5608ed7690223a3093b214c75f5849ba0a74d50ca3882",
                "md5": "e7513b52d184221ca85c34409477b6d1",
                "sha256": "104a8b55a7f5290d8e8ba49e28d97c46077d11f0c00d374e598fef2cd09bdb96"
            },
            "downloads": -1,
            "filename": "plone.resourceeditor-4.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e7513b52d184221ca85c34409477b6d1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 16859,
            "upload_time": "2023-10-06T22:23:57",
            "upload_time_iso_8601": "2023-10-06T22:23:57.078936Z",
            "url": "https://files.pythonhosted.org/packages/7b/7e/425d19ce843d78c5608ed7690223a3093b214c75f5849ba0a74d50ca3882/plone.resourceeditor-4.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce92ff5121e8bfa3a91a7e8ef39a8529f42560c8f02023bcade256cdf1bb5691",
                "md5": "3b98588c08ed315a4fb4af7c3345a2e7",
                "sha256": "1801057af91c6ad608ee537e510ecce74553327a54bd68086ae1dee0f3f9097a"
            },
            "downloads": -1,
            "filename": "plone.resourceeditor-4.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3b98588c08ed315a4fb4af7c3345a2e7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 24753,
            "upload_time": "2023-10-06T22:23:58",
            "upload_time_iso_8601": "2023-10-06T22:23:58.886403Z",
            "url": "https://files.pythonhosted.org/packages/ce/92/ff5121e8bfa3a91a7e8ef39a8529f42560c8f02023bcade256cdf1bb5691/plone.resourceeditor-4.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-06 22:23:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "plone",
    "github_project": "plone.resourceeditor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "plone.resourceeditor"
}
        
Elapsed time: 0.12248s