Commit Graph

1469 Commits

Author SHA1 Message Date
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