0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/api
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
..
authentication.js fix email error log templat 2016-04-13 14:51:00 +08:00
clients.js Harvest server side strings 2015-12-19 12:12:16 +01:00
configuration.js Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00
db.js Replace busboy upload middleware with multer 2016-04-07 21:30:46 -05:00
index.js Slack integration 2016-05-08 12:49:15 +02:00
mail.js Refactor mail service 2016-02-10 16:31:42 -06:00
notifications.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
posts.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
roles.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
settings.js Structured Data 3.0 2016-05-08 17:43:59 +02:00
slack.js Slack integration 2016-05-08 12:49:15 +02:00
slugs.js Harvest server side strings 2015-12-19 12:12:16 +01:00
tags.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
themes.js Harvest server side strings 2015-12-19 12:12:16 +01:00
upload.js Replace busboy upload middleware with multer 2016-04-07 21:30:46 -05:00
users.js Return http status 204 on deletes 2016-03-22 11:42:48 -05:00
utils.js delete null values from incoming objects 2016-05-08 09:18:44 +02:00