wordpress-develop/wp-admin
Daryl Koopersmith 15c451d2f6 Give media a heart transplant.
Revises the concept of the media controller and workspace views (i.e. two central points of control) to be more granular. The main media object is now the `Frame`, which is a hybrid view and state machine.

The state machine is a collection of states, which are just generic instances of `Backbone.Model`. This circumvents the problem of juggling global parameters when changing states. Each state contains its own event loop. All events are also forwarded to the frame itself (as is the case in all model/collection relationships).

The frame view contains several regions, each of which can be overridden without harming or re-rendering the other regions. These work well when used in conjunction with the state machine events.

This removes the upload sidebar (don't worry, visible upload UI will return). Drag and drop uploading still works. The ability to upload has been abstracted into its own view (instead of being attached to the central workspace view).

Editing galleries is temporarily broken — the gallery creation and editing experiences will be unified in a future patch.

Adds events to detect dragging changes in `wp.Uploader` and adds methods to detect and leverage browser support for CSS3 transitions.

see #21390, #21809.


git-svn-id: https://develop.svn.wordpress.org/trunk@22320 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-28 23:29:17 +00:00
..
css Compress scripts/styles: 3.5-beta2-22315. 2012-10-26 22:58:34 +00:00
images Fix "add media" icon in DFW for IE < 9, restore media-button.png, add media-button-2x.png and make them background images, see #21019 2012-09-28 00:33:40 +00:00
includes Give media a heart transplant. 2012-10-28 23:29:17 +00:00
js Give media a heart transplant. 2012-10-28 23:29:17 +00:00
maint Buttons: 2012-10-26 19:40:39 +00:00
network i18n: Fix the usage of sprintf replacements in the Multisite Network Admin new site page. See #22260. 2012-10-23 11:30:09 +00:00
user Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242. 2012-03-15 13:20:00 +00:00
about.php New section on Twitter Embeds on the about page. props georgestephanis, chexee, azaozz, SergeyBiryukov, jane. fixes #20796. 2012-06-02 01:16:35 +00:00
admin-ajax.php Caption editing in the media modal library. 2012-10-10 23:32:48 +00:00
admin-footer.php Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466. 2012-09-16 23:03:35 +00:00
admin-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-header.php Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471 2012-10-16 21:26:59 +00:00
admin-post.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin.php Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745. 2012-09-19 01:51:40 +00:00
async-upload.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
comment.php Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340. 2012-02-07 19:13:30 +00:00
credits.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
custom-background.php New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
custom-header.php New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
customize.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
edit-comments.php Improve the contextual help for the comment bubble in the 'In Response To' column. Props lessbloat. fixes #19788 2012-10-23 13:37:18 +00:00
edit-form-advanced.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
edit-form-comment.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-link-form.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-tag-form.php Enter the semicolon. Props F J Kaiser, SergeyBiryukov. fixes #21393 2012-10-18 13:06:39 +00:00
edit-tags.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
edit.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
export.php @since for some internal functions. props SergeyBiryukov, fixes #21886. 2012-09-25 02:24:58 +00:00
freedoms.php Copy 3.4 about.php header text to credits and freedoms. props pavelevap. fixes #20794. 2012-06-07 15:34:21 +00:00
import.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
index.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
install-helper.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
install.php Buttons: 2012-10-26 19:40:39 +00:00
link-add.php Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014 2012-04-11 02:20:51 +00:00
link-manager.php Pinking shears 2011-12-01 04:51:35 +00:00
link-parse-opml.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
link.php Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014 2012-04-11 02:20:51 +00:00
load-scripts.php Do not use time constants in files the WP bootstrap is not or may not be loaded. see #20987. 2012-09-25 07:05:48 +00:00
load-styles.php Do not use time constants in files the WP bootstrap is not or may not be loaded. see #20987. 2012-09-25 07:05:48 +00:00
media-new.php Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410 2012-04-12 00:16:37 +00:00
media-upload.php Restrict post IDs 2012-06-10 17:37:49 +00:00
media.php Restrict the media editor to posts with the attachment post type. Props helenyhou. fixes #20625 2012-05-09 16:16:03 +00:00
menu-header.php Admin menu: add phpdoc/inline comments describing the usage of the param $icon_url in add_menu_page(), add string 'none' to be used when a menu icon is added from CSS, switch core items in the admin menu to use 'none', fixes #21349 2012-09-16 22:51:44 +00:00
menu.php Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714 2012-09-27 15:33:19 +00:00
moderation.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-admin.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-delete-site.php Reduce use of global. Use get_blog_details() instead. fixes #22090 2012-10-04 12:40:09 +00:00
ms-edit.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-options.php Network Admin, first pass. see #14435 2010-07-30 20:34:54 +00:00
ms-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-themes.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-upgrade-network.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-users.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
my-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
nav-menus.php Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777. 2012-09-03 15:35:22 +00:00
network.php Make Multisite work when WordPress is installed in a subdirectory. You can now have WordPress Multisite as an SVN external or a Git submodule! props johnjamesjacoby, evansolomon, duck_, jakemgold, nacin, markjaquith. see #19796 2012-09-27 06:07:21 +00:00
options-discussion.php Make 'Show Avatars' a checkbox rather than a yes/no radio button. props tmoorewp, fixes #20889. 2012-09-26 06:44:26 +00:00
options-general.php Don't show the same time or date format twice on the General Settings page. This can occur if a translated format is the same as an existing default format. fixes #21060. 2012-10-25 20:15:47 +00:00
options-head.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
options-media.php Always attempt to embed URLs in content, removing the Auto-embeds (autoembed_urls) option. 2012-09-25 07:10:09 +00:00
options-permalink.php Remove unnecessary .tog class from checkboxes on the Permalink Settings screen. Designed originally for the admin color scheme choice (see [7259]), it causes vertical misalignment and lack of spacing between the checkbox and corresponding label. see #16379. 2012-10-05 14:36:46 +00:00
options-privacy.php Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy. 2012-09-13 17:28:57 +00:00
options-reading.php Move the static front page saving routine to a single sanitize_option() callback for show_on_front. page_on_front and page_for_posts are now manually set by this callback, and not separately by options.php. see #16379. 2012-10-08 21:25:13 +00:00
options-writing.php Remove the 'Size of the post box' (default_post_edit_rows) option. This will instead be handled by a user cookie tracking the resizing of both TinyMCE and the main textarea. see #21718. 2012-09-26 03:17:28 +00:00
options.php Move the static front page saving routine to a single sanitize_option() callback for show_on_front. page_on_front and page_for_posts are now manually set by this callback, and not separately by options.php. see #16379. 2012-10-08 21:25:13 +00:00
plugin-editor.php Move the description for tabbing out of the plugin and theme editors textareas to the Help tab, fixes #21347 2012-07-27 16:49:48 +00:00
plugin-install.php Browse and install your wordpress.org plugin favorites from the plugin installer. props Otto42, Japh, DrewAPicture. fixes #22002. 2012-09-27 00:47:01 +00:00
plugins.php Only allow operations on network plugins through the network admin. see #21187, for trunk. 2012-09-04 20:51:33 +00:00
post-new.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
post.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
press-this.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
profile.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
revision.php Mid-page headers should be h3, not h2. 2010-10-22 00:27:12 +00:00
setup-config.php Buttons: 2012-10-26 19:40:39 +00:00
theme-editor.php Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749, for trunk only. 2012-09-04 22:35:12 +00:00
theme-install.php Fix help text on the Install Themes screen, props SergeyBiryukov, fixes #20925 2012-08-22 02:28:30 +00:00
themes.php Remove "This theme supports widgets..." from the theme activation notice. props ryanimel. fixes #19787. 2012-09-24 16:31:41 +00:00
tools.php Update contextual help for Tools screen. Props SergeyBiryukov, ajacommerce, DrewAPicture. fixes #19523 2012-05-05 19:09:08 +00:00
update-core.php Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598. 2012-09-21 19:34:23 +00:00
update.php Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910. 2012-04-16 14:02:28 +00:00
upgrade-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
upgrade.php Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745. 2012-09-19 01:51:40 +00:00
upload.php Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786. 2012-08-24 15:32:23 +00:00
user-edit.php Remove unnecessary label. Props waclawjacek. fixes #17978 2012-09-20 13:59:39 +00:00
user-new.php s/newuserconfimation/newuserconfirmation/ 2012-07-30 16:13:18 +00:00
users.php i18n: Fix the usage of sprintf replacements in the user management admin page. See #22260. 2012-10-23 11:32:41 +00:00
widgets.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00