Ghost/core/test/unit
Katharina Irrgang 7845617607 Custom Post Excerpt Feature (#8792)
closes #8793

- 1.3 post excerpt migration
  - add 1.3 migration to add `excerpt` to post schema

NOTE:
    - knex-migrator relies on the package.json safe version
    - so right now Ghost is on 1.2
    - the migration script is for 1.3
    - if you pull down the PR (or if we merge this PR into master), you have to run `knex-migrator migrate --v 1.3 --force`
    - knex-migrator will tell you what you have todo

- Bump dependencies
  - knex-migrator@2.1.3
- Soft limit for custom_excerpt
- Extended {{excerpt}} to use custom excerpt
   - when a `custom_excerpt` field exists, the `{{excerpt}}` helper will output this and fall back to autogenerated excerpt if not.
- Refactored behaviour of (meta) description
   - html tag `<meta name="description" />` for posts, tags and author doesn't get rendered if not provided.
        - fallback for `author.bio` removed
        - fallback for `tag.description` removed
   - structured data and schema.org for `post` context takes the following order to render description fields:
        1. custom excerpt
        2. meta description
        3. automated excerpt (50 words)
    - updated and added tests to reflect the changes
2017-08-01 12:39:34 +04:00
..
adapters 🐛 Fix double slash in scheduling API URL (#8574) 2017-06-14 16:26:28 +02:00
api 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
auth 🚑 Disable remote authentication (#8346) 2017-04-24 18:56:49 +01:00
config fix(config): cleanup absolute path config function (#8641) 2017-07-06 00:04:18 +02:00
controllers/frontend 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +02:00
data/importer 🎨 Support LTS imports (#8498) 2017-06-04 11:53:00 +02:00
mail 🔥 fromaddress support (#8753) 2017-07-27 12:27:38 +04:00
metadata Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
middleware 🔥 revert: force admin url redirect (#8493) 2017-05-30 10:19:14 +01:00
models/base 🎨 change last_login to last_seen (#8259) 2017-04-05 20:45:55 +01:00
models_plugins 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
server_helpers Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
settings 🐛 fix settings cache (#8506) 2017-06-04 17:52:22 +07:00
sitemap 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00
themes 🐛 Remove trailing slash for {{@blog.url}} (#8596) 2017-06-19 16:11:53 +02:00
utils 🐛 🔗 resolve symlinks before building zip (#8780) 2017-07-31 11:48:00 +04:00
admin_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
api_utils_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
apps_filters_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
apps_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
errors_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
exporter_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
filters_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
ghost_sdk_spec.js 🛠 🙈 Rename ghost-url.js to ghost-sdk.js (#8767) 2017-07-28 18:23:32 +04:00
migration_fixture_utils_spec.js 📖 new default post content (#8548) 2017-06-08 16:36:14 +01:00
migration_spec.js Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
permissions_spec.js 🐛 be able to serve locked users (#8711) 2017-07-20 12:45:13 +01:00
rss_spec.js 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +02:00
server_helpers_index_spec.js 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00
server_helpers_template_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
server_utils_spec.js 🎨 refactor the importer (#8473) 2017-05-23 17:18:13 +01:00
slack_spec.js 📖 new default post content (#8548) 2017-06-08 16:36:14 +01:00
social-urls_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
utils_pipeline_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
validation_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
xmlrpc_spec.js 📖 new default post content (#8548) 2017-06-08 16:36:14 +01:00