Commit Graph

396 Commits

Author SHA1 Message Date
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
Hannah Wolfe
06959661c0 Misc grunt /dev updates
- Updated all dev dependencies in the root package.json
- Added `--colors` to mocha when called from grunt test:... so that works better
- Removed non-unit tests from coverage, because they're just not useful
- Updated docker config to generate useful docs again - as a statement of intent, I also updated docs in key files
- Setup grunt watch-docs task for documentation writing easyness
2015-05-28 20:25:14 +01:00
Chris Maddox
e3f4129494 Update to use SPDX idetifier
Per https://docs.npmjs.com/files/package.json#license. Removes warning on install.
2015-05-25 21:00:32 -07:00
Joe Wegner
36f190247f pin to csscomb 3.0.4 2015-05-22 19:05:15 +01:00
John O'Nolan
208999a77f Introduce CSScomb 2015-05-22 19:05:10 +01:00
Hannah Wolfe
53b758d127 Version bump to 0.6.4 2015-05-21 17:27:17 +01:00
Hannah Wolfe
da8752cc88 Merge pull request #5290 from josephwegner/chalk-colors-swap
replace colors with chalk everywhere
2015-05-21 16:28:41 +01:00
John Nguyen
ab7d7cc798 Bumped up node-sqlite3 version number to fix broken build on non x86 devices such as the RPi 2015-05-21 15:25:34 +08:00
Joe Wegner
f26179ae6a replace colors with chalk everywhere
issue #5259
- removes the colors dependency
- adds in chalk dependency, and migrates everything to use that
- reduces some specs now that the log calls are cleaner
2015-05-19 11:07:40 -05:00
Hannah Wolfe
42013eedb5 Version bump to 0.6.3 2015-05-14 16:04:11 +01:00
Jason Williams
ddd4a9ff6c Update html-to-text package
Closes #5264
- html-to-text@1.3.0
2015-05-13 09:01:06 -05:00
Jason Williams
0741df4736 Add editorconfig 2015-05-07 11:45:16 -05:00
Hannah Wolfe
d3feda719a Merge pull request #5225 from jaswilli/update-deps
Update dependencies
2015-05-06 11:26:14 +01:00
Jason Williams
25a8f9d963 Update bluebird promise library
No Issue
- bluebird@2.9.25
2015-05-06 00:50:28 +00:00
Jason Williams
181cb780bc Update dependencies
No issue
- express@4.12.3
- moment@2.10.2
- request@2.55.0
- sqlite3@3.0.6
- validator@3.39.0
- (dev) grunt-contrib-jshint@0.11.2
- (dev) grunt-mocha-cli@1.13.0
- (dev) should@6.0.1
2015-05-06 00:27:39 +00:00
Austin Burdine
2865662ee5 added password protection
closes #4993
- brings password protection to the frontend of blogs
- adds testing for password protection
- upgrades bcrypt-js to 2.1.0
2015-04-30 23:44:43 -05:00
Jason Williams
dae66d00be Upgrade grunt-jscs to fix whitespace linting.
No issue.
- grunt-jscs@1.8.0
- Fix formatting
2015-04-30 16:14:19 -05:00
Hannah Wolfe
d10ae70982 Version bump to 0.6.2 2015-04-22 22:14:03 +01:00
Hannah Wolfe
509163998b Switch to using grunt raw on travis
- hoping this will fix an issue with builds failing
2015-04-22 19:40:12 +01:00
Hannah Wolfe
d480ee4912 Version bump to 0.6.1 2015-04-22 14:31:08 +01:00
Hannah Wolfe
6d04ead9f2 Switch test coverage to use Istanbul
closes #4644

- Switch from using blanket to istanbul
- Rename some test files for consistency (and so that they will run)
2015-04-19 15:54:05 +01:00
Hannah Wolfe
c2650a05c7 Version bump to 0.6.0 2015-04-13 15:57:33 +01:00
Hannah Wolfe
570299c173 Update semver due to sec advisory
no issue

- explanation here: https://nodesecurity.io/advisories/semver_redos
2015-04-10 09:39:10 +01:00
Hannah Wolfe
afbe1ce5bc Remove enginesStrict
no issue
- engines strict is being deprecated: https://docs.npmjs.com/files/package.json#enginestrict
- remove it as it currently causes problems
2015-04-07 17:37:58 +01:00
Matt Enlow
242388f743 Merge pull request #5065 from ErisDS/rss-2263
Improve RSS feed
2015-04-04 07:55:33 -06:00
Hannah Wolfe
79d213436e Improve RSS feed
refs #2263

