Ghost/ghost/admin/app/services
Simon Backx 4d54880113
Added error handling for ENAMETOOLONG import error (#16054)
fixes https://github.com/TryGhost/Team/issues/2200

When zipping a folder that contains files with UTF-8 characters in the filename, using the MacOS Archive Utility, the resulting zip will be missing some UTF-8 configuration bit. This breaks the unzipper, causing it to decode the filenames using the wrong encodign.

When the file names are long, and become longer than the length allowed by the OS, an ENAMETOOLONG error is thrown. This error is not handled by the importer, and causes the import to fail.

This adds a specific check for this error so we can show a clear error message to the user, that helps them to resolve the issue. We are currently unable to fix the issue on our side, because of a lack of well supported zip libraries for node.
2023-01-18 13:28:36 +01:00
..
ajax.js Added error handling for ENAMETOOLONG import error (#16054) 2023-01-18 13:28:36 +01:00
billing.js Updated <GHBillingIframe> to not leak event listeners 2022-11-07 11:59:14 +00:00
clock.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
config-manager.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
custom-theme-settings.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
custom-views.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
dashboard-mocks.js Refined attribution source modal on dashboard 2022-10-07 15:43:59 +05:30
dashboard-stats.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
data-cache.js Added data-cache service for managing limited-lifetime cached data 2022-01-21 18:15:06 +00:00
dropdown.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
event-bus.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
explore.js Fixed Explore iframe route handling hijacking routes on reload 2022-10-26 17:17:22 +01:00
feature.js Added externalAttribution feature flag 2023-01-17 15:15:32 +01:00
frontend.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
ghost-paths.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
lazy-loader.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
limit.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
media-queries.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
member-import-validator.js Added auto-mapping for complimentary_plan column 2022-10-31 16:47:14 +08:00
members-count-cache.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
members-stats.js Merged v5.16.1 into main 2022-09-27 11:21:48 +07:00
members-utils.js 🐛 Fixed offer links with an archived tier (#15792) 2022-11-11 10:11:34 +01:00
modals.js Fixed modalOptions.ignoreBackdropClick not always being picked up 2022-07-13 16:02:34 +01:00
navigation.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
notifications.js Updated error fallbacks to generic error message 2022-11-23 21:49:40 +00:00
resize-detector.js Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
session.js Added visible theme errors in admin (#16081) 2023-01-06 13:44:27 +01:00
settings.js 🐛 Fixed comped subscription duration drop-down sometimes not being visible (#15764) 2022-11-03 10:08:48 +00:00
slug-generator.js 🐛 Fixed pasting newlines in post titles (#15794) 2022-11-10 14:43:15 +01:00
tenor.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
theme-management.js Added visible theme errors in admin 2023-01-06 15:51:34 +01:00
ui.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
unsplash.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
upgrade-status.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
utils.js Removed www prefix from newsletter link table 2023-01-13 15:38:54 +05:30
whats-new.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00