Commit Graph

1747 Commits

Author SHA1 Message Date
Bot (Assets)
dbcc47053f Compress scripts/styles: 3.6-beta4-24659.
git-svn-id: http://core.svn.wordpress.org/trunk@24659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-11 10:58:54 +00:00
Mark Jaquith
ef5e733dbf Revisions: Bunch of refactoring and code cleanup
* Extracted a lot of model-y stuff from the view code.
* Slider now has a proper model, with communication with other models.
* Use of `get( foo )` instead of `findWhere({ id: foo })`.
* Properly set the `from` diff when routing single mode.
* Bind `prev()` and `next()` to their model.
* Tick marks are now percentage based, which means the slider resizes with the browser, without JS resize events.
* When scrubbing, the position of the scrubber is considered a hover, so you can fall off the timeline while still scrubbing and the tooltips will persist.
* Tooltips fade in and out.
* Tooltips hang around for a grace period instead of immediately going away. More forgiving.
* Unused code paths removed.
* Got rid of a bunch of view-to-view communication.
* Use `_.times()` instead of a `for` loop.
* Removed premature `Math.floor()` and `Math.ceil()` calls that were making things not add up to 100%.

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-11 09:14:14 +00:00
Bot (Assets)
6050f55678 Compress scripts/styles: 3.6-beta4-24645.
git-svn-id: http://core.svn.wordpress.org/trunk@24645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 16:58:55 +00:00
Helen Hou-Sandí
561a323362 Add sliding animations to the accordion. props kovshenin, DrewAPicture, helen. fixes #23890.
git-svn-id: http://core.svn.wordpress.org/trunk@24644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 16:32:09 +00:00
Bot (Assets)
d18388712c Compress scripts/styles: 3.6-beta4-24640.
git-svn-id: http://core.svn.wordpress.org/trunk@24640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 06:58:52 +00:00
Andrew Nacin
939ba6619a Some RTL changes for the plugin information box.
props JDTrower, SergeyBiryukov, ocean90, ramiy.
fixes #22897.



git-svn-id: http://core.svn.wordpress.org/trunk@24633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 05:01:33 +00:00
Bot (Assets)
129b592b58 Compress scripts/styles: 3.6-beta4-24632.
git-svn-id: http://core.svn.wordpress.org/trunk@24632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 04:58:53 +00:00
Andrew Nacin
e0ba6b979f Avoid a scrollbar in the iframe used for plugin sandboxing. props kovshenin. see #10840.
git-svn-id: http://core.svn.wordpress.org/trunk@24631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 04:56:28 +00:00
Mark Jaquith
8035bd88ad Revisions: Get rid of an unneccessary ID. IDs are a bad idea.
See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 04:37:50 +00:00
Bot (Assets)
fe2ed20e34 Compress scripts/styles: 3.6-beta4-24596.
git-svn-id: http://core.svn.wordpress.org/trunk@24596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 22:35:26 +00:00
Mark Jaquith
561db4a6da Tick marks are back for revisions
* Simple tick marks
* Tooltips snap to tick marks
* Tooltips arrow reverses side for LTR/RTL
* Fix for routing issue where just the hash is changed in the URL bar relating to compare two mode

see #24425. props adamsilverstein, ocean90.

git-svn-id: http://core.svn.wordpress.org/trunk@24595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 21:37:03 +00:00
Bot (Assets)
3039682176 Compress scripts/styles: 3.6-beta4-24592.
git-svn-id: http://core.svn.wordpress.org/trunk@24592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 18:58:16 +00:00
Andrew Nacin
22b6c3bcc9 Prevent overflow of the parent term dropdown in the new term form. props desrosj, fixes #23397.
git-svn-id: http://core.svn.wordpress.org/trunk@24588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 16:55:59 +00:00
Dominik Schilling
4fc5e70228 Revisions improvements
* Corrected routing behavior
* Simplified CSS for tooltips
* Compare two mode for RTL
* Support for posts without titles 

