Commit Graph

6683 Commits

Author SHA1 Message Date
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
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