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
Hannah Wolfe
fffa2a7958
Merge pull request #5581 from halfdan/fix/5561
...
Fix urlFor to preserve mailto:
2015-07-18 20:41:03 +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
Hannah Wolfe
00a644fd62
Merge pull request #5577 from jaswilli/issue-5574
...
Use correct property when determining display URL
2015-07-17 17:18:09 +01: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
Hannah Wolfe
ca6a381dc2
Merge pull request #5559 from halfdan/fix/5536
...
Fix signin test (run setup properly)
2015-07-15 14:24:14 +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
Sebastian Gierlinger
fdd7354e6f
Merge pull request #5558 from ErisDS/remove-405
...
Removing incorrect 405 handling
2015-07-14 22:40:54 +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
Hannah Wolfe
d57c0d43e2
Merge pull request #5548 from acburdine/inline-errors-fix
...
Fix some validation bugs
2015-07-12 10:44:27 +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
fb43e3a39b
Merge pull request #5547 from ErisDS/remove-iojs-tests
...
Remove io.js from the build matrix
2015-07-10 14:14:58 -05:00
Hannah Wolfe
f0fa1ad0e8
Remove io.js from the build matrix
...
refs #5330
- io.js 1.2 is massively out of date, testing against it isn't useful
2015-07-10 19:13:41 +01:00
Hannah Wolfe
d80b764ca3
Merge pull request #5541 from jaswilli/functional-tests
...
Refactor role selects; pause transition if saving
2015-07-09 20:07:04 +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
Hannah Wolfe
d3a3c64407
Merge pull request #5540 from acburdine/tests-temp
...
[TEMPORARY] comment out failing tests
2015-07-09 16:34:07 +01: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
Hannah Wolfe
74f15516fa
Merge pull request #5532 from acburdine/revoke-fix
...
Add revoke method back into authentication api
2015-07-08 22:17:54 +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
John O'Nolan
b8a1993f14
Merge pull request #5509 from auermi/auermi-config-typo-1
...
Fix config.example.js typo
2015-07-07 20:57:28 +03: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