Commit Graph

3092 Commits

Author SHA1 Message Date
Hannah Wolfe
1b8c8c27c1 Merge pull request #3593 from morficus/issue-3563
prevent revoking invite for already active users
2014-08-05 11:57:16 +01:00
Sebastian Gierlinger
0a3b070ed1 Merge pull request #3587 from PaulAdamDavis/settings-header-classes
Add classes to settings headers
2014-08-05 09:46:21 +02:00
Maurice Williams
18a1be8850 prevent revoking invite for already active users
closes #3563
- before attempting to revoke an invitation, get updated model info
- reload route and show warning if user info has changed
2014-08-05 00:35:46 -04:00
Hannah Wolfe
aea25693e5 Merge pull request #3588 from felixrieseberg/iss3529
Working delete user modal & button
2014-08-04 23:00:49 +01:00
Hannah Wolfe
8bfbf13248 Update to release process
- Release does all init & prod tasks necessary to create a full build
- Don't create or include .map files
- Don't include pre-minified prod files
- Don't include export .json files
- Don't include client/html
2014-08-04 22:12:23 +01:00
Felix Rieseberg
6645f7c65a Working delete user modal & button
closes #3529
- Created ‘delete user’ modal (similar to the ‘delete post’ modal) and
controller
-  Modal will be opened if ‘Delete User’ is selected in the user
setting cog menu
2014-08-04 13:29:24 -07:00
Paul Adam Davis
4948994cca Add classes to settings headers
No issue

Refs https://github.com/TryGhost/Ghost-UI/issues/91

- Adds a class to settings page headers, for cleaner CSS selectors
2014-08-04 12:53:55 +01:00
Sebastian Gierlinger
89389b3673 Merge pull request #3569 from morficus/issue-3549
fix most recent post stolen by the last logged in user AND only show active users in post-settings-menu drop-down
2014-08-04 10:51:07 +02:00
Sebastian Gierlinger
c3e7b48a6d Merge pull request #3581 from felixrieseberg/iss3541
Autofocus on input fields after routing
2014-08-03 22:22:48 +02:00
Hannah Wolfe
ac4c3a1d62 Merge pull request #3500 from novaugust/markdown-help
Update markdown help modal
2014-08-03 18:05:12 +01:00
Hannah Wolfe
e12f8bb624 Merge pull request #3567 from novaugust/issue#3564
Return to invite new user; invite multiple users in one go
2014-08-03 17:54:59 +01:00
Matt Enlow
07cd654ab9 Return to invite new user; invite multiple users in one go
Closes #3533, Closes #3547, Closes #3531
- invite-new-user always resets role to author now, allowing for multiple invites on one load
- Added confirm action when hitting return in INUModal's email input
- Don't pass users as the model to invite-new-user-modal
- Move invite-new-user reset to a `finally` clause
- invite-new-user always closes on a confirm
2014-08-03 10:31:42 -06:00
Hannah Wolfe
0d5e199632 Merge pull request #3580 from felixrieseberg/iss3543
Insert inline code shortcut for editor
2014-08-03 17:28:39 +01:00
Hannah Wolfe
27710e88d2 Merge pull request #3578 from morficus/issue-3516
Stop event propagation when hitting "enter" in the gh-blur-input component
2014-08-03 17:25:29 +01:00
Hannah Wolfe
a1dad7b59d Merge pull request #3576 from morficus/issue-3523
Error modifying "author" attribute before post record has been created
2014-08-03 17:24:09 +01:00
Matt Enlow
0c2ad482fa Update markdown help modal
Closes #3499
- Swapped out "Cmd" for the symbol. We're all UTF8, right?
- Removed hint for "Inline Code" until we readd its shortcut
2014-08-03 10:24:00 -06:00
Hannah Wolfe
8337762b3d Merge pull request #3579 from morficus/issue-3502
Replacing "touchstart" with "tap" event, provided by hammer.js
2014-08-03 17:23:30 +01:00
Hannah Wolfe
7b380b706b Merge pull request #3535 from rwjblue/properly-transition-on-mobile
Handle toggleing the content screen on mobile.
2014-08-03 17:23:25 +01:00
Hannah Wolfe
7b7573816a Merge pull request #3571 from felixrieseberg/iss3570
Show "Make Owner" only if displayed user is admin
2014-08-03 17:20:54 +01:00
Felix Rieseberg
be683e3d4b Autofocus on input fields after routing
closes #3538, closes #3541
- The “autofocus” property isn’t considered by browsers if the element
is created after the page has been loaded. The Ember cookbook
recommends extending the input type with a manually triggered
autofocus, which I included here.
- This introduces the new helper “gh-focus-input”, an input field
gaining focus even when routing occurs.
2014-08-03 09:16:13 -07:00
Hannah Wolfe
a8f6b31731 Merge pull request #3574 from rwjblue/speed-up-posts-orderby
Small performance tweak for Posts ordering.
2014-08-03 15:05:02 +01:00
Hannah Wolfe
3d8a0de9a1 Merge pull request #3572 from rwjblue/fix-keyboard-nav-for-posts
Ensure keyboard navigation matches custom post sorting.
2014-08-03 14:57:35 +01:00
Hannah Wolfe
077a421d4e Merge pull request #3562 from PaulAdamDavis/3554-update-gui
Update Ghost-UI with grunt init
2014-08-03 14:45:16 +01:00
Felix Rieseberg
ec188c66d8 Insert inline code shortcut for editor
closes #3543
- Wired up existing code shortcut in codemirror-shortcuts.js in
editor-shortcuts.js
2014-08-02 23:40:12 -07:00
Maurice Williams
da279de71b Replacing "touch start" with "tap" event, provided by hammer.js
fixes #3502
2014-08-03 01:36:46 -04:00
Maurice Williams
cb9f4f7c05 Stop event propagation when hitting "enter" in the gh-blur-input component
fixes #3516
- new behavior is disabled by default
- added new stopEnterKeyDownPropagation property enable new behavior
2014-08-03 00:48:05 -04:00
Maurice Williams
e8f6bcd176 fix most recent post stolen by the last logged in user AND only show active users in post-settings-menu drop-down
fixes #3549 fixes #3528
- instead of grabbing and setting the author after fetching the list of users, get the author info from the models "author" property and set it when that value returns. (3549)
- added filter to the PSM's "authors" attribute to only display active users (3528)
2014-08-02 21:28:02 -04:00
Maurice Williams
4b5aab8306 Error modifying "author" attribute before post record has been created
fixes #3523
- when changing the author, added a check to NOT trigger a save if the post has not been created/saved as yet
2014-08-02 14:35:19 -04:00
Robert Jackson
3bd938a7eb
Small performance tweak for Posts ordering.
* Move publishedAtCompare to standalone function in closure scope
  (allows better browser optimizations).
