Commit Graph

1070 Commits

Author SHA1 Message Date
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
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
Hannah Wolfe
a647e38e5e Merge pull request #3656 from rwjblue/activate-specific-tab-not-toggle
Activate specific tab that is tapped/clicked.
2014-08-07 19:32:14 +01:00
Hannah Wolfe
a89115318b Merge pull request #3655 from rwjblue/dont-loop-keyboard-nav
Do not loop keyboard nav on content list.
2014-08-07 19:30:48 +01:00
Hannah Wolfe
ebe9bd214a Merge pull request #3628 from novaugust/popover-btn-binding#3603
Add open class to popover buttons
2014-08-07 19:27:46 +01:00
Robert Jackson
6bb1ac1083 Activate specific tab that is tapped/clicked. 2014-08-07 09:32:10 -04:00
Robert Jackson
7ff58e442b Do not loop keyboard nav on content list. 2014-08-07 09:15:24 -04:00
Felix Rieseberg
2091fadb42 Editor: Warn if title change is unsaved
closes #3643
- TitleScratch is compared with Title; if there’s a difference, we have
unsaved changes and open up the modal.
2014-08-06 20:39:19 -07:00
Matt Enlow
fa27b2a651 Add open class to popover buttons
Ref#3603
- Popover Buttons now have an `open` class applied to them when their popover is open
- The open class is removed from the popover button at the start of the popover's fadeout
- Consolidated common code into popover-mixin
2014-08-06 18:23:03 -06:00
Hannah Wolfe
7b21ca64a5 Merge pull request #3633 from halfdan/3630-revoke-user
Fix revoke user invite and user.destroy
2014-08-06 22:29:33 +01:00
Fabian Becker
1325f87671 Fix revoke user invite and user.destroy
fixes #3630
- Extend user adapter in ember to load users with status: all
- Fix user.destroy by loading all users with status: all
2014-08-06 16:48:18 +00:00
shindakun
5d7630607b Transition to signin with error message on invalid token not 500 error screen
closes #3548
- Add error to hidenav, removes menubar from error screen.
- Wrap atob() in a try/catch
- Added regex to try and validate if params.token at least looks like base64
2014-08-06 08:08:02 -07:00
Robert Jackson
0a9bde7702 Restore original display after window resizing.
fixes #3597
2014-08-06 09:04:43 +01:00
Hannah Wolfe
6ed629b410 Merge pull request #3618 from jaswilli/issue-3612
Check for server notifications on hard refresh
2014-08-06 08:13:23 +01:00
Sebastian Gierlinger
20efb84d7d Merge pull request #3614 from ErisDS/remove-apps
No apps screen for 0.5
2014-08-06 08:51:07 +02:00
Jason Williams
b4c3c6f20a Check for server notifications on hard refresh
Closes #3612
- Trigger the loadServerNotifications event from the
  ApplicationRoute's afterModel hook, which gets called
  every time the app gets loaded.
2014-08-06 05:01:00 +00:00
Hannah Wolfe
6a1d7c7a18 Merge pull request #3550 from halfdan/3542-forgotten-user
Properly show message when resetting password.
2014-08-06 02:18:30 +01:00
Jason Williams
3242c5b4a9 Cleanup from notifications refactor.
Refs #3521
2014-08-06 00:13:56 +00:00
Hannah Wolfe
3e73376c0d No apps screen for 0.5
no issue

- The apps screen is nowhere near ready for prime time yet, lets not have
  it in 0.5 at all
2014-08-06 00:54:57 +01:00
Fabian Becker
e9e6aa1732 Changing User.read API to default to active users.
refs #3542
- Properly handle forgotten screen (ember)
- Change Users API to only return active users on read
- Adjust tests
2014-08-06 00:30:48 +02:00
Paul Adam Davis
d74a9174d8 Swap notification close link for a button
No issue

- Swap out notification <a> close link for <button> (gains a native hover state)
2014-08-05 20:08:03 +01:00
Hannah Wolfe
2cc7ebe8c6 Merge pull request #3590 from felixrieseberg/iss3518
Ghost Logo navigation responds correctly to mobile
2014-08-05 19:08:30 +01:00
Felix Rieseberg
39c3127bac Ghost Logo navigation responds correctly to mobile
closes #3522
- Previously, the logo had a href attribute which was manually kept
from executing on mobile. Slow mobile devices that didn’t fully load
the JS would therefore navigate “desktop style”
- The href attribute is now set after the event handler has been loaded, ensuring correct navigation behaviour.
2014-08-05 10:05:32 -07:00