Changelog History
Page 27
-
v2.18.0 Changes
March 04, 2017โ All tests passing.
- ๐ New batch editing features for pieces! You can now use the checkboxes to select many items and then carry out the following operations in one step: trash, rescue from trash, publish, unpublish, tag and untag.
In addition there is a clearly documented procedure for creating new batch editing features with a minimum of new code.
๐ Several bugs in the array editor were fixed. Up, down and remove buttons work properly again, an aesthetic glitch was resolved and redundant ordinal numbers do not creep in when managing the order of an array without the
titleField
option.๐ฒ Logging out completely destroys the session. While the standard behavior of
req.logout
in the Passport module is only to break the relationship between theuser
object and the session, users expect a clean break.
-
v2.17.2 Changes
February 28, 2017โ All tests passing.
- ๐ Members of a group that has the admin permission for a specific piece type can now move pieces of that type to and from the trash. (This was always intended, so this is a bug fix.)
- ๐ For better out-of-the-box SEO, an
alt
attribute with the title of the image is now part of theimg
markup ofapostrophe-images
widgets.
-
v2.17.1 Changes
February 21, 2017โ All tests passing.
๐ Fixed XSS (cross-site scripting) vulnerability in
req.browserCall
andapos.push.browserCall
.โ Removed confusing strikethrough of "Apply to Subpages" subform when the permission is being removed rather than added.
๐ Improved UX of area widget controls.
๐ Improved modal array tab UI and CSS.
The
oembedReady
Apostrophe event is now emitted correctly afterapostrophe-oembed
renders an oembed-based player, such as a YouTube video player for theapostrophe-video
widget. This event can be listened for viaapos.on('apostrophe-oembed', fn)
and receives a jQuery object referring to the relevant element.
-
v2.17.0 Changes
February 14, 2017โ All tests passing.
๐
array
schema fields now accept alimit
option. They also support thedef
property to set defaults for individual fields. The array editor code has been refactored for better reliability and performance and documentation for the methods has been written.๐ฑ Relative
@import
statements now work when you push plain.css
files as Apostrophe assets. There is no change in behavior for LESS files. Thanks to Fredrik Ekelund.๐ Controls such as the "Finished" button of the reorganize modal were floating off the screen. This has been fixed.
-
v2.16.1 Changes
February 07, 2017โ All tests passing.
If you have tried using
piecesFilters
with atags
field type, you may have noticed that when the query string parameter is present but empty, you get no results. This is suboptimal because that's a common result if you use an HTML form to drive the query. An empty string for atags
filter now correctly does nothing.โฑ In
apostrophe-rich-text-widgets
, initialize CKEditor oninstanceReady
, rather than via a dodgy timeout. Thanks to Frederik Ekelund for finding a better way!
-
v2.16.0 Changes
February 03, 2017โ All tests passing.
๐ Reintroduced the reorganize feature for editors who have permissions for some pages but not others. You are able to see the pages you can edit and also their ancestors, in order to navigate the tree. However you are able to drag pages only to parents you can edit.
Introduced the new
deleteFromTrash
option to theapostrophe-pages
module. If this option is enabled, a new icon appears in "reorganize" when looking at pages in the trash. This icon allows you to permanently delete a page and its descendants from the site.
๐ The use of this option can lead to unhappy customers if they do not clearly understand it is a permanent action. For that reason, it is disabled by default. However it can be quite useful when transitioning from the initial site build to long-term support. We recommend enabling it during that period and disabling it again after cleanup.
"Reorganize" no longer displays nonfunctional "view" and "trash" icons for the trash and pages inside it.
โ The tests for the
apostrophe-locks
module are now deterministic and should always pass.
-
v2.15.2 Changes
January 30, 2017โ All tests passing.
๐ Fixed a bug which could cause a crash if the
sort
filter was explicitly set tosearch
and no search was actually present. Conditions existed in which this could happen with the autocomplete route. -
v2.15.1 Changes
January 23, 2017Due to a miscommunication the version number 2.15.0 had been previously used. The description below was originally intended for 2.15.0 and has been published as 2.15.1 purely to address the version numbering conflict.
โ All tests passing.
apos.permissions.addPublic
accepts multiple arguments and array arguments, โ adding all of the permission names given including any listed in the arrays.- Permissions checks for pieces admin routes longer check for req.user, checking for the appropriate
edit-
permission is sufficient and makes addPublic more useful. - โก๏ธ Updated the
i18n
module to address a problem where labels that happened to be numbers rather than strings would crash the template if passed to__()
. - ๐ Documentation improvements.
-
v2.14.3 Changes
โ All tests passing.
The mechanism that preserves text fields when performing AJAX refreshes was preserving other types of
input
elements. Checkboxes, radio buttons andtype="submit"
are now properly excluded from this mechanism. -
v2.14.2 Changes
January 18, 2017๐ Fixed #385: if a page is moved to the trash, its slug must always change, even if it has been edited so that it no longer has its parent's slug as a prefix. In addition, if the resulting slug of a descendant of the page moving to the trash conflicts with an existing page in the trash, steps are taken to ensure uniqueness.