Ghost/ghost
Naz cd49992cd9
Added generic file import handler
refs https://github.com/TryGhost/Toolbox/issues/523
refs c2534e3c86/packages/mg-assetscraper/lib/AssetScraper.js (L14-L16)
refs https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

- Importer needs to process and recognize document files like pdfs, presentations etc to be able to import them into sites file storage.
- The handler allows a new root directory "files" to place imported documents
- The handler adds validation and processing for following file extensions:
".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:18 +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 generic file import handler 2023-03-02 17:54:18 +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 content file handler constructor 2023-03-02 17:54:18 +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