* Avoid getting the same field (published_at) more than once.
2014-08-02 11:15:55 -04:00
Robert Jackson
ae56c8a8e2
Ensure keyboard navigation matches custom post sorting. 2014-08-02 10:39:26 -04:00
Felix Rieseberg
2f3520a675 Show "Make Owner" only if displayed user is admin
closes #3570
- Added ‘controller.user.isAdmin’ as an condition for displaying the
“make owner” option
2014-08-02 07:02:50 -07:00
Paul Adam Davis
3e2533d182 Update Ghost-UI with grunt init
Closes #3554

- Adds a shell command to update Ghost-UI
2014-08-02 12:25:28 +01:00
Sebastian Gierlinger
d35598457b Merge pull request #3560 from felixrieseberg/iss3537
Descriptive error if user by mail not found.
2014-08-02 13:13:54 +02:00
Sebastian Gierlinger
8b954efbdb Merge pull request #3521 from jaswilli/notifications
Prevent stacking of notifications
2014-08-02 12:54:56 +02:00
Hannah Wolfe
bdc8fa49fc Merge pull request #3561 from felixrieseberg/iss3558
Admin isn't shown "make owner" option
2014-08-02 10:33:55 +01:00
Felix Rieseberg
abf251212c Descriptive error if user by mail not found.
closes #3537
- Replaced generic NotFound error with descriptive NotFoundError.
2014-08-01 18:13:33 -07:00
Felix Rieseberg
4c79770580 Admin isn't shown "make owner" option
closes #3558
- Replaced canAssignRoles as "show user" conditional with new
"canMakeOwner"
2014-08-01 13:03:26 -07:00
Sebastian Gierlinger
653fe3fb44 Merge pull request #3556 from jaswilli/issue-3498
Include development assets in release build.
2014-08-01 20:52:06 +02:00
Sebastian Gierlinger
51e64e7beb Merge pull request #3559 from jaswilli/post-api-tests
Fix failure in Post API tests.
2014-08-01 20:23:52 +02:00
Jason Williams
0ef7ee4f33 Fix failure in Post API tests.
Refs #3473
- Make sure test is checking the post it expects by verifying
  the post id in the results.
2014-08-01 17:55:27 +00:00
Sebastian Gierlinger
9798d53261 Merge pull request #3557 from jaswilli/issue-3530
Add missing model to template render.
2014-08-01 19:11:25 +02:00
Jason Williams
dd50cca97a Refactor notifications to prevent stacking.
Closes #3511, Closes #3512, Closes #3526
- show* methods now close existing passive notifications by
  default.  They also now take an optional options object where
  existing parameters such as "delayed" and "defaultErrorText"
  can be passed in as well as the new "doNotClosePassive" flag.
- Removed all explicit calls to notifications.closePassive except
  for the few places where it makes sense to call it separately.
2014-08-01 16:57:29 +00:00
Jason Williams
41493e1ccc Add missing model to template render.
Closes #3530, Refs #3474
- Cleanup from #3474 which stopped passing the model into
  the render template call.
2014-08-01 16:29:59 +00:00
Sebastian Gierlinger
063bd3536b Merge pull request #3525 from jaswilli/issue-3510
Sanity check page parameter used in findPage
2014-08-01 18:24:08 +02:00
Jason Williams
938b183707 Sanity check page parameter used in findPage
Closes #3510
- Make sure the page parameter is does not overflow the
  integer data type.
- Added tests.
2014-08-01 14:32:38 +00:00
Jason Williams
a285a561c4 Include development assets in release build.
Closes #3498
2014-08-01 13:48:15 +00:00
Sebastian Gierlinger
42c5a32966 Merge pull request #3551 from halfdan/3540-password-reset
Proper messaging on password reset
2014-08-01 15:47:38 +02:00
Fabian Becker
45f2e956d0 Proper messaging on password reset
fixes #3540
- Show proper message when reusing token
- Show message after resetting password
2014-08-01 13:18:53 +00:00
Sebastian Gierlinger
19bef057dc Merge pull request #3553 from PaulAdamDavis/3546-usermenu-button
Change user menu link to a button
2014-08-01 12:40:24 +02:00
Paul Adam Davis
a7b5c72e68 Change user menu link to a button
Closes #3546

- Change user menu popover toggle from a <a> to a <button>
- Change tests accordingly
2014-08-01 10:56:03 +01:00