Sebastian Gierlinger
6826a6516b
Merge pull request #6956 from ErisDS/version-mismatch
...
Version matching middleware
2016-06-09 19:23:22 +02:00
Hannah Wolfe
20f4166cc5
Version matching middleware
...
refs #6949
- Adds a new VersionMismatchError with status 400 (bad request)
- Adds middleware that checks the X-Ghost-Version header if it is provided
- If it is not provided, the middleware does nothing
- If it is provided, and the versions match, the middleware does nothing
- If it is provided, and the versions don't match, the middleware returns a VersionMismatchError
- Includes both unit and a functional test to prove the middleware works alone and as part of the whole system
2016-06-09 17:08:44 +01:00
Hannah Wolfe
c3ce604201
Merge pull request #6951 from TryGhost/greenkeeper-validator-5.4.0
...
Update validator to version 5.4.0 🚀
2016-06-09 15:38:56 +01:00
greenkeeperio-bot
785bbd506e
chore(package): update validator to version 5.4.0
...
https://greenkeeper.io/
2016-06-09 12:34:03 +01:00
Hannah Wolfe
bdef04bcda
Merge pull request #6947 from TryGhost/greenkeeper-should-9.0.1
...
Update should to version 9.0.1 🚀
2016-06-09 12:33:46 +01:00
Hannah Wolfe
6d0b4ba03c
Merge pull request #6952 from kirrg001/fix/mocha-coverage
...
fix: require overrides for mocha coverage
2016-06-09 12:33:35 +01:00
Hannah Wolfe
0c44353e7a
Merge pull request #6943 from kirrg001/improvement/single-test-with-autocompletion
...
improvement: offer a way to run single test with bash file completion
2016-06-09 12:28:54 +01:00
kirrg001
658efd1a23
fix: require overrides for mocha coverage
2016-06-09 13:01:35 +02:00
Hannah Wolfe
9ddcecccab
Merge pull request #6936 from SuchSoftware/6935
...
Fixes #6935 - Let Bluebird know Promise is not runaway
2016-06-09 11:46:35 +01:00
Hannah Wolfe
ff2f127a32
Merge pull request #6924 from cobbspur/addTokenEvent
...
Add token added event, update last_login
2016-06-09 11:46:04 +01:00
Hannah Wolfe
bac4a3d880
Merge pull request #6941 from AileenCGN/timezones-select-list
...
Timezone select list without DST
2016-06-09 11:34:02 +01:00
Hannah Wolfe
a483bc4fba
Merge pull request #6909 from kevinansfield/grunt-split
...
Move client linting into Ghost-Admin
2016-06-09 10:59:39 +01:00
Aileen Nowak
66bf66de4e
Timezone select list without DST
...
refs #6933
Some hard timezones of the hard coded list where shown (`label`-property) with a `GMT`-offset incl. DST. All offsets are now without DST.
Removes `offset` property as it is not used and `Greenwich Mean Time` from label.
2016-06-09 10:35:22 +02:00
cobbspur
9430f5fa51
Add token added event, update last_login
...
closes #6845
- emit token.added event when new access token is created
- update last_login for user token.added event is triggered
2016-06-09 09:17:06 +01:00
Kevin Ansfield
1c0cbffa5b
Move client linting to Ghost-Admin
...
no issue
- remove client-related lint config
- add `lint-all` task that uses subgrunt to also run client's lint task
2016-06-09 09:16:39 +01:00
Kevin Ansfield
9262dcd1c6
deps: grunt-subgrunt@1.2.0
2016-06-09 09:14:37 +01:00
Sebastian Gierlinger
924c9963b4
Merge pull request #6938 from ErisDS/issue-6937
...
Guard for currentUrl being undefined in navigation
2016-06-09 10:01:01 +02:00
Sebastian Gierlinger
cab4018cab
Merge pull request #6928 from ErisDS/middleware-cleanup
...
Move all middleware/app config to middleware
2016-06-09 09:59:50 +02:00
greenkeeperio-bot
2d4bfca408
chore(package): update should to version 9.0.1
...
https://greenkeeper.io/
2016-06-09 07:09:45 +01:00
kirrg001
ac677e3c43
improvement: run single test with bash file completion
2016-06-08 17:35:29 +02:00
Ethan Garofolo
b3c88b8c14
Fixes #6935 - Let Bluebird know Promise is not runaway
2016-06-08 07:47:45 -06:00
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
Hannah Wolfe
7b098e085a
Merge pull request #6923 from cobbspur/csvread
...
Add CSV parser for csv read utility
2016-06-07 17:26:36 +01:00
Hannah Wolfe
2f4d1e4027
Move all middleware/app config to middleware
...
no issue
- move some middleware setup that was in the server index into the middleware index
2016-06-07 17:24:08 +01:00
Hannah Wolfe
7e4fada99c
Merge pull request #6934 from cobbspur/updateDep
...
deps: moment-timezone@0.5.4
2016-06-07 16:44:37 +01:00
cobbspur
ee539faa9e
deps: moment-timezone@0.5.4
...
No Issue
- update moment-timezone dependency that was downgraded in error
2016-06-07 11:16:12 +01:00
cobbspur
0f0ca5a304
Add CSV parser for csv read utility
...
closes #6865
- switch csv-read to use a csv-parser for greater reliability and management of strings when importing a csv
2016-06-07 10:47:56 +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