0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
David Wolfe b081ae34b5 🎨 Support LTS imports (#8498)
refs #8141

- update importer for LTS fields
- optimise for LTS export fixtures
- add image/language test for LTS import
- ensure post image is mapped to feature_image
- create mobiledoc values from markdown and html
- if mobiledoc is null, use markdown or html to create a mobiledoc markdown card
- update import mapping to use locale
- defaultLang in settings now maps to default_locale
- language for post and user models now maps to locale
- posts are not always loaded in correct same order so we select the posts we want to validate
- ensure if mobiledoc field is not in export we can still import from markdown
- map last_login to last_seen
- for users the importer maps last_login to last_seen
- add warning for legacyActiveTheme
- for export with old activeTheme key provide a warning that theme is not installed
- add importer test for LTS user long email
- add a test for LTS export where email address could be longer than alpha
- fix for importer date tests on mysql
- use valueOf in moment to compare times stored in different formats
- ignore warnings for not found settings in import
- use a flag to ignore NotFound Entries for settings during import
2017-06-04 11:53:00 +02:00
..
adapters 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +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 🎨 Move scheduling and storage in adapters/ (#8435) 2017-05-15 12:52:01 +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 🐛 escape blog title for mail header (#8453) 2017-05-12 15:09:45 +02:00
metadata 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +02: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 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +02:00
sitemap 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00
themes 🎨 settings inconsistency (#8381) 2017-04-24 18:41:00 +01:00
utils replace custom showdown fork with markdown-it (#8451) 2017-05-15 18:48:14 +02: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_url_spec.js 💁🏻 Moveshared/ to server/public (#8273) 2017-04-07 13:21:41 +01:00
migration_fixture_utils_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
migration_spec.js 🎨 rename language to locale and use en as default locale (#8490) 2017-05-31 16:05:49 +01:00
permissions_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +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 🎨 do not ping slack if we import content (#8476) 2017-05-22 17:24:59 +09: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 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00