bumpbot
9b23e86b63
Compress scripts/styles: 3.4-RC1-20979.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 01:58:27 +00:00
azaozz
cb71d2fe62
Fix notice in wp_read_image_metadata() when EXIF ISOSpeedRatings is array, props nacin, fixes #20807
...
git-svn-id: http://core.svn.wordpress.org/trunk@20978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 01:39:00 +00:00
bumpbot
71b00f37aa
Compress scripts/styles: 3.4-beta4-20929.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 05:58:26 +00:00
koopersmith
20f804ab8f
Theme Customizer: Fix IE8 drag/drop uploader incompatibility. see #20582 , #19910 .
...
Bind drag/drop support checks to individual plupload instances.
Add drag-over classes to wp.Uploader and corresponding styles to customize image controls.
git-svn-id: http://core.svn.wordpress.org/trunk@20928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 05:55:40 +00:00
bumpbot
e12aedf713
Compress scripts/styles: 3.4-beta4-20762.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:58:25 +00:00
koopersmith
1bac3f30e3
Theme Customizer: Add a fallback UI for browsers that do not support drag and drop upload. see #19910 , #20452 , #20582 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:15:53 +00:00
bumpbot
572fc170fe
Compress scripts/styles: 3.4-beta4-20760.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:58:31 +00:00
koopersmith
08e4e98c16
Uploader & Theme Customizer: Refresh uploader flash/silverlight shims when the mouse enters the browse button. Add class to body based on uploader's drag/drop support. Properly assign customize image uploader containers (so flash shims are positioned correctly when scrolled). see #19910 , #20452 , #20582 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:26:19 +00:00
bumpbot
103ecdf368
Compress scripts/styles: 3.4-beta3-20582.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:58:22 +00:00
azaozz
b6b321a203
Uploader: fix check for error message send from async-upload on failed uploads, improve styling it a bit, props trepmal, SergeyBiryukov, fixes #20445
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 22:06:55 +00:00
bumpbot
f92e8411f8
Compress scripts/styles: 3.4-beta3-20578.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 19:58:21 +00:00
koopersmith
d83e230c50
Use a deep extend in wp.Uploader to ensure that the multipart_params object (and others) are cloned instead of referenced. fixes #20532 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-24 19:38:47 +00:00
bumpbot
ca047faab9
Compress scripts/styles: 3.4-beta2-20546.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:58:21 +00:00
koopersmith
a20bfcd6b1
Theme Customizer: Improve image picker control. see #19910 .
...
Overhauled image pickers:
* Add support for drag and drop uploads to image controls.
* Improve the 'uploaded' tab in image controls: automatically add images uploaded during the current session, hide the tab when no uploaded images exist.
* Move the header image control to the WP_Customize_Header_Image_Control class. Remove wp_customize_print_uploaded_headers() and wp_customize_print_uploaded_headers() functions.
* Abstract the dropdown functionality from the color picker to the .dropdown class.
* In wp.Uploader, unset element keys if passed an empty jQuery collection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:39:55 +00:00
bumpbot
3c61b207ac
Compress scripts/styles: 3.4-beta2-20468.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:58:19 +00:00
azaozz
7872975b0c
Plupload: no need to reset the queue when one file fails (handled internally), see #20422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:51:55 +00:00
bumpbot
0706af654a
Compress scripts/styles: 3.4-beta2-20464.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-13 23:58:20 +00:00
azaozz
9116a89bc7
Update Plupload to 1.5.4, props SergeyBiryukov, fixes #20422
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-13 23:23:13 +00:00
bumpbot
3c1ed96efe
Compress scripts/styles: 3.4-alpha-20296.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 04:58:24 +00:00
koopersmith
30d798ec8d
Create WP_Customize_Control to separate the process of rendering a control from fetching, previewing, and saving its values. see #19910 .
...
Many-to-many mapping between settings and controls.
* Settings and controls have been separated in both the PHP (WP_Customize_Setting, WP_Customize_Control) and the JS (wp.customize.Setting, wp.customize.Control).
* While most settings are tied to a single control, some require multiple controls. The 'header_textcolor' control is a good example: to hide the header text, header_textcolor is set to 'blank'.
Add 'Display Header Text' control.
A handful of miscellaneous bugfixes along the way.
Notes:
* Controls should be separated out a bit more; juggling type-specific arguments in the switch statement is rather inelegant.
* Page dropdowns are currently inactive and need to be re-linked.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-28 04:14:09 +00:00
bumpbot
af84dbcf93
Compress scripts/styles: 3.4-alpha-20192.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:58:27 +00:00
nacin
e515dde625
Use ajaxurl rather than direct references to admin-ajax.php. see #18952 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 13:30:28 +00:00
bumpbot
88fbf34f8f
Compress scripts/styles: 3.4-alpha-20180.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 04:15:22 +00:00
koopersmith
c06576d410
Theme Customizer: First pass for upload controls, using background image as an example. Add a wrapper for Plupload that allows for custom upload UIs. see #19910 .
...
wp.Uploader is a wrapper that provides a simple way to upload an attachment (using the wp_ajax_upload_attachment handler). It is intentionally decoupled from the UI. When an upload succeeds, it will receive the attachment information (id, url, meta, etc) as a JSON response. If the upload fails, the wrapper handles both WordPress and plupload errors through a single handler.
As todos, we should add drag classes for the uploader dropzone and account for the rough 100mb filesize limit in most browsers. The UI for the customizer upload controls could be improved as well.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 04:14:05 +00:00
bumpbot
769e6a9a39
Compress scripts/styles: 3.4-alpha-20115.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:45:20 +00:00
azaozz
9f4408c741
Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:31:31 +00:00
bumpbot
a24bfc4d47
Compress scripts/styles: 3.4-alpha-19983.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 02:00:58 +00:00
azaozz
73c87020c7
HTML in image captions, first run, see #18311
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 01:58:18 +00:00
azaozz
3287ef6d9c
Change the drop target border color, props ocean90, fixes #19298
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 19:16:35 +00:00
azaozz
5866295242
Fix return value in Plupload when using the html4 runtime, fixes #19302
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-20 01:10:50 +00:00
azaozz
2dd43e3337
Remove old styling for rtl progress bar, see #19042
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 21:50:33 +00:00
azaozz
78341014f3
Uploader: show the progress bars as soon as files are queued, attempt to make the progress bar more precise, see #19228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 03:15:42 +00:00
azaozz
e72a2a2917
When queueing too large files in the multi-file uploader in IE or Opera, show error message and remove the file from the queue, fixes #19228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-18 01:10:25 +00:00
azaozz
28ec7872a2
Make the Save All Changes initially hidden on Media -> Add New screen, improve the progress bar "progress" to 1px ticks, see #19190
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:22:27 +00:00
azaozz
8f4fd39550
Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:21:16 +00:00
azaozz
a491abfbb2
Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 18:37:30 +00:00
azaozz
7123026a3b
Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 02:01:13 +00:00
azaozz
9961962861
Uploader: fix file-size-exceeded error handling, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:52:26 +00:00
azaozz
6074eda69d
Uploader: fix progress bar JS and update the style (light blue bars), see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:33:26 +00:00
azaozz
331b242bcd
Revert [19223] and only stop showing the checkbox, props nacin, see #19174
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:34:09 +00:00
azaozz
623220187a
Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:23:40 +00:00
azaozz
a31f0ad164
Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:46:24 +00:00
azaozz
84a23bfd81
Remove the Cancel Upload button, fixes #19050
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:47:12 +00:00
azaozz
a2e4511e5f
Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 11:56:20 +00:00
azaozz
b63ffa3f38
Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:38:28 +00:00
azaozz
000208b86d
Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918 , see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-12 22:24:53 +00:00
azaozz
ae2219cd30
Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
azaozz
2605391379
Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz
81871e05b4
Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-29 23:59:22 +00:00
azaozz
34467767ff
Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 19:21:21 +00:00