Mockup

Latest version: v4.0.2

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

2.7.0

------------------

New features:

- Related Items: Add dropdown with recently added items.
[thet]

Bug fixes:

- Marked as compatible with Python 2.7, 3.5, 3.6.
Easy because we basically have no Python code.
Compatible with Plone 5.1 and 5.2. [maurits]

- Fixing problems with wrong relative date translations for norwegian sites.
[martior]

- Fixed resource registry override tab's Save button being disabled
[obct537]

- Add type="button" to pickadate buttons to avoid form submit problems.
[cekk]

- image modal: use image description for modal title
[ksuess]

2.6.2

------------------

New features:

- Structure pattern:

- Make action menu bar sticky.
- Make action menu more compact, so that it doesn't break into a newline early.
- Use more tooltips in the action menu.
[thet]

- Related items pattern:

- Avoid double initialization of Select2.
[thet]

- Added options to change sorting.
[Gagaro]

- TinyMCE pattern:

- Make anchor handling more flexible [tomgross]
- Mark special links [frapell]
- Do not mark anchors as special links [frapell]

Bug fixes:

- Related items widget: Fix case, where ``initSelection`` broke on an error in Select2.
[thet]

- Querystring pattern: Fix 716, where the path-depth was added to string values like the title when a path criteria was present.
[thet]

- Structure pattern:

- Set default page icon on item row. Fixes: https://github.com/plone/Products.CMFPlone/issues/2131
- Pass event data for the ``structure-url-changed`` event correctly.

[jensens, thet]

2.6.1

------------------

Bug fixes:

- Restore ability from < 2.5.1 to let the ``drop`` callback be a function.
It can still be the name of the function in the global namespace.
Fixes 808.
[thet]

- Concatenate value for select multiple input in generic popover in the structure pattern.
[Gagaro]

2.6.0

------------------

New features:

- Queue validation calls in inlinevalidation pattern using jQuery default queue
to ensure validations are called in order and allow custom custom code to be
queued after validation has completed
[datakurre]

- pattern-pickadate: Emit the ``updated.pickadate.patterns`` event when clicking the "clear" and "now" buttons.
[thet]

Bug fixes:

- TinyMCE: Fix seen issue where pattern failed, because importcss_file_filter
was already a function
[datakurre]

- Translate "Title" for the table template
[cillianderoiste]

2.5.1

------------------

New features:

- Query String Widget: Allow configuration of subwidgets.
[thet]

- Added docs for the structureupdater pattern.
[thet]

- Related Items: Simplify templates a bit.
[thet]

Bug fixes:

- Fix callback of sortable pattern.
[tomgross]

- Related Items: Fix filtering of non-selectable and non-browsable items, so that no empty list elements are contained.
Filtering behavior is: When browsing, show only folderish or non-selected, selectable items (but non-selectable, folderish items are greyed out).
When searching, show only selectable items, which were not already selected.
This fixes an issue where it was impossible to select items when many items were filtered out.
[thet]

2.5.0

------------------

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]

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.