{ "info": { "author": "Kupu Team", "author_email": "kupu-dev@codespeak.net", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: JavaScript", "Programming Language :: Python" ], "description": "====\nKupu\n====\n\nWhat is Kupu?\n-------------\n\nKupu is a cross-browser WYWSIWYG editor. It allows the comfortable\nediting of the body of an HTML document. It's client-side (browser)\nrequirements are one of:\n\n - Mozilla 1.3.1 or higher\n\n - Internet Explorer 5.5 or higher\n\n - Netscape Navigator 7.1 or higher\n \n - Opera 9 or higher\n\nServer-side there are hardly any requirements, except for some way of\nprocessing data (CGI or something more fancy like PHP, ASP or Python\nscripts in Zope).\n\nKupu is particularly suited for content migration as well as editing.\nContent copied from an existing web page is pasted with all formatting\nintact. This includes structure such as headings and lists, plus links,\nimage references, text styling, and other aspects. Copying text from a\nword processor with an HTML clipboard - such as MS Word - works exactly\nthe same.\n\nKupu will clean up the content before it is sent to the server, and can\nsend data to the server asynchronously using PUT (which allows the data \nto be saved without reloading the page) as well as in a form.\n\nKupu can be customized on many different levels, allowing a lot of changes\nfrom CSS, but also providing a JavaScript extension API.\n\n\nMore documentation...\n---------------------\n\nGeneral information\n\n o Authors: see CREDITS.txt\n\n o License: see LICENSE.txt\n\n o Frequently asked questions: see FAQ.txt\n\nInstallation\n\n o general: see INSTALL.txt\n\n o Zope 2.x: see ZOPE2.txt\n\n o Plone 2.x: see PLONE2.txt\n\nDeveloping\n\n o Customizing kupu: see CUSTOMIZING.txt\n\n o Extending kupu: see EXTENDING.txt\n\n o Java Script API: see JSAPI.txt\n\n o Old browser support: see OLDBROWSERS.txt\n\n o Templating system: see TEMPLATE-SYSTEM.txt\n\n o Library Feature Specification: see LIBRARIES.txt\n\n\nHomepage\n--------\n\nKupu has a homepage at http://kupu.oscom.org\n\n\nReporting bugs\n--------------\n\nPlease report bugs to the issue tracker available at:\nhttp://codespeak.net/issues/kupu/ (mind the trailing slash).\n\n\nMailing list\n------------\n\nThere is a mailing lists for Kupu development: kupu-dev@codespeak.net\n\n\nLicense\n-------\n\nUnless otherwise stated, kupu is released under the Kupu License. See\nLICENSE.txt for the license text.\n\nThe Sarissa ECMAScript library shipped in this distribution\n(common/sarissa.js) is the work of Manos Batsis and distributed under\nthe Kupu License with his kind permission. See the Sarissa homepage at\nhttp://sarissa.sourceforge.net for more information.\n\n\n============\nKupu changes\n============\n\n- 1.5.2 (2013-08-14)\n\n - Make getWysiwygmacros unpublishable.\n [davisagli]\n\n- 1.5.1 (2012-12-09)\n\n - Avoid possible DoS of spellchecker by prefixing each line with ^.\n This fixes https://plone.org/products/plone/security/advisories/20121106/12\n [davisagli]\n\n - Compatibility fixes for IE9+.\n\n This fixes http://dev.plone.org/ticket/11824.\n [malthe]\n\n - Convert GenericSetup profile registration to ZCML, to add compatibility\n with GenericSetup version after 1.6.2 and also move an interface to the\n correct place.\n [hannosch]\n\n - Copy in minimalpath from CMFCore as it has been removed from CMFCore 2.3.\n [elro]\n\n- 1.5.0\n\n - Fix warnings due to missing i18n domain in configure.zcml.\n [davisagli]\n\n- 1.5.0b1 (2011-01-04)\n\n - Set Site Administrator role as default permission for Plone 4.1.\n [elro]\n\n - Depend on ``Products.CMFPlone`` instead of ``Plone``.\n [elro]\n\n - Use of the resolveuid Python script to resolve URLs in the form\n resolveuid/ has been removed. These are now resolved by a browser view\n in plone.outputfilters.\n [davisagli]\n\n - Use of the kupu_captioned_image template to customize the caption added to\n images is deprecated. Use the similar template in plone.outputfilters\n instead.\n [davisagli]\n\n - Use plone.uuid to look up content UUIDs, if available.\n [davisagli]\n\n - Use the resolveuid and captioning transform from plone.outputfilters\n instead of implementing our own.\n [davisagli]\n\n - Remove use of tabindex iterator, which is no longer available in Plone 4.\n This fixes http://dev.plone.org/plone/ticket/11138.\n [encolpe, davisagli]\n\n - Add definitions to zmi_links template to fix it in Plone 4. This fixes\n http://dev.plone.org/plone/ticket/11182.\n [ctxlken, davisagli]\n \n - Releases are now being made from the Plone collective svn.\n\n- 1.4.16\n\n - Kupu didn't not transform resolveuid to friendly url in area tags\n (Plone ticket 9402).\n\n - Updated getWysiwygmacros to respect Plone 4's default_editor property.\n\n - Remove Kupu from the available editors list on uninstall.\n\n - Add Kupu to the available editors list when installed via the\n GenericSetup profile.\n\n - Converted GenericSetup import and export step registrations to ZCML.\n\n - Added icon_expr to the Plone configlet action registration, for\n forward-compatibility with Plone 4.\n\n- 1.4.15\n\n - Don't assume there is only one kupu widget on the page. Made each config node unique. (DannyB)\n\n- 1.4.14\n\n - Fix kupu_xmlconfig to not assume all needed variables are already\n in scope. This fixes \n http://dev.plone.org/old/plone/attachment/ticket/9266\n\n - Do not assume that kupu is always used in Plone. This fixes\n http://dev.plone.org/plone/ticket/9053\n\n - Removed bogus `global_defines` call from kupu_xmlconfig.pt, which was\n both expensive and failed for certain kind of non-content contexts.\n\n - Fixed kupuconfig quoting to work with kss (Plone ticket 9240).\n\n- 1.4.13\n\n - Patch from Andy Altepeter: kupu updatestate patch\n\n - Patch from Gerhard Weis: small js-bugfix in kupudrawers.js\n\n - Wrap the inline xml configuration with javascript document.write\n in the plone integration, so edit pages are valid (x)html.\n\n - Changed undefined variable ${portal_url} to ${context/portal_url} in\n page templates.\n\n - Declare package dependencies and fixed deprecation warnings for use of\n Globals.\n\n - Remove conditional comments when editing in IE (otherwise IE converts\n them to visible text)\n\n - Added a `kupu_enabled` browser view, which can be used instead of the\n isKupuEnabled method of the plonelibrarytool.\n [hannosch]\n\n - Changed the default titlelength for cropping titles in the link drawer to\n 255 instead of 60.\n\n - Correct dependency for the Plone egg.\n\n - Plone tickets\n\n * 8612 strangely numbered column headings (Col 01 | Col 11 | Col 21 | Col 31 etc.)\n * 9190 Please make new release for Kupu to apply updated translation\n\n\n- 1.4.12\n\n - Plone tickets\n\n * 8280 HTML source preview bug with Kupu 1.4.10 and Firefox 3\n * 8287 html2caption is vulnerable to being fooled by acquisitions\n * 8546 kupu AttributeError captioning\n\n- 1.4.11\n\n - French translations broke drawers\n\n - Added full undo/redo support using 'diff_match_patch.js'.\n\n - Plone tickets\n\n * 8327 Kupu CSS inserted below ploneCustom.css in the CSS registry\n\n- 1.4.10\n\n - Update emptypage.pt to include a hint for deliverance that edited\n pages should not be themed. [wiggy]\n\n - Purged old Zope2 Interface interfaces for compatibility with Zope 2.12 and Plone 4, while maintaining compatibility\n with pre Plone 4 versions of Products.PortalTransforms.\n [elro]\n\n - Plone tickets\n\n * 7779 imageuploader doesn t show the input for file if not in english\n * 7958 Kupu: Insert image: KeyError: 'info' (Error 503 loading kupucollection.xml?resource_type=mediaobject)\n * 7990 Internal link drawer broken for editors\n * 8003 Fixed Kupu translation msgids containing html.\n * 8009 Pasting from OpenOffice broken / mishandled comments\n * 8014 kupu zmi_docs#images link broken\n * 8039 Kupu locks up on adding images when user does not have manager privileges\n * 8080 After uploading image, the \"Insert Image\" dialog remains open\n * 8129 \"TypeError: string indices must be integers\" error on plonedrawers.py when installing\n\n- 1.4.9\n\n - Manage anchors didn't add an anchor correctly if there was an\n anchor used for a link inside the element.\n\n - timte fixed a possible unicode decode error\n\n - Image upload now has same style options as image insertion.\n\n - Plone tickets\n\n * 6915 Kupu can't find anchors inside table cells\n * 7409 \"edit without kupu\" does not appear on edit form (the fix for this make the link appear but only in source mode).\n * 7804 KupuLibraryTool spellcheck method is missing a docstring\n * 7893 Workaround for bad KSS form submissions\n * 7916 Kupu breaks strong/em tags with class names, on firefox\n * 7939 Kupu breaks on Firefox 3.0b4 in OSX\n\n- 1.4.8\n\n - Tabbing key now takes you to next/previous field. However, plone\n ticket #7727 might result in tab behaviour changing again.\n\n - Plone tickets\n\n * 7473 Kupu full screen mode looks broken\n * 7494 Insert internal link using IE links in the wrong place\n * 7680 Kupu stripping out anchor to top of current page\n * 7713 Kupu browser \"Home\" link goes to Plone root and not content\n root.\n * 7728 turning on \"Link using UIDs\" breaks indexing of rich text\n fields that contain unicode characters out of the 128 range\n\n- 1.4.7\n\n - Added metadata.xml file to the Plone GenericSetup profile.\n\n - Style whitelist and class blacklist now work when there is only\n one entry in the list.\n\n - Span tags with no attributes after filtering are removed.\n\n- 1.4.6\n\n - Fixed ReftextField error introduced in 1.4.5\n\n- 1.4.5\n\n - Fixed unit tests for the transform (they now use a real image instead of a mockup)\n\n - Fixed the transform to preserve links around images.\n\n - Images may only be resized if 'height' and 'width' are permitted\n image attributes. Resizing images in Firefox sets those\n attributes rather than the style attribute.\n\n - Plone tickets\n\n * 5765 Kupu in IE unable to make a link from selected image\n * 6430 Kupu: changes to images resized by handle-dragging are\n lost (not saved)\n * 6835 Drag image breaks in Kupu\n * 7293 kupu import step has the wrong dependencies in a portal\n setup export\n * 7377 Making an Image a Link within Kupu renders the link tag at\n the top of the content page\n * 7387 Kupu-Commit Selected Changes button missing when\n converting UID=>Relative Link\n * 7426 Kupu 1.4.4 installed with Plone 3.0.3 for PowerPC presents\n itself in Safari 3.0.4, but content in Kupu window can't be edited \n * 7428 Searching for non-ascii character in kupu Insert Link\n dialog causes Error 500 \n * 7419 Plone and/or Kupu should at least WARN an editor of an\n image that changes may be lost at Save time\n\n- 1.4.4\n\n - Enabled Safari support (needs webkit nightly build and Safari 3)\n\n - Plone tickets\n\n * 7099 Kupu error on multi-schemata archetypes content\n * 7258 Missing translation msgids for kupu\n * 7224 Kupu: error in iframe tabindex attribute\n * 7229 kupu 1.4.3 css correction to display redo button icon in editing interface\n * 7285 Kupu Accesskey for Save conflict with Firefox History Menu\n * 7305 Page creation and kupu upload image returns an error if Kupu link uid's is turned on.\n * 7315 Kupu table of contents generator doesn't allow multiple paragraph styles to be selected in IE7\n\n- 1.4.3\n\n - Kupu now uses sarissa 0.9.8.1 (still a differences in\n sarissa_ieemu_xpath.js, but these are purely cosmetic so that jslint\n runs cleanly).\n\n - Plone tickets\n\n * 6970: can't upgrade to Kupu 1.4.1\n * 6975: Cannot save HTML field as NULL\n * 7119: 'Edit without visual editor' link doesn't show up in Plone 2.5.3\n * 7139: Kupu Manage Anchors not working in inline edit\n * 7140: kupu fails with danish letters in title.\n * 7143: UnicodeError inserting image\n * 7158: Kupu Edit already inserted image: Preview and sizes get wrong urls\n\n- 1.4.2\n\n - Florian fixed some encoding errors\n\n - Plone tickets\n\n * 7074: Search for image errors in Kupu\n\n- 1.4.1\n\n Limi asked for some last minute changes for Plone 3:\n\n - Embed doesn't work out of the box in Plone 3, so shouldn't be shown\n by default (it will only lead to a lot of user frustration).\n\n - The anchor/table of contents generation is done differently in Plone\n 3, so should be off by default (turning on buttons is easy in Kupu\n now).\n\n - Insert image/link should default to current folder instead of\n Recent, since the Upload button isn't visible if not (which is the\n most common use case)\n\n - Place the delete link/image button after the pulldown (so it doesn't\n push around the toolbar elements)\n\n - Default table styles now include \"grid listing\" and \"invisible\".\n\n - Paragraph styles now labelled just styles and include: highlight, page break, clear floats\n\n - Create headings now on by default.\n\n- 1.4\n\n - The icons in the toolbar for Plone now use CSS sprites. This means that\n instead of having 30 files each being 16x16, we put all the icons \n in one file, and reference the file once. Then we use CSS positioning to \n pull out the right icon.This has a major impact on how quickly Kupu\n performs its initial load ??? as HTTP roundtripping is very time-consuming.\n Before, Kupu did 17 HTTP requests for its initial image loading, now it\n only does one.\n\n - Fixed a KeyError exception when importing a GenericSetup profile.\n\n - Minor styling changes to the image upload form.\n\n - Plone tickets\n\n * 6486: formUnload protection invoked for inline kupu editor even after Save\n\n * 6833: Error 500 loading kupu_migration.xml\n\n- 1.4rc2\n\n - Fixed broken code for determining the width of captioned images.\n Also removed the hardwired html for the transform and use a\n template instead (so it can be customised).\n\n - Default image size is now configurable\n\n - Plone tickets\n\n * 6756: Kupu Pull-quote style not working in IE\n\n * 6739 Hide the \"edit without visual editor\" link when there is only one format available\n\n * 6535: Can't upload image via visual editor in inline edit\n\n * 6801 'contentUsesKupu' shouldn't expect string type\n\n * 6759: Kupu caption CSS needs some love.\n\n- 1.4rc1\n\n - Added a 'manage anchors' tab to the anchor drawer\n\n - Big cleanup of i18n attributes\n\n - Updated the Japanese translation files, thx to Tyam.\n\n - Added in some support for inserting Flash content.\n\n - Media objects may now have a list of classes (specific to the portal type).\n\n - Image drawer layout has been tidied up.\n\n - Anchors in the link drawer now have a slightly cleaner ui.\n\n - Drawer actions which do server requests now display a wait cursor.\n\n - Removed the tabindex from all the toolbar buttons and added it to\n the iframe: this means you can tab into kupu from above without\n dying of old age as you try to get past the toolbar. Added a\n handler for the tab key so that pressing tab will take you to the\n next tabstop in the form.\n\n - Only single trailing
tags are stripped from p and div tags: multiple\n
tags are left unchanged (so those people who insist on using\n the to generate whitespace still can).\n\n - Plone tickets:\n\n * 5622 Add a class (even if empty) to internal LinkDrawer\n\n * 6283 Do not allow bigger images than Preview by default from Kupu\n\n * 6440 Browser error: exception element has no properties while\n registering an event handler for element null, event click, method\n function ()\n\n * 6720 i18n error in kupu collection\n\n * 5985 Kupu should not strip the dir attribute by default.\n\n * 5985 Range.intersectsNode declared obsolete\n\n * 5189 patch to support embed tag\n\n * 5420 \"Edit with kupu\" broken for fields on custom fieldset\n\n * 6056 Extra line breaks added in pre tags\n\n * 6103 resolveuid does not check input values and throws deep\n \"list index out of bound\" error in ZopeGuards.py\n\n * 6536 Formatting of captioned images is messed up\n\n * 6548 Links tab on kupu control panel gives traceback, cannot\n find kupu_references\n\n * 6598 Default linkables in Kupu: folder is not, plone site is not, ATRelativePathCriterion is\n\n * 4887 Fix for \"editing defaults to kupu, even when javascript turned off\" reverted as it breaks inline editing.\n\n- 1.4 Beta 6\n\n - Removed the getToolByName deprecation workround since\n getToolByName is now officially undeprecated again.\n\n - Removed most of the illegally nested forms produced by the xsl. \n I hope this will stop IE6 crashing. The image upload form is still\n there as it is going to take more major surgery to get rid of that \n one.\n\n- 1.4 Beta 5\n\n - Adjusted some more Plone tests to work on Plone 3.0.\n\n - Kupu is automatically suppressed when the content being edited\n starts with an html comment (