Commit Graph

1267 Commits

Author SHA1 Message Date
Andrew Ozz 701a2d23f9 Post locks and autosave:
- Move nonces refreshing from autosave to lock checking.
- Do autosave only when there is something to save.
See #23295

git-svn-id: https://develop.svn.wordpress.org/trunk@24209 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:52:55 +00:00
Dominik Schilling (ocean90) 0b5b837917 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: https://develop.svn.wordpress.org/trunk@24205 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:22:01 +00:00
bumpbot 223966a366 Compress scripts/styles: 3.6-beta2-24176.
git-svn-id: https://develop.svn.wordpress.org/trunk@24176 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 22:58:57 +00:00
Dominik Schilling (ocean90) 40cf994e77 Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24174 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:17:06 +00:00
bumpbot a7157e4cf0 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: https://develop.svn.wordpress.org/trunk@24163 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:58:59 +00:00
Dominik Schilling (ocean90) 67d2cfeb89 Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 10:12:19 +00:00
bumpbot 3d5f6d2929 Compress scripts/styles: 3.6-beta1-24142.
git-svn-id: https://develop.svn.wordpress.org/trunk@24142 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:48:11 +00:00
Sergey Biryukov c90caa9593 Avoid a JS error when switching post format if Visual editor is disabled. fixes #24218.
git-svn-id: https://develop.svn.wordpress.org/trunk@24141 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:44:15 +00:00
bumpbot f4c72e828e Compress scripts/styles: 3.6-beta1-24138.
git-svn-id: https://develop.svn.wordpress.org/trunk@24138 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:46:49 +00:00
Andrew Nacin 8c818a1d51 Delete minified file. Its parent was removed in [23681].
git-svn-id: https://develop.svn.wordpress.org/trunk@24137 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:21:12 +00:00
Dominik Schilling (ocean90) 800d88397a Revisions UI update:
* Style status loading as a regular update message like on the other screens
 * Move compare two checkbox to diff header to avoid an overlap on long post titles
 * Restore color shades for the scope of changes visualisation 
 * Show tooltips while moving the slider handle
 * Diff header styling
 * Move color declarations to classic/fresh stylesheets
 * Sync admin color stylesheets

props jrbeilke for initial patch. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24119 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 10:56:57 +00:00
Dominik Schilling (ocean90) 47144d8c5d Optimize jQuery selector for checkbox synchronization. props SergeyBiryukov. see #24136.
git-svn-id: https://develop.svn.wordpress.org/trunk@24116 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 12:19:45 +00:00
Helen Hou-Sandi 64ed933919 Better responsive CSS for post format switcher. Remove some JS debug cruft. props wonderboymusic. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24114 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 23:47:21 +00:00
bumpbot b9c80d86ac Compress scripts/styles: 3.6-beta1-24100.
git-svn-id: https://develop.svn.wordpress.org/trunk@24100 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:58:41 +00:00
Mark Jaquith 438f4085f1 Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: https://develop.svn.wordpress.org/trunk@24098 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:22:55 +00:00
bumpbot 7ef190d486 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24095 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:58:43 +00:00
Mark Jaquith 3bde819dbe Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00
bumpbot 629c86ddb2 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: https://develop.svn.wordpress.org/trunk@24090 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:58:41 +00:00
Mark Jaquith 77731b116b Clean up gallery-mode toggling in post-formats.js and make sure it is set on first load.
see #24062

git-svn-id: https://develop.svn.wordpress.org/trunk@24088 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:58:55 +00:00
Mark Jaquith bab5ddd458 Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: https://develop.svn.wordpress.org/trunk@24087 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:43:14 +00:00
bumpbot 89872e2a71 Compress scripts/styles: 3.6-beta1-24086.
git-svn-id: https://develop.svn.wordpress.org/trunk@24086 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:05:54 +00:00
Mark Jaquith 4071f758b3 Fix some issues related to status/aside editor height changing.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24084 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 04:06:06 +00:00
Mark Jaquith c10958235f Make the content area smaller for Aside/Status posts.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24077 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:07:05 +00:00
bumpbot 6eb2bc047a Compress scripts/styles: 3.6-beta1-24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@24067 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:58:34 +00:00
Mark Jaquith 065010983e Multiple improvements to image post format insertion and display.
* get_tag_regex() altered based on Unit Tests.
* Changes to post-formats.js to provide size and link context during image selection.
* Captions are now output in the_post_format_image() when present.
* The meta value for url is respected for the image post format when the HTML in the image meta doesn't include a link

props wonderboymusic. fixes #23965, #23964. see #24147, #24046.

