Internal:
- Minor optimization to disable Diazo theming via X-Theme-Disabled a tick earlier. [thet] (#244)
Bug fixes:
- Fix an issue with unicode characters happening with lxml 5 [ale-rt] (#238)
Bug fixes:
- Traverse to theme resources from the navigation root again. Only when this gives an Unauthorized, try it on the portal as a fall back. This fixes other use cases of traversing to absolute urls in a theme. [maurits] (#236)
Bug fixes:
- Traverse to theme resources from the portal. Fix broken theme when rendering accessible content contained in an inaccessible navigation-root. Fixes #142 [pbauer] (#142)
Bug fixes:
- Fix AttributeError in
custom.css
: "module 'wsgiref' has no attribute 'handlers'". [maurits] (#230)
Internal:
- Update configuration files. [plone devs] (cfffba8c)
Bug fixes:
- Unify default values for translations [erral] (#223)
Bug fixes:
- Fix theme for pat-code-editor. [petschki] (#219)
Bug fixes:
- Fixes circular dependency on ZCML level to Products.CMFPlone: Move permission id=`plone.app.controlpanel.Themes` title=`Plone Site Setup: Themes` to this package. [jensens] (permission-move)
Internal:
- Update configuration files. [plone devs] (80cf330f)
Bug fixes:
- Import more from plone.base. Removed compatibility code for Python 2 and Zope 4. [maurits] (#1)
- Bugfix: If there is no rules.xml given in a theme, abort transform early. Otherwise, given an open file is given as iterable, the read buffer pointer is empty after this function, but None returned. The new way the read buffer pointer is not touched. [jensens, toalba] (#216)
Bug fixes:
- Final release for Plone 6.0.0. (#600)
Bug fixes:
- Fix for tinymce-styles-css when copying theme. [petschki] (#214)
Bug fixes:
- The action buttons in the theming control panel have been improved [rohnsha0] (#212)
New features:
- Deactivate copy button and modal in theming control panel. [MrTango] (#205)
- Load barceloneta css in theming control panel to have it styled. [MrTango] (#205)
- Remove all thememapper functionality from theming control panel, including Inspect/Modify theme and the Preview. [maurits] (#205)
- Use pat-code-editor for custom-css field. [MrTango] (#205)
Bug fixes:
- Add missing i18n:translate tags [erral] (#204)
Bug fixes:
- Use HTML5 meta charset. [thet] (#203)
Bug fixes:
- Fix unclosed file when reading manifest.cfg [petschki] (#199)
- Remove cyclic dependency with Products.CMFPlone [sneridagh] (#201)
Breaking changes:
- Add bootstrap icon from resolver from Plone 6. [petschki, agitator] (#194)
Bug fixes:
- Avoid Server Side Request Forgery via lxml parser. Taken over from PloneHotfix20210518. [maurits] (#3274)
Bug fixes:
- For increased security, fail when trying file protocol access in diazo rules. Also do not resolve entities, and remove processing instructions. [maurits] (#3209)
Bug fixes:
- Fixed WrongContainedType for hostnameBlackList on Zope 5. See also issue 183. [maurits] (#183)
- Fixed deprecation warning for ConfigParser.readfp. [maurits] (#3130)
Bug fixes:
- Fix a missing import [ale-rt] (#188)
Bug fixes:
- Fixes #187: Invalid dependency on plone.app.caching [jensens] (#187)
- Cleanup: Remove meanwhile unused test fixture code referring to
plone.app.caching
. Removed class and fixtures:ThemingWithCaching
,THEMINGWITHCACHING_FIXTURE
,THEMINGWITHCACHING_TESTING
. Those were nowhere used active in Plone nor outside in Github. [jensens] (#188)
Bug fixes:
- Internationalize the Custom CSS placeholder. This fixes plone/Products.CMFPlone#3139 [vincentfretin] (#186)
Bug fixes:
- Fix i18n of new messages related to new Custom CSS feature. [vincentfretin] (#185)
New features:
- Insert diazo bundle without rules. [santonelli] (#176)
- Add custom CSS settings and view to theming control panel. Depends on plone/Products.CMFPlone#3089 [MrTango] (#178)
Bug fixes:
- Fix error on Python 3 with nonascii subrequest. The subrequest would succeed, but the non-ascii would be ugly. Fixes issue 3069 and issue 162. [maurits] (#162)
- Make it possible to preview themes TTW again. [petri] (#173)
- Fix hostnameBlacklist (Theming ControlPanel) in Py3. [MrTango] (#179)
- Fix various
WrongType
exceptions when saving the control panel. This was introduced by theprocessInputs
change in version 4.0.5. See issue 183. [maurits] (#183)
Bug fixes:
- Minor packaging updates. (#1)
Bug fixes:
- Do not call
processInputs
. It is not needed since Zope 4, and not existing in Zope 5. [maurits] (#171)
Bug fixes:
- Fix creating a new theme ttw in py2 with Zope 4.1.3. [pbauer] (#166)
Bug fixes:
- Load zcml of
plone.resource
for our use of theplone:static
directive. [maurits] (#2952)
Bug fixes:
- Fixed Python3 TypeError: 'filter' object is not subscriptable. This happened when overriding a filesystem theme with a TTW version [fredvd] (#160)
Bug fixes:
- Fix skinname-encoding in py3 (fixes plone/Products.CMFPlone#2748) [pbauer] (#2748)
Breaking changes:
- Factor out all static resources into plone.staticresources as part of PLIP 1653. [thet, sunew] (#149)
Bug fixes:
- a11y: Added role attribute for portalMessage [nzambello] (#151)
- Fixed DeprecationWarning about SafeConfigParser class on Python 3. [maurits] (#152)
- Fixed ResourceWarnings for unclosed files in tests. [maurits] (#154)
- Fixed "RuntimeError: dictionary changed size during iteration" [jensens] (#156)
Breaking changes:
- Remove five.globalrequest dependency. It has been deprecated upstream (Zope 4). [gforcada]
New features:
- Recompiled resource bundles with latest mockup. [sunew]
Bug fixes:
- Explicit load permissions for controlpanel. [jensens]
- Fix tests for merged plone.login. [jensens]
- More Python 3 fixes [ale-rt, pbauer, davisagli]
Bug fixes:
- Added a failing (5.1) test for fileuploads in the theme editor that breaks when plone.rest is installed. Fix is in plone/plone.rest#59 [djay]
Bug fixes:
- remove mention of non-existent Example theme [tkimnguyen]
- Prepare for Python 2 / 3 compatibility [pbauer, ale-rt]
Bug fixes:
- Remove unittest2 dependency [kakshay21]
Breaking changes:
- Let the pattern configuration of the thememapper be in JSON format. Fixes problems of thememapper working together with latest patternslib (2.1.0). [thet]
Bug fixes:
- Fix thememapper pattern handling of buttons (via mockup update). Update thememapper bundle. [thet]
Bug fixes:
- Reduce log level of ThemingPolicy cache to 'debug'. [jensens]
Bug fixes:
- Fix imports from Globals that was removed in Zope4 [pbauer]
- No longer patch Control Panel internals, as it was removed in Zope4 [MatthewWilkes]
- reST syntax, styleguide, wording and line length of the docs [svx]
Bug fixes:
- Make diazo.debug work again when DIAZO_ALWAYS_CACHE_RULES is set. [ale-rt]
Bug fixes:
- Remove roman monkey patch. [gforcada]
New features:
- Add Update -button for theming control panel making it possible to reload modified theme manifest without deactivating theme at first. [datakurre]
Fixes:
- Enable unload protection by using pattern class
pat-formunloadalert
insteadenableUnloadProtection
. [thet] - Small fix in documentation [staeff]
- Fix issue where theming control panel errored when a packaged theme was overridden with a global resource directory theme [datakurre]
New:
- Control theme compilation in development mode
through the environment variable
DIAZO_ALWAYS_CACHE_RULES
[ale-rt]
Fixes:
- Small fixes to documentation [ale-rt]
New:
- For the theming controlpanel, change base URLs from portal URL to what getSite returns, but don't change the controlpanels context binding. This allows for more flexibility when configuring it to be allowed on a sub site with a local registry. [thet]
Fixes:
- Fixed html validation: element nav does not need a role attribute. [maurits]
- Handle potential scenarios where wrong theme would show selected in the theming control panel [vangheem]
New:
- Documented how to disable diazo transform by setting the
X-Theme-Disabled
header. [ale-rt]
Fixes:
- Rebuild resources so they work with latest mockup/patternslib integration changes. [vangheem]
- Removed github dependencies in thememapper. [Gagaro]
Fixes:
- Updated Site Setup link in all control panels. Fixes plone/Products.CMFPlone#1255 [davilima6]
Fixes:
- Do not fail in
isThemeEnabled
when we have no settings, for example when migrating from Plone 3 to Plone 5, but maybe also in other cases. [maurits] - Fixed Unicode Encode Error when to copy into multi-byte title / description [terapyon]
- Fix i18n in mapper.pt [vincentfretin]
- Pull mark_special_links, external_links_open_new_window values from configuration registry. [esteele]
- Fix visual glitch on Safari [davilima6]
- Show active theme at the top of the theme list. Fixes #70 [tmassman]
- Remove bundled twitter bootstrap theme 'example'. Fixes plone/Products.CMFPlone#877 [pbauer]
- Remove duplicate type attribute for theming control panel delete modal. [esteele]
- rewrite manifest from copied theme with relative paths also [vangheem]
- theme mapper fixes for odd behavior in save files at times [swartz]
- Build thememapper resources. [vangheem]
- Added cache invalidation option. [swartz]
- change link from plone.org to plone.com. [tkimnguyen]
- fix toolbar on control panel [vangheem]
- fix less building [obct537]
- Fixed copy modal for themes with a dot in the name. [Gagaro]
- Provide better styling to theming control panel, less build, finish implementation [obct537]
- make sure when copying themes that you try to modify the base urls to match the new theme are all the manifest.cfg settings [vangheem]
- implement switchable theming policy API, re-implement theme caching [gyst]
- fixed configuration of copied theme [vmaksymiv]
- implemented upload for theme manager [schwartz]
- Change the category of the configlet to 'plone-general'. [sneridagh]
- removed irrelevant theme renaming code [schwartz]
- Filesystem themes are now correctly overridden. TTW themes can no longer be overridden [schwartz]
- re-added manifest check [schwartz]
- Fixed broken getTheme method [schwartz]
- Minor ReStructuredText fixes for documentation. [maurits]
- Fix RestructuredText representation on PyPI by bringing back a few example lines in the manifest. [maurits]
- Add setting for tinymce automatically detected styles [vangheem]
- fix AttributeError: 'NoneType' object has no attribute 'getroottree' when the result is not html / is empty. [sunew]
- make control panel usable again. Fixed problem where skins control panel is no longer present. [vangheem]
- unified different getTheme functions. [jensens]
- pep8ified, housekeeping, cleanup [jensens]
- Specify i18n:domain in controlpanel.pt. [vincentfretin]
- pat-modal pattern has been renamed to pat-plone-modal [jcbrand]
- Fix load pluginSettings for the enabled theme before calling plugins for onEnabled and call onEnabled plugins with correct parameters [datakurre]
- Patch the ZMI only for available ZMI pages. [thet]
- Change deprecated import of
zope.site.hooks.getSite
tozope.component.hooks.getSite
. [thet] - Add an error log if the subrequest failed (probably a relative xi:include) instead of silently returning None (and so having a xi:include returning nothing). [vincentfretin]
- Fix transform to not affect the result when theming is disabled [datakurre]
- Integrate thememapper mockup pattern and fix theming control panel to be more usable [ebrehault]
- Remove DL's from portal message in templates. plone/Products.CMFPlone#153 [khink]
- Fix "Insufficient Privileges" for "Site Administrators" on the control panel. [@rpatterson]
- Add IThemeAppliedEvent [vangheem]
- Put themes in a separate zcml file to be able to exclude them [laulaz]
- #14107 bot requests like /widget/oauth_login/info.txt causes problems finding correct context with plone.app.theming [anthonygerrard]
- Added support for ++theme++ to traverse to the contents of the current activated theme. [bosim]
- Disable theming for manage_shutdown view. [davisagli]
- Fix reference to theme error template [afrepues]
- Add "Test Styles" button in control panel to expose, test_rendering template. [runyaga]
- Fixed i18n issues. [thomasdesvenain]
- Fixed i18n issues. [jianaijun]
- This fixed UnicodeDecodeError when Theme Title is Non-ASCII in the manifest.cfg file. [jianaijun]
- Fixed i18n issues. [vincentfretin]
- Make the template theme do what it claims to do: copy styles as well as scripts. [smcmahon]
- Change the label and description for the example theme to supply useful information. [smcmahon]
- Upgrades from 1.0 get the combined "Theming" control panel that was added in 1.1a1. [danjacka]
- Ensure host blacklist utilises SERVER_URL to correctly determine hostname for sites hosted as sub-folders at any depth. [davidjb]
- Add test about plone.app.theming / plone.app.caching integration when using GZIP compression for anonymous (see ticket 12038). [ebrehault]
- Add diazo.debug option, route all error_log output through this so debugging can be displayed [lentinj]
- Make example Bootstrap-based theme use the HTML5 DOCTYPE. [danjacka]
- Demote ZMI patch log message to debug level. [hannosch]
- Upgrade to ACE 1.0 via plone.resourceeditor [optilude]
- Put quotes around jQuery attribute selector values to appease jQuery 1.7.2. [danjacka]
- Protect the control panel with a specific permission so it can be delegated. [davisagli]
- Advise defining ajax_load as
request.form.get('ajax_load')
in manifest.cfg. For instance, the login_form has an hidden empty ajax_load input, which would give an unthemed page after submitting the form. [maurits] - Change theme editor page templates to use main_template rather than prefs_main_template to avoid inserting CSS and JavaScript too early under plonetheme.classic. [danjacka]
- Replace the stock "Themes" control panel with a renamed "Theming" control panel, which incorporates the former's settings under its "Advanced" tab. [optilude]
- Add a full in-Plone theme authoring environment [optilude, vangheem]
- Update IBeforeTraverseEvent import to zope.traversing. [hannosch]
- On tab "Manage themes", change table header to better describe what's actually listed. [kleist]
- Prevent AttributeError when getRequest returns None. [maurits]
- Calculate subrequests against navigation root rather than portal. [elro]
- Supply closest context found for 404 pages. [elro]
- Lookup portal state with correct context. [elro]
- Patch App.Management.Navigation to disable theming of ZMI pages. [elro]
- Evaluate theme parameters regardless of whether there is a valid context or not (e.g. when templating a 404 page). [lentinj]
- Moved the views and overrides plugins out into a separate package
plone.app.themingplugins
. If you want to use those features, you need to install that package in your buildout. Themes attempting to register views or overrides in environments whereplone.app.themingplugins
is not installed will install, but views and overrides will not take effect. [optilude]
- Support for setting arbitrary Doctypes. [elro]
- Upgrade step to update plone.app.registry configuration. [elro]
- Fixed plugin initialization when applying a theme. [maurits]
- Query the resource directory using the 'currentTheme' name instead of the Theme object (updating the control panel was broken). [maurits]
- Fix zip import (plugin initialization was broken.) [elro]
- Make sure the control panel is never themed, by setting the X-Theme-Disabled response header. [optilude]
- Add support for registering new views from Zope Page Templates and overriding existing templates. See README for more details. [optilude]
- Add support for
X-Theme-Disabled
response header. [elro] - Make "Replace existing theme" checkbox default to off. [elro]
- Fix control panel to correctly display a newly uploaded theme. [elro]
- Fix zip import to work correctly when no manifest is supplied. [elro]
- Show theme name along with title in control panel. [elro]
- Encode internally resolved documents to support non-ascii characters correctly. [elro]
- Fix control panel to use theme name not id. [optilude]
- Wrap internal subrequests for css or js in style or script tags to facilitate inline includes. [elro]
- Add
theme.xml
import step (see README). [optilude] - Add support for
[theme:parameters]
section inmanifest.cfg
, which can be used to set parameters and the corresponding TALES expressions to calculate them. [optilude] - Add support for parameter expressions based on TALES expressions [optilude]
- Use plone.subrequest 1.6 features to work with IStreamIterator from plone.resource. [elro]
- Depend on
Products.CMFPlone
instead ofPlone
. [elro] - Added support for uploading themes as Zip archives. [optilude]
- Added theme off switch: Add a query string parameter
diazo.off=1
to a request whilst Zope is in development mode to turn off the theme. [optilude] - Removed 'theme' and alternative themes support: Themes should be referenced
using the
<theme />
directive in the Diazo rules file. [optilude] - Removed 'domains' support: This can be handled with the rules file syntax
by using the
host
parameter. [optilude] - Removed 'notheme' support: This can be handled within the rules file syntax
by using the
path
parameter. [optilude] - Added
path
andhost
as parameters to the Diazo rules file. These can now be used as conditional expressions. [optilude] - Removed dependency on XDV in favour of dependency on Diazo (which is the new name for XDV). [optilude]
- Forked from collective.xdv 1.0rc11. [optilude]