hwdsl2
14dd95faf2
RSS Fix: Do not convert protocol relative URLs
...
closes #5567
- Fixed an issue with protocol relative URLs in the RSS feed
- Such URLs should be kept as-is and not prefixed with baseUrl
- Added corresponding test to cover this case
2015-07-21 23:16:04 -05:00
Hannah Wolfe
5c637dd37a
Merge pull request #5595 from halfdan/fix/5593
...
Don't rely on order of updates when editing multiple settings
2015-07-21 16:59:16 +01:00
Hannah Wolfe
a0ee69d365
Merge pull request #5591 from halfdan/fix/5573
...
Do not serialize toJSON to get published_at
2015-07-21 16:54:24 +01:00
Jason Williams
c3951c4fd7
Merge pull request #5570 from ErisDS/issue-5564
...
Fix regressions with password reset
2015-07-21 10:14:56 -05:00
Fabian Becker
cf4660dd46
Don't rely on order of updates when editing multiple settings
...
fixes #5593
2015-07-21 12:41:56 +02:00
Hannah Wolfe
4ba77e0da4
Fix regressions with password reset
...
fixes #5564
- adds missing part of `/setup/` url in authentication middleware
- ensures data is passed through from API to model in correct (new) format for password reset
- re-adds missing/incorrectly commented out auth tests, and verifies that reset as far as token validation
2015-07-21 08:47:26 +01:00
Fabian Becker
ed0854d770
Do not serialize toJSON to get published_at
2015-07-21 00:38:55 +02:00
Sebastian Gierlinger
52f576e185
Merge pull request #5497 from ErisDS/foreach
...
Improvements to the {{foreach}} helper
2015-07-20 21:36:28 +02:00
Sebastian Gierlinger
4a89c6ac3e
Merge pull request #5516 from ErisDS/issue-2758-api-opts
...
API Option Handling
2015-07-20 21:19:13 +02:00
Fabian Becker
4500b14989
Use previousAttributes when model is destroyed
...
fixes #5589
2015-07-20 14:41:40 +02:00
Hannah Wolfe
27ecb3b211
Merge pull request #5575 from cobbspur/imageComponent
...
Disable image upload during setup for non persistent file storage
2015-07-19 23:23:08 +01:00
cobbspur
c52aa8b23b
Disable image upload during setup for non persistent file storage
...
closes #5550
- passes config.fileStorage into gh-profile-image component
- does not render input tag if fileStorage is set to false
2015-07-18 20:26:27 +01:00
Fabian Becker
0309b5aa46
Fix urlFor to preserve mailto:
...
fixes #5561
2015-07-18 03:45:06 +02:00
Jason Williams
ddd1bc0cf9
Use correct property when determining display URL
...
Closes #5574
2015-07-17 10:23:29 -05:00
John O'Nolan
f1b558eb68
Merge pull request #5542 from BlueHatbRit/reset-pass-page-style-fix
...
Correct reset passsword screen markup and styles
2015-07-15 16:56:14 +03:00
John O'Nolan
ebb81a01e1
Merge pull request #5555 from halfdan/fix/invite
...
Fix team/index screen
2015-07-15 16:54:07 +03:00
Hannah Wolfe
2b1c191ae8
Merge pull request #5554 from halfdan/fix/windows-tests
...
Fix failing frontend_spec on windows.
2015-07-15 14:27:56 +01:00
Hannah Wolfe
80a424ecae
Merge pull request #5543 from Remchi/allow-edit-on-setup
...
Allow editing blog details on setup
2015-07-15 14:24:54 +01:00
Fabian Becker
50d4f02388
Fix signin test (run setup properly)
...
fixes #5536
2015-07-15 12:31:02 +02:00
Rem Zolotykh
213ba9c3e6
Allow editing blog details on setup
...
closes #5526
- when user creates blog we set `blogCreated` flag to true and
depending on it make `POST` or `PUT` request
2015-07-15 03:17:55 +02:00
Hannah Wolfe
b1dd96ecc2
Removing incorrect 405 handling
...
refs #2757
- As per this convo: https://ghost.slack.com/archives/ghost/p1436895553007431 the 405 handling in Ghost is acting
as a catch all, rather than only returning when the wrong HTTP method is used for a valid resource.
- Implementing proper 405 with express is a challenge, and therefore we defer doing this work until it is needed
2015-07-14 20:49:19 +01:00
BlueHatbRit
b1c65ae7a1
Correct reset passsword screen markup
...
closes #5524
- changed markup to reflect styles of the sign in screen.
- remove html classes that are redundant.
2015-07-14 20:15:00 +01:00
Hannah Wolfe
e044136503
API Option Handling
...
refs #2758
- add a set of default options to utils
- update validation function to only pass through permitted options
- pass permitted options into validate where necessary
- setup basic validation for each known option, and generic validation for the remainder
- change slug to treat 'name' as data, rather than an option
2015-07-14 18:20:27 +01:00
Fabian Becker
2053b94d28
Fix team/index screen
...
- Incorrect message was shown (Invitation sent instead of Invitation not sent)
- Correct colouring of message (new .description-error class)
- Correctly display lastLogin time
- Add colour classes
2015-07-14 18:21:08 +02:00
Fabian Becker
99855dfb37
Fix failing frontend_spec on windows. Don't rely on path matches.
2015-07-14 11:16:41 +02:00
Hannah Wolfe
2bdaf773e2
Merge pull request #5538 from halfdan/feature/app-watch
...
Change Grunt watch, new rss.item filter
2015-07-14 09:20:47 +01:00
Fabian Becker
88a7cdbc3d
Add rss.item filter
2015-07-14 09:40:31 +02:00
Hannah Wolfe
5998f3133d
Merge pull request #5534 from Remchi/bug-invite-user
...
Invited user can sign up successfully
2015-07-13 22:10:16 +01:00
Hannah Wolfe
a9eb77e8da
Merge pull request #5546 from acburdine/title-fix-2
...
Fix blog title not updating after setup
2015-07-12 21:20:45 +01:00
Austin Burdine
8322991c42
fixed some validation bugs
...
refs #5520
- all errors (or just one if property is specified) are cleared before running the checks to make sure that old errors get cleared
- fixed up validators to be slightly more sane as mutually exclusive tests aren't all being checked if one fails
2015-07-11 13:04:19 -04:00
Austin Burdine
a3893e66dd
fix title of blog not updating after setup
...
closes #5545
- updates config with new blogTitle after setup is finished
2015-07-11 12:34:54 -04:00
Hannah Wolfe
6fe6be402d
Merge pull request #5531 from acburdine/profile-fixes
...
Fixes the profile image uploader component
2015-07-11 13:17:48 +01:00
Hannah Wolfe
62c89404ac
Merge pull request #5517 from jaswilli/issue-5383
...
Focus on editor if transitioning from new post
2015-07-11 12:39:56 +01:00
Hannah Wolfe
76ebdfd4f9
Merge pull request #5539 from jomahoney/owner-perm
...
Changed admin permissions so Owner role only editable by itself
2015-07-11 11:33:17 +01:00
Hannah Wolfe
843dd31b74
Merge pull request #5523 from Remchi/change-reset-password-refactor
...
Refactor changePassword and resetPassword
2015-07-11 11:31:50 +01:00
Rem Zolotykh
f3c4df3f98
Invited user can sign up successfully
...
issue #5525
- add `DS.Errors` to `signup` model
- add check for errors: run `showErrors` method only if errors are defined, like in `signin` controller
2015-07-10 23:20:00 +02:00
John O'Mahoney
bce5483ef3
Changed admin permissions so Owner role only editable by itself
...
closes #5521
- Added test for admin rejection of owner edit
- Added specific permissions so admins can edit Admin, Editor and Author
roles
2015-07-10 20:46:00 +01:00
Jason Williams
3135fb9761
Refactor role selects; pause transition if saving
...
Refs #5501
- Switch role select dropdowns from gh-select based components to
gh-select-native.
- Prevent transition out of editor while there is an in-flight save.
2015-07-09 12:10:00 -05:00
Austin Burdine
ea13133218
[TEMPORARY] commented out failing tests
...
refs #5501
- comments out failing tests until they can get fixed
2015-07-09 11:05:36 -04:00
Hannah Wolfe
1f669a631d
Merge pull request #5535 from jaswilli/linkto
...
Rework gh-activating-list-item for new link-to
2015-07-09 09:58:10 +01:00
Jason Williams
9bcb0bc069
Rework gh-activating-list-item for new link-to
2015-07-08 18:37:15 -05:00
Hannah Wolfe
3c5011cd56
Merge pull request #5529 from jomahoney/referrer
...
Adds referrer meta tag to the head of ghost pages
2015-07-08 22:18:47 +01:00
John O'Mahoney
ac80569c31
Adds meta referrer tag to the head of ghost pages
...
closes #5522
- Added meta tag
- Added meta tag to tests
2015-07-08 14:59:39 +01:00
Austin Burdine
a16be11038
re-added revoke method to authentication api
...
closes #5530
- adds revoke api method back into code base
2015-07-07 17:39:43 -04:00
Austin Burdine
17b403a68d
profile image component fixes
...
closes #5528
- adds empty email message to setup validation
- fixes uploads so they actually work
- fixes gravatar to not disappear when an invalid file is selected
2015-07-07 17:13:45 -04:00
Rem Zolotykh
9323abbb44
Refactor changePassword and resetPassword
...
issue #5500
- make `changePassword` and `resetPassword` methods on `user` model
consistent: use `object` and `options` arguments instead of multiple
different arguments
- change User API `changePassword` method to use these new arguments
2015-07-07 22:03:17 +02:00
Hannah Wolfe
9114889fd6
Merge pull request #5355 from acburdine/onboard-profile
...
Add profile image upload component
2015-07-07 17:23:58 +01:00
Hannah Wolfe
dc06deaa29
Merge pull request #5453 from cobbspur/teampermissions
...
Change permissions for team area
2015-07-06 20:54:29 +01:00
John O'Nolan
067f2b125f
Merge pull request #5507 from lukaszklis/colour-fixes
...
Removed left overs from SASS to Myth conversion
2015-07-06 19:26:04 +03:00
Austin Burdine
b85ac98368
added profile image component
...
closes #5334
- adds component for profile images (with optional gravatar)
- integrates image profile component into setup form
2015-07-05 17:37:22 -04:00