------------------
New features:
- Improve the user experience for the theme editor:
- Search for files and text within files and opening the file upon click.
- Add Bootstrap Dropdown menu to the UI views.
- Enable Drag and Drop inside of the theme editor file tree.
- Fixed the Drag and Drop files to root of the file tree.
- Fixed the autoscrolling issue when dragging a file in the file tree.
- Add Anchor (a) tag to the UI views.
- Upgrade JQTree to 1.4.1
- Enable Drag and Drop inside of the theme editor file tree.
- Add contextual menu to theme files in the file tree.
[b4oshany]
- Make thumb scale in folder contents listing adjustable/supressable.
Replace meaningless paper clip icon (fontello) with mime type icons from mimetype registry.
https://github.com/plone/Products.CMFPlone/issues/1734
[fgrcon]
- For ``pat-modal``, let the ajax modal variant acquire it's ajax url when the modal is shown instead when the pattern is initialized.
This makes the modal respect a dynamically changed href attribute on a anchor tag, after it was initialized.
[thet]
- New pattern ``mockup-patterns-structureupdater`` to update title and description depending on the current context on Plone's folder contents page.
[thet]
- Add default plone color less variables for a more consistent design.
They will be overwritten by values set by Plone or integration projects.
[thet]
- Structure widget:
- Show ineffective label in folder contents for not yet effective and published content, likewise it's done with expires.
Show effective and ineffective label styled as bootstrap badges.
- Show "Description" below title, if it's set in ``availableColumns`` and ``activeColumns`` to save some screen space.
- Do not break whitespace within actionmenu links and don't underline them when hovering.
- Trigger ``context-info-loaded`` on body to be able to listen to the event outside the pattern.
[thet]
- Related Items widget:
- Add new mode "auto", which automatically sets ``search`` mode when a searchterm is present, otherwise ``browse`` mode.
- Use searchterm as substring, which matches also within words by wrapping searchterm with the "*" wildcard.
- Show a "One level up" button in the result set in browse mode.
- Show folder icons in in the result set front of items instead a arrow behind the items.
- Filter out non-selectable and non-folderish items in the result set when in browse mode.
- Add option to scan the selected list of items for other patterns.
- Add option for contextPath - objects with this path will not be selectable. This prevents the object where the relation is set on to from being selected and self-referenced.
- Make favorites container positon relative, so that the absolute positioned dropdown appears correctly.
[thet]
- Include TinyMCE 4.5.6
[frapell]
Bug fixes:
- Upload pattern: Fix missing plone.protect authenticator token which led to broken uploads.
[thet]
- fixed css-classes for thumb scales ...
https://github.com/plone/Products.CMFPlone/issues/2077
[fgrcon]
- modal: Fixed duplicate window.confirm on form unload.
Fixes `issue 777 <https://github.com/plone/mockup/issues/777>`_.
[seanupton]
- formunloadalert: Fixed incorrect use of Function.prototype.apply,
when call() was seemingly intended; fixes case where modal close leads to
exception. Fixes `issue 776 <https://github.com/plone/mockup/issues/776>`_.
[seanupton]
- In the insert link/image modal, pass use the correct related items widget options from the ``linkModal`` attribute.
[thet]
- Fixed path to tooltip less files.
This gave an ugly site in develoment mode when editing the loggedin bundle css.
Fixes `issue 1843 <https://github.com/plone/Products.CMFPlone/issues/1843>`_.
[maurits]
- Style filemanager toolbar to better fix small screens.
[thet]
- Fix pattern options initialization according to change in plone.app.theming.
See: https://github.com/plone/plone.app.theming/pull/124
[thet]
- Fix setting empty ace editor instance by passing an empty text.
[thet]
- Unify disabling of buttons by using setting the ``disabled`` DOM property instead using classes.
Fixes thememapper button staying disabled all the time.
[thet]
- Autoformat + eslint fixes for thememapper and filemanager patterns.
[thet]
- Update ``ace-builds`` to 1.2.6, which fixes IME handling in new Chrome.
[thet]
- Fix i18n in upload pattern.
[cedricmessiant]
- Do not use relative paths for imports in less files.
Use the less variables for paths instead.
Fixes a case, where less files couldn't be found in Plone development mode.
[thet]
- fix datepicker markup, see plone/Products.CMFPlone1953 - removes also ugly separator and uses CSS to add space.
[jensens]
- fix pat-moment: localization of default date display.
This was american english only, now it uses the configured locale format LLL (see momentjs docs) which is almost the same,
but works in any language.
[jensens]
- fix structure pattern: do not use a relative date in structure pattern, editors are complaining and it indeed is bad UX.
format with date and time in localized format 'L LT'
[jensens]
- fix structure pattern: if title is empty then show items ID.
[jensens]
- fix localization of "Open folder" link title in related items pattern
[datakurre]
- Fix issue where formunloadalert pattern raised initialization error for modals.
[datakurre]
- Update jqtree to version 1.4.1
[datakurre]