Commit Graph

1507 Commits

Author SHA1 Message Date
John O'Nolan
55576226ab Fix relative em sizing bug 2014-09-26 20:35:10 +02:00
Jason Williams
4ff2e0ad52 Merge pull request #4132 from novaugust/fix-tab-pane-connection
Fix GhostTab and GhostTabPane array dependencies
2014-09-25 17:50:59 -05:00
Fabian Becker
3d5549e697 Close mobile menu on tap.
fixes #4168
- Listen to tap event
2014-09-25 18:35:27 +02:00
Hannah Wolfe
3d68e4ea33 Merge pull request #4147 from ErisDS/shortcuts
Minor shortcut amends
2014-09-25 16:50:31 +01:00
John O'Nolan
d3ec580508 Correct broken Google webfont in editor
Fixes #4162
2014-09-25 18:33:57 +03:00
John O'Nolan
d2c005a741 Merge pull request #4166 from JohnONolan/tag-icon-fix
Fix invisible tag delete icon
2014-09-25 17:30:11 +02:00
John O'Nolan
a2651e47e9 Merge pull request #4149 from halfdan/style-fixes
Minor style fixes
2014-09-25 17:18:28 +02:00
John O'Nolan
67dd73aed9 Fix invisible tag delete icon 2014-09-25 18:11:56 +03:00
Hannah Wolfe
c6dd964665 Merge pull request #4153 from halfdan/4151-tag-order
Fix tag order
2014-09-25 11:29:10 +01:00
Ashish Dixit
f96c1e2587 Rename helpers/ghostPaths.js -> helpers/ghost-paths.js
Refs #4144
2014-09-24 20:06:42 -05:00
Fabian Becker
c0639eb4cc Fix tag order
fixes #4151
- Properly re-add pre-existing tags to beginning of array
2014-09-24 21:56:37 +00:00
Fabian Becker
6bfc43d2b4 Minor style fixes
no ref
- fix .featured/.unfeatured padding
- fix settings cog padding
2014-09-24 20:22:28 +00:00
Hannah Wolfe
11cb70a13e Merge pull request #4096 from javorszky/enable-nprogress
Undisable nProgress
2014-09-24 19:01:49 +01:00
Hannah Wolfe
965d099b23 Merge pull request #4120 from halfdan/4116-settings-classes
Implements setting specific body classes
2014-09-24 18:47:34 +01:00
Jason Williams
5bae948c69 Merge pull request #4145 from ErisDS/pr/3484
Enable cycling header levels with ctrl+h.
2014-09-24 12:30:50 -05:00
Gabor Javorszky
058edb96c8 Undisable nProgress
Closes #4095

* Removes the line that killed nProgress for PSM
* adds to styles to make nProgress appear again (ht @halfdan)

IRC: http://107.20.237.151:8081/logs/%23ghost/20140922#pm51214
2014-09-24 18:26:36 +01:00
Hannah Wolfe
536b66111f Updating markdown help modal with new shortcuts
issue #3019
2014-09-24 18:14:05 +01:00
Robert Jackson
454cf649d4 Enable cycling header levels with ctrl+h.
closes #3019

* Remove preexisting `ctrl+h` keymap.
* Add logic to cycle the header level.
  * Loops around after h3.
  * Sets cursor position to end of heading
  * Set initial level to h2.
* Remove `ctrl+alt+${NUM}` keymaps (as they do not work
  internationally).
2014-09-24 18:14:04 +01:00
John O'Nolan
f941cd064f Merge pull request #4142 from PaulAdamDavis/fix-publish-bar-tags
Fix publish bar tag scrolling div
2014-09-24 17:30:51 +02:00
Hannah Wolfe
75897d2bb7 Minor shortcut amends
issue #1463

- disables some of codemirrors default shortcuts to prevent them clashing
- minor cleanup of shortcut listing
2014-09-24 16:11:17 +01:00
Jason Williams
eef2e59a7e Merge pull request #4143 from ErisDS/modal-button
Fix button class on upload modal
2014-09-24 10:01:11 -05:00
Matt Enlow
434ea7b3fd Merge pull request #3824 from felixrieseberg/iss3718-2
{{gh-path}} Handlebars helper, returning paths
2014-09-24 08:48:31 -06:00
Hannah Wolfe
e31c5e39f3 Fix button class on upload modal
no issue

