Commit Graph

1084 Commits

Author SHA1 Message Date
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
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
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
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
Matt Enlow
150ce6c9b9 Hide role dropdown on user page if user is owner
Closes #3764
2014-08-12 18:06:34 -06: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
Robert Jackson
9e07e18d2a Ensure PSM author is reset when changing posts. 2014-08-10 10:40:04 -04:00
John O'Nolan
3c8a6a5464 Fix wrong author slug on user settings page 2014-08-10 10:37:28 +03:00
Felix Rieseberg
1da2047236 Fix 'broken' debug tools template
closes #3715
- Includes wrapper class for @pauladamdavis css
2014-08-09 09:20:50 -07:00
Felix Rieseberg
69348b5bbb Error if user has already been invited
closes #3681
2014-08-08 16:41:16 -07:00
Hannah Wolfe
0e8e6e1baa Merge pull request #3706 from jaswilli/invite-fixup
Close invite user modal immediately after submit.
2014-08-08 22:58:29 +01:00
Hannah Wolfe
e2080ec37e Merge pull request #3705 from wjake/issue-3663
Reset forgotten form on success
2014-08-08 22:45:53 +01:00
Jason Williams
75299bab24 Close invite user modal immediately after submit.
Closes #3672, Closes #3673, Closes #3680
- Close and reset modal immediately after submit instead
  of waiting until after processing has finished.
2014-08-08 20:44:03 +00:00
Hannah Wolfe
715fa4d08a Merge pull request #3697 from novaugust/close-modal#3652
Close modals when clicking off them
2014-08-08 18:05:13 +01:00
Hannah Wolfe
aee8df77bc Merge pull request #3696 from rwjblue/do-not-focus-post-title
Do not focus post title when editing.
2014-08-08 18:03:00 +01:00
Robert Jackson
6990b38d5f Do not focus post title when editing. 2014-08-08 11:37:24 -04:00
Matt Enlow
2546fdf665 Close modals when clicking off them
Closes #3652
2014-08-08 08:33:42 -06:00
Hannah Wolfe
3c6679146e Merge pull request #3693 from sebgie/issue#3623
Fix Ghost icon is not clickable
2014-08-08 14:38:06 +01:00
Hannah Wolfe
0c7b6f3413 Merge pull request #3686 from sebgie/issue#3660
Improve error handling for authentication
2014-08-08 14:25:40 +01:00
Sebastian Gierlinger
2f1a55fa66 Fix Ghost icon is not clickable
closes #3623
- Initialization of the link was done on login page where the ‚burger‘
did not exist.
- initialization in application needs to be done to make it work on
refresh
2014-08-08 13:53:56 +02:00
Sebastian Gierlinger
473065c61b Improve error handling for authentication
closes #3660
- added wrapping in JSON API format to error500()
- added client side handling
2014-08-08 09:44:24 +02:00
Jake Wright
71104558b7 Reset email form value on success
closes #3663
- Set value of email input as nil string
2014-08-08 02:52:19 +01:00