props adamsilverstein, ocean90. see #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-06 10:48:14 +00:00
Mark Jaquith
5f19c95249 Gracefully slide down the "{Name} is editing" notice portion of the post row, so everything isn't shifting down in an instant and throwing off people's clicks.
fixes #24553. props kadamwhite, johnbillion.

git-svn-id: http://core.svn.wordpress.org/trunk@24576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 23:17:25 +00:00
Dominik Schilling
b95c432870 Revisions: CSS cleanup, see #24425.
git-svn-id: http://core.svn.wordpress.org/trunk@24574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 22:15:37 +00:00
Mark Jaquith
7296424bd2 Push menu settings checkboxes down to a new line to avoid weird overlaps in some languages.
props SergeyBiryukov. see #24546.

git-svn-id: http://core.svn.wordpress.org/trunk@24566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 18:39:21 +00:00
Mark Jaquith
37db654d60 Revisions improvements
* Consolidated router code
* Corrected routing behavior
* Tooltip model
* Removed mouse dragging code

props adamsilverstein, ocean90. see #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 17:44:47 +00:00
Bot (Assets)
b3bff816f9 Compress scripts/styles: 3.6-beta4-24560.
git-svn-id: http://core.svn.wordpress.org/trunk@24561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-05 15:42:57 +00:00
Dominik Schilling
f6ca108240 Revisions UI update:
* Restore Compare two mode
* Restore tooltips
* RTL support
* First pass for URL routing and history

props adamsilverstein, see #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:27:19 +00:00
Bot (Assets)
68ec768ba3 Compress scripts/styles: 3.6-beta4-24523.
git-svn-id: http://core.svn.wordpress.org/trunk@24523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 18:25:01 +00:00
Mark Jaquith
77abb9ff01 Cleanup of the revisions screen, both on the PHP API side, and the JS.
* Much simpler PHP API
* Cleaner and more Backbone-y JS API
* Consequently, does batch queries; this now scales up to hundreds of revisions

Currently missing, but much easier considering the cleaned up base:

* Compare two mode
* RTL

props koopersmith, nacin, adamsilverstein, ocean90. see #24425

git-svn-id: http://core.svn.wordpress.org/trunk@24520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-26 21:06:50 +00:00
Bot (Assets)
6ce2016042 Compress scripts/styles: 3.6-beta3-24430.
git-svn-id: http://core.svn.wordpress.org/trunk@24430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 18:58:57 +00:00
Helen Hou-Sandí
bd231c209f Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519.
git-svn-id: http://core.svn.wordpress.org/trunk@24429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 17:15:53 +00:00
Bot (Assets)
bd21a110d4 Compress scripts/styles: 3.6-beta3-24427.
git-svn-id: http://core.svn.wordpress.org/trunk@24427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 16:58:58 +00:00
Helen Hou-Sandí
b9c5b62965 Change the post format icons sprite to be vertical rather than horizontal in order to allow it to be used for wider items such as labels. RTL tweak for the icon in the posts list table. See #16047, #24519.
git-svn-id: http://core.svn.wordpress.org/trunk@24426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 15:11:42 +00:00
Bot (Assets)
fb16cb6b39 Compress scripts/styles: 3.6-beta3-24420.
git-svn-id: http://core.svn.wordpress.org/trunk@24420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:58:53 +00:00
Helen Hou-Sandí
99c0762fca Remove obsolete CSS related to post formats UI. See #24452, #24502.
git-svn-id: http://core.svn.wordpress.org/trunk@24418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 15:40:17 +00:00
Bot (Assets)
107bd6dda4 Compress scripts/styles: 3.6-beta3-24357.
git-svn-id: http://core.svn.wordpress.org/trunk@24357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 16:59:00 +00:00
Daryl Koopersmith
49ec824b9f Improve contrast of revision diffs. Fixes #24422.
git-svn-id: http://core.svn.wordpress.org/trunk@24355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 16:48:37 +00:00
Daryl Koopersmith
eebf8126d5 Remove strikethrough from revisions UI. See #24422.
git-svn-id: http://core.svn.wordpress.org/trunk@24354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-25 16:25:22 +00:00
Bot (Assets)
83a00bd3dc Compress scripts/styles: 3.6-beta3-24349.
git-svn-id: http://core.svn.wordpress.org/trunk@24349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 20:58:56 +00:00
Sergey Biryukov
d7840ecf2f Auto-expand the menus accordion if JavaScript is disabled. fixes #24402.
git-svn-id: http://core.svn.wordpress.org/trunk@24348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 20:50:10 +00:00
Bot (Assets)
b8f9f03dcf Compress scripts/styles: 3.6-beta3-24318.
git-svn-id: http://core.svn.wordpress.org/trunk@24318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 18:58:57 +00:00
Dominik Schilling
6ad78a3d4d Some more RTL improvements for permalink settings. props SergeyBiryukov. fixes #16834.
git-svn-id: http://core.svn.wordpress.org/trunk@24315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 17:58:10 +00:00
Bot (Assets)
e30777bc0a Compress scripts/styles: 3.6-beta3-24306.
git-svn-id: http://core.svn.wordpress.org/trunk@24306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 20:58:55 +00:00
Andrew Ozz
a26190eb2e Post locks:
- Change from IDs to classes for the notification-dialog divs so they can be reused.
- Do not check post locks if the dialog's html is not present.
- Do not check post locks if there is only one user on a single site install.
See #23697.

