Mockup

Latest version: v4.0.2

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

Scan your dependencies

Page 1 of 8

4.0.2

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

Bug fixes:


- Be more strict with version specifications and allow only patch-level upgrades.
The RequireJS config defines exact locations to dependencies which might change.
This will get easier on ES6.
[thet] (1077)

4.0.1

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

New features:


- Upgrade jQuery to 3.6.0 and some other version upgrades.
[thet] (1077)

4.0.0

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

Breaking changes:


- Upgrade jQuery from 1.12.4 to 3.5.1.
Upgrade to patternslib 3.
Remove jquery.event.drag/drop.
Depend on SortableJS as replacement for jquery.event.drag/drop.
pat-sortable: Use SortableJS instead jquery.event.drag/drop based solution.
pat-select2: Use SortableJS instead jquery.event.drag/drop based solution.
[thet]

.. note:: If you experience problems your JavaScript working with jQuery 3 follow the upgradfe guides:
https://jquery.com/upgrade-guide/3.0/
https://jquery.com/upgrade-guide/3.5/
A common source of problems is the removal of the deprecated ``.size()`` method in favor of the ``..length`` attribute which follows JavaScrpt array conventions. (1012)


New features:


- pat-select2: Patch Select2 version to include UI improvements from: https://github.com/collective/select2-3.5.3-custom#mrtango-improve-relateditems-ux
[thet] (1022)
- Simpliy Travis configuration.
Do not set up tests for different browsers - we were always only testing in phantomjs.
Set up Travis caches.
[thet] (1023)


Bug fixes:


- Fix building of the docs bundle.
[thet] (980)
- Fix external description text in tinymce link popup
[parruc] (1010)
- pat-modal: Do not use "target" mode if href is "" which isn't a valid id selector.
pat-tinymce: Fix HTML of image template.
[thet] (1012)
- Bump bl from 4.0.2 to 4.0.3 [dependabot, jensens] (1014)
- Bumps lodash from 4.17.15 to 4.17.20. [dependabot, jensens] (1015)
- Move most dependencies to npm version, instead of github
[MrTango] (1018)
- Code style: Add prettier, eslint .editorconfig and reformat code base.
[thet] (1021)
- Fix selectors for ``sort_reversed`` checkbox in ``pat-querystring``
[petschki] (1043)
- Remove fonts from patterns to avoid multiple inline includes.
[agitator] (1045)
- Call fileUpload view explict with to avoid plone.rest clashes.
[jensens] (1052)
- Fix plone toolbar action links being updated only on the first navigation action in the folder_contents structure pattern. Also clean up previous closetoolbarsubmenu's event handler before readding [fredvd] (3191)

3.2.2

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

Bug fixes:


- Respect default_page_types in actionmenu if folder_contents. Fixes https://github.com/plone/Products.CMFPlone/issues/2700
[pbauer] (1005)
- Put back content type icons in the Add new... menu. This fixes https://github.com/plone/Products.CMFPlone/issues/3163
[vincentfretin] (1009)

3.2.1

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

Bug fixes:


- Fix CSS issue on "Pattern options" tab in Resource Registries (padding-top of the tab content).
This fixes https://github.com/plone/Products.CMFPlone/issues/1111
[vincentfretin] (990)
- Fix some internationalization issues in structure pattern (folder_contents view): "Open", "Edit" and "Actions" tooltips are translated; all actions under "Actions" are translated; In filter menu the "No sorting" option of the sorting dropdown is translated.
[erral] (991)
- Fix regression for the disabled state of action buttons in folder contents
and the Tools/Build CSS button in thememapper.
This fixes https://github.com/plone/Products.CMFPlone/issues/2296
[vincentfretin] (996)
- Fix internationalization of "Filter" placeholder in selected items dialog.
[vincentfretin] (997)
- Fix filename overlapping the remove button in the Upload dialog.
This fixes https://github.com/plone/Products.CMFPlone/issues/2533 and
https://github.com/plone/plonetheme.barceloneta/issues/204
[vincentfretin] (1000)
- In mockup 3.2.0, the fix for 'folder contents "Configure display columns" dialog going under toolbar'
introduced regression for Plone toolbar submenu and portal tabs subtrees.
Revert the previous fix and use a new popover placement mode "bottom-right" for the "Configure display columns" popover.
[vincentfretin] (1002)
- Fix toolbar menus missing checkmark on some browsers
This fixes https://github.com/plone/Products.CMFPlone/issues/1972
[vincentfretin] (1003)

3.2.0

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

New features:


