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
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
Sebastian Gierlinger
94bad160dd
Merge pull request #3908 from halfdan/3758-revokation-api
...
Delete revoked tokens
2014-09-11 10:17:08 +02:00
Matt Enlow
ab7951ea16
Emberify Posts mobile transitions
...
Closes #3950
- Fixed up event attachment and removal in a few mixins
- Renamed content-list-content-view to something more understandable
- simplify transition from posts.index to posts.post
2014-09-10 20:58:10 -06:00
Paul Adam Davis
a2aa18fee4
Fix modal positioning
...
Closes #4008
- Adds a `.modal` class which extends `%modal` - it disappeared with the migration to Libsass
2014-09-10 19:34:39 +01:00
Fabian Becker
412e368729
Delete revoked tokens
...
closes #3758
- new API method to delete access and refresh token
- use new ember-simple-auth config to revoke tokens on logout
- new method to delete tokens by .. token
2014-09-10 20:19:52 +02:00
Paul Adam Davis
d743e466b5
[WIP] Wire up new mobile nav
...
References #3810
With GUI2, there's now a number of places to open the mobile navigation menu. This handles those clicks.
2014-09-10 18:33:27 +01:00
John O'Nolan
1678bda631
Merge pull request #3960 from PaulAdamDavis/fix-user-settings-page
...
Fix user profile settings
2014-09-10 19:04:06 +02:00
Paul Adam Davis
dd21f74f51
Prevent horizontal scroll on content list
...
Closes #4000
- Adds `overflow-x: hidden;` to the content list & preview wrapper
2014-09-10 16:48:33 +01:00
Matt Enlow
1e29e61873
Merge pull request #3965 from halfdan/3936-psm-1
...
PSM Step 1
2014-09-10 09:35:21 -06:00
Fabian Becker
0e779e7c37
Post Settings Menu - Step 1
...
closes #3936
- Implement new PSM
- Hook up close action
- Automatically close when view is destroyed
- Close on click and when pressing ESC
2014-09-10 17:31:19 +02:00
Jamie Knight
4eee1b4cde
Improve keyboard support
...
issue #3964
- added :focus selector to improve keyboard support in modern browsers
- added :active selector to improve keyboard support in old IE
2014-09-10 01:51:25 +01:00
Fabian Becker
b2fdeb0373
Add authentication scope.
...
closes #3982
- Set custom key to use in localStorage based on subdir
2014-09-09 23:44:38 +00:00
Fabian Becker
3a2625b3db
Remove active class from buttons.
...
refs #3989
- Remove active class from {{#link-to tagName="button" ..}}
2014-09-09 22:21:39 +00:00
Paul Adam Davis
a4f98eaa5d
Fix user profile settings
...
References #3810 , #3944
- Fixes several small visual bugs with the user settings page
- Changes `.settings-subview-header` to use a clearfix instead of `overflow: hidden;` (fixing style issues in #3944 )
2014-09-09 11:21:39 +01:00
Hannah Wolfe
00ebc9f9ab
Merge pull request #3963 from jaswilli/issue-3955
...
Prevent editor title from being overwritten
2014-09-06 16:07:30 +01:00
John O'Nolan
f743ef8f2b
Merge pull request #3972 from PaulAdamDavis/form-refactor
...
Remove form focus halo
2014-09-05 18:35:00 +02:00
Paul Adam Davis
7a6f2e4208
Remove form focus halo
...
No issue
- Removed the blue halo from around focused form elements
- Slightly refactored the forms to target less text inputs and have cleaner syntax
2014-09-05 17:16:55 +01:00
Gabor Javorszky
0c984e0efd
Adds (Never) for users who haven't been seen
...
Closes #3970
2014-09-05 16:45:34 +01:00
Hannah Wolfe
12595fc50e
Merge pull request #3957 from halfdan/3956-we-dont-like-html
...
Don't send HTML on post save.
2014-09-05 11:36:19 +01:00
Jason Williams
a67232e00e
Prevent editor title from being overwritten
...
Closes #3955
- Change titleScratch from being bound to the title to being
set when entering the editor so it is not overwritten on a
model refresh.
- Ensure that the "unsaved content" dialog is shown when there are
changes to the "scratch" fields after a post-settings-menu change.
- Add tests to prevent regression.
2014-09-04 19:27:59 +00:00
Fabian Becker
0784f19a77
Don't send HTML on post save.
...
fixes #3956
- adjusts post serialiser to not send HTML content
2014-09-04 18:32:34 +02:00
John O'Nolan
36d08f26de
Merge pull request #3952 from PaulAdamDavis/fix-what-libsass-broke
...
Fix floating header gradient in FF and settings images
2014-09-04 12:20:36 +02:00
Fabian Becker
db85e45add
Show settings-cog and back button
...
closes #3925
- Make user-settings-cog reappear
- Show [< Users] back button
2014-09-03 17:18:41 +02:00
Paul Adam Davis
3634a5ab46
Fix floaring header gradient in FF and settings images
...
No issue
- Corrects the syntax used for the floating header gradient so it now gets prefixed correctly for Firefox
- Removes padding from `<button>` elements (fixes padding around images in buttons)
- Adds display: block; to settings images to prevent a Webkit bug which adds space under the image
2014-09-03 15:52:01 +01:00
Matt Enlow
c1cae072f2
js-
prefix; fix content preview back button
...
Closes #1990 , Ref #3810
- Add `js-` prefix to jQuery calls throughout code and templates
- move MarkdownComponent classNames to template
- Fix back button on posts content preview
- Remove dead code for preview tabbing jQuery
2014-09-02 22:29:32 -06:00
John O'Nolan
2df6995714
Merge pull request #3935 from PaulAdamDavis/new-psm
...
[WIP] New post settings menu
2014-09-03 01:29:14 +03:00
Paul Adam Davis
dc14ea0115
Enlarge mobile matchMedia max-width
...
Closes #3941
It now matches the mobile MQ in CSS - https://github.com/TryGhost/Ghost/blob/master/core/client/assets/sass/components/navigation.scss#L163
2014-09-02 22:20:16 +01:00
Paul Adam Davis
c65b6c3736
Static integration of the new PSM
...
Reference #3932
Take this, and make it work.
2014-09-02 22:07:13 +01:00
Hannah Wolfe
2b34e40fa1
Merge pull request #3575 from novaugust/about-ghost
...
About ghost page
2014-09-02 21:17:16 +01:00
Hannah Wolfe
5721eea33a
Merge pull request #3907 from PaulAdamDavis/fix-about-styles
...
Update About page styles
2014-09-02 21:16:50 +01:00
Matt Enlow
2b07773b8a
Implement About Ghost page
...
Closes #3568
- Deleted html placeholders in client
- Added new grunt task, buildAboutPage, which 1)creates -contributors.hbs partial and 2) downloads contributor avatars
- buildAboutPage is called by anything that does an emberTemplates task
- Removed unused code from ghostpaths
2014-09-02 13:49:01 -06:00
Paul Adam Davis
20246e97f4
Update About page styles
...
Closes #3919
With the move to new global styles, the about page styles got a bit borked. This fixes those.
2014-09-02 16:48:56 +01:00
Hannah Wolfe
a975fec6b2
Merge pull request #3934 from PaulAdamDavis/fix-cover-image
...
Fix user cover images
2014-09-02 16:33:00 +01:00
Hannah Wolfe
1d95d4605e
Merge pull request #3819 from studioromeo/reset-preview-scroll-position
...
Reset preview scroll position when post item is clicked
2014-09-02 16:28:53 +01:00
Paul Adam Davis
9ed5bf87a1
Fix user cover images
...
No issue
The cover image method in the settings/user controller returned the correct asset URL, but not the corresponding CSS which is needed to show it correctly.
2014-09-02 15:19:23 +01:00
Robert Rhoades
3635fa1c1d
Resets the scroll position on controller content change
...
When scrolling through the preview of a long article, if the
post was changed the scroll position of the preview would
remain the same.
2014-09-02 13:13:32 +01:00
Hannah Wolfe
5912c4db99
Merge pull request #3903 from JohnONolan/gui-readme
...
First pass refactor of GUI readme redux
2014-09-01 17:18:10 +01:00
Paul Adam Davis
d7ba24d8b7
Fix notification styles
...
No issue
I'm not sure why, but @extend's here using placeholder selectors, not classes, work.
This fixes the notification and modal styles, which meant changing how the default button selector works. It is now a placeholder, and a real class extends that. The modal styles extended the default button style, which can now happen.
2014-08-31 20:56:05 +01:00
John O'Nolan
2788f73612
First pass refactor of GUI readme redux
2014-08-31 16:56:41 +03:00
Hannah Wolfe
8e333eccca
Adding Grunt tasks for Sass
2014-08-31 14:16:58 +01:00
Hannah Wolfe
381e0940bf
Merge TryGhost/Ghost-UI into TryGhost/Ghost
2014-08-30 18:57:31 +01:00
Paul Adam Davis
8e7b8f8bfa
Swap out Ruby Sass for Node Sass
...
- Uses Node Bourbon https://www.npmjs.org/package/node-bourbon
- Produces source maps
- Removed all ruby dependencie
History:
- Remove bourbon from package and cleanup grunt tasks
- Un-bourbon keyframe animations
- Un-bourbon transitions
- Un-bourbon box-sizing
- Un-bourbon font-feature-settings
- Import bourbon clearfix mixin
- Un-bourbon linear gradients
- Un-bourbon input types
- Un-bourbon positions
- Un-bourbon transforms
- Un-bourbon notification animations
- Un-bourbon uploader box-sizing
- Un-bourbon border-radius
- Un-bourbon splitbutton transitions
- Add triangle mixin
- Un-bourbon default container positioning
- Un-bourbon flexbox properties
- Fix triangle mixin - It now has the same output as the Bourbon mixin
- Add autoprefixer
- Correct global default font size
- Remove unwanted prefixes - Because, y'know, autoprefixer
- Output from node sass migration - Includes all the files we usually have, plus source maps
2014-08-30 14:13:36 +01:00
Hannah Wolfe
29dfea14c3
Merge pull request #3882 from JohnONolan/fix-profile
...
Fix up user profile
2014-08-26 12:30:00 +01:00