Hannah Wolfe
0c7038f054
Merge pull request #3500 from novaugust/markdown-help
...
Update markdown help modal
2014-08-03 18:05:12 +01:00
Hannah Wolfe
b2be3bc365
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
cb2f911b07
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
696589bb2d
Merge pull request #3580 from felixrieseberg/iss3543
...
Insert inline code shortcut for editor
2014-08-03 17:28:39 +01:00
Hannah Wolfe
9c677abf3c
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
4db3cb06e4
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
9d288563b8
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
6475f92411
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
05ce783bd5
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
8435c58987
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
2712bb6828
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
a91bbf64bc
Merge pull request #3574 from rwjblue/speed-up-posts-orderby
...
Small performance tweak for Posts ordering.
2014-08-03 15:05:02 +01:00
Felix Rieseberg
8b2346cf46
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
19164bb80e
Replacing "touch start" with "tap" event, provided by hammer.js
...
fixes #3502
2014-08-03 01:36:46 -04:00
Maurice Williams
8aef67ef52
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
44dd5ed286
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
6ee5ba2291
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
a5b30bc3ba
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
43c68f0bf9
Ensure keyboard navigation matches custom post sorting.
2014-08-02 10:39:26 -04:00
Felix Rieseberg
8fd05ca1de
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
Sebastian Gierlinger
8662015560
Merge pull request #3521 from jaswilli/notifications
...
Prevent stacking of notifications
2014-08-02 12:54:56 +02:00
Felix Rieseberg
8841623469
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
Jason Williams
1c6216777c
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
ec1dc0e24a
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
294cdb3ddb
Merge pull request #3551 from halfdan/3540-password-reset
...
Proper messaging on password reset
2014-08-01 15:47:38 +02:00
Fabian Becker
c2c8e92e8f
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
Paul Adam Davis
f0a3f57dcb
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
Paul Adam Davis
ffcb80e54e
Vertically center floating header text
2014-08-01 09:02:11 +01:00
Robert Jackson
9912c2bfed
Handle toggleing the content screen on mobile.
...
Closes #3520 .
Move the custom jQuery animation into an action on the controller so
that we can trigger it from within the route if needed.
2014-08-01 02:47:29 -04:00
Hannah Wolfe
4f7bac3aed
Merge pull request #3486 from sebgie/issue#3468
...
Update spam prevention
2014-08-01 00:10:50 +01:00
Hannah Wolfe
68610d579f
Merge pull request #3496 from jaswilli/refresh
...
Remove unnecessary hard refresh on signout.
2014-08-01 00:04:39 +01:00
Sebastian Gierlinger
9e40da5366
Update spam prevention
...
closes #3468
- added rate limit to deny more than 5 attempt every hour
- updated spam prevention to be configurable
- added config values spamTimeout, ratePeriod, rateAttempts
- added ratePeriod:1 to config.example.js to prevent functional tests
from hitting the rate limit
- commented spam test, I’ll fix it tomorrow
2014-08-01 00:58:32 +02:00
Jason Williams
b1c75ce324
Remove unnecessary hard refresh on signout.
...
Refs #3488
- Hard refresh handled by ember-simple-auth.
2014-07-31 22:41:35 +00:00
Hannah Wolfe
be922d5d06
Merge pull request #3488 from manuelmitasch/fix-session-invalidation
...
The page refresh when oauth token has expired was broken.
2014-07-31 23:28:58 +01:00
Hannah Wolfe
cda6f8f188
Merge pull request #3487 from JohnONolan/notification-copy
...
Shorter notifications
2014-07-31 22:53:20 +01:00
Hannah Wolfe
558dbe58f9
Merge pull request #3493 from rwjblue/fix-posts-post-author-list
...
Show posts authored by current user.
2014-07-31 22:41:11 +01:00
Hannah Wolfe
f5f4a4e152
Merge pull request #3490 from jaswilli/psm
...
Fix for missing author when switching posts
2014-07-31 22:38:09 +01:00
Robert Jackson
369eaa454e
Show posts authored by current user.
...
The current logic allows showing of all EXCEPT the current users posts
(when the current user is an author).
This fixes that.
2014-07-31 17:23:08 -04:00
Jason Williams
27e14b7ad9
Fix for missing author when switching posts
...
No Issue
- Fixes the case where the authors dropdown in the
post settings menu has no author selected after
switching between posts.
2014-07-31 20:19:52 +00:00
Manuel Mitasch
e34ecada69
The page refresh when oauth token has expired was broken.
...
Ember simple-auth action "sessionInvalidationSucceeded" was overriden to display a meaningless message.
2014-07-31 21:49:29 +02:00
John O'Nolan
140c16554f
Bring back the code icon
2014-07-31 22:29:10 +03:00
Hannah Wolfe
31d2ed150f
Changing second half of script placeholders
2014-07-31 19:05:56 +01:00
John O'Nolan
154bec4b9b
Styles for embed placeholders
2014-07-31 21:01:55 +03:00
Hannah Wolfe
8acd3a5060
Updating HTML for script placeholders
2014-07-31 17:42:43 +01:00
John O'Nolan
601ad25716
Shorter notifications
...
Basic notifications are unnecessarily verbose and, in some instances, even cause line-wrapping to occur. This change shortens them to short, concsise statements to indicate what action has taken place.
2014-07-31 19:19:47 +03:00
Hannah Wolfe
c5d046d452
Merge pull request #3476 from rwjblue/moar-shortcuts
...
Enable uppercase, lowercase, titlecase shortcuts.
2014-07-31 16:50:11 +01:00
Paul Adam Davis
9beb031bad
Better dropdown organisation
2014-07-31 16:06:25 +01:00
Robert Jackson
585348c4c0
Cleanup CodeMirror shortcuts.
...
* Add titleize utility function.
* Capitalizes first word.
* Capitalizes all words not contained in simple article/conjunction
list.
* Enable shortcuts for `uppercase`, `lowercase`, and `titlecase`.
* Fix header shortcuts
* Ensure that header shortcuts do not duplicate text.
* Make headers idempotent (pressing `ctrl+alt+1` then
`ctrl+alt+2` does not make `# # # blah`.
2014-07-31 10:53:13 -04:00
Hannah Wolfe
34dbc13893
Merge pull request #3477 from halfdan/duplicate-notification
...
Avoids duplicate notification / transition
2014-07-31 15:47:19 +01:00
Hannah Wolfe
cfcc30b65e
Merge pull request #3480 from jaswilli/issue-3466
...
Update user roles in store after owner transfer
2014-07-31 15:39:48 +01:00