- this makes sure that the cancel button on the upload modal gets the
  correct class
2014-09-24 15:26:23 +01:00
Paul Adam Davis
245e2a72a2 Fix publish bar tag scrolling div
Continues on from #4128

- Increases height of tags div and adds `overflow-y: hidden;` to its parent
2014-09-24 15:18:02 +01:00
Fabian Becker
235729992d Implements setting specific body classes
closes #4116
- Adds css classes to settings views
2014-09-24 15:24:15 +02:00
Fabian Becker
5f5993819a Static page and feature options in new PSM
closes #4109
- Add featured option
- Move static page/featured to other place
- Change wording on static page
2014-09-24 12:29:17 +00:00
Paul Davis
d87980b80a Merge pull request #4139 from JohnONolan/dropdown-refresh
Updated dropdown component style
2014-09-24 12:19:58 +01:00
Hannah Wolfe
041a2571fc Merge pull request #4126 from mattiascibien/issue-4124
Incrementing hard limits for Meta title and Meta description
2014-09-24 12:16:41 +01:00
John O'Nolan
be1fe86c96 Merge pull request #4128 from PaulAdamDavis/fix-tags-input
Rewrite publish bar markup
2014-09-24 13:12:10 +02:00
John O'Nolan
7c235e6388 Updated dropdown component style 2014-09-24 14:03:19 +03:00
John O'Nolan
df53e692d9 Update icons 2014-09-24 13:46:13 +03:00
Paul Adam Davis
37ca589af4 Rewrite publish bar markup
Closes #4123, closes #4114, references #4105

- Rewrite to use flexbox for über mobile goodness
- Fixes tag suggestions (using the new dropdown style)
- Fixes vertical alignment
2014-09-24 09:47:33 +01:00
Paul Adam Davis
c57b3a1af2 Disable horizontal scrolling in right outlet
Closes #4131

- Adds `overflow-x: hidden;` to `.right-outlet`
2014-09-24 09:36:49 +01:00
Hannah Wolfe
f4beed6120 Merge pull request #4118 from JohnONolan/053-fixes 2014-09-24 09:16:14 +01:00
John O'Nolan
ddf233bb9b Remove about page header on desktop
See #4116
2014-09-24 09:08:43 +01:00
John O'Nolan
657206dcb9 Fix broken link, remove old html files 2014-09-24 09:08:42 +01:00
John O'Nolan
1bf24ec60e Fix overly tiny text 2014-09-24 09:08:42 +01:00
John O'Nolan
8e4666e011 Mobile bug fixes for users view 2014-09-24 09:08:42 +01:00
John O'Nolan
6a4036a0bb Minor start on CSS Style cleanup
See #4107
2014-09-24 09:08:42 +01:00
John O'Nolan
ea7f69c23a Fix padding on content preview mobile views 2014-09-24 09:07:50 +01:00
John O'Nolan
7d0558b526 SERP style updates 2014-09-24 09:07:50 +01:00
John O'Nolan
47e7f1f3ad Fix post settings menu cog alignment and colours 2014-09-24 09:07:34 +01:00
Mattias Cibien
ee38957317 Incrementing hard limits for Meta title and Meta description
closes #4124
- incremented values for client-side validation for Meta title and Meta description
- changed error messages to display the maximum number of characters.
2014-09-24 09:18:28 +02:00
Jason Williams
282807adf0 Merge pull request #4129 from halfdan/fix-leave-modal
Fix leave modal when leaving new post
2014-09-24 00:06:07 -05:00
Matt Enlow
60aa9af424 Fix GhostTab and GhostTabPane array dependencies
No issue
- TabPanes weren't finding their tab due to not listing all their dependencies in Ember.computed
2014-09-23 20:22:15 -06:00
Fabian Becker
918783a8ce Fix leave modal when leaving new post
no ref
- set titleScratch to empty string if unset
2014-09-23 20:04:26 +00:00
Jason Williams
d7ef166995 Merge pull request #4115 from halfdan/4113-serp-placeholder
Remove placeholders and limit SERP description
2014-09-23 14:41:32 -05:00
Fabian Becker
a7f61cd2ed Remove placeholders and limit SERP description
closes #4112, closes #4113
- Remove meta_* placeholders
- Add … in SERP preview when desc too long
2014-09-23 21:07:21 +02:00
Paul Adam Davis
92bf86feba Fix chevron animation in publish button
Closes #4104

