Commit Graph

5102 Commits

Author SHA1 Message Date
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
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
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
Hannah Wolfe
0867279504 Merge pull request #5514 from halfdan/fix/5436
Reload user after import
2015-07-05 20:51:39 +01:00
Hannah Wolfe
82467c819d Merge pull request #5399 from acburdine/inline-errors
Add inline errors
2015-07-05 20:36:27 +01:00
Austin Burdine
d0c151be70 adds inline errors to validation
closes #5336
- creates gh-form-group component to handle form group status
- refactors current validation methods to work on a per-property basis
- adds gh-error-message component to render error message
- removes (comments out) tests that pertain to the old notifications until the new inline validation is added
2015-07-05 14:02:06 -04:00
Jason Williams
7d3c0fb18b Focus on editor if transitioning from new post
Closes #5383
2015-07-04 13:59:09 -05:00
Hannah Wolfe
40d2ad66ed Merge pull request #5511 from halfdan/fix/travis-cache
Add correct directories to travis cache
2015-07-03 20:13:20 +01:00
cobbspur
ba80e6ebaa Change permissions for team area
closes #5434

- remove transition away from team page to user page of authors
- hide invite button from authors
- hide invited users from authors
- adjusted gh-user-can and renamed to gh-user-can-admin
- hide password reset on owners profile from administrators
- hide input field for owner email from administrators pending api fix
- fix up tests
2015-07-03 20:06:45 +01:00
Fabian Becker
542400d6f1 Reload user after import
fixes #5436
2015-07-03 13:27:36 +02:00
Łukasz Kliś
393c71b003 Removed lighten left over from SASS to Myth conversion
Refs #5314
- replaced SASS's `lighten` with Myth's `color(x lightness())`
2015-07-03 07:46:38 +02:00
Hannah Wolfe
e693d5ed2d Merge pull request #5510 from halfdan/pipline/5508
Pipeline roles and slugs API
2015-07-02 19:39:37 +01:00
Hannah Wolfe
fc6b93b9f4 Merge pull request #5504 from kowsheek/5499-error-format
Make the 401 error format consistent
2015-07-02 19:32:17 +01:00
Fabian Becker
a48ba06fec Add correct directories to travis cache
no ref
2015-07-02 16:55:10 +02:00
Fabian Becker
7f5250af0e Pipeline roles and slugs API
refs #5508
2015-07-02 16:38:31 +02:00
Michael Auer
0b474d8486 Fix config.example.js typo
Changed "blogs" to "blog's" on line 33
2015-07-02 09:15:27 -04:00
John O'Nolan
71e8bdfab9 Merge pull request #5506 from lukaszklis/multiline-placeholder-onboarding-5459
Added multiline "placeholder" to 3rd step of setup
2015-07-02 15:14:58 +03:00
Hannah Wolfe
b5f0cf911a Merge pull request #5493 from hoxoa/issue-2029
Generate coverage and send it to Code Climate
2015-07-02 00:00:10 +01:00