git-svn-id: http://core.svn.wordpress.org/trunk@24304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 19:36:29 +00:00
Ryan Boren
ad4a081c0c Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@24303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 12:10:58 +00:00
Bot (Assets)
f6c3c8fcdf Compress scripts/styles: 3.6-beta3-24298.
git-svn-id: http://core.svn.wordpress.org/trunk@24298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 20:59:00 +00:00
Andrew Ozz
7e2331f000 Post formats: add 32px retina icons for both color themes, tweak the css, "crush" the sprites. Props melchoyce, saracannon, aaroncampbell. Fixes #24290, fixes #24331.
git-svn-id: http://core.svn.wordpress.org/trunk@24297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 20:25:24 +00:00
Bot (Assets)
273666492b Compress scripts/styles: 3.6-beta3-24295.
git-svn-id: http://core.svn.wordpress.org/trunk@24295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 02:58:57 +00:00
Andrew Ozz
d1c33dea55 Post format retina icons for both color themes, props melchoyce, aaroncampbell. See #24290, see #24331.
git-svn-id: http://core.svn.wordpress.org/trunk@24294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 02:05:52 +00:00
Bot (Assets)
21a2898cbe Compress scripts/styles: 3.6-beta3-24293.
git-svn-id: http://core.svn.wordpress.org/trunk@24293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 00:58:54 +00:00
Andrew Ozz
2ae4b8e73e Post format image: fix distorted image preview on iPads, see #24046
git-svn-id: http://core.svn.wordpress.org/trunk@24292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-19 00:49:58 +00:00
Bot (Assets)
99385899b2 Compress scripts/styles: 3.6-beta3-24284.
git-svn-id: http://core.svn.wordpress.org/trunk@24284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 18:58:55 +00:00
Dominik Schilling
580e1729c1 Improve the permalink settings UI for RTL.
props yoavf, SergeyBiryukov, DrewAPicture. fixes #16834.

git-svn-id: http://core.svn.wordpress.org/trunk@24283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 17:55:39 +00:00
Bot (Assets)
216a667013 Compress scripts/styles: 3.6-beta3-24280.
git-svn-id: http://core.svn.wordpress.org/trunk@24280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 16:58:57 +00:00
Dominik Schilling
4a65006b22 Customizer: Fix 'Collapse' button in RTL. props SergeyBiryukov. see [22977]. fixes #23846.
git-svn-id: http://core.svn.wordpress.org/trunk@24277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 15:01:11 +00:00
Bot (Assets)
3ac301c5d3 Compress scripts/styles: 3.6-beta3-24265.
git-svn-id: http://core.svn.wordpress.org/trunk@24265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 20:58:57 +00:00
Andrew Ozz
7255abb66c Fix showing and hiding of UI elements when disabling the Post Formats UI, props kovshenin, see #24327
git-svn-id: http://core.svn.wordpress.org/trunk@24264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 20:43:09 +00:00