Commit Graph

5111 Commits

Author SHA1 Message Date
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
Łukasz Kliś
9fa666cba7 Added multiline "placeholder" to 3rd step of setup
Closes #5459
- added a PNG background with 2 emails addresses as a "placeholder"
- added a `required` attribute for textarea in 3rd step of the setup
- taking an advantage of `:valid` pseudo-class to hide the background
  picture with email addresses
2015-07-01 23:14:27 +02:00
Sebastian Gierlinger
7afe226503 Merge pull request #5505 from JohnONolan/r
Update readme with Slack support info
2015-07-01 17:40:21 +02:00
John O'Nolan
344bcfa693 Update readme with Slack support info
I'm not convinced this is going to work, but it's an attempt to get more people asking install questions in Slack rather than opening github issues. Also fix broken link to Ghost(Pro) further down, Github stripped the HTML so converted to Markdown.
2015-07-01 09:42:36 +02:00
hoxoa
e0ed655304 Generate coverage and send it to Code Climate
closes #2029
- when the build passed, on merge (no PR) and right DB and Node version (the first job), Travis generates the coverage report
- when finished, Travis sends the results to Code Climate
2015-06-30 20:50:43 +02:00
Kowsheek Mahmood
6559f25ebe Make the 401 error format consistent
issue #5499

- Update error object being sent from authenticate method
2015-06-30 12:38:47 -04:00
Hannah Wolfe
b8415e8b90 Merge pull request #5349 from acburdine/onboarding-api
Add PUT route to authentication setup
2015-06-30 12:03:21 +01:00
Sebastian Gierlinger
a0d0045edb Merge pull request #5467 from ErisDS/api-pipeline
Refactor to using pipeline for the API
2015-06-30 10:28:44 +02:00
Austin Burdine
a2a0ba9023 adds put route to authentication setup
closes #5342
- adds put version of authentication/setup that allows for updating of owner/settings values
- doesn't send welcome email
- adds tests for new put route
2015-06-29 13:16:10 -04:00
Sebastian Gierlinger
64e20735a3 Merge pull request #5491 from ErisDS/issue-5490-no-post-url
Add event handling to pagination plugin
2015-06-29 11:44:22 +02:00
Hannah Wolfe
51ac3f6532 Refactor to using pipeline for the API
refs #2758

- Post, Tag & User API methods are refactored to use pipeline
- Each functional code block is a named task function
- Each function takes options, manipulates it, and returns options back
- Tasks like permissions can reject if they don't pass, causing the pipeline to fail
- Tasks like validating and converting options might be abstracted out into utils - the same for each endpoint
- Tasks like the data call can be extremely complex if needs be (like for some user endpoints)
- Option validation is mostly factored out to utils
- Option conversion is factored out to utils
- API utils have 100% test coverage
- Minor updates to inline docs, more to do here
2015-06-28 22:52:31 +01:00
Jason Williams
09402d22f5 Merge pull request #5488 from ErisDS/extends
Use extends correctly & consistently
2015-06-27 22:49:55 -05:00
Hannah Wolfe
4772e38521 Add event handling to pagination plugin
closes #5490

- use same event handling pattern as fetchAll
- add support for `fetching:collection` to post model
- add tests to check that url is fetched via findAll and findPage
2015-06-26 22:56:03 +01:00
Jason Williams
3e6074ecec Merge pull request #5473 from jomahoney/startup-clean
Improve Ghost startup checks and errors
2015-06-26 14:52:25 -05:00
Hannah Wolfe
6cfc1808a4 Merge pull request #5477 from acburdine/title-fix
Fix blog title in nav menu not updating
2015-06-26 20:13:27 +01:00
Hannah Wolfe
0dac251ffe Merge pull request #5484 from JohnONolan/O
Fix mobile display bugs on user list
2015-06-26 13:11:40 +01:00
Hannah Wolfe
f6322da4c9 Use extends correctly & consistently
- extends clobbers the first argument you pass to it, so that should not be a variable that is used elsewhere, if you're also assigning the value, as it will have unintended side effects.
2015-06-25 19:56:27 +01:00
Hannah Wolfe
b3f4beade8 Merge pull request #5471 from kowsheek/5370-settings-model-events
Add events to settings model
2015-06-25 11:08:51 +01:00
Hannah Wolfe
6836578661 Merge pull request #5468 from jaswilli/ember-1.13
Ember 1.13
2015-06-25 11:08:15 +01:00
John O'Nolan
0ddded8178 Fix mobile display bugs on user list
See #5483
2015-06-24 19:53:01 +01:00
Jason Williams
42166c8d9f Update Ember to 1.13.2
- Refactor to handle deprecations including removal of
  all Views, ArrayControllers, and ItemControllers.