- pat-plone-modal: We can set a string for onSuccess, onError and onFormError
which is the name of a global function to call, on the model of sortable pattern.
This fixes https://github.com/plone/mockup/issues/825
[thomasdesvenain] (825)
- pat-select2: we can set actions on events: selecting, select, deselecting, deselect (886)
- pat-plone-modal: Added an onRender option to set a callback that is called when modal is rendered.
This fixes https://github.com/plone/mockup/issues/891
[thomasdesvenain] (891)
- pat-tooltip: allow ajax content
data-pat-tooltip can get two values:
- "ajaxUrl": the url of tooltip ajax content
- "contentSelector" a js selector of content to display from source content (892)
- pat-tooltip: we can add classes and style into tooltip (893)
- TinyMCE: Add support for image captions.
If an image caption is given, the ``<img>`` tag is wrapped within a ``<figure>`` tag and a ``<figcaption>`` tag is added.
The image has an additional class ``image-richtext`` for further reuse.
[thet] (911)
- Upgrade Sinon from version 1.17.1 to 7.5.0.
[davilima6] (914)
- Structure pattern:
Filter now reads "Search" and is cleared when changing directories.
Querystring popover button: filter instead of search icon, "Extra Filter" title.
Show statusmessage with "Clear" button when filters are applied.
Show visually if a filter is set.
Allow multiple status messages.
Change message from misleading "Cannot order items while querying" to "Drag and drop reordering is disabled while filters are applied.". Fixes: https://github.com/collective/plone.app.locales/issues/173
Display toolbar a bit compacter.
[thet] (937)
- Upgrade node version for testing on travis.
[thet] (938)
- Upgrade patternslib to 2.1.3.
[thet] (944)
- Do not use HTML lists where items are not lists [a11y]
[erral] (948)
- Barceloneta-LTS support for ``mockup-patterns-inlinevalidation`` and ``mockup-patterns-modal``
[petschki] (975)


Bug fixes:


- TinyMCE: fix the position of menu dropdowns when in a modal (867)
- pat-plone-modal: If we click on a pat-plone-modal link into a mockup modal, the page is not reloaded.
This fixes https://github.com/plone/mockup/issues/884
[thomasdesvenain] (884)
- tinymce pattern: Add missing translations by...
- copying generateModalHtml function from master branch,
- adding some backported xml changes from 71ddf6f387
- adding 2 further translations (not yet in master)
[djowett-ftw] (910)
- Upgrade handlebars from 4.1.2 to 4.5.3 to avoid its vulnerabilies

see:

- https://www.npmjs.com/advisories/1300
- https://www.npmjs.com/advisories/1184 (#931)
- Structure pattern: Escape special characters when filtering
[frapell] (932)
- pat-querystring: Fix path widget for old dashed UIDs (plone.uuid < 1.0.2)
[laulaz] (939)
- For the ``i18n-dump`` Grunt task, do not read files in directories except ``mockup`` and ``js``.
[thet] (943)
- TinyMCE pattern: add a random id to the passed in container_id: there might be more than one TinyMCE active in the DOM. Improves 920 which was a fix for positioning of sub-menus in a modal.
[fredvd] (945)
- Tinymce pattern: add tests for the tabs in template link.xml
[batlock666] (946)
- Make toolbar tab-navigable effectively hiding submenus
[erral & ionlizarazu] (950)
- Add a label to the structure pattern serchbox
[erral & ionlizarazu] (952)
- Structure pattern: add a title to the root item in the breadcrumb
[erral & ionlizarazu] (955)
- add a label to the select all checkbox and to each of the items in the table to make the table more accessible
[erral & ionlizarazu] (957)
- toolbar pattern: improve accessibility of up and down arrows
[erral & ionlizarazu] (959)
- Reorder items to show popover just after their corresponding button to be able to tab-navigate to them
[erral & ionlizarazu] (963)
- add missing title and aria-label attributes
[erral & ionlizarazu] (965)
- Remove text from the pagination listing and fix styling
[erral & ionlizarazu] (967)
- Close popovers when ESC is pushed
[erral & ionlizarazu] (968)
- pat-inlinevalidation: Fix bug where drop downs would not get validated
[frapell] (971)
- Set value for RelativeDateWidget on edit
[petschki] (982)
- Fix Upload tab in TinyMCE Image showing [object Object].
https://github.com/plone/Products.CMFPlone/issues/3120
Fix folder contents "Configure display column" dialog going under toolbar.
https://github.com/plone/Products.CMFPlone/issues/3124
[vincentfretin] (986)
- Fix regression with moment date not localized. This closes
https://github.com/plone/Products.CMFPlone/issues/2953
[vincentfretin] (987)

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.