WordPress/wp-includes/js
Daryl Koopersmith 1deab58658 Use the new media modal to insert galleries into TinyMCE and the text editor.
'''Galleries'''

* Gallery insertion from the new media modal (into TinyMCE, the text editor, etc).
* Gallery previews in TinyMCE now use the `wp.mce.views` API.
* Disables the TinyMCE `wpgallery` plugin.
* Gallery previews consist of the first image of the gallery and the appearance of a stack. This will later be fleshed out to include more images/functionality (including editing the gallery, gallery properties, and showing the number of images in the gallery).
* Multiple galleries can be added to a single post.
* The gallery MCE view provides a bridge between the `wp.shortcode` and `Attachments` representation of a gallery, which allows the existing collection to persist when a gallery is initially created (preventing a request to the server for the query).


'''Shortcodes'''

* Renames `wp.shortcode.Match` to `wp.shortcode` to better expose the shortcode constructor.
* The `wp.shortcode` constructor now accepts an object of options instead of a `wp.shortcode.regexp()` match.
* A `wp.shortcode` instance can be created from a `wp.shortcode.regexp()` match by calling `wp.shortcode.fromMatch( match )`.
* Adds `wp.shortcode.string()`, which takes a set of shortcode parameters and converts them into a string.* Renames `wp.shortcode.prototype.text()` to `wp.shortcode.prototype.string()`.
* Adds an additional capture group to `wp.shortcode.regexp()` that records whether or not the shortcode has a closing tag. This allows us to improve the accuracy of the syntax used when transforming a shortcode object back into a string.

'''Media Models'''

* Prevents media `Query` models from observing the central `Attachments.all` object when query args without corresponding filters are set (otherwise, queries quickly amass false positives).
* Adds `post__in`, `post__not_in`, and `post_parent` as acceptable JS attachment `Query` args.
* `Attachments.more()` always returns a `$.promise` object.

see #21390, #21809, #21812, #21815, #21817.


git-svn-id: http://core.svn.wordpress.org/trunk@22120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-05 04:23:59 +00:00
..
crop
imgareaselect Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
jcrop Remove Jcrop non-minified files. see #20728. 2012-08-28 18:03:52 +00:00
jquery jQuery 1.8.2. props ocean90, fixes #21957. 2012-09-23 18:53:44 +00:00
plupload Compress scripts/styles: 3.5-alpha-22071. 2012-09-27 19:21:47 +00:00
swfupload Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
thickbox Switch to sans-serif for the font stack in Thickbox as we have done elsewhere. props wet, fixes #20268. 2012-09-13 17:08:01 +00:00
tinymce Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
admin-bar.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
admin-bar.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
autosave.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
autosave.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
backbone.min.js Please welcome Underscore.js and Backbone.js to core. fixes #21664. 2012-08-22 22:24:20 +00:00
colorpicker.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
colorpicker.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
comment-reply.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
comment-reply.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-base.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-base.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-loader.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-loader.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-preview.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
customize-preview.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
hoverIntent.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
hoverIntent.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
json2.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
json2.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
mce-view.js Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
mce-view.min.js Compress scripts/styles: 3.5-alpha-22071. 2012-09-27 19:21:47 +00:00
media-models.js Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
media-models.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
media-views.js Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
media-views.min.js Compress scripts/styles: 3.5-alpha-22071. 2012-09-27 19:21:47 +00:00
quicktags.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
quicktags.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
shortcode.js Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
shortcode.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00
swfobject.js Update swfobject 2012-04-17 23:09:29 +00:00
tw-sack.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
tw-sack.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
underscore.min.js Update underscore.js to version 1.4.1. fixes #22081, see #22026. 2012-10-03 00:27:16 +00:00
wp-ajax-response.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-ajax-response.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-list-revisions.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-list-revisions.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-lists.js Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk. 2012-09-07 15:49:20 +00:00
wp-lists.min.js Compress scripts/styles: 3.5-alpha-21879. TinyMCE updated. 2012-09-17 00:59:40 +00:00
wp-pointer.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wp-pointer.min.js Switch to .min for compressed JS and CSS files. 2012-08-23 00:04:18 +00:00
wplink.js New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
wplink.min.js Compress scripts/styles: 3.5-alpha-22024. 2012-09-26 22:58:46 +00:00