git-svn-id: https://develop.svn.wordpress.org/trunk@24066 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:11:42 +00:00
bumpbot 9c59e3a187 Compress scripts/styles: 3.6-beta1-24060.
git-svn-id: https://develop.svn.wordpress.org/trunk@24061 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:58:40 +00:00
Andrew Nacin ccfda3dcb1 Wait until keyup to set the slug input on the post page, otherwise the final character is not stored. props SergeyBiryukov, fixes #23613.
git-svn-id: https://develop.svn.wordpress.org/trunk@24059 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:52:43 +00:00
Andrew Nacin 3fc35855e9 Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072.
git-svn-id: https://develop.svn.wordpress.org/trunk@24046 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:04:02 +00:00
bumpbot 06b0176541 Compress scripts/styles: 3.6-beta1-24044.
git-svn-id: https://develop.svn.wordpress.org/trunk@24044 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:58:37 +00:00
Andrew Ozz 008336ee9c Post locks:
- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.

git-svn-id: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 03:08:51 +00:00
bumpbot db96892205 Compress scripts/styles: 3.6-beta1-24041.
git-svn-id: https://develop.svn.wordpress.org/trunk@24041 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:58:38 +00:00
Dominik Schilling (ocean90) 990c7c1b81 Revisions JS: Fix typo. props westi . fixes #24136.
git-svn-id: https://develop.svn.wordpress.org/trunk@24040 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:02:24 +00:00
Dominik Schilling (ocean90) 24901103a9 Post Formats: Change post screen icon on selection. props markjaquith. fixes #24140.
git-svn-id: https://develop.svn.wordpress.org/trunk@24039 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:00:10 +00:00
bumpbot c1d8b36e6e Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: https://develop.svn.wordpress.org/trunk@24023 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 22:58:38 +00:00
bumpbot 2a7889aafd Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: https://develop.svn.wordpress.org/trunk@24022 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:58:42 +00:00
Mark Jaquith 177556309d Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: https://develop.svn.wordpress.org/trunk@24021 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:57:44 +00:00
Dominik Schilling (ocean90) 814a49b51b Revisions UI: Disable previous and next buttons when you're on the first, and last node. Put revision ticks above the slider range. props lessbloat for initial patch. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24020 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:12:25 +00:00
Dominik Schilling (ocean90) d8bf6c44b3 Revisions: Clean up JavaScript variable names, see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24019 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 19:34:21 +00:00
bumpbot 46eb88eec5 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: https://develop.svn.wordpress.org/trunk@24008 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 06:58:39 +00:00
Mark Jaquith 2a482cf617 A little cleanup of post-formats.js
git-svn-id: https://develop.svn.wordpress.org/trunk@24007 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 05:22:14 +00:00
Mark Jaquith 793f27f07e New Post Format UI chooser treatment in response to testing.
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link

see #24046. props lessbloat, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24006 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 04:08:46 +00:00
bumpbot 5863223d73 Compress scripts/styles: 3.6-beta1-23990.
git-svn-id: https://develop.svn.wordpress.org/trunk@23990 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:58:35 +00:00
Mark Jaquith d87dd076d4 Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: https://develop.svn.wordpress.org/trunk@23989 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:43:26 +00:00
bumpbot 807bdbd44b Compress scripts/styles: 3.6-beta1-23983.
git-svn-id: https://develop.svn.wordpress.org/trunk@23983 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-13 00:58:37 +00:00
Andrew Ozz 7effedba90 Post locks: make sure we never overwrite a draft when it's locked, clean up wp_ajax_autosave() and make wp-refresh-post-lock a bit more robust, see #23697
git-svn-id: https://develop.svn.wordpress.org/trunk@23981 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-13 00:41:15 +00:00
bumpbot 0e4de5bb97 Compress scripts/styles: 3.6-beta1-23970.
git-svn-id: https://develop.svn.wordpress.org/trunk@23970 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:58:39 +00:00
Mark Jaquith 79c4e52ffa Enforce video dimensions.
props wonderboymusic. see #23831.

git-svn-id: https://develop.svn.wordpress.org/trunk@23969 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:34:05 +00:00
bumpbot 9e833974f6 Compress scripts/styles: 3.6-beta1-23917.
git-svn-id: https://develop.svn.wordpress.org/trunk@23917 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 00:58:45 +00:00
Sergey Biryukov 4200e2702f Use correct class. see #23933.
git-svn-id: https://develop.svn.wordpress.org/trunk@23915 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-05 00:20:19 +00:00
bumpbot d658c85491 Compress scripts/styles: 3.6-beta1-23913.
git-svn-id: https://develop.svn.wordpress.org/trunk@23913 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 22:58:47 +00:00