Commit Graph

737 Commits

Author SHA1 Message Date
Greenkeeper
61d66a4007 chore(package): update oauth2orize to version 1.5.0 (#7226)
https://greenkeeper.io/
2016-08-19 07:34:18 +01:00
Greenkeeper
e0f83f31ac chore(package): update oauth2orize to version 1.4.1 (#7211)
https://greenkeeper.io/
2016-08-17 18:24:19 +02:00
Greenkeeper
49e77711df chore(package): update should to version 11.1.0 (#7201)
https://greenkeeper.io/
2016-08-15 09:24:46 +02:00
Greenkeeper
749e906556 chore(package): update superagent to version 2.2.0 (#7200)
https://greenkeeper.io/
2016-08-15 09:24:31 +02:00
Greenkeeper
55e7b659e0 chore(package): update grunt-shell to version 1.3.1 (#7198)
https://greenkeeper.io/
2016-08-13 06:39:42 -06:00
Greenkeeper
d1b17f86d0 chore(package): update lodash to version 4.15.0 (#7197)
https://greenkeeper.io/
2016-08-12 22:16:39 -06:00
Greenkeeper
dd5775c018 Update mocha to version 3.0.2 🚀 (#7165)
* chore(package): update mocha to version 3.0.2

https://greenkeeper.io/

* fix duplicate done/promise handling
2016-08-11 08:51:19 +01:00
Austin Burdine
cd4fb88236 deps: knex@0.11.10 (#7195)
- add `useNullAsDefault` flag to sqlite test config to fix breaking
  sqlite builds
- fixes npm install issue with lodash dependency
2016-08-11 08:40:51 +01:00
Greenkeeper
da52e92f3e chore(package): update should to version 11.0.0 (#7193)
https://greenkeeper.io/
2016-08-10 14:37:09 -06:00
Greenkeeper
c4c3978e39 chore(package): update grunt-mocha-istanbul to version 5.0.2 (#7181)
https://greenkeeper.io/
2016-08-10 12:09:59 -06:00
Greenkeeper
ff05ff2043 chore(package): update lodash to version 4.14.2 (#7188)
https://greenkeeper.io/
2016-08-10 10:27:40 -06:00
Austin Burdine
03d4137b86 Move remainder of ember tasks to client repo (#7172)
* Updating Ghost-Admin: Gruntfile work

* move remainder of ember tasks to client repo

refs #6977
- move ember build tasks to client repo
- remove unneeded dependencies
2016-08-07 11:53:28 +02:00
Greenkeeper
bd2f59b5f9 chore(package): update multer to version 1.2.0 (#7176)
https://greenkeeper.io/
2016-08-06 10:30:30 +02:00
Greenkeeper
6cab400b69 chore(package): update gh-contrib-list to version 0.1.2 (#7126)
https://greenkeeper.io/
2016-08-01 09:21:38 -06:00
Greenkeeper
ce615a0244 chore(package): update sinon to version 1.17.5 (#7148)
https://greenkeeper.io/
2016-08-01 08:13:14 -06:00
Greenkeeper
cefec5767d chore(package): update lodash to version 4.14.1 (#7160)
https://greenkeeper.io/
2016-07-29 18:02:40 -06:00
Greenkeeper
26eff9be8f chore(package): update lodash to version 4.14.0 (#7128)
https://greenkeeper.io/
2016-07-28 10:21:56 -06:00
Greenkeeper
81b2e4bc42 chore(package): update moment-timezone to version 0.5.5 (#7150)
https://greenkeeper.io/
2016-07-27 10:59:07 -06:00
Kevin Ansfield
e203eb8fb3 Version bump to 0.9.0 2016-07-26 14:24:31 +01:00
Austin Burdine
77464c59bd improve Ghost contributor tooling (#7042)
refs #6977
- update client ref
- add gh-contrib-list dependency
- remove buildAboutPage task
2016-07-22 12:53:48 +01:00
Greenkeeper
449b1ce01c chore(package): update netjet to version 1.1.2 (#7114)
https://greenkeeper.io/
2016-07-21 17:55:02 -06:00
Greenkeeper
0cf7dda884 chore(package): update validator to version 5.5.0 (#7112)
https://greenkeeper.io/
2016-07-21 07:08:19 -06:00
Greenkeeper
5e6b952e90 chore(package): update superagent to version 2.1.0 (#7090)
https://greenkeeper.io/
2016-07-20 05:25:56 -06:00
greenkeeperio-bot
879629a015 chore(package): update express to version 4.14.0
https://greenkeeper.io/
2016-07-19 17:04:34 +01:00
Greenkeeper
717183a3bb chore(package): update grunt-contrib-uglify to version 2.0.0 (#7111)
https://greenkeeper.io/
2016-07-19 10:04:20 -06:00
Greenkeeper
3b6326ec8b chore(package): update oauth2orize to version 1.4.0 (#7108)
https://greenkeeper.io/
2016-07-18 17:27:54 -06:00
Greenkeeper
94a5f618bf chore(package): update should to version 10.0.0 (#7104)
https://greenkeeper.io/
2016-07-18 09:14:33 -06:00
Hannah Wolfe
37da544dcc Node version check w/o semver (#7097)
closes #6691

- removes dependency on semver & package.json in preinstall script
- has a simplified proxy of semver to look for the right version numbers
2016-07-16 01:20:05 +02:00
Greenkeeper
00a676110d chore(package): update semver to version 5.3.0 (#7094)
https://greenkeeper.io/
2016-07-15 12:07:07 +01:00
Greenkeeper
9f547b640f chore(package): update ghost-gql to version 0.0.5 (#7092)
https://greenkeeper.io/
2016-07-14 15:07:10 +01:00
Hannah Wolfe
71282a241e Various post-repo-split cleanup (#6910)
no issue

- remove bower from dependencies, greenkeeper ignores & .editorconfig
- remove old custom jscs rule for ember
2016-07-12 11:55:46 -06:00
Greenkeeper
7b0226247b chore(package): update express-hbs to version 1.0.2 (#7078) 2016-07-08 21:35:00 -06:00
Austin Burdine
9e93c2b6aa deps: bookshelf@0.10.0 (#7074)
merged in fix for lodash
2016-07-06 10:31:24 +01:00
Greenkeeper
bbaad73f87 chore(package): update rewire to version 2.5.2 (#7061)
https://greenkeeper.io/
2016-07-05 17:25:23 +01:00
Greenkeeper
495bbee594 chore(package): update moment to version 2.14.1 (#7071) 2016-07-04 11:05:28 -06:00
Greenkeeper
62859fbb57 chore(package): update jsonpath to version 0.2.6 (#7063) 2016-07-01 20:29:25 -06:00
Greenkeeper
0b23bb007d chore(package): update html-to-text to version 2.1.3 (#7056) 2016-06-30 11:46:21 -06:00
Greenkeeper
204e99b331 chore(package): update body-parser to version 1.15.2 (#7013) 2016-06-29 15:23:03 -06:00
Greenkeeper
72f7b0bc6c chore(package): update html-to-text to version 2.1.1 (#7051)
https://greenkeeper.io/
2016-06-29 13:02:33 -06:00
Greenkeeper
78b19d80e3 chore(package): update semver to version 5.2.0 (#7049)
https://greenkeeper.io/
2016-06-29 10:28:23 -06:00
Hannah Wolfe
67522ea25a Merge pull request #7041 from acburdine/bookshelf-upgrade-test
Bookshelf Lodash Fix
2016-06-28 18:43:47 +02:00
Austin Burdine
acc08b9702 deps: bookshelf@lodash-upgrade-fix
no issue
- temporarily upgrades bookshelf to latest master commit
- fixes lodash version incompatibility
2016-06-27 08:22:30 -06:00
greenkeeperio-bot
5e8b072025 chore(package): update semver to version 5.1.1
https://greenkeeper.io/
2016-06-23 19:08:34 +01:00
Hannah Wolfe
d5e1d122ac Merge pull request #7018 from TryGhost/greenkeeper-istanbul-0.4.4
Update istanbul to version 0.4.4 🚀
2016-06-23 14:29:56 +01:00
Hannah Wolfe
9d69e43771 Merge pull request #7004 from TryGhost/greenkeeper-bluebird-3.4.1
Update bluebird to version 3.4.1 🚀
2016-06-23 14:29:49 +01:00
greenkeeperio-bot
5e425c229e chore(package): update istanbul to version 0.4.4
https://greenkeeper.io/
2016-06-23 14:29:49 +01:00
greenkeeperio-bot
c9e665ba04 chore(package): update bluebird to version 3.4.1
https://greenkeeper.io/
2016-06-21 23:11:04 +01:00
greenkeeperio-bot
f5506f7bb9 chore(package): update jsonpath to version 0.2.5
https://greenkeeper.io/
2016-06-21 23:11:04 +01:00
greenkeeperio-bot
2fe3223a6b chore(package): update grunt-jscs to version 3.0.1
https://greenkeeper.io/
2016-06-21 22:22:16 +01:00
Kevin Ansfield
3e92d63c27 Version bump to 0.9.0-beta.2 2016-06-15 13:33:02 +01:00
kirrg001
e43aefe576 fix: delete lodash.pickBy dependency 2016-06-15 14:00:32 +02:00
Hannah Wolfe
ac63621fe7 Update tags & foreach to respect visibility
refs #6165

- adds lodash.pickby@4.4.0
- new helper util for understanding a visibility attribute
- generalises visibility handling for `{{tags}}` helper
- adds visibility handling to `{{foreach}}` helper
- adds tests which check behaviour + labs flag
2016-06-15 12:37:09 +01:00
“kirrg001”
1421c92ba5 post-scheduling
refs #6413
- PUT endpoint to publish a post/page for the scheduler
- fn endpoint to get all scheduled posts (with from/to query params) for the scheduler
- hardcoded permission handling for scheduler client
- fix event bug: unscheduled
- basic structure for scheduling
- post scheduling basics
- offer easy option to change adapter
- integrate the default scheduler adapter
- update scheduled posts when blog TZ changes
- safety check before scheduler can publish a post (not allowed to publish in the future or past)
- add force flag to allow publishing in the past
- invalidate cache header for /schedules/posts/:id
2016-06-14 10:52:13 +02:00
Hannah Wolfe
584e9911c4 Merge pull request #6973 from acburdine/lodash-4
deps: lodash@4.13.1
2016-06-11 21:39:30 +01:00
Austin Burdine
44537bd15f deps: lodash@4.13.1
closes #6911
- update lodash to v4
- remove lodash.tostring override
- remove lodash from greenkeeper ignore
2016-06-11 13:13:55 -06:00
greenkeeperio-bot
f6ba114728 chore(package): update grunt-jscs to version 3.0.0
https://greenkeeper.io/
2016-06-11 18:45:54 +01:00
greenkeeperio-bot
42291b006d chore(package): update should to version 9.0.2
https://greenkeeper.io/
2016-06-10 12:20:58 +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
Kevin Ansfield
9262dcd1c6 deps: grunt-subgrunt@1.2.0 2016-06-09 09:14:37 +01:00
greenkeeperio-bot
2d4bfca408 chore(package): update should to version 9.0.1
https://greenkeeper.io/
2016-06-09 07:09:45 +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
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
greenkeeperio-bot
fa7cb35389 chore(package): update jsonpath to version 0.2.4
https://greenkeeper.io/
2016-06-04 22:14:20 +01:00
Hannah Wolfe
80a79172c4 Revert "Revert "Force UTC at process level"" 2016-06-03 09:06:18 +01:00
Hannah Wolfe
78e693f469 Revert "Force UTC at process level" 2016-06-02 14:38:02 +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
greenkeeperio-bot
0683ef194c chore(package): update netjet to version 1.1.1
https://greenkeeper.io/
2016-05-30 17:40:06 +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
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
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
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
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
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
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
greenkeeperio-bot
4101e922e9 chore(package): update mocha to version 2.5.2
https://greenkeeper.io/
2016-05-24 11:37:23 +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
greenkeeperio-bot
66529ea2af chore(package): update should to version 8.4.0
https://greenkeeper.io/
2016-05-21 12:35:28 +01:00
greenkeeperio-bot
8c24068db4 chore(package): update intl to version 1.2.3
https://greenkeeper.io/
2016-05-21 00:30:26 +01:00
greenkeeperio-bot
7ea9da919c chore(package): update oauth2orize to version 1.3.0
https://greenkeeper.io/
2016-05-20 21:11:28 +01:00
Hannah Wolfe
9078113911 Merge pull request #6835 from TryGhost/greenkeeper-jsonpath-0.2.3
Update jsonpath to version 0.2.3 🚀
2016-05-20 21:11:14 +01:00
Hannah Wolfe
1707c0c6ff Merge pull request #6837 from TryGhost/greenkeeper-sqlite3-3.1.4
Update sqlite3 to version 3.1.4 🚀
2016-05-20 21:11:08 +01:00
greenkeeperio-bot
0776d4e6e0 chore(package): update jsonpath to version 0.2.3
https://greenkeeper.io/
2016-05-20 21:09:49 +01:00
greenkeeperio-bot
5ca641a98d chore(package): update sqlite3 to version 3.1.4
https://greenkeeper.io/
2016-05-20 21:09:49 +01:00
greenkeeperio-bot
912a4aa83b chore(package): update intl to version 1.2.2
https://greenkeeper.io/
2016-05-20 21:09:49 +01:00
greenkeeperio-bot
f5d34d2ae1 chore(package): update should to version 8.3.2
https://greenkeeper.io/
2016-05-20 21:08:38 +01:00
greenkeeperio-bot
cd54e54070 chore(package): update bluebird to version 3.4.0
https://greenkeeper.io/
2016-05-20 21:07:15 +01:00
Aileen Nowak
38a261daac timezones: Always use the timezone of blog setting
closes #6406
- adding timeZone Service to get the offset (=timezone reg. moment-timezone) overall available
- new publishedAtOffset date as CP using timeZone service and moment-timezone to calculate offset incl. DST
- removing timezone-obj transform as it became obsolete with moment-timezone
- reading timezones from configuration/timezones api endpoint
- adding a moment-utc transform to only work with utc times in backend
- when switching the timezone in the select box, the user will be shown the local time of the selected timezone
- added clock service to show actual time ticking below select box
- default timezone is '(GMT) Greenwich Mean Time : Dublin, Edinburgh, London'
- if no timezone is saved in the settings yet, the default value will be used
- showing local time in 'Publish Date' when it's a draft and no actual publishedAt value exists
- Removed the format 'DD MMM YY @ HH:mm (UTC Z)' which resolves to '01 Jan 16 @ 14:00 (UTC +02:00)'
- Changing the date.js helper in core/server for moment-timezone
- Fix timezone select: updates `selectedTimezone` to return the matching object from `availableTimezones`
- Including timezones in test for date-helper
- update to moment-timezone 0.5.1
- moving form-group of 'selectTimezone' further up so
- Tests:
	- Set except for clock service in test env
	- adding fixtures to mirage
	- adding 'service.ajax' to navigation-test.js
	- adding 'service:ghostPaths' to navigation-test.js
- Code improvements
- Changing clockservice to ES6
2016-05-20 13:59:45 +02:00
greenkeeperio-bot
0167efcc33 chore(package): update compression to version 1.6.2
https://greenkeeper.io/
2016-05-20 11:34:19 +01:00
greenkeeperio-bot
7f465ea57a chore(package): update bookshelf to version 0.9.5
https://greenkeeper.io/
2016-05-20 10:54:18 +01:00
Hannah Wolfe
d7c2376f1a Merge pull request #6815 from TryGhost/greenkeeper-lodash.tostring-4.1.3
Update lodash.tostring to version 4.1.3 🚀
2016-05-20 10:54:05 +01:00
Hannah Wolfe
72c6cf7f93 Version bump to 0.8.0 2016-05-18 22:28:23 +01:00
greenkeeperio-bot
ad63273139 chore(package): update lodash.tostring to version 4.1.3
https://greenkeeper.io/
2016-05-12 16:21:35 +02:00
Hannah Wolfe
5101913db1 deps: remove jscs-jsdoc
- jscs-jsdoc is now part of jsdoc itself, and the additional plugin is no longer required
2016-05-08 13:17:19 +02:00
greenkeeperio-bot
e6008cd6d1 chore(package): update body-parser to version 1.15.1
https://greenkeeper.io/
2016-05-06 07:44:46 +02:00
greenkeeperio-bot
c3780efc86 chore(package): update express-hbs to version 1.0.1
https://greenkeeper.io/
2016-05-04 13:57:42 +02:00
greenkeeperio-bot
09bb961072 chore(package): update sinon to version 1.17.4
https://greenkeeper.io/
2016-05-03 22:19:27 +02:00
greenkeeperio-bot
04cde39657 chore(package): update dependencies
https://greenkeeper.io/
2016-05-03 21:22:43 +02:00
Jason Williams
7a8c064c42 deps: grunt@1.0.1 + related updates
- Gets all grunt dependencies in line with the
  grunt 1.0 release.
- deps: grunt-cli@1.2.0.
- deps: grunt-bg-shell@2.3.3.
- deps: grunt-contrib-clean@1.0.0.
- deps: grunt-contrib-compress@1.2.0.
- deps: grunt-contrib-copy@1.0.0.
- deps: grunt-contrib-jshint@1.0.0.
- deps: grunt-contrib-watch@1.0.0.
- deps: grunt-docker@0.0.11.
- deps: grunt-express-server@0.5.3.
- deps: grunt-jscs@2.8.0.
- deps: grunt-mocha-cli@2.1.0.
- deps: grunt-mocha-istanbul@4.0.2.
- deps: grunt-shell@1.3.0.
- deps: istanbul@0.4.3.
2016-04-28 09:18:27 -05:00
Terin Stock
7bbfc37df6 automatically insert Link rel="preload" headers 2016-04-26 14:07:36 -07:00
Hannah Wolfe
f955fa14e8 deps: path-match@1.2.4 2016-04-26 13:00:12 +01:00
Hannah Wolfe
5f64d03054 deps: morgan@1.7.0 2016-04-26 13:00:11 +01:00
Hannah Wolfe
7b9e61cba9 deps: moment@2.13.0 2016-04-26 13:00:11 +01:00
Hannah Wolfe
380a539ec0 deps: extract-zip@1.5.0 2016-04-26 13:00:11 +01:00
Hannah Wolfe
de9976070b deps: chalk@1.1.3 2016-04-26 12:59:32 +01:00
Hannah Wolfe
adaa5c2992 deps: bookshelf@0.9.4 2016-04-26 12:59:32 +01:00
Hannah Wolfe
1745335423 deps: body-parser@1.15.0 2016-04-26 12:59:32 +01:00
Hannah Wolfe
63be9964a2 deps: bluebird@3.3.5 2016-04-26 12:59:32 +01:00
Sebastian Gierlinger
9dd19dd4ff Merge pull request #6745 from ErisDS/express-hbs-update
deps: express-hbs@1.0.0
2016-04-26 13:47:42 +02:00
Hannah Wolfe
e21640a7e5 deps: validator@5.2.0
- also remove from greenkeeper ignores
2016-04-21 12:20:37 +01:00
Hannah Wolfe
31857ed78a deps: express-hbs@1.0.0
refs #2459

This includes updating handlebars to v4 as well as other fixes which
will introduce breaking changes to the theme API:

From express-hbs:
- partials must now use the `.hbs` extension, the same as templates
From handlebars:
- Depthed paths are now conditionally pushed on to the stack.
If the helper uses the same context, then a new stack is not created.
This leads to behavior that better matches expectations for helpers
like if that do not seem to alter the context. Any instances of ../
in templates will need to be checked for the correct behavior under 4.0.0.
In general templates will either reduce the number of ../ instances
or leave them as is. See #1028.
- The = character is now HTML escaped. This closes a potential exploit
case when using unquoted attributes, i.e. <div foo={{bar}}>. In general
it's recommended that attributes always be quoted when their values are
generated from a mustache to avoid any potential exploit surfaces.
2016-04-21 10:45:54 +01:00
Hannah Wolfe
f14c9f488f Merge pull request #6645 from joerx/issue6462
deps: validator@5.1.0
2016-04-20 18:55:43 +01:00
Jason Williams
b4adc322f8 deps: top-gh-contribs@2.0.3 2016-04-18 22:50:48 -05:00
Joerg Henning
0f3cb44227 deps: validator@5.1.0
closes #6462

- monkey-patch validator.extends() since it was dropped by validator @5.0.0
- coerce input to string prior to validation (custom toString func)
- need to handle boolean validation based on column type not isIn()
- use `lodash.tostring` to convert input values to strings
2016-04-19 09:39:12 +08:00
Hannah Wolfe
4b641bba7c Version bump to 0.7.9 2016-04-14 12:21:36 +01:00
Hannah Wolfe
6b74e1a34a Dev tooling clean up
- remove old casper.js tests
- cleanup mochacli groups that are less useful than `grunt test:path`
- improve inline Gruntfile.js docs
- fixup coverage for new internal apps
- add new coverage-all task which works for all our tests
- reverse order of master-warn messages to make this clearer
- remove bluebird from greenkeeper ignores
2016-04-13 13:21:33 +01:00
Hannah Wolfe
7ff74010fd Merge pull request #6659 from jaswilli/multer
Replace busboy upload middleware with multer
2016-04-11 11:07:34 +01:00
Hannah Wolfe
098974917f Merge pull request #6644 from jaswilli/auth-origin
Relax origin header checking and add more CORS support
2016-04-08 22:10:02 +01:00
Jason Williams
c41ee354b1 Replace busboy upload middleware with multer
- deps: multer@1.1.0
2016-04-07 21:30:46 -05:00
Hannah Wolfe
f4d1afe494 Merge pull request #6665 from jaswilli/uglify
deps: grunt-contrib-uglify@1.0.1
2016-04-01 11:12:38 -07:00
Jason Williams
07dab144bd Add middleware for handling CORS
Refs #6644
- deps: cors@2.7.1; Add express cors package.
- Adds new middleware for proper CORS support.
- Handles CORS pre-flight checks.
- Separates request authentication/authorization from
  CORS.
2016-03-31 10:58:52 -05:00
Jason Williams
401fbb1c71 deps: grunt-contrib-uglify@1.0.1 2016-03-30 17:22:33 -05:00
Jason Williams
0ed0a72c35 Replace internal tempfile name generator
- Drops "tempfile" module in favor of using the "tmp"
  external package.
- Drop unused "rimraf-then" package.
2016-03-29 15:19:42 -05:00
Jason Williams
bdcb25a0cd Remove method stubs from upload API tests 2016-03-28 23:02:23 -05:00
Hannah Wolfe
bd0f16aea7 Remove support for old io.js version
- io.js and node merged some time ago now
- we only ever had support for a single random and now very old version of io.js anyway
2016-03-26 14:54:23 +00:00
Jason Williams
ee534845e5 deps: bookshelf@0.9.2 2016-03-21 19:27:23 -05:00
Jason Williams
57250edf0b deps: knex@0.10.0
Closes #6573
2016-03-21 19:27:23 -05:00
Hannah Wolfe
e4a1797085 Remove should-sinon dependency
no issue

- removes should-sinon dependency from package.json
- rewrites all usages of should-sinon to use normal should assertions

Unfortunately, should-sinon has very minimal documentation  and therefore it is hard to discern what is considered a correctly-written assertion:
- in some cases, refactoring to use should-sinon causes false positives
- in other cases, assertions that work written in the normal way fail when written using should-sinon (e.g. getters, combos with rewire)
The additional overhead created by these issues outweigh any benefit from the easier-to-read assertions
2016-03-14 16:52:22 +00:00
Jason Williams
1edf49daf7 deps: bluebird@3.3.3
- Finishes refactoring started in #6376.
- Fixes invalid Promise.map() call.
- Cleans up promise (rejection) handling.
2016-03-01 15:17:20 -06:00
JT Turner
3db9913191 deps: bluebird@3.1.2
closes #6361
- Updated bluebird dependency to latest 3.1.2.
- Updated update check to handle promises not resolving to arrays.
- Reviewed all other promise code and it looks good.
- Updated code using settle to use the new reflect function.
2016-03-01 14:47:23 -06:00
Hannah Wolfe
8f8f07ed80 Version bump to 0.7.8 2016-02-18 19:17:07 +00:00
Hannah Wolfe
2d2a8f9f41 Version bump to 0.7.7 2016-02-18 14:19:09 +00:00
Cameron Viner
8fd272476b Removed uneeded jshint comments in order to cleanup the tests
closes #6505
-Removed all of the /*jshint expr:true*/ comments from the tests
-Removed all of the should.equal(true, true) statements from the tests
-Removed should from the greenkeeper ignores
2016-02-17 12:52:43 +00:00
Hannah Wolfe
c301510cd1 Refactor gravatarLookup, remove request dependency
no issue

- request is quite a heavy dependency
- we were only using request in 3 places: a test, storing contrib images in the gruntfile & the gravatar lookup
- all 3 are relatively simple to do with the http/https module
- refactored all 3, removed request
2016-02-16 11:12:01 +00:00
Hannah Wolfe
893971cc51 Merge pull request #6490 from naoyak/node-4-semver
Support Node v4 LTS semver-minor releases
2016-02-12 11:28:21 +00:00
Naoya Kanai
4834cb436d Support Node v4 LTS semver-minor releases
Fixes #6473
- Replace Node v4.2 with v4 in Travis config
- Replace ~4.2.0 with ^4.2.0 in engines to support semver-minor bumps in LTS line
2016-02-12 01:37:27 +09:00
Hannah Wolfe
ffa92ab913 deps: ghost-gql@0.0.4 2016-02-11 13:13:56 +00:00
Hannah Wolfe
b4a126bf58 deps: mocha@2.4.5 2016-02-10 15:52:08 +00:00
Hannah Wolfe
0bb2a2f852 Merge pull request #6464 from cameronviner/6448
Upgrade should.js to version 8.2.1 (Issue #6448)
2016-02-09 14:27:23 +00:00
Cameron Viner
faba83d5dc deps: should@8.2.1
closes #6448
-upgraded should.js to the latest version (8.2.1)
-Changed the tests so that they comply with the breaking changes introduced in the new version of should.js
-Installs the package should-http so should.be.json() can be used
-Installs the package should-sinon so that should.be.calledOnce() can be used
2016-02-09 13:39:10 +00:00
Hannah Wolfe
52ca6fba27 Updating greenkeeper ignores 2016-02-08 21:43:53 +00:00
Hannah Wolfe
f02169c449 deps: xml@1.0.1 2016-02-08 21:42:41 +00:00
Hannah Wolfe
42236c1414 deps: request@2.69.0 2016-02-08 21:42:41 +00:00
Hannah Wolfe
800b081a4c deps: oauth2orize@1.2.2 2016-02-08 21:42:41 +00:00
Hannah Wolfe
1be0a84a01 deps: moment@2.11.2 2016-02-08 21:42:40 +00:00
Hannah Wolfe
d5ce500a7b deps: html-to-text@1.6.0 2016-02-08 21:42:40 +00:00
Hannah Wolfe
69657a59de deps: fs-extra@0.26.5 2016-02-08 21:42:40 +00:00
Hannah Wolfe
fc60558176 deps: express@4.13.4 2016-02-08 21:42:39 +00:00
Hannah Wolfe
4a98481583 deps: compression@1.6.1 2016-02-08 21:42:39 +00:00
Hannah Wolfe
10a30f2b27 deps: cheerio@0.20.0 2016-02-08 21:42:39 +00:00
Hannah Wolfe
28def854d2 Add bower to greenkeeper ignores 2016-02-08 14:05:43 +00:00
Sebastian Gierlinger
56e94ee314 Merge pull request #6450 from ErisDS/devdep-updates
Dev dependency updates
2016-02-08 11:31:51 +01:00
Sebastian Gierlinger
218c48e80d Merge pull request #6455 from ErisDS/bookshelf-knex
deps: bookshelf@0.9.1 & knex@0.9.0
2016-02-08 11:14:06 +01:00
Hannah Wolfe
13d99efe60 deps: remove testem 2016-02-08 09:56:10 +00:00
Hannah Wolfe
2f5d743b6d deps: sinon@1.17.3 2016-02-08 09:55:31 +00:00
Hannah Wolfe
b3300b3d49 deps: fix rimraf-then@1.0.0 2016-02-08 09:54:52 +00:00
Hannah Wolfe
17404ea89f deps: rewire@2.5.1 2016-02-08 09:54:51 +00:00
Hannah Wolfe
116ce67e92 deps: nock@7.1.0 2016-02-08 09:54:51 +00:00
Hannah Wolfe
607202abf4 deps: matchdep@1.0.0 2016-02-08 09:54:51 +00:00
Hannah Wolfe
8be9ccb104 deps: jscs-jsdoc@1.3.1 2016-02-08 09:54:51 +00:00
Hannah Wolfe
379e22aa81 deps: istanbul@0.4.2 2016-02-08 09:54:50 +00:00
Hannah Wolfe
87cdaaea8b deps: grunt-mocha-istanbul@3.0.1 2016-02-08 09:54:50 +00:00
Hannah Wolfe
c43296f2c3 deps: grunt-mocha-cli@2.0.0 2016-02-08 09:54:50 +00:00
Hannah Wolfe
6066c96c84 deps: grunt-jscs@2.7.0 2016-02-08 09:54:50 +00:00
Hannah Wolfe
8a4cb74ec9 deps: grunt-contrib-uglify@0.11.1 2016-02-08 09:54:49 +00:00
Hannah Wolfe
07abf1f8df deps: grunt-contrib-jshint@0.12.0 2016-02-08 09:54:49 +00:00
Hannah Wolfe
fa1978f799 deps: grunt-contrib-copy@0.8.2 2016-02-08 09:54:49 +00:00
Hannah Wolfe
3a1a59f7d0 deps: grunt-contrib-compress@0.14.0 2016-02-08 09:54:49 +00:00
Hannah Wolfe
77cbc85f07 deps: grunt-contrib-clean@0.7.0 2016-02-08 09:54:48 +00:00
Hannah Wolfe
d276251308 deps: csscomb@3.1.8 2016-02-08 09:54:48 +00:00
Hannah Wolfe
32fb88b418 Merge pull request #6456 from jaswilli/issue-6449
deps: supertest@1.1.0
2016-02-08 09:54:20 +00:00
Hannah Wolfe
1b6690a345 deps: bookshelf@0.9.1 & knex@0.9.0
refs: #6103

- dependency upgrade only, code changes to follow
2016-02-08 09:48:10 +00:00
Jason Williams
2528ce5304 deps: supertest@1.1.0
Closes #6449
- supertest now includes a `.then()` method and as a
  result, only one of either .then or .end may be called on
  a request object.
2016-02-07 13:10:27 -06:00
Hannah Wolfe
d8c1adc760 Add greenkeeper ignore spec to package.json
refs #6452

- add a list of our deliberately pinned dependencies and dev dependencies, so that greenkeeper will ignore these
2016-02-07 13:16:18 +00:00
Hannah Wolfe
8efa930944 Version bump to 0.7.6 2016-02-03 09:38:32 +00:00
Hannah Wolfe
d363fa134f deps: validator@4.5.0 2016-01-19 11:30:32 +00:00
Hannah Wolfe
76c8a59ee6 deps: semver@5.1.0 2016-01-19 11:30:32 +00:00
Hannah Wolfe
a4a3af80a2 deps: rss@1.2.1 2016-01-19 11:30:32 +00:00
Hannah Wolfe
245c1270cb deps: request@2.67.0 2016-01-19 11:30:31 +00:00
Hannah Wolfe
05b94fa981 deps: passport@0.3.2 2016-01-19 11:30:31 +00:00
Hannah Wolfe
60fce4c854 deps: oauth2orize@1.2.0 2016-01-19 11:30:31 +00:00
Hannah Wolfe
8248978ace deps: node-uuid@1.4.7 2016-01-19 11:30:31 +00:00
Hannah Wolfe
9268fce1e0 deps: moment@2.11.1 2016-01-19 11:30:30 +00:00
Hannah Wolfe
6018c1e787 deps: jsonpath@0.2.2 2016-01-19 11:30:30 +00:00
Hannah Wolfe
28c7f550c0 deps: html-to-text@1.5.1 2016-01-19 11:30:06 +00:00
Hannah Wolfe
4fa937b4d6 deps: fs-extra@0.26.4 2016-01-19 11:28:53 +00:00
Hannah Wolfe
7e268b44f6 deps: extract-zip@1.4.1 2016-01-19 11:28:52 +00:00
Hannah Wolfe
63311bd9dd deps: busyboy@0.2.12 2016-01-19 11:28:52 +00:00
Hannah Wolfe
e48701536d deps: body-parser@1.14.2 2016-01-19 11:28:52 +00:00
Fabian Becker
eef37acc49 Revert i18n in startup-check
- Removes preinstall dependencies
- Reintroduce old plain english strings
- Remove translations for startup check

closes #6332
2016-01-13 14:46:51 +01:00
Fabian Becker
f3409ade45 deps: intl-messageformat@1.2.0 2016-01-13 10:21:55 +01:00
Fabian Becker
02aaa3bef7 deps: intl@1.0.1 2016-01-13 10:21:19 +01:00
Hannah Wolfe
4a7a19c86a Merge pull request #6070 from kevinkucharczyk/harvesting-server-side-strings
Harvest server side strings
2016-01-12 20:04:53 +00:00
Hannah Wolfe
248c3da667 Version bump to 0.7.5 2016-01-12 10:06:03 +00:00
Hannah Wolfe
8d0597ae35 Version bump to 0.7.4 2015-12-22 14:31:47 +00:00
rfpe
7abcc43907 Harvest server side strings
closes #5617
- Replace all hard-coded server-side strings with i18n translations
2015-12-19 12:12:16 +01:00
Hannah Wolfe
52b76f278a Version bump to 0.7.3 2015-12-16 09:40:01 +00:00
Austin Burdine
8f89997deb minify ghost.url.api in production
closes #6150
- clean up ghost.url.api script
- switch to inlining config and making the ghost-url.js file an external request
- add minification in production
2015-12-10 08:46:58 -06:00
Hannah Wolfe
c27a48ff77 Merge pull request #6144 from acburdine/add-istanbul
Add istanbul peer dependency
2015-12-09 17:37:16 +00:00
Austin Burdine
c6ed823201 deps: istanbul@0.4.1 2015-12-09 09:43:21 -06:00
Hannah Wolfe
494245ff20 deps: unidecode@0.1.8
closes #6163
2015-12-08 11:01:58 +00:00
Kevin Ansfield
dbf6b59866 deps: grunt-jscs@2.4.0 2015-12-04 10:12:16 +00:00
Kevin Ansfield
d9d8446f02 deps: jscs@2.6.0 & ember-suave@1.2.3
no issue
- fixes an error that popped up after ember-suave's `brocolli-jscs` dependency moved to `2.6.0` which duplicated some of the rules that `ember-suave` used to implement
2015-12-04 09:58:03 +00:00
Kevin Ansfield
3d6856614f Use es6 across client and add ember-suave to enforce rules
no issue
- add ember-suave dependency
- upgrade grunt-jscs dependency
- add a new .jscsrc for the client's tests directory that extends from client's base .jscsrc
- separate client tests in Gruntfile jscs task so they pick up the test's .jscsrc
- standardize es6 usage across client
2015-11-30 10:41:01 +00:00
Hannah Wolfe
55045ae784 Version bump to 0.7.2 2015-11-27 13:13:25 +08:00
Hannah Wolfe
059e19ee63 Adding node 4.2 LTS to engines
closes #5821
2015-11-23 18:56:13 +00:00
Hannah Wolfe
649b558969 deps:sqlite3@3.1.1 2015-11-23 10:23:09 +00:00
Hannah Wolfe
8f620b6dce Merge pull request #6063 from jgillich/version-check
Enable Node 4.2 testing
2015-11-23 09:56:27 +00:00
Jakob Gillich
faa1655a50 Enable Node 4.2 testing
* Do not error when node unsupported if GHOST_NODE_VERSION_CHECK=false is set
* Run engine check in preinstall script
* Add 4.2 to travis

issue #5821
2015-11-23 06:45:40 +01:00
Hannah Wolfe
a3bd00d978 deps: ghost-gql@0.0.3
- adds test for nested null/not null query issue
- make use of new findStatement tool
2015-11-16 14:44:48 +00:00
vdemedes
8687772604 Make read-directory ignore invalid package.json files
refs #5940, #5923
- make read-directory ignore invalid package.json files
- display a warning about invalid package.json files on startup
- add tests to ensure read-directory continues, even with invalid package.json files
2015-10-28 15:37:52 +01:00
Hannah Wolfe
994a20cf8b Add path resolution to get helper
refs #5993

- deps: jsonpath@0.2.0
- adds `resolvePaths` method
- supports handlebars style arrays with `.[]`
- supports shorthand post.tags and post.author for common usecases
- adds more tests & improves existing ones
2015-10-23 02:52:52 +01:00
Hannah Wolfe
b5cebb9ec6 Add filter parameter using GQL
refs #5604, refs #5463

- deps: ghost-gql@0.0.2
- adds code to wire up the filtering to a paginated query
- updated pagination plugin count query to use 'distinct' so it's more robust
- rename paginationUtils.query to addLimitAndOffset to be more explicit and make the code clearer
- add a new 'advanced browsing spec' set of tests for tracking these features as they are built out
2015-10-22 11:29:05 +01:00
Hannah Wolfe
106dcb77be deps: rss@1.2.0
- Required test fix, as newline has been removed from the end of the <?xml decl
2015-10-16 17:53:22 +01:00
Hannah Wolfe
6e446a2b09 deps: validator@4.1.0 2015-10-15 19:01:00 +01:00
Hannah Wolfe
10b12ba3ef deps: unidecode@0.1.7 2015-10-15 18:49:07 +01:00
Hannah Wolfe
c2008aad42 deps: sqlite3@3.1.0 2015-10-15 18:43:13 +01:00
Hannah Wolfe
c34d042e44 deps: semver@5.0.3 2015-10-15 18:39:13 +01:00
Hannah Wolfe
24a9a05c6f deps: request@2.65.0 2015-10-15 18:30:22 +01:00
Hannah Wolfe
2e3949fe14 deps: path-match@1.2.3 2015-10-15 14:57:10 +01:00
Hannah Wolfe
e368bd4eab deps: passport@0.3.0 2015-10-15 14:53:47 +01:00
Hannah Wolfe
babafc2eb0 deps: morgan@1.6.1 2015-10-15 14:20:20 +01:00
Hannah Wolfe
192af4b4d7 deps: moment@2.10.6 2015-10-15 14:17:07 +01:00
Hannah Wolfe
6d25c81a3d deps: lodash@3.10.1 2015-10-15 14:16:37 +01:00
Hannah Wolfe
a188c0a9ca deps: html-to-text@1.3.2 2015-10-15 14:14:55 +01:00
Hannah Wolfe
91e414c2be deps: glob@5.0.15 2015-10-15 14:14:55 +01:00
Hannah Wolfe
b2e54f5d37 deps: fs-extra@0.24.0 2015-10-15 14:14:55 +01:00
Hannah Wolfe
641b6d18e7 deps: extract-zip@1.1.1 2015-10-15 14:14:54 +01:00
Hannah Wolfe
06de243efa deps: express@4.13.3 2015-10-15 14:14:54 +01:00
Hannah Wolfe
1a1868c423 deps: cookie-session@1.2.0 2015-10-15 14:14:54 +01:00
Hannah Wolfe
5f3b80fd08 deps: compression@1.6.0 2015-10-15 14:14:54 +01:00
Hannah Wolfe
172c6bd2a7 deps: chalk@1.1.1 2015-10-15 14:14:53 +01:00
Hannah Wolfe
877d314552 deps: busboy@0.2.11 2015-10-15 14:14:53 +01:00
Hannah Wolfe
ea4c6a63b7 deps: body-parser@1.14.1 2015-10-15 14:14:53 +01:00
Hannah Wolfe
cdb659d542 deps: bluebird@2.10.2 2015-10-15 14:14:53 +01:00
Hannah Wolfe
aed8717890 deps: bcryptjs@2.3.0 2015-10-15 14:14:52 +01:00
Kevin Ansfield
c29ad9f8c5 Fix "Unsupported rule: jsDoc" when linting
no issue
- add missing jscs-jsdoc dependency and specify plugin in .jscsrc
- fix linting issue in user-test.js
2015-10-15 09:24:39 +01:00
Kevin Ansfield
ff73f1af92 deps: grunt-jscs@2.1.0
no issue
- update grunt-jscs dependency
- fix deprecated `validateJSDoc` configuration
- fix numerous linting errors, including:
  - use of future-reserved `public` and `private` variable names
  - use of `[]` instead of dot-notation (especially `express['static']` and `cacheRules['x']`)
  - extra spaces in `const { run } = Ember` style constructs

One issue that did become apparent is that there are conflicting rules that prevent the use of object function shorthand such that both of these:

```
{ myFunc() {} }
{ myFunc () {} }
```

are called out due to either the missing or the extra space before the `(`
2015-10-12 19:21:16 +01:00
Hannah Wolfe
f8caa1f091 Version bump to 0.7.1 2015-09-27 14:36:14 +01:00
Hannah Wolfe
c02f7d6afe Version bump to 0.7.0 2015-09-03 12:23:31 +01:00
Austin Burdine
6c5fea40ca Remove auto-inclusion of jQuery via ghost_foot
closes #5298
- remove all harcoded instances of jQuery throughout the front-end of the blog
- add migration function to add cdn link to ghost_foot code injection when migrating up from version 003
- migration version bump
2015-09-02 13:39:22 +01:00
Maurice Williams
d89abaa15e foundation work for server-side i18n support:
* ref #5345 and #3801
* creating helper methods for dealing with i18n initialization, polyfill and string+compilation
* initial structure for server-side JSON language file
2015-07-27 18:47:10 -04:00
Fabian Becker
2878b5ae00 Update lodash and cheerio
- update lodash to 3.1.0
- cheerio update uses new css-select, css-what packages (others were deprecated)

refs #5578
2015-07-21 19:59:49 +02:00
cobbspur
33b9343942 Update top-gh-contribs dependency
refs #5503

- updates package.json to using 2.0.2 version of top-gh-conribs
- updates gruntfile, using moment to calculate time period to observe
- new version of top-gh-contribs is not related to top 100 contributors therefore returns more users
- observed timepsan is reverted to 90 days now that top-gh-contribs fetches enough contributors
2015-07-20 17:03:38 +01:00
Hannah Wolfe
3d533b68ec Upgrading most production dependencies
no issue

- includes the majority of upgrades to out-of-date dependencies
- lodash is being left as it has backwards incompatible changes, as well as causing unmet deps warnings
- glob & cherio are being left as upgrading them causes unmet deps warnings
- bookshelf & knex should be done together separately
2015-06-03 18:54:03 +01:00