Commit Graph

1486 Commits

Author SHA1 Message Date
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
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
Jason Williams
61361ac91b Show warning dialog if session has ended in editor
Closes #3839
- Display a warning modal in the editor routes if the user
  is logged out due to re-authorization problems.  This provides
  a chance to copy any unsaved content before being sent to the
  signin page to log back in.
2014-08-25 19:45:26 +00:00
Matt Enlow
3132496c6a Fix mobile settings menu transitions with new GUI
Ref #3810
2014-08-23 12:24:00 -06:00
Hannah Wolfe
88e9002f0a Merge pull request #3830 from wjake/issue-3813
Fix editor markdown tab
2014-08-21 20:09:18 +01:00
Hannah Wolfe
fb0d1d0643 Merge pull request #3836 from jaswilli/ember17-prep
Rework editor save button.
2014-08-21 19:47:35 +01:00
Jake Wright
28884ac85d Fix markdown/preview tab for mobile
Fixes #3813

- Add togglePreview action to controller
- Implement action and bind attributes
- Remove the now pointless
- Update to comply with issue suggestions
2014-08-21 17:13:30 +01:00
Nicola Mustone
c6cb72b629 fix username length 2014-08-21 10:07:11 +02:00
Nicola Mustone
4566aa1633 fix 3679 2014-08-21 09:59:34 +02:00
Hannah Wolfe
11d645bc8d Merge pull request #3820 from PaulAdamDavis/input-icons
Icon wrapper around signing inputs
2014-08-20 19:15:56 +01:00
Jason Williams
01ac8a40ea Rework editor save button.
Refs #3834
- Change bindings and fix a forward reference.  Preparation for
  upgrade to Ember 1.7.0.
2014-08-20 13:36:25 +00:00
Hannah Wolfe
71e97a20e6 Merge pull request #3816 from felixrieseberg/iss3671
'Autocorrect' for posts per page setting
2014-08-20 13:44:29 +01:00
Matt Enlow
fb6c3c6b56 Change Ember function.property() to Ember.computed
Closes #3417
2014-08-19 10:01:17 -06:00
Paul Adam Davis
7bc390351b Icon wrapper around signing inputs
No issue

References https://github.com/TryGhost/Ghost-UI/commit/379a630e1bc1

- Adds `<span class="input-icon icon-mail">` around signing inputs to help match markup used elsewhere
2014-08-19 15:36:59 +01:00
Paul Adam Davis
dc9323b4bb Reimplement notification close button hit area size
Essentially, this: 087868c1c9
2014-08-19 15:31:18 +01:00
Paul Adam Davis
cfe957d2ef Prevent nav items from wrapping 2014-08-19 15:27:01 +01:00
Paul Adam Davis
d4e564d7d9 Refactor auth CSS
This means signing screen icons now depend on new markup
2014-08-19 15:25:24 +01:00
Felix Rieseberg
7fdb32032d Working CopyHTML shortcut
closes #3481
- Pressing Ctrl/CMD+Shift+C in the editor will open up a modal that
contains the generated HTML for either the selected text or the whole
post
2014-08-19 15:05:26 +01:00
Hannah Wolfe
2004bcc531 Merge pull request #3767 from jaswilli/clear-ws-slug 2014-08-19 10:13:45 +01:00
Felix Rieseberg
9e3820e1ef 'Autocorrect' for posts per page setting
See #3671
- As @JohnONolan’s suggestion, if the user enters an invalid value for
the ‘posts per page’ setting, the number autocorrects to 5, iOS
autocorrect-style
2014-08-18 23:24:59 -06:00
Jason Williams
77af056fd0 Reset slug input text box after invalid input.
No Issue
- When an invalid, all whitespace slug is entered into the
  slug input in the post settings menu, it's rejected but
  the input's value still remains the same.  This resets the
  input back to its original value.
