Hannah Wolfe
9f2ddf7937
Merge pull request #3440 from sebgie/notification-reset-invite
...
Reset/Signin while signed in
2014-07-29 11:52:40 +01:00
Maurice Williams
de1dc4d0d0
Removing "author" role-label
...
closes #3427
- adding conditional statement to now display users with role "author"
2014-07-29 01:50:34 -04:00
Jason Williams
7a7138e534
Preserve order of tags as entered by the user.
...
Closes #3133
- Implement an ordered set for the tags property of the tag
input controller. Set order is by order added to the post.
2014-07-29 02:16:21 +00:00
Sebastian Gierlinger
b3112a4349
Reset/Signin while signed in
...
no issue
- added redirect and notification to reset route
- added notification to signup route
2014-07-28 18:00:08 +02:00
Hannah Wolfe
6adc6efb3b
Merge pull request #3423 from jaswilli/issue-3403
...
Add a mixin for saving a subset of a model.
2014-07-28 09:49:19 +01:00
Hannah Wolfe
64766de8d6
Merge pull request #3422 from sebgie/issue#3177
...
Hide Access Token
2014-07-28 09:18:42 +01:00
Jason Williams
d59edf1806
Add a mixin for saving a subset of a model.
...
Closes #3403
- Add SelectiveSaveMixin so that a DS.Model can save one or more
properties at a time while preserving other outstanding changes.
2014-07-27 21:04:35 +00:00
Sebastian Gierlinger
d895238571
Add XSS prevention
...
closes #3387
- added placeholder for <script> and <iframe>
- added google-caja sanitizer
- changed title in posts overview to ‚double-stash‘
2014-07-27 23:03:01 +02:00
Sebastian Gierlinger
f0d38aa66d
Hide Access Token
...
closes #3177
- uses an iFrame to initiate the download to hide the access token
The access token is now hidden in the admin logic. If we would like to
completely hide the token it is possible to remove the access token and
use signed requests instead, but I think the effort isn’t worth the
benefit in this case.
2014-07-27 22:57:57 +02:00
Hannah Wolfe
77ae8394e0
Merge pull request #3393 from joeldrapper/sort-roles-dropdown
...
Fixed role sort order in the invite a new user drop down list
2014-07-27 19:39:06 +01:00
Hannah Wolfe
8c017de4d3
Merge pull request #3412 from novaugust/credentials-validation-convergance
...
Create new user validator to DRY up validators
2014-07-27 19:38:24 +01:00
Hannah Wolfe
f372ecddf0
Merge pull request #3411 from novaugust/signup-password
...
Rebind password to password input on signup page
2014-07-27 19:36:54 +01:00
Jason Williams
9dfef70d25
Do not clear password until after leaving signin
...
Closes #3399
- Provide our own authenticate action handler which does not
clear the password input.
- Use the Signin route's deactivate hook to clear the password
property on the controller after the user has transitioned
away from the signin page.
2014-07-26 19:06:58 +00:00
Hannah Wolfe
1cff73f36c
Merge pull request #3406 from simplabs/update-ember-simple-auth
...
Updated Ember Simple Auth to latest version
2014-07-26 17:24:18 +01:00
Matt Enlow
0d7033f662
Create new user validator to DRY up validators
...
No issue
- Created NewUserValidator class to DRY up validation of a models name, email, and password
- Changed SignUpValidator to be an instance of NewUserValidator
- Changed SetUpValidator to extend NewUserValidator
2014-07-25 13:20:40 -06:00
Matt Enlow
698f5f6f6e
Rebind name and password to inputs on signup page
...
Closes #3410 , Ref #3392
- Removed setting name from user email address per issue #3392
2014-07-25 13:04:33 -06:00
Marco Otte-Witte
6406acef5c
updated Ember Simple Auth to latest version
2014-07-25 16:04:19 +02:00
Hannah Wolfe
d2d25faa5c
Merge pull request #3397 from morficus/issue-3392
...
Removing "full name" auto-popualtion during signup
2014-07-25 09:54:51 +01:00
joeldrapper
25b20bb2fe
Roles drop down sorted by ID
...
closes #3391
- Changed sort order to ID instead of name
2014-07-25 09:41:12 +01:00
Hannah Wolfe
ce483a916a
Merge pull request #3398 from morficus/issue-3396
...
Fixing resend user invitation
2014-07-25 08:53:13 +01:00
Hannah Wolfe
d1b84f0f7f
Merge pull request #3394 from IanMitchell/settings-user-button
...
Hides <Users button for authors
2014-07-25 08:51:45 +01:00
Hannah Wolfe
cc67f295ef
Merge pull request #3385 from felixrieseberg/iss3375
...
Signin error notifications kept from stacking
2014-07-25 08:48:08 +01:00
Maurice Williams
a3da09b50f
Removing "full name" auto-popualtion during signup
...
closes #3392
- removing data-binding attribute for "name" input box on signup screen
- removing data-binding attribute for "password" input box on signup screen
- making "email" the first input box and "name" the 2nd
- removing "autofocus" attribute for "email" input box on signup screen
2014-07-24 22:49:57 -04:00
Maurice Williams
69642e8e53
Fixing resend user invitation
...
closes #3396
- passing role when resending a users invitation
2014-07-24 22:42:55 -04:00
Ian Mitchell
ff3e68ec36
Hides <Users button for authors
...
closes #3295
- The <Users button visibility is now restricted by user role
2014-07-24 18:54:02 -07:00
Hannah Wolfe
a9a5acf2f2
Merge pull request #3377 from PaulAdamDavis/signout-button
...
Change signout link to button
2014-07-24 17:52:09 +01:00
Hannah Wolfe
81cd617741
Merge pull request #3376 from felixrieseberg/iss3292
...
Redirect authors and editors away from debug page
2014-07-24 17:51:16 +01:00
Hannah Wolfe
1d926787b3
Merge pull request #3368 from felixrieseberg/master
...
Show errors on reset page (Closes #3330 )
2014-07-24 17:49:56 +01:00
Felix Rieseberg
61cf8690dd
Signin error notifications kept from stacking
...
closes #3375
- Prior to showing error notifications, the signin route now calls
closePassive().
2014-07-24 11:16:00 -04:00
Jason Williams
8a2d50b871
Improve handling of users and roles in admin
...
Closes #3083 Refs #3229
- Populates the dropdown list in the invite user menu with the
list of roles a user is permitted to create.
- Users API now checks the invite user request for allowed roles.
- Change API response from 200 to 201 on successful invitation.
- Change API response from 500 to 201 when the user was created but
the email was not sent. The client will show a warning notification
when it sees 'invite-pending' as the new user's status.
- Add support for "?status=all" to the /users endpoint.
- Refactor the route and controller for the /settings/users page so
that there's only one network API call to load users instead of two.
2014-07-24 14:20:47 +00:00
Felix Rieseberg
80f71e31fd
Show error notifications on "reset password" page
...
closes #3330
- Caught errors are displayed using notifications util
2014-07-24 08:45:42 -04:00
Hannah Wolfe
96cbd1738d
Merge pull request #3362 from sebgie/issue#3087-2
...
Transfer Ownership
2014-07-24 12:19:08 +01:00
Maurice Williams
835bf0bd07
Preventing rogue modals from popping up when hitting the enter-key
...
closes #3352
- adding a ```type``` attribute to buttons inside form in the settings section
- scanning the rest of the project to find any other buttons w/a missing attribute
2014-07-23 22:58:50 -04:00
Felix Rieseberg
dbcb827772
Redirect authors and editors away from debug page
...
A signed in user with role author or editor will be redirected back to
/ghost.
closes #3292
2014-07-23 17:25:13 -04:00
Paul Adam Davis
93051fcbdb
Change signout link to button
...
References https://github.com/TryGhost/Ghost-UI/issues/65
- Swap signout link from an `<a>` tag to `<button>`
- Changed tests to match new element
2014-07-23 22:12:45 +01:00
Sebastian Gierlinger
c43d860a3f
Transfer Ownership
...
closes #3364 (special thanks to @jaswilli)
closes #3087
- added modal
- added controller
2014-07-23 12:41:31 +02:00
Hannah Wolfe
63efa541bd
Merge pull request #3367 from jaswilli/issue-3161
...
Get Ember Admin ready for production
2014-07-23 04:47:19 +01:00
Hannah Wolfe
29f867eb85
Merge pull request #3365 from PaulAdamDavis/user-list-img-bg-swap
...
Make user list images background-image's
2014-07-23 04:11:14 +01:00
Hannah Wolfe
6f1af2aa1c
Merge pull request #3358 from IanMitchell/sidebar-role
...
Hide Settings Sidebar Based on Role
2014-07-23 03:41:40 +01:00
Jason Williams
7ae48f1dd3
Get Ember Admin ready for production
...
Closes #3161
- Add a config.js file for the client which is used to configure
Ember.Application during runtime. The correct version of config.js
is copied into place by grunt via the copy:(dev|prod) task from
either config-dev.js or config-prod.js.
- Serve minified and production versions of libraries where applicable
including handlebars-runtime and ember-prod.
- Bundle third party libraries into vendor.min.js.
- Bundle Ghost's Ember app and templates into ghost.min.js
- Remove all fixture data and code from the client.
2014-07-22 22:33:49 +00:00
Paul Adam Davis
3079104815
Make user list images background-image's
...
References https://github.com/TryGhost/Ghost-UI/issues/76
- Swap user avatars in the user list from ing tags to background images
2014-07-22 20:13:30 +01:00
Ian Mitchell
47ae9d6ca6
Hide Settings Sidebar Based on Role
...
Implements #3294 . Currently, we don’t have a permission system on the
client side, so this relies on a hardcoded “author” string.
2014-07-22 08:03:52 -07:00
Jason Williams
739b57e05b
Update Users API to handle role objects or ids
...
Closes #3357
- API method User#edit now handles User objects that have either
an array of Role ids or objects.
- Fixed error handler notification on upload modal controller.
2014-07-22 05:48:16 +00:00
Hannah Wolfe
27c1dbd409
Merge pull request #3341 from PaulAdamDavis/psm-class-ammend
...
Correct markup for the PSM author dropdown
2014-07-22 01:12:45 +01:00
Hannah Wolfe
7f0c2b7782
Merge pull request #3356 from IanMitchell/header-role
...
Hide Settings Tab if Author
2014-07-21 23:48:01 +01:00
Hannah Wolfe
5b41358e45
Merge pull request #3347 from jaswilli/posts-content
...
Only load posts once on navigating to content tab
2014-07-21 23:47:55 +01:00
Ian Mitchell
6c0c3c4bde
Hide Settings Tab if Author
...
Implements #3293 . Currently, we don’t have a permission system on the
client side, so this relies on a hardcoded “author” string.
2014-07-21 14:31:10 -07:00
Ian Mitchell
27c42c2bf0
Implements User Role Label
...
Closes #3287 .
2014-07-21 13:31:25 -07:00
Paul Adam Davis
f304d3ed34
Correct markup for the PSM author dropdown
2014-07-21 21:15:14 +01:00
Hannah Wolfe
bb70e2b294
Merge pull request #3351 from sebgie/no-inline-script
...
Remove inline script from default.hbs
2014-07-21 20:55:18 +01:00