- Fixed the broken spiny animation used in the publish button
2014-09-23 11:03:08 +01:00
John O'Nolan
20bec45d34 Remove unused, commented out CSS.
See #4102
2014-09-23 10:14:10 +03:00
John O'Nolan
a41c17936c Merge pull request #4090 from PaulAdamDavis/ie-fixes
IE UI fixes
2014-09-23 06:14:11 +02:00
Matt Enlow
cfd4e9e000 Fix uncentered no posts view
Closes #4097
2014-09-22 17:42:56 -06:00
Hannah Wolfe
34e044c284 Merge pull request #4089 from halfdan/4087-meta
Validate and properly color letter count.
2014-09-22 22:41:59 +01:00
Felix Rieseberg
1c753d4ee9 {{gh-path}} Handlebars helper, returning paths
- Uses utils/ghost-paths to resolve paths
- {{gh-path}} or {{gh-path ‘blog’}} for Ghost’s root (mysubdir/)
- {{gh-path ‘admin’}} for Ghost’s admin root (/mysubdir/ghost)
- {{gh-path ‘api’}} for Ghost’s admin root (/mysubdir/ghost/api/v0.1)
2014-09-22 10:17:24 -07:00
Sarah
ec59a7a85c Show all authors in post settings menu
Closes #4016
- Added 'limit=all' to API query to retrieve all users.
2014-09-22 11:30:00 -04:00
Paul Adam Davis
bfa0751e3e Fix minor IE UI issues
Closes #4088