- Added test for the above behavior.
- Only show success notification if slug was actually changed.
- Convert whitespace from tabs to spaces in post-settings-menu.hbs
2014-08-18 21:10:57 +01:00
Hannah Wolfe
8be442a59a Merge pull request #3766 from jaswilli/user-slug
Correct behavior on updating user slug.
2014-08-18 20:55:54 +01:00
Hannah Wolfe
d3bab3e4db Fixing bad merge 2014-08-18 20:22:10 +01:00
Felix Rieseberg
c5bcc83b63 Post Settings: No 'Author' selection for 'author'
closes #3756
- The post settings menu’s option to change the post’s author isn’t
displayed if the user has the ‘author’ role.
- Also fixed some incorrect indentation in the template (no actual code
change)
2014-08-18 19:29:19 +01:00
Hannah Wolfe
4ca21a7d75 Merge pull request #3805 from TryGhost/gui-update-yolo
Gui Update
2014-08-18 19:20:40 +01:00
Hannah Wolfe
f29b088394 Fixing tests, PSM and settings pane
- resolving test failures where number of tests changed
- fixing issue with PSM label
- re-removing app settings screen code
2014-08-18 18:16:09 +01:00
Paul Adam Davis
dcbd77ca03 Move nav-item file, use variable colours instead of some hexes 2014-08-18 18:08:52 +01:00
Paul Adam Davis
cbb3d34d85 New PSM markup, nav-item, and refactored input icons
References #97, #98, #99
2014-08-18 17:57:04 +01:00
Paul Adam Davis
6e769b3378 Remove dist CSS files from gitignore 2014-08-18 13:28:06 +01:00
John O'Nolan
495b3da40e God damn tests 2014-08-17 22:23:00 +03:00
Hannah Wolfe
30661f8ddb Merge pull request #3762 from blia/dev
Fixed TypeError when updating slug
2014-08-17 16:02:14 +01:00
John O'Nolan
7f82aca17c Content management cleanup 2014-08-17 15:01:35 +03:00
John O'Nolan
6e119567c5 Settings nav overhaul 2014-08-17 15:01:35 +03:00
Paul Adam Davis
d400bd7c4e Use old form styles with class changes for radios & checkboxes 2014-08-17 14:58:03 +03:00
Paul Adam Davis
0a93fbc96a Working new dropdowns
- Implement new GUI 2.0 dropdowns into templates
2014-08-17 14:58:03 +03:00
John O'Nolan
d323b495a7 Implement new button markup 2014-08-17 14:57:07 +03:00
John O'Nolan
fe7805c0cf New publish button markup implementation 2014-08-17 14:53:47 +03:00
John O'Nolan
2331572978 Adding global app frame wrappers
This makes the new responsive styles work in a basic way. It'll probably need revisiting to break out the header area into a partial (maybe?)
2014-08-17 14:53:47 +03:00
John O'Nolan
b73d60bc2e Implement new global-nav markup 2014-08-17 14:40:44 +03:00
John O'Nolan
b38785d5f6 Settings nav overhaul 2014-08-16 19:39:52 +03:00
John O'Nolan
ef2b4fc7f6 Remove old button styles 2014-08-16 19:39:37 +03:00
Hannah Wolfe
8edbaa9ae0 Merge pull request #3785 from jaswilli/post-status
Revert post status on failed save.
2014-08-15 18:27:47 +01:00
Hannah Wolfe
23d97fb7b1 Merge pull request #3670 from felixrieseberg/iss3641
Validation fix for number of posts/page
2014-08-15 18:27:14 +01:00
Hannah Wolfe
fcdbfbcc17 Merge pull request #3769 from novaugust/iss3764
Hide role dropdown on user page if user is owner
2014-08-15 17:53:46 +01:00
Jilles Soeters
4bb94e99f0 Added target="_blank" to all links that go to the support page. 2014-08-15 16:46:24 +02:00
Jason Williams
bb50791dce Correct behavior on updating user slug.
No Issue
- Defer save until after slug is checked.
- If new slug is empty or all whitespace, reset to previous value.
- If new slug is the same as existing slug except for an increment
  value (e.g. ghost-user-2), use the original slug.
- If the slug has changed, change the URL path to reflect the
  change so that the browser refresh and back button still work.
- Added tests.
2014-08-15 04:00:19 +00:00
Jason Williams
09ede03ce4 Revert post status on failed save.
Refs #3667, Refs #3776
- If saving a post fails, revert its status back to the
  pre-save value.
- Added tests to check post status after failed save attempt
  on both new and existing posts.