2015-06-24 11:47:28 -05:00
Hannah Wolfe
308a5a4fce Merge pull request #5481 from JohnONolan/c
Main colour audit
2015-06-24 16:11:27 +01:00
Jason Williams
aa333363fe Merge pull request #5479 from ErisDS/author-relation
Use 'author' for relation instead of 'author_id'
2015-06-24 09:01:20 -05:00
John O'Nolan
c33c3012d1 Main colour audit
Clean up grey colours by mixing in slightly more blue, standardise appearance across different parts of the app and move closer to brand  colours.
2015-06-24 13:37:37 +01:00
John O'Nolan
b3f7576bf0 Merge pull request #5480 from JohnONolan/f
F
2015-06-24 12:18:26 +01:00
John O'Nolan
648f006fc5 Firefucks
Firefox can't do flexbox, because why would a modern browser be able to do flexbox? Cray.
Closes #5438, Closes #5401 - same fix but vh unit because % unit is hella unreliable.
2015-06-24 12:17:49 +01:00
John O'Nolan
0928ed118e Fight fire with overflow.
Prevents firefox from allowing blog title to overflow. This is an incredibly stupid fix for an incredibly stupid browser bug. Firefox is the worst modern browser in the world at basic layout rendering. Could someone let them know please? Closes #5430 as replacement.
2015-06-24 12:16:58 +01:00
John O'Nolan
b9793c0364 First pass colour audit
This gets rid of old and un-used, or lesser-used colour variables.
2015-06-24 12:15:48 +01:00
Hannah Wolfe
7705e30995 Use 'author' for relation instead of 'author_id'
- this clears a todo in the codebase & gets rid of a few lines of unnecessary code
2015-06-24 10:00:24 +01:00
Austin Burdine
942ca621bc fix blog title not updating in nav menu
closes #5474
- sets the blogTitle property of config when the title setting is changed
2015-06-23 14:15:36 -04:00
John O'Nolan
9b7dc0d53b Merge pull request #5472 from cobbspur/fixuploader
Take Trashcan off of url screen for image uploader
2015-06-23 18:07:42 +01:00
John O'Mahoney
5fd9d3567f Improve Ghost starup checks and errors
closes #5358
- Moved node version check and exits if not supported
- Removed upgrade warning from `ghost-server.js`
- Perform a check for NODE_ENV, uses `config.example.js` if none apparent
2015-06-23 18:04:37 +01:00
cobbspur
8a8e90e9a2 Take Trashcan off of url screen for image uploader
closes #5433
- add gh-input class to inputs
- stop the incorrect addition of trash can on url page
- fix trigger of upload success to show loading in editor
- fix duplicate url field for images outside of editor when there is no file storage
2015-06-23 13:14:04 +01:00
Kowsheek Mahmood
68d1feb8c5 Add events to settings model
closes #5370
- Add settings key in the event emission
- Update settings spec to test for events emitted with settings key
2015-06-23 14:33:08 +06:00
Hannah Wolfe
0d5e515171 Merge pull request #5470 from jaswilli/issue-5322
Fix watch task paths
2015-06-23 09:08:33 +01:00
Jason Williams
40f59e2e4b Fix watch task paths
Closes #5322
2015-06-22 22:12:19 -05:00
Hannah Wolfe
e25ecd7846 Merge pull request #5465 from jaswilli/super
Fix up editor/preview scroll and post list loading
2015-06-22 20:40:31 +01:00
Jason Williams
78361c25af Fix up editor/preview scroll and post list loading
Refs #5381
- Invoke this._super() so mixed in lifecycle hooks run.
2015-06-22 11:35:17 -05:00
Sebastian Gierlinger
564d64bac4 Merge pull request #5444 from ErisDS/api-pagination3
Abstract findPage & add pagination Bookshelf plugin
2015-06-22 17:48:10 +02:00
Hannah Wolfe
7761873db7 Abstract findPage & add pagination Bookshelf plugin
closes #2896

- move default options / custom code into model functions
- move most of the filtering logic into base/utils.filtering (to be relocated)
- move the remainder of findPage back into base/index.js and remove from posts/users&tags
- move pagination-specific logic to a separate 'plugin' file
- pagination provides new fetchPage function, similar to fetchAll but handling pagination
- findPage model method uses fetchPage
- plugin is fully unit-tested and documented
2015-06-22 10:20:47 +01:00
Hannah Wolfe
cb2aedf52e Merge pull request #5455 from jomahoney/grunt-failure
Removes whitespace issue that was preventing grunt init from working
2015-06-20 23:54:46 +01:00
Jason Williams
71acbed418 Merge pull request #5456 from acburdine/simpauth0.8
Update Ember-Simple-Auth to 0.8.0
2015-06-20 10:36:07 -05:00