- Fix Flexbox issue with the user list
- Fix positioning issue with the mobile menu toggle icon
- Make the mobile settings nav use absolute positioning (as fixed elements don't move inside a `transform: translate(...);` parent
2014-09-22 13:55:39 +01:00
Fabian Becker
090c58edb5 Validate and properly color letter count.
fixes #4087
- Adds correct validations for meta_title/meta_description
- Adds correct coloring of letter count
2014-09-22 12:55:03 +00:00
Matt Enlow
f91651563c Add Gmail-style shortcuts
Ref #3940
- add `j`/`k` for navigating posts down / up
- `c` for opening a new post
-  `o` to open the selected post
- update keymaster dep to allow for multiple key unbinds (`key.unbind('up, j')`)
2014-09-21 11:02:42 -06:00
Hannah Wolfe
f05d2fad01 Merge pull request #4066 from halfdan/3939-psm3-meta
Meta data screen
2014-09-21 17:53:12 +01:00
Fabian Becker
8616a45c3c Meta data screen
closes #3939
- Add Seo Tab component to PSM
- Add new gh-blur-textarea component
- Refactor blur-input to use new text-input mixin
2014-09-21 15:13:06 +00:00
John O'Nolan
036789e0f8 Merge pull request #4053 from PaulAdamDavis/css-bug-fixes
Tiny CSS bug fixes
2014-09-20 09:12:25 +02:00
Fabian Becker
b3b6c87b6d Correctly close PSM
closes #4077
- Swap CSS toggling for new PSM closing method
2014-09-20 02:02:09 +02:00
Paul Adam Davis
c6289c87b8 Fix several tiny CSS bugs
Closes #4050

- Full-width invite user modal button
- `<select>` can be focused in Firefox
- Increase size of background images for avatars
- Add `-moz-osx-font-smoothing: grayscale;` to icons
2014-09-19 21:24:43 +01:00
Hannah Wolfe
0a6514a3b9 Merge pull request #4042 from novaugust/psm2-tabs
Add Tab components
2014-09-19 17:33:57 +01:00
Hannah Wolfe
9c5d40523d Merge pull request #4065 from jaswilli/transition
Prevent transition to signup on invalid invitation
2014-09-19 17:17:13 +01:00
John O'Nolan
439e56028d Merge pull request #4048 from novaugust/delete-post-shortcut
[Feature request] Add delete post shortcut to content screen
2014-09-19 17:22:42 +02:00
Hannah Wolfe
8ab717dc4e Merge pull request #4045 from halfdan/4031-mobile-content
Mobile view menu for content screen
2014-09-19 14:10:46 +01:00
Jason Williams
4f89c66a2b Prevent transition to signup on invalid invitation
Refs #3876
- Prevent signup page from flashing when an invalid invitation
  token is used.
- Clear sensitive information from signup controller.
- Make isInvitation API behavior consistent with other auth
  related APIs.
2014-09-19 04:52:45 +00:00
Matt Enlow
604c4b8330 Merge branch 'pr/3876'
* pr/3876:
  Redirect user if signup invitation isn't valid
2014-09-18 19:22:39 -06:00
Felix Rieseberg
9e9c6247ce Redirect user if signup invitation isn't valid
Closes #3565
- Added server API isInvitation (analog to isSetup), checking if an
invitation exists for a given email address.
- If the invitation is no longer valid (or didn’t exist in the first
place), the user is redirected and an error notification is shown.
2014-09-18 19:11:40 -06:00
Matt Enlow
e3a5374fa9 Merge pull request #4051 from PaulAdamDavis/fix-user-settings
Fix user settings page for Firefox
2014-09-18 18:51:22 -06:00
Matt Enlow
be53c7a4c9 Add Tab components
Closes #3937
- Add ghost tab components
- Remove extra container div from Application view
- Move right-outlet viewing logic to application level
- Prepare PSM.hbs for tabbing
2014-09-18 18:15:43 -06:00
Fabian Becker
c4d7acf893 Mobile view menu for content screen
closes #4031
- Adds css to show back button, edit button in header nav on mobile
2014-09-18 15:52:40 +00:00
Fabian Becker
4af5b89c60 Properly handle no posts
fixes #4058
- Set noPosts in setupController
2014-09-18 16:29:03 +02:00
Harry Wolff
a4ef0c7118 Add jscs task to grunt file and clean up files to adhere to jscs rules.
resolves #1920

- updates all files to conform to style settings.
2014-09-17 21:44:29 -04:00
Paul Adam Davis
e89d0c2fd2 Fix user settings page for Firefox
References #4050

- Restructures the CSS to work in Firefox - No visual changes, only fixes
2014-09-17 14:07:44 +01:00
Matt Enlow
75dee2f283 Merge pull request #4041 from felixrieseberg/psm-coverimages
PSM: Cover Images
2014-09-16 15:37:33 -06:00
Felix Rieseberg
56ca345bf6 PSM: Cover Images
closes #3885
2014-09-16 13:32:43 -07:00
Matt Enlow
506feaecf6 Add delete post shortcut to content screen
Proposal :: No issue
- cmd/ctrl+backspace deletes a post on the content screen
2014-09-16 12:02:27 -06:00
Hannah Wolfe
67373c3c84 Merge pull request #4044 from novaugust/issue4032
Abstract mobile transition interactions
2014-09-16 18:34:23 +01:00
Paul Davis
0fdfd6d3e5 Merge pull request #4033 from halfdan/getting-typos
Fix Markdown help modal table positioning
2014-09-16 16:36:53 +01:00
Matt Enlow
e48b5edbb4 Abstract mobile transition interactions
Closes #4032
- Created "mobile" views: `parent-view`, `content-view` and `index-view`
- `mobile/parent-view` has three callbacks for managing layout, and a mediaQuery listener to keep in sync with the user
- content-view and index-view use their parent-views callbacks to bring themselves into and out of the viewport as appropriate
- fixed media queries for post content list from 800px to 900px
- Created `mobile-index-route` to intelligently transition to a new route on desktops (used by both PostsIndexRoute and SettingsIndexRoute)
- Extract mobile interactions from settings views to new mobile utility views
- `js-` prefixed settings view transitions
- removed unused openEditor action from PostsRoute
- removed unused mobile util "responsiveAction"
2014-09-16 07:28:03 -06:00
John O'Nolan
a3aa40c0f0 Minor tweaks to new scrollbar appearance and animations 2014-09-15 12:37:52 +03:00
John O'Nolan
3afb067c0b Merge pull request #4015 from PaulAdamDavis/nano-scrollbars
[WIP] Nanoscroller integration
2014-09-15 11:09:10 +02:00
Paul Davis
ba8a48b369 Merge pull request #4034 from novaugust/iss4027
Fix editor scroll depending on cursor location
2014-09-15 09:14:14 +01:00
Fabian Becker
a45711a5ac Fix Markdown help modal table positioning
no ref
- Fix top spacing of markdown table
- Fix width of table and left align table head
- Fix grammar, whitespace in getting-started post
2014-09-15 09:56:54 +02:00
Fabian Becker
364c70cb44 Properly align word-count
no ref
- Re-adds word-count styles
2014-09-15 00:43:18 +00:00
Matt Enlow
815eaeabf0 Fix editor scroll depending on cursor location
Closes #4027
2014-09-14 17:38:32 -06:00
Paul Adam Davis
4b3df36879 Static nanoscroller integration
References #1892

A static integration of https://github.com/jamesflorentino/nanoScrollerJS



This is WIP with the goal of getting feedback on and deciding how we should integrate this into Ghost.
2014-09-14 17:15:57 +01:00
Paul Adam Davis
381e296f17 Fix ::selection bug
No issue

Fixes a weird issue where text would overlap other text.
2014-09-13 14:54:44 +01:00
John O'Nolan
bff7a7ca55 Merge pull request #4014 from PaulAdamDavis/fix-mobile-nav-click
Change class for editor PSM closing transparent div
2014-09-12 14:51:05 +02:00
Hannah Wolfe
09faec1bae Merge pull request #3999 from novaugust/emberify-posts-c-and-v
Emberify Posts mobile transitions
2014-09-12 11:19:34 +01:00
Paul Adam Davis
0cb495d4a0 Change class for editor PSM closing transparent div
No issue

- Changes the class used by the transparent div used to close the PSM

Without this change, when in the editor and the nav is open, the transparent div here is above the div the nav is looking for. So, the div for the PSM is clicked, rather than the nav div.
2014-09-11 16:38:57 +01:00
Matt Enlow
bacfd6a71b Merge pull request #4013 from PaulAdamDavis/settings-nav-icons
Add icons to settings nav menu
2014-09-11 09:11:34 -06:00
Matt Enlow
1d673eab03 Merge pull request #4011 from PaulAdamDavis/fix-notifications
Fix notification position when PSM is open
2014-09-11 08:48:31 -06:00
Paul Adam Davis
0555ddaa90 Add icons to settings nav menu
References #3810

- Re-adds the icons for each item of the settings nav and related styles

I've opted to go with adding `.icon-users` classes instead of setting them in the Sass.
2014-09-11 15:27:28 +01:00
Paul Adam Davis
2a7967e4d4 Snap page transition for mobile settings
References #3810

- Disables the `.fade-in` animation for settings page transitions on mobile
2014-09-11 14:19:16 +01:00
John O'Nolan
d17f10e37a Merge pull request #4009 from PaulAdamDavis/fix-modals
Fix modal positioning
2014-09-11 14:12:11 +02:00
Paul Adam Davis
4a00599bc7 Fix notification position when PSM is open
Closes #4006

- Adds a transition to the notification containers
- Adjusts the position of bottom notifications when PSM is open
2014-09-11 12:57:41 +01:00
Sebastian Gierlinger
7a9a82e43f Merge pull request #3994 from halfdan/3982-use-auth-scope
Add authentication scope.
2014-09-11 11:00:06 +02:00