Ghost/ghost
Naz ab3959f3f2
Added document file support to the zip importer
refs https://github.com/TryGhost/Toolbox/issues/523

- When migrating or importing ZIP files into Ghost there's often a need to include document files.
- When document files are present in the imported zip file they are now copied across and processed along with the rest of import files: json, images, csvs, etc.
- The importer also searches for use of the document files in the imported "posts" substituting the links with local ones
- The document files importer recognizes media files inside of "files" or "content/files" folders present in the zip.
- The supported media file extensions are same as for file upload widget:
".pdf",".json",".jsonld",".odp",".ods",".odt",".ppt",".pptx",".rtf",".txt",".xls",".xlsx",".xml"

with following content-types:
"application/pdf", "application/json", "application/ld+json", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.text", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/rtf", "text/plain", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/xml", "application/atom+xml"
2023-03-02 17:54:19 +08:00
..
adapter-cache-memory-ttl Commented out flaky adapter-cache-memory-ttl tests 2023-02-22 17:24:26 +01:00
adapter-cache-redis Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
adapter-manager Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
admin Update @tryghost 2023-03-02 09:47:02 +01:00
api-framework Update @tryghost 2023-03-02 09:47:02 +01:00
api-version-compatibility-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
audience-feedback Update @tryghost 2023-03-02 09:47:02 +01:00
bootstrap-socket Update @tryghost 2023-03-02 09:47:02 +01:00
constants Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
core Added document file support to the zip importer 2023-03-02 17:54:19 +08:00
custom-theme-settings-service Update @tryghost 2023-03-02 09:47:02 +01:00
data-generator Update @tryghost 2023-03-02 09:47:02 +01:00
domain-events Update @tryghost 2023-03-02 09:47:02 +01:00
dynamic-routing-events Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
email-analytics-provider-mailgun Implemented email analytics retrying (#16273) 2023-02-21 16:00:32 +01:00
email-analytics-service Update @tryghost 2023-03-02 09:47:02 +01:00
email-content-generator Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
email-events Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
email-service Update @tryghost 2023-03-02 09:47:02 +01:00
email-suppression-list Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
event-aware-cache-wrapper Added missing dev dependency to event-aware-cache-wrapper package 2023-02-23 08:48:01 +01:00
express-dynamic-redirects Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
i18n Fixed linting 2023-03-01 10:30:18 +01:00
importer-handler-content-files Refactored importer's content file handler 2023-03-02 17:54:19 +08:00
importer-revue Update @tryghost 2023-03-02 09:47:02 +01:00
job-manager Update @tryghost 2023-03-02 09:47:02 +01:00
link-redirects Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
link-replacer Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
link-tracking Update @tryghost 2023-03-02 09:47:02 +01:00
magic-link Update @tryghost 2023-03-02 09:47:02 +01:00
mailgun-client Update @tryghost 2023-03-02 09:47:02 +01:00
member-attribution Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
member-events Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
members-api Update @tryghost 2023-03-02 09:47:02 +01:00
members-csv fixed member import email setting import (#16269) 2023-02-27 15:25:20 -06:00
members-events-service Update @tryghost 2023-03-02 09:47:02 +01:00
members-importer Update @tryghost 2023-03-02 09:47:02 +01:00
members-ssr Update @tryghost 2023-03-02 09:47:02 +01:00
milestones Fixed tests 2023-02-23 17:21:20 +02:00
minifier Update @tryghost 2023-03-02 09:47:02 +01:00
mw-api-version-mismatch Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
mw-cache-control Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-error-handler Update @tryghost 2023-03-02 09:47:02 +01:00
mw-session-from-token Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-update-user-last-seen Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-version-match Update @tryghost 2023-03-02 09:47:02 +01:00
mw-vhost Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
oembed-service Update @tryghost 2023-03-02 09:47:02 +01:00
offers Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
package-json Update @tryghost 2023-03-02 09:47:02 +01:00
payments Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
portal Update sentry-javascript monorepo to v7.40.0 2023-03-02 09:07:07 +01:00
referrers Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
security Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
session-service Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
settings-path-manager Update @tryghost 2023-03-02 09:47:02 +01:00
slack-notifications Update @tryghost 2023-03-02 09:47:02 +01:00
staff-service Added webmentions emails flag (#16321) 2023-02-23 11:42:14 +01:00
stats-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
stripe Update @tryghost 2023-03-02 09:47:02 +01:00
tiers Update @tryghost 2023-03-02 09:47:02 +01:00
update-check-service Update @tryghost 2023-03-02 09:47:02 +01:00
verification-trigger Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
version-notifications-data-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
webmentions Update @tryghost 2023-03-02 09:47:02 +01:00