Ghost/core/server
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
..
adapters Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00
api Fixed linting for await statements 2020-08-25 19:30:02 +12:00
data Granted Admin users ability to impersonate member (#12132) 2020-08-18 14:17:56 +05:30
lib Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
models Added error handling for failed member imports 2020-08-26 17:11:35 +12:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services Added error handling for failed member imports 2020-08-26 17:11:35 +12:00
translations Added error handling for failed member imports 2020-08-26 17:11:35 +12:00
views Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
web Added admin endpoint for editing member subscription (#12145) 2020-08-20 17:28:11 +05:30
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Improved testmode logging of shutdown status 2020-08-18 15:48:42 +01:00
index.js Added job-manager & wired up shutdown and testmode 2020-08-11 21:31:34 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00