2014-08-15 00:22:10 +00:00
Hannah Wolfe
153a0c818f Merge pull request #3776 from felixrieseberg/iss3667
Ensure editor awareness if publishing fails
2014-08-14 21:19:21 +01:00
Hannah Wolfe
801ca568e4 Merge pull request #3738 from felixrieseberg/iss3728
Error notification if send test mail returns 500
2014-08-14 20:38:08 +01:00
Hannah Wolfe
ec05c703ec Merge pull request #3749 from novaugust/ghost-logo-link
Update ghost-logo, amend the amdendments, death to jQuery
2014-08-14 20:19:00 +01:00
Felix Rieseberg
beba43b8f3 Ensure editor awareness if publishing fails
closes #3667
- If the ‘save’ function on a new post fails, the local Ember model
still beliefs that the status is ‘published’, resulting in wrong
buttons. A simple catch fixes that.
2014-08-14 11:05:05 -07:00
Paul Adam Davis
459d0de22d Fix images in buttons 2014-08-14 17:56:23 +01:00
Paul Adam Davis
7078724c3f Re-implement old form styles 2014-08-14 16:29:34 +01:00
Paul Adam Davis
71e140eb19 Badge component 2014-08-14 14:38:32 +01:00
Paul Adam Davis
0316385917 Pagination component 2014-08-14 12:48:44 +01:00
Felix Rieseberg
9d2b29df8a Validation fix for number of posts/page
closes #3641
- Reworded error messages, remove “please” (credits go to @YouriAckx)
2014-08-13 12:08:09 -07:00
Hannah Wolfe
8d9eaa5240 Merge pull request #3733 from rwjblue/use-ghost-paths-util
Use the ghost-paths consistently.
2014-08-13 18:28:11 +01:00
Paul Adam Davis
ab516199ae Allow buttons elements in dropdowns 2014-08-13 15:15:23 +01:00
Paul Adam Davis
2aafe85987 Updated dropdown positions in layouts 2014-08-13 14:25:28 +01:00
Matt Enlow
150ce6c9b9 Hide role dropdown on user page if user is owner
Closes #3764
2014-08-12 18:06:34 -06:00
Kirill Yakovenko
a0d5817203 Fix TypeError when updating slug
- added check slug before trim
2014-08-12 17:46:14 +03:00
Paul Adam Davis
78f459315a Implement labels 2014-08-12 15:27:22 +01:00
Paul Adam Davis
a0e9829dba User list styles from master 2014-08-12 15:26:20 +01:00
Felix Rieseberg
4cd78e3e4d Error notification if send mail api returns 500
closes #3728
- If the mail config is broken, the ajax call will fail with 500 and
not return an error.
- This change catches 500 and wraps the error in a notification.
2014-08-11 09:15:12 -07:00
Matt Enlow
8fb6555df5 Update ghost-logo, death to jQuery
Amends #3740 (which amended #3736), ref #3623
- Removed futzy jquery for setting href on logo; binding to ApplicationView property
- Killed dead code
2014-08-11 09:52:55 -06:00
Hannah Wolfe
6aba193bb5 Merge pull request #3740 from PaulAdamDavis/ghost-logo-link
Change Ghost logo link back to an anchor
2014-08-11 12:20:42 +01:00
Paul Adam Davis
15285c1593 Add ghost logo anchor tag
Amends #3736, references #3623

With `button.ghost-logo`, there's no `href`, so cannot be opened in a new window. This changes it back to an anchor and appends the blog URL to a href attribute. Win!

Bumps Ghost-UI version to 0.8.13 bring in related CSS changes.
2014-08-11 12:08:08 +01:00
John O'Nolan
d1a481d2e1 Merge pull request #3744 from PaulAdamDavis/user-actions-button
Change user actions button tag
2014-08-11 13:03:22 +02:00
Robert Jackson
970ccff961 Ensure that slug is always synced for User form. 2014-08-11 11:42:53 +01:00
Paul Adam Davis
4f4562e452 Change user actions button tag
No issue

- Changes the user actions button to a `<button>` element.
2014-08-11 11:29:29 +01:00
Hannah Wolfe
2b1beee7da Merge pull request #3736 from novaugust/ghost-burgers
Fix -navbar events attachment
2014-08-10 22:45:50 +01:00
Matt Enlow
0a2034f7e4 Fix -navbar events attachment
Closes #3623
- Move hamburger logic to action with terrible name, "toggleSidebarOrGoHome"
- Move ".js-close-sidebar" events to a document.on(event, *selector*, f) to make sure they attach even when the js-close-sidebars aren't on page (ie, hidenav)
2014-08-10 15:31:47 -06:00
Sebastian Gierlinger
0752ae2197 Merge pull request #3731 from ErisDS/issue-3724
Expose blog URL to client app
2014-08-10 20:51:45 +02:00
Hannah Wolfe
ccdcb7a4f8 Merge pull request #3730 from jyek/auth-route
Update authentication endpoint for subdirectory
2014-08-10 19:23:31 +01:00
Hannah Wolfe
8ae5e65462 Expose blog URL to client app
fixes #3724

 - provide config.url to the ember client app via a data attribute
 - create server and client side helpers to output the URL
 - wire up the client side helper
 - add a class for testing, and add tests for both the server and client side
2014-08-10 18:49:37 +01:00
Justin Yek
d6fca73f68 Update authentication endpoint for subdirectory
Fixes bug where user is unable to log into admin when subdirectory is specified
2014-08-11 01:29:36 +08:00
Robert Jackson
f8069b7ca9 Use the ghost-paths consistently.
Always using the utility function ensures that we have the ability to
update/change/etc these paths without scouring the codebase.

For example, if we ever decide to bump the API version it would be nice
if there was only one location it needed to be updated at.
2014-08-10 13:10:29 -04:00
Hannah Wolfe
3707993794 Merge pull request #3729 from rwjblue/ensure-author-in-psm-is-reset
Ensure PSM author is reset when changing posts.
2014-08-10 16:26:36 +01:00