Harry Wolff
901d189bf0
Move middleware functions into middleware module and create associated tests
...
Note: this only moves middleware functions that have associated tests.
2013-11-07 23:05:51 -05:00
Hannah Wolfe
ab639f7026
Merge pull request #1418 from sebgie/issue#1397
2013-11-07 16:11:09 +00:00
Sebastian Gierlinger
a137d9c93e
Add X-Cache-Invalidation Tests
...
closes #1397
- added checks for x-cache-invalidation to api tests
2013-11-07 16:08:39 +00:00
Hannah Wolfe
b37eb3ed91
Merge pull request #1420 from sebgie/issue#1396
...
Move API tests to /integration/
2013-11-07 07:52:24 -08:00
Sebastian Gierlinger
e2cee5be66
Move API tests to /integration/
...
closes #1396
- moved core/test/unit/api* to core/test/integration/api/
- moved core/test/integration/model* to core/test/integration/model/
- moved core/test/unit/utils to core/test/utils
- moved core/test/unit/fixtures to core/test/utils/fixtures/
- changed gruntfile.js to execute api tests with target 'integration'
2013-11-07 14:26:47 +01:00
Hannah Wolfe
260f8837e8
Updating Casper to latest inc page template
2013-11-06 20:33:08 +00:00
Hannah Wolfe
ae236068dd
Merge pull request #1412 from egdelwonk/feature/1329_page_template
...
Render a page template if it exists in a theme for a post marked as page
2013-11-06 12:31:14 -08:00
Hannah Wolfe
ab878decef
Merge pull request #1408 from halfdan/1285-unidecode
...
Automatically replace unicode characters with ascii characters for slugs...
2013-11-06 05:44:10 -08:00
Hannah Wolfe
ff99415fcf
Merge pull request #1338 from halfdan/1335-publish-date-format
...
Properly format publish date.
2013-11-06 05:36:29 -08:00
William Golden
766ce1ac51
Render a page template if it exists in a theme for a post marked as page.
...
Closes #1329 .
2013-11-05 21:43:13 -06:00
Fabian Becker
88d7682605
Automatically replace unicode characters with ascii characters for slugs.
...
fixes #1285
2013-11-05 21:00:29 +00:00
Fabian Becker
f356745b1a
Properly format publish date.
...
fixes #1335
2013-11-05 17:44:13 +00:00
Hannah Wolfe
3e4a021b28
Merge pull request #1393 from halfdan/1385-travis-testing
...
Run tests on MySQL and use travis-$DB environments.
2013-11-05 09:27:20 -08:00
Sebastian Gierlinger
8574813660
Bugfixes for tests
2013-11-05 15:02:12 +00:00
Fabian Becker
0908ecf6b7
Run tests on MySQL and use travis-$DB environments.
...
refs #921
fixes #1385
2013-11-05 15:01:10 +00:00
Hannah Wolfe
c2ab917075
Alphabetical package.json cos OCD
2013-11-04 12:35:13 +00:00
Hannah Wolfe
5e8f3d927f
Remove timeouts on tests
2013-11-04 12:26:11 +00:00
Hannah Wolfe
d34d710b80
Merge pull request #1322 from sebgie/api-refactor
...
Add API tests
2013-11-04 01:44:11 -08:00
Sebastian Gierlinger
bb17e1c0e9
Add API tests
...
closes #1189
- added tests
- added request module
- added status codes to API calls
- fixed return values of API calls
- fixed that drafts caused an error when being deleted
- fixed X-Invalidate-Cache headers
- moved testUtils.js to utils/index.js
2013-11-03 18:13:19 +01:00
Hannah Wolfe
dee054e2c3
Merge pull request #1388 from germanrcuriel/add-canonical-support
...
Add rel='canonical' support
2013-11-03 06:50:35 -08:00
Hannah Wolfe
6626c3e7eb
Merge pull request #1384 from halfdan/1377-fs-extra
...
Fix image upload issue.
2013-11-03 06:00:43 -08:00
germanrcuriel
97bd8c40ea
Add rel='canonical' support
...
closes #1341
- Added canonical link to header using ghost_head helper.
2013-11-03 14:37:33 +01:00
Fabian Becker
48d3b10649
Fix image upload issue.
...
fixes #1377
2013-11-02 11:16:00 +00:00
Hannah Wolfe
60bef38298
Adding submodule update to grunt init
...
issue #1053
- not the greatest module, but perhaps one to re-create ourselves in future
2013-11-02 09:36:37 +00:00
John O'Nolan
62416d203a
Make webkit autocomplete login styles less heinous
...
Fixes #771
2013-11-03 09:29:59 +01:00
Hannah Wolfe
9b2434be4c
Merge pull request #1345 from halfdan/944-crazy-notifications
...
Fix notification stacking.
2013-11-01 09:00:56 -07:00
Hannah Wolfe
6b29d4392a
Merge pull request #1375 from jamesbloomer/image-refactor2
...
Tidy up the local file storage for images
2013-11-01 08:48:12 -07:00
Hannah Wolfe
56ea2bb557
Gruntfile.js cleanup & removed unused dependency
...
- grunt-open is no longer needed
- grunt build isn't used, so get rid.
2013-11-01 15:33:49 +00:00
Hannah Wolfe
a395361e6e
Minor version bump for moment, polyglot & semver
...
- hopefully no breaking changes
2013-11-01 14:30:48 +00:00
Hannah Wolfe
fc6d4c37d2
Minor version bump for whenjs
...
- Upgrade 2.2.1 > 2.5.1
- Should be no breaking changes which affect us, but potential bug fixes
2013-11-01 14:09:15 +00:00
Hannah Wolfe
809c4d6b0a
Bumping dependencies with patch version increases
2013-11-01 14:08:00 +00:00
jamesbloomer
f42e977fa7
Tidy up the local file storage for images
2013-11-01 13:08:27 +00:00
Hannah Wolfe
703ae403ab
Update devDependencies
2013-11-01 12:17:40 +00:00
Hannah Wolfe
0db907ada2
Bump grunt-jslint and fix issues
2013-11-01 12:12:01 +00:00
Hannah Wolfe
e9eacc454a
Order dependencies alphabetically cos OCD
2013-11-01 12:06:02 +00:00
Hannah Wolfe
df1571cecc
Merge pull request #1369 from bengladwell/jslint-params
...
Remove unparam:true from jslint config in Gruntfile.js
2013-11-01 04:39:50 -07:00
Hannah Wolfe
14f9202b86
Merge pull request #1374 from ErisDS/func-tests
...
Functional tests for home and post page
2013-11-01 04:39:42 -07:00
Hannah Wolfe
cfe272e175
Functional tests for home and post page
...
closes #1373
- Note that the tests fail if you run them pre #1363 , thus future proofing us from this happening again.
- Added submodule handling to travis
- Added a new test for each of the home and post pages
2013-11-01 11:33:50 +00:00
Hannah Wolfe
422403c40b
Merge pull request #1363 from jgable/fixAsyncHelperContext
...
Fix async helpers losing proper "this" context
2013-11-01 03:59:06 -07:00
Hannah Wolfe
e720ea9849
Bumping express-hbs version
...
issue #1357
- fix from jgable for async helpers.
2013-11-01 10:31:14 +00:00
Hannah Wolfe
02eed81cdf
Merge pull request #1343 from halfdan/921-mysql-build
2013-11-01 09:38:53 +00:00
Fabian Becker
933a8c764a
Separate model tests to separate tasks/directory.
...
refs #921
2013-11-01 09:38:42 +00:00
Fabian Becker
3d42a3338f
Run tests on MySQL and SQLite3.
...
fixes #921
2013-11-01 09:38:42 +00:00
Hannah Wolfe
5df0acf37d
Merge pull request #1361 from halfdan/update-should
...
Update should.js and fix tests.
2013-11-01 02:00:01 -07:00
Hannah Wolfe
83015e9495
Merge pull request #1371 from springmeyer/patch-1
...
Update to node-sqlite3@v2.1.19
2013-11-01 01:59:19 -07:00
Dane Springmeyer
19976e9d0c
Update to node-sqlite3@v2.1.19
...
This includes a single build fix to help avoid install errors in the case that a user has needed to customize their npm `tmp` directory (like on a shared machine): https://github.com/mapbox/node-sqlite3/issues/212
2013-10-31 18:53:55 -07:00
Ben Gladwell
69d3a1460d
Remove unparam:true from jslint config in Gruntfile.js
...
issue #1365
- added /*jslint unparam:true*/ to functions where absolutely necessary
- added /*jslint unparam:true*/ to functions in which keeping parameter
list added clarity to the underlying api, even when those parameters
are not currently used
- removed unused parameters in a few places
2013-10-31 14:02:34 -04:00
Hannah Wolfe
96538abd6f
Merge branch 'image-refactor'
2013-10-31 08:31:41 +00:00
jamesbloomer
ec79069a1c
Convert local file system image storage to use promises
...
Part of #635
2013-10-31 08:25:25 +00:00
Hannah Wolfe
2983e657a6
Unit test fixes
...
issue #635
2013-10-31 08:25:24 +00:00