0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
Aileen Nowak b7bd6d9968 Structured Data 3.0
closes #6534
- new input fields in general settings incl. validation
- facebook and twitter as new models in settings.js
- adds values for facebook and twitter to default-settings.js
- adds blog helpers for facebook and twittter
- rather than saving the whole URL, the Twitter username incl. '@' will be extracted from URL and saved in the settings. The User will still input the full URL. After saving the blog setting, the stored Twitter username will be parsed again as the full URL and available in the input field. A custom transform is used for this.
- adding meta fields to be rendered in {{ghost_head}}:
	- '<meta property="article:publisher" content="https://www.facebook.com/page" />' and
	- '<meta name="twitter:site" content="@user"/>'
- adds facebook and twitter to unit test for structured data
- adds unit test for general settings
- adds acceptance test for new input fields in general settings
- adds a custom transform for twitter model to save only the username to the server
- adds unit test for transform
2016-05-08 17:43:59 +02:00
..
controllers/frontend Split post lookup out of frontend controller 2016-05-05 15:53:17 +02:00
metadata Structured Data 3.0 2016-05-08 17:43:59 +02:00
middleware Add config URLS to CORS whitelist 2016-04-19 13:39:24 +01:00
models_plugins Refactor content deletion 2016-03-22 10:10:09 -05:00
server_helpers Structured Data 3.0 2016-05-08 17:43:59 +02:00
api_utils_spec.js delete null values from incoming objects 2016-05-08 09:18:44 +02:00
apps_filters_spec.js
apps_spec.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
config_spec.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
error_handling_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
exporter_spec.js Remove should-sinon dependency 2016-03-14 16:52:22 +00:00
filters_spec.js
ghost_url_spec.js ensure null query options don't break ghost-url 2016-02-29 00:25:38 -06:00
importer_spec.js
mail_spec.js deps: bluebird@3.1.2 2016-03-01 14:47:23 -06:00
migration_fixture_spec.js Add permissions models & relations for clients 2016-04-14 19:02:56 +01:00
migration_fixture_utils_spec.js Add permissions models & relations for clients 2016-04-14 19:02:56 +01:00
migration_spec.js Add permissions models & relations for clients 2016-04-14 19:02:56 +01:00
permissions_spec.js Refactor content deletion 2016-03-22 10:10:09 -05:00
rss_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
server_helpers_index_spec.js
server_helpers_template_spec.js
server_spec.js
server_utils_spec.js Replace internal tempfile name generator 2016-03-29 15:19:42 -05:00
showdown_client_integrated_spec.js
sitemap_spec.js
slack_spec.js Slack integration 2016-05-08 12:49:15 +02:00
storage_local-file-store_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
utils_pipeline_spec.js
versioning_spec.js Rewrite DB update to be explicit 2016-03-17 21:17:19 +00:00
xmlrpc_spec.js