0.5.59
*always* invoke callback of "save" handler of any modal
0.5.60
Hack to allow serializers to know the difference between a new page and an existing one by observing $el.data('new'). TODO: add this information to the signature of the serialize method in 0.6
0.5.61
* `pages.insertPage` now also accepts `(req, data, overrides, callback)`. Properties of `overrides` are merged into the page object without validation. This is useful for programmatically setting a page type or property that is not on the dropdown menu or not part of the schema.
* `pages.moveToTrash` has been introduced. This method takes `(req, slug, callback)` and delivers `(err, parentSlug, changed)`, where `changed` is an array of objects with `_id` and `slug` properties, useful to see where existing pages were moved to. (Moving a page to the trash may move many pages if the page has children.)
* `/delete` route refactored to use `pages.moveToTrash`.
0.5.62
data-page-versions="slug" attribute on a link can be used to open the page versions modal for any page object, including the global page, which may be necessary on a project-by-project basis. aposPages.browseVersions has been upgraded to accept an options object, with bc. The implementation of the page versions modal is now based on jsonCall.
0.5.63
Whoops, broke the trash can
0.5.64
Merge remote-tracking branch 'upstream/master'