Ghost/ghost/core
Naz 2361669bb6
Added media 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 more than just post content and images.
- When media 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 media files in the imported "posts" substituting the links with local ones
- The media importer recognizes media files inside of "media" or "content/media" folders present in the zip. The supported media file extensions are same as for media upload widget:
".mp4", ".webm", ".ogv", ".mp3", ".wav", ".ogg", ".m4a"

with following content-types:
 "video/mp4", "video/webm", "video/ogg", "audio/mpeg", "audio/vnd.wav", "audio/wave", "audio/wav", "audio/x-wav", "audio/ogg", "audio/mp4", "audio/x-m4a"
2023-03-02 14:35:37 +08:00
..
content 🎨 Updated Casper to v5.4.5 2023-01-20 16:01:00 +00:00
core Added media file support to the zip importer 2023-03-02 14:35:37 +08:00
test Added media file support to the zip importer 2023-03-02 14:35:37 +08:00
.c8rc.e2e.json
.c8rc.json Reduced code coverage limits temporarily 2023-02-27 17:37:48 +01:00
.eslintignore
.eslintrc.js
.npmignore
config.development.json
ghost.js
index.js
jsconfig.json
loggingrc.js Added version information to log lines 2023-01-20 13:18:44 +01:00
MigratorConfig.js
package.json Added media file handling to Ghost importer 2023-03-01 15:55:10 +08:00
playwright.config.js Increased global Playwright expect timeout to 10s 2023-02-22 12:54:26 +01:00