Commit Graph

6518 Commits

Author SHA1 Message Date
Hannah Wolfe
c2890820a2 Guard for currentUrl being undefined in navigation
fixes #6937

- in certain cases, relativeUrl will not be set, e.g. for assets
- in this case, navigation will fail on the error.hbs template
2016-06-07 20:10:20 +01:00
Kevin Ansfield
db3df16c21 Version bump to 0.9.0-beta.1 2016-06-06 15:09:51 +01:00
Kevin Ansfield
8df0dc035d Merge pull request #6931 from ErisDS/release-dedupe
Add dedupe to release process
2016-06-06 14:25:07 +01:00
Hannah Wolfe
3991446df1 Add dedupe to release process
no issue
- This seems to be needed between dedupe & shrinkwrap in certain circumstances
2016-06-06 13:52:45 +01:00
Kevin Ansfield
d5323cdc16 Upgrading Ghost-Admin to 0.9.0-beta1 2016-06-06 10:26:26 +01:00
Hannah Wolfe
596dc10688 Merge pull request #6927 from TryGhost/greenkeeper-jsonpath-0.2.4
Update jsonpath to version 0.2.4 🚀
2016-06-05 11:14:11 +01:00
greenkeeperio-bot
fa7cb35389 chore(package): update jsonpath to version 0.2.4
https://greenkeeper.io/
2016-06-04 22:14:20 +01:00
Austin Burdine
716fb135dd Merge pull request #6926 from ErisDS/admin-update
Updating Ghost-Admin to the latest version
2016-06-04 11:37:53 -06:00
Hannah Wolfe
ad870091f7 Updating Ghost-Admin to the latest version
no-issue

- pulls in timezones, some dependency updates and some tooling updates
2016-06-04 18:00:16 +01:00
Hannah Wolfe
a621959496 Merge pull request #6921 from TryGhost/revert-6917-revert-6877-feature/force-UTC-usage
Revert "Revert "Force UTC at process level""
2016-06-03 09:58:55 +01:00
Hannah Wolfe
80a79172c4 Revert "Revert "Force UTC at process level"" 2016-06-03 09:06:18 +01:00
Sebastian Gierlinger
cf0835c829 Merge pull request #6920 from ErisDS/tag-save-fix
Fix post model deletes tags when editing post only
2016-06-03 09:37:58 +02:00
Hannah Wolfe
b2051dacf7 Fix post model deletes tags when editing post only
fixes #6919, refs #6917

- resolves the problem by guarding for `tags` being undefined or null
   - If it is undefined, we don't do any tag processing
   - If it is null, we don't do any tag processing
   - To delete all tags, you would provide `tags: []`
- adds tests at both the model (using withRelated) and API (using includes) layers
- moves the tests for the post updateTags functionality from the tag model spec to the post model spec & cleans up a bit
2016-06-02 22:52:34 +01:00
Hannah Wolfe
dd4bb29cde Merge pull request #6917 from TryGhost/revert-6877-feature/force-UTC-usage
Revert "Force UTC at process level"
2016-06-02 14:38:57 +01:00
Hannah Wolfe
78e693f469 Revert "Force UTC at process level" 2016-06-02 14:38:02 +01:00
Hannah Wolfe
3fcf8632a8 Merge pull request #6877 from kirrg001/feature/force-UTC-usage
Force UTC at process level
2016-06-02 13:27:23 +01:00
kirrg001
ec176c243a Force UTC at process level
issues #6406 #6399
- all dates are stored as UTC with this commit
- use moment.tz.setDefault('UTC')
- add migration file to recalculate local datetimes to UTC
- store all dates in same format into our three supported databases
- add option to remeber migrations inside settings (core)
- support DST offset for migration
- ensure we force UTC in test env
- run whole migration as transaction
- extend: Settings.findOne function
2016-06-02 13:23:09 +02:00
Sebastian Gierlinger
38cdcfd3d6 Merge pull request #6915 from ErisDS/coverage-fix
Exclude fix for grunt coverage task
2016-06-01 14:24:18 +01:00
Hannah Wolfe
685ceac324 Exclude fix for grunt coverage task
no issue

