Ghost/core/test/unit
JT Turner 1f4c01d207 Started moving meta data fetching to functions.
issue #6186
- Moved asset helper logic to a asset url function.
- Created author image function to be used in ghost_head helper.
- Created author url function to be used in the ghost_head helper.
- Created canonical url function to be used in the ghost_head helper.
- Moved meta_description helper logic to a function.
- Moved excerpt helper logic to a function.
- Created an index in data/meta to be used in ghost_head helper to get all data.
- Created keyword function to be used in the ghost_head helper.
- Created modified data function to be used in the ghost_head helper.
- Created next url function to be used in the ghost_head helper.
- Created ogType function to be used in the ghost_head helper.
- Created previous url function to be used in the ghost_head helper.
- Created published data function to be used in the ghost_head helper.
- Created rss url function to be used in the ghost_head helper.
- Created schema function to be used in the ghost_head helper.
- Created structured data function to be used in the ghost_head helper.
- Moved meta_title helper logic to a title function.
- Moved url helper logic to a url function.
- Wrote tests for all the new functions

This is just the first step. I plan on refactoring the ghost head to use these new functions.
2016-01-23 13:58:21 -08:00
..
controllers/frontend Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
metadata Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
middleware Disallow access to author/tag rss feeds if private blogging is on 2016-01-07 15:03:39 +01:00
models_plugins Add some debugging tools to filters 2015-11-18 19:17:06 +00:00
server_helpers Fix urlFor to handle secure correctly 2016-01-11 19:40:30 -08:00
api_utils_spec.js Add some debugging tools to filters 2015-11-18 19:17:06 +00:00
apps_filters_spec.js Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00
apps_spec.js Harvest server side strings 2015-12-19 12:12:16 +01:00
config_spec.js Merge pull request #6316 from halfdan/5606-subdir 2016-01-20 20:09:29 +00:00
error_handling_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
filters_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
ghost_url_spec.js Fix non-idempotent Ghost API helper 2015-12-18 15:02:05 +01:00
importer_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
mail_spec.js Harvest server side strings 2015-12-19 12:12:16 +01:00
migration_spec.js Maintain tag order for posts 2015-09-02 16:39:34 +01:00
permissions_spec.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
rss_spec.js Switch channel filters to use strings not literals 2015-12-20 16:03:39 +00:00
server_helpers_index_spec.js Cleans up HTML data attributes on body in default.hbs 2014-11-29 17:09:43 +01:00
server_helpers_template_spec.js Unify code for picking a template to render with 2015-12-01 12:05:46 +08:00
server_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
server_utils_spec.js Add missing chars to slug generator 2016-01-05 19:12:44 +00:00
showdown_client_integrated_spec.js Upgrade grunt-jscs to fix whitespace linting. 2015-04-30 16:14:19 -05:00
sitemap_spec.js Refactor RSS Image node generation 2016-01-05 21:25:52 -08:00
storage_local-file-store_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
utils_pipeline_spec.js Pipeline util tests, clean & fix 2015-11-03 09:14:44 +00:00
xmlrpc_spec.js Refactor sitemaps to use centralised events 2015-04-05 19:32:18 +01:00