- Switch content type back to text/xml
- Use content:encode for full content
- Use meta description or first 50 words of content for description
2015-04-03 19:00:00 +01:00
Matt Enlow
5015180474 Merge pull request #5054 from ErisDS/express-hbs-update
Update express-hbs & registerAsyncHelper function
2015-03-24 11:33:46 -06:00
Hannah Wolfe
1db59e12ee Move showdown extensions to ghost-showdown
no issue

- We already maintain our own fork of showdown, this moves our custom extensions to our fork
- Code duplication is removed
- Tests are also moved to the other repo
2015-03-17 20:18:08 +00:00
Matt Enlow
58635b3e0a Serve files to core/built/assets/
- see core/client/lib/assets-delivery/index.js for how this is done
- Turn off ember-cli fingerprinting
- ember-cli 0.2.0; Update .npmignore
- Fallback to old version of ember-cli-sass due to lib-sass errors
- Keep ember-data at beta-14.1 until we find the dep that's breaking on snapshot.attr
- Fix release task to ignore blank lines in .npmignore
2015-03-12 15:59:02 -06:00
Matt Enlow
9e7658f98d grunt init, dev
- added grunt-bg-shell
- reorganized asset tasks into one location
- turn off ember-cli analytics
- remove app/config-dev and config-prod
- remove qunit from bower.json
- remove express from package.json
2015-03-11 12:37:41 -06:00
Hannah Wolfe
4b05585631 Update express-hbs to 0.8.4
fixes #4364, refs #4439, refs #4799

- Update express-hbs to 0.8.5
- Use preventIndent option onCompile
- Update registerAsyncHelper to support passing through options when needed
2015-03-10 15:52:00 +00:00
Hannah Wolfe
6b1e9add01 Version bump to 0.5.10 2015-03-09 20:56:46 +00:00
Fabian Becker
47e16df196 Node v0.12 & io.js support.
fixes #4811, refs #4240
- Add v0.12 to the build
- Fix express tests to work with iojs/0.12
- Add iojs-v1.2.0 to the build matrix
2015-03-09 20:27:14 +01:00
Hannah Wolfe
0eb74b598e Temporarily downgrade grunt-contrib-jshint
no issue

- grunt-contrib-jshint loosely depends on jshint ^2.6.0 and jshint seem to be having some backwards incompatibility issues with 2.6.1 etc.
- let's downgrade this temporarily (quick/safe option) until they sort their issues, then we can upgrade and make any required changes
2015-03-09 11:55:21 +00:00
Hannah Wolfe
60f1205070 Version bump to 0.5.9 2015-02-28 19:54:26 +00:00
Fabian Becker
e7246a4ef3 Upgrade express.js to 4.12
no ref
- Fix deprecation warnings
2015-02-26 08:28:37 +01:00
Jason Williams
2a91a1071e Update Ember to 1.10.0
No issue.
- Ember@1.10.0
- Update grunt-ember-templates to version that supports HTMLBars.
- Update Gruntfile.js to compile templates with HTMLBars.
- Convert Handlebars code to its HTMLBars equivalent.
2015-02-09 16:20:16 +00:00
Jason Williams
e0e39aa160 Retry API request when buildAboutPage gets 202
No Issue.
- top-gh-contribs@1.0.0.
- Enable 'retry' option which will retry the GitHub API request
  in the event it receives a status of 202 (retry momentarily).
2015-02-05 18:52:53 +00:00
Jason Williams
207a7890d1 Merge pull request #4840 from halfdan/patch-3
Update validator dependency
2015-02-03 16:25:07 -06:00
Fabian Becker
d04303d211 Update validator dependency
fixes #4838
- Updated validator.js version properly handles punycode domains.
- Bump top-gh-contribs
2015-02-03 22:54:46 +01:00
Paul Adam Davis
f492502f33 Update grunt-sass to 0.17.0
No issue

- Allows us to use Sass Maps
- Fixes the 'compressed' output style, so we can have minified code
again!
2015-02-03 10:33:25 +00:00
Hannah Wolfe
54c7d23b26 Merge pull request #4841 from jaswilli/frontend-match
Use path-match to match routes instead of Router
2015-01-26 21:28:35 +00:00