- fixes grunt coverage task which was erroring with the message: 'Fatal error: spawn Unknown system errno 7'
- using glob matching results in expanding to cover every file with -x in the mocha command,
this was causing some sort of overflow type error.
- we can just exclude the directory and this is much quicker & makes more sense
2016-06-01 12:53:59 +01:00
Hannah Wolfe
45226bcaaa Merge pull request #6889 from kirrg001/improvement/general
improvement: general fixes
2016-06-01 07:58:00 +01:00
kirrg001
c9fbf01521 improvement: general fixes
- add NODE_LEVEL to print errors while running tests
- try/catch while parsing translations file
- run setup/teardown as promise or callback
- some general error improvements
2016-06-01 07:07:20 +02:00
Hannah Wolfe
9852b0dd81 Merge pull request #6908 from TryGhost/greenkeeper-netjet-1.1.1
Update netjet to version 1.1.1 🚀
2016-05-30 18:28:08 +01:00
greenkeeperio-bot
0683ef194c chore(package): update netjet to version 1.1.1
https://greenkeeper.io/
2016-05-30 17:40:06 +01:00
Hannah Wolfe
63a5077028 Merge pull request #6906 from TryGhost/greenkeeper-should-9.0.0
Update should to version 9.0.0 🚀
2016-05-30 17:39:52 +01:00
greenkeeperio-bot
d78d305fb3 chore(package): update should to version 9.0.0
https://greenkeeper.io/
2016-05-30 15:35:58 +01:00
Hannah Wolfe
6143c2ee8f Merge pull request #6905 from TryGhost/greenkeeper-grunt-mocha-istanbul-5.0.1
Update grunt-mocha-istanbul to version 5.0.1 🚀
2016-05-30 09:12:09 +01:00
greenkeeperio-bot
9f2ff2d031 chore(package): update grunt-mocha-istanbul to version 5.0.1
https://greenkeeper.io/
2016-05-30 07:06:35 +01:00
Hannah Wolfe
5295d2865e Merge pull request #6903 from TryGhost/greenkeeper-grunt-mocha-istanbul-5.0.0
Update grunt-mocha-istanbul to version 5.0.0 🚀
2016-05-29 11:53:15 +01:00
greenkeeperio-bot
c86f4b0625 chore(package): update grunt-mocha-istanbul to version 5.0.0
https://greenkeeper.io/
2016-05-29 10:40:17 +01:00
Hannah Wolfe
4c44257115 Merge pull request #6860 from kirrg001/timezones-support-permalinks
Timezones + support permalinks
2016-05-28 17:19:14 +01:00
Hannah Wolfe
3aee402709 Merge pull request #6901 from TryGhost/greenkeeper-validator-5.3.0
Update validator to version 5.3.0 🚀
2016-05-28 07:42:26 +01:00
greenkeeperio-bot
82752ffdcc chore(package): update validator to version 5.3.0
https://greenkeeper.io/
2016-05-28 02:52:16 +01:00
Hannah Wolfe
fc926b840d Merge pull request #6896 from TryGhost/greenkeeper-intl-1.2.4
Update intl to version 1.2.4 🚀
2016-05-27 19:29:31 +01:00
Hannah Wolfe
39974caeb3 Merge pull request #6890 from TryGhost/greenkeeper-mocha-2.5.3
Update mocha to version 2.5.3 🚀
2016-05-27 19:29:23 +01:00
greenkeeperio-bot
c60a3f8005 chore(package): update intl to version 1.2.4
https://greenkeeper.io/
2016-05-27 17:11:35 +01:00
greenkeeperio-bot
94bad4eca5 chore(package): update mocha to version 2.5.3
https://greenkeeper.io/
2016-05-27 17:11:35 +01:00
Jason Williams
d9284d23f2 Merge pull request #6900 from TryGhost/greenkeeper-top-gh-contribs-2.0.4
Update top-gh-contribs to version 2.0.4 🚀
2016-05-27 11:11:20 -05:00
greenkeeperio-bot
da48c3637d chore(package): update top-gh-contribs to version 2.0.4
https://greenkeeper.io/
2016-05-27 16:40:15 +01:00
Hannah Wolfe
b2851afd99 Merge pull request #6886 from TryGhost/greenkeeper-grunt-contrib-compress-1.3.0
Update grunt-contrib-compress to version 1.3.0 🚀
2016-05-25 15:43:29 +01:00
Hannah Wolfe
7ef1e23105 Merge pull request #6887 from kirrg001/improvement/run-single-test
improvement: run single test with mochacli
2016-05-25 10:52:38 +01:00
kirrg001
85e21223ce improvement: run single test with mochacli 2016-05-25 09:12:23 +02:00
greenkeeperio-bot
94b1e1d952 chore(package): update grunt-contrib-compress to version 1.3.0
https://greenkeeper.io/
2016-05-24 18:53:54 +01:00
Hannah Wolfe
d269358d95 Merge pull request #6885 from TryGhost/greenkeeper-mocha-2.5.2
Update mocha to version 2.5.2 🚀
2016-05-24 15:06:07 +01:00
Austin Burdine
76aa3a47fb Merge pull request #6883 from kevinansfield/travis-diet
Revert to old Travis infrastructure and remove client tests
2016-05-24 07:42:13 -06:00
Austin Burdine
91d3888d48 Merge pull request #6882 from kevinansfield/grunt-bower
Drop `.bowerrc`, move `bower install` into `ember:init` task
2016-05-24 07:40:15 -06:00
greenkeeperio-bot
4101e922e9 chore(package): update mocha to version 2.5.2
https://greenkeeper.io/
2016-05-24 11:37:23 +01:00
Kevin Ansfield
3afb3a657d Revert to old Travis infrastructure and remove client tests
no issue
- moves us back to the older but faster Travis infrastructure
- removes the client tests and related setup as they are now handled in the Ghost-Admin repo
2016-05-24 09:58:13 +01:00
Kevin Ansfield
30b3ccc387 Drop .bowerrc, move bower install into ember:init task
no issue
- perform `bower install` alongside `npm install` in the `ember:init` task - every usage of `shell:bower` was immediately preceded by `shell:ember:init` so it makes sense to move all ember initialisation steps into the one grunt command
- remove `.bowerrc` file so that the standard ember conventions of `npm install && bower install` inside the client directory work without ending up with folders such as `core/client/core/client/bower_components/*`

This does have the effect of causing `bower install` from the root dir to fail with `bower ENOENT No bower.json present`. As far as I can tell we have not documented running `bower install` manually anywhere and I believe the new behaviour matches the expected behaviour more closely as well adding more consistency to the way client-side dependencies are installed.
2016-05-23 16:59:42 +01:00
Hannah Wolfe
a1baef4ed6 Merge pull request #6876 from TryGhost/greenkeeper-mocha-2.5.1
Update mocha to version 2.5.1 🚀
2016-05-23 14:37:53 +01:00
greenkeeperio-bot
8eb7c7403b chore(package): update mocha to version 2.5.1
https://greenkeeper.io/
2016-05-23 10:47:22 +01:00