Commit Graph

831 Commits

Author SHA1 Message Date
bumpbot 8715cf588b Compress scripts/styles: 3.4-alpha-20192.
git-svn-id: https://develop.svn.wordpress.org/trunk@20192 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 13:58:27 +00:00
Andrew Nacin 0cbc56cfa8 Use ajaxurl rather than direct references to admin-ajax.php. see #18952.
git-svn-id: https://develop.svn.wordpress.org/trunk@20191 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 13:30:28 +00:00
bumpbot 5f9f15402c Compress scripts/styles: 3.4-alpha-20180.
git-svn-id: https://develop.svn.wordpress.org/trunk@20180 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 04:15:22 +00:00
Daryl Koopersmith d254551dd7 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: https://develop.svn.wordpress.org/trunk@20179 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 04:14:05 +00:00
bumpbot d4e4ac7283 Compress scripts/styles: 3.4-alpha-20178. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20178 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 01:00:22 +00:00
Andrew Ozz 4f5a600761 Update TinyMCE to 3.4.9, fixes #20239, fixes #19717
git-svn-id: https://develop.svn.wordpress.org/trunk@20177 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 00:47:06 +00:00
bumpbot 02e1841cc4 Compress scripts/styles: 3.4-alpha-20175. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20175 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 22:00:22 +00:00
Andrew Ozz 995926a5f0 Add support for line breaks to the caption textareas, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20174 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 21:53:11 +00:00
bumpbot 1ae155013d Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20167 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 23:30:29 +00:00
Andrew Ozz 78c8dedcdc Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: https://develop.svn.wordpress.org/trunk@20166 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 23:23:10 +00:00
bumpbot 98715e56d9 Compress scripts/styles: 3.4-alpha-20134.
git-svn-id: https://develop.svn.wordpress.org/trunk@20134 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 03:30:21 +00:00
Daryl Koopersmith f5b9beb8dd Theme Customizer: Move contents of customize.loader.css to wp-admin.css. Make markup/CSS for the full-screen overlay modular. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20133 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 03:19:35 +00:00
bumpbot 4540788d7e Compress scripts/styles: 3.4-alpha-20129.
git-svn-id: https://develop.svn.wordpress.org/trunk@20129 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 23:00:21 +00:00
Daryl Koopersmith 21e5a2e69e Theme Customizer: Add a Control object to better encapsulate different UI elements and make it easy to switch between hard refreshes and postMessage. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20128 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 22:48:07 +00:00
Andrew Ozz ef4f301599 Revert change to the default font in the visual editor, see #20184
git-svn-id: https://develop.svn.wordpress.org/trunk@20125 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 20:33:19 +00:00
bumpbot 4abd8e88a0 Compress scripts/styles: 3.4-alpha-20124.
git-svn-id: https://develop.svn.wordpress.org/trunk@20124 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 03:00:26 +00:00
Daryl Koopersmith e11e5445e9 Theme Customizer: First pass at using postMessage for background color. Fix instance where preview.targetWindow would become inaccurate. Initialize setting values in customize-preview.js. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20123 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:49:02 +00:00
bumpbot 10124d291b Compress scripts/styles: 3.4-alpha-20122.
git-svn-id: https://develop.svn.wordpress.org/trunk@20122 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:15:22 +00:00
Daryl Koopersmith e841432c7c Theme Customizer: Ensure color pickers initialize to the correct color. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20121 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:14:27 +00:00
Daryl Koopersmith c7769fabfd Theme Customizer: Add working color pickers. First pass. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20120 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:03:50 +00:00
bumpbot d24750e3a1 Compress scripts/styles: 3.4-alpha-20115.
git-svn-id: https://develop.svn.wordpress.org/trunk@20115 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:45:20 +00:00
Andrew Ozz e169217ad0 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20114 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:31:31 +00:00
bumpbot d09808555e Compress scripts/styles: 3.4-alpha-20107.
git-svn-id: https://develop.svn.wordpress.org/trunk@20107 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 02:15:20 +00:00
Daryl Koopersmith b908add2c2 Theme Customizer: Improve form markup. Make the theme title/author a section. Prevent section arrows from blocking clicks. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20106 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 02:06:11 +00:00
bumpbot 36ee9105d8 Compress scripts/styles: 3.4-alpha-20061.
git-svn-id: https://develop.svn.wordpress.org/trunk@20061 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 19:00:20 +00:00
Ryan Boren 7df5a5294d Introduce jQuery Masonry. Use it to arrange header thumbnails on custom header screen. Props aaroncampbell. fixes #17242
git-svn-id: https://develop.svn.wordpress.org/trunk@20060 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 18:57:28 +00:00
bumpbot bc81976ef2 Compress scripts/styles: 3.4-alpha-20056.
git-svn-id: https://develop.svn.wordpress.org/trunk@20056 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 23:15:21 +00:00
Andrew Ozz 6afe9edf69 Improve adding more css classes to the editor body, add "rtl", "ie7", "ie8", "ie9" so they can be targeted in editor-style.css, see #19437
git-svn-id: https://develop.svn.wordpress.org/trunk@20054 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 23:06:24 +00:00
bumpbot a13ce71c43 Compress scripts/styles: 3.4-alpha-20050.
git-svn-id: https://develop.svn.wordpress.org/trunk@20050 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 22:30:20 +00:00
Daryl Koopersmith fff67f819c Theme Customizer: Bind the preview iframe load event when triggering refresh instead of when creating the iframe. see #19910.
The loaded event should only fire when we've actually triggered a refresh. If loaded is bound when the iframe is created, sometimes the blank iframe will fire a 'load' event before a refresh is triggered (this occurred with relative frequency in firefox). By binding the loaded event in the refresh function, we prevent this from occurring.

git-svn-id: https://develop.svn.wordpress.org/trunk@20049 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 22:24:46 +00:00
bumpbot fe736e6ca1 Compress scripts/styles: 3.4-alpha-20036.
git-svn-id: https://develop.svn.wordpress.org/trunk@20036 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 06:31:00 +00:00
Daryl Koopersmith 0d1e599420 Theme Customizer: Don't switch themes and update settings when the enter key is pressed. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20035 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 06:28:02 +00:00
Daryl Koopersmith a9cafbf2e8 Theme Customizer: Trigger UI updates only when necessary.
git-svn-id: https://develop.svn.wordpress.org/trunk@20034 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 06:18:17 +00:00
bumpbot ebe7582099 Compress scripts/styles: 3.4-alpha-20032.
git-svn-id: https://develop.svn.wordpress.org/trunk@20032 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 01:31:04 +00:00
Daryl Koopersmith 78bf972b68 Improve page loads in the theme customizer by layering loading iframes. Automate refreshing, but debounce multiple refresh events to prevent hammering the server with requests. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20031 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 01:17:21 +00:00
bumpbot 006515c8cc Compress scripts/styles: 3.4-alpha-20014.
git-svn-id: https://develop.svn.wordpress.org/trunk@20014 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 14:18:24 +00:00
Andrew Ozz b5a3c50057 HTML in image captions: improve converting the caption html elements to a shortcode, catch some rare cases where image with a caption is pasted in the visual editor, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20013 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 08:03:40 +00:00
bumpbot b9736c98e6 Compress scripts/styles: 3.4-alpha-19998.
git-svn-id: https://develop.svn.wordpress.org/trunk@19998 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:31:03 +00:00
bumpbot 071026ba26 Compress scripts/styles: 3.4-alpha-19996.
git-svn-id: https://develop.svn.wordpress.org/trunk@19997 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:16:01 +00:00
Andrew Nacin fefbd866d6 Correct [19952]. see #19592.
git-svn-id: https://develop.svn.wordpress.org/trunk@19996 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:15:08 +00:00
Daryl Koopersmith 9f29c06954 Introduce new theme customizer to replace theme preview. Rough first pass. props koopersmith, ocean90. see #19910.
Merges in http://plugins.svn.wordpress.org/gandalf/branches/dev/ rev 510148.

git-svn-id: https://develop.svn.wordpress.org/trunk@19995 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:12:43 +00:00
bumpbot 8ba7abcdef Compress scripts/styles: 3.4-alpha-19994.
git-svn-id: https://develop.svn.wordpress.org/trunk@19994 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 02:15:56 +00:00
Andrew Ozz d3cecfc612 Use json_encode when outputting translated strings for use in TinyMCE, fixes #20119
git-svn-id: https://develop.svn.wordpress.org/trunk@19993 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 02:11:29 +00:00
Andrew Nacin eecaca2457 Add jQuery postMessage v 0.2. Dual licensed MIT/GPL. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@19992 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 02:04:17 +00:00
bumpbot 31e28f6f2e Compress scripts/styles: 3.4-alpha-19991.
git-svn-id: https://develop.svn.wordpress.org/trunk@19991 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 00:01:02 +00:00
Andrew Ozz ffdbe9be58 TinyMCE: move the WordPress plugins styles to the theme's stylesheet, fixes #20118
git-svn-id: https://develop.svn.wordpress.org/trunk@19990 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 23:46:04 +00:00
bumpbot 076239d0ed Compress scripts/styles: 3.4-alpha-19989.
git-svn-id: https://develop.svn.wordpress.org/trunk@19989 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 22:30:59 +00:00
Andrew Ozz d1eb773689 Close TinyMCE popups/dialogs when clicking on the background, fixes #20117
git-svn-id: https://develop.svn.wordpress.org/trunk@19988 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 22:29:46 +00:00
Andrew Ozz cb306d5f4b Add new string to the proper i18n object, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@19986 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 20:42:36 +00:00
bumpbot d3d4cb95e8 Compress scripts/styles: 3.4-alpha-19985.
git-svn-id: https://develop.svn.wordpress.org/trunk@19985 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 19:30:59 +00:00