Ghost/core/server/services
Nazar Gargol 95044e3ba0 Added error handling for failed member imports
no issue

- When bulk insert fails there is no transactional logic to revert
related records form being inserted. Also, previously there were no
attempts to "retry" the insert.
- To avoid complex retry logic, an iterative one-by-one insert retry
approach was taken. If this becomes a bottleneck in the future, the
retry algorithm could be improved.
- To avoid a lot of code duplication refactored model's `bulkAdd` & `bulkDestroy`
methods to use 'bulk-operations' module.
- Updated error handling and logging for bulk delete operations. It's very
unlikely for error to happen here,  but still need to make sure there is
a proper logging in place to trace back the failure.
- Added debug logs. This should improve debugging experience and
performance measurements.
- Added handling for unrecognized errors. Handling inspired by current unrecognized
error handling by ghost importer -10e5d5f3d4/core/server/data/importer/importers/data/base.js (L148-L154)
2020-08-26 17:11:35 +12:00
..
adapter-manager Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
auth Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
bulk-email Improved performance of sending newsletter emails (#12091) 2020-08-06 15:19:39 +02:00
invitations Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
jobs Added job-manager & wired up shutdown and testmode 2020-08-11 21:31:34 +01:00
mail Updated error name check in GhostMailer 2020-07-21 01:08:19 +05:30
mega 🐛 Fixed bookmark card display in member emails when using Gmail+Chrome 2020-08-24 18:21:09 +01:00
members Added error handling for failed member imports 2020-08-26 17:11:35 +12:00
permissions Improved password reset and session invalidation for "locked" users (#11790) 2020-05-05 19:37:53 +01:00
settings Emitted all settings events on reinit of cache (#12012) 2020-07-06 17:09:43 +02:00
webhooks Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
labs.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
slack.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
xmlrpc.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00