Commit Graph

1469 Commits

Author SHA1 Message Date
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
John O'Nolan
b5ee8788db Merge branch 'fix-profile' into GUI-2.0
* fix-profile:
  Fix up user profile screen
2014-08-26 13:11:53 +03:00
John O'Nolan
4c39aa5c36 Fix up user profile screen 2014-08-26 13:11:38 +03:00
John O'Nolan
a41152ec0d Fix up user profile 2014-08-26 13:08:43 +03:00