ghost 5.109.5 → 5.110.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/components/tryghost-activitypub-5.110.0.tgz +0 -0
  2. package/components/tryghost-adapter-cache-memory-ttl-5.110.0.tgz +0 -0
  3. package/components/tryghost-adapter-cache-redis-5.110.0.tgz +0 -0
  4. package/components/tryghost-adapter-manager-5.110.0.tgz +0 -0
  5. package/components/tryghost-announcement-bar-settings-5.110.0.tgz +0 -0
  6. package/components/{tryghost-api-framework-5.109.5.tgz → tryghost-api-framework-5.110.0.tgz} +0 -0
  7. package/components/tryghost-api-version-compatibility-service-5.110.0.tgz +0 -0
  8. package/components/tryghost-audience-feedback-5.110.0.tgz +0 -0
  9. package/components/tryghost-bookshelf-repository-5.110.0.tgz +0 -0
  10. package/components/tryghost-bootstrap-socket-5.110.0.tgz +0 -0
  11. package/components/tryghost-captcha-service-5.110.0.tgz +0 -0
  12. package/components/tryghost-constants-5.110.0.tgz +0 -0
  13. package/components/{tryghost-custom-fonts-5.109.5.tgz → tryghost-custom-fonts-5.110.0.tgz} +0 -0
  14. package/components/tryghost-custom-theme-settings-service-5.110.0.tgz +0 -0
  15. package/components/{tryghost-data-generator-5.109.5.tgz → tryghost-data-generator-5.110.0.tgz} +0 -0
  16. package/components/tryghost-domain-events-5.110.0.tgz +0 -0
  17. package/components/tryghost-donations-5.110.0.tgz +0 -0
  18. package/components/tryghost-dynamic-routing-events-5.110.0.tgz +0 -0
  19. package/components/tryghost-email-addresses-5.110.0.tgz +0 -0
  20. package/components/tryghost-email-analytics-provider-mailgun-5.110.0.tgz +0 -0
  21. package/components/tryghost-email-analytics-service-5.110.0.tgz +0 -0
  22. package/components/tryghost-email-content-generator-5.110.0.tgz +0 -0
  23. package/components/tryghost-email-events-5.110.0.tgz +0 -0
  24. package/components/tryghost-email-service-5.110.0.tgz +0 -0
  25. package/components/tryghost-email-suppression-list-5.110.0.tgz +0 -0
  26. package/components/tryghost-express-dynamic-redirects-5.110.0.tgz +0 -0
  27. package/components/tryghost-external-media-inliner-5.110.0.tgz +0 -0
  28. package/components/tryghost-extract-api-key-5.110.0.tgz +0 -0
  29. package/components/tryghost-ghost-5.110.0.tgz +0 -0
  30. package/components/tryghost-html-to-plaintext-5.110.0.tgz +0 -0
  31. package/components/tryghost-i18n-5.110.0.tgz +0 -0
  32. package/components/tryghost-identity-token-service-5.110.0.tgz +0 -0
  33. package/components/tryghost-importer-handler-content-files-5.110.0.tgz +0 -0
  34. package/components/{tryghost-importer-revue-5.109.5.tgz → tryghost-importer-revue-5.110.0.tgz} +0 -0
  35. package/components/tryghost-in-memory-repository-5.110.0.tgz +0 -0
  36. package/components/tryghost-job-manager-5.110.0.tgz +0 -0
  37. package/components/tryghost-link-redirects-5.110.0.tgz +0 -0
  38. package/components/tryghost-link-replacer-5.110.0.tgz +0 -0
  39. package/components/tryghost-link-tracking-5.110.0.tgz +0 -0
  40. package/components/tryghost-magic-link-5.110.0.tgz +0 -0
  41. package/components/tryghost-mail-events-5.110.0.tgz +0 -0
  42. package/components/{tryghost-mailgun-client-5.109.5.tgz → tryghost-mailgun-client-5.110.0.tgz} +0 -0
  43. package/components/tryghost-member-attribution-5.110.0.tgz +0 -0
  44. package/components/tryghost-member-events-5.110.0.tgz +0 -0
  45. package/components/tryghost-members-api-5.110.0.tgz +0 -0
  46. package/components/tryghost-members-csv-5.110.0.tgz +0 -0
  47. package/components/tryghost-members-events-service-5.110.0.tgz +0 -0
  48. package/components/{tryghost-members-importer-5.109.5.tgz → tryghost-members-importer-5.110.0.tgz} +0 -0
  49. package/components/{tryghost-members-offers-5.109.5.tgz → tryghost-members-offers-5.110.0.tgz} +0 -0
  50. package/components/tryghost-members-payments-5.110.0.tgz +0 -0
  51. package/components/tryghost-members-ssr-5.110.0.tgz +0 -0
  52. package/components/tryghost-members-stripe-service-5.110.0.tgz +0 -0
  53. package/components/tryghost-mentions-email-report-5.110.0.tgz +0 -0
  54. package/components/tryghost-milestones-5.110.0.tgz +0 -0
  55. package/components/tryghost-minifier-5.110.0.tgz +0 -0
  56. package/components/tryghost-mw-api-version-mismatch-5.110.0.tgz +0 -0
  57. package/components/tryghost-mw-cache-control-5.110.0.tgz +0 -0
  58. package/components/tryghost-mw-error-handler-5.110.0.tgz +0 -0
  59. package/components/tryghost-mw-session-from-token-5.110.0.tgz +0 -0
  60. package/components/tryghost-mw-update-user-last-seen-5.110.0.tgz +0 -0
  61. package/components/tryghost-mw-version-match-5.110.0.tgz +0 -0
  62. package/components/tryghost-mw-vhost-5.110.0.tgz +0 -0
  63. package/components/tryghost-oembed-service-5.110.0.tgz +0 -0
  64. package/components/tryghost-package-json-5.110.0.tgz +0 -0
  65. package/components/tryghost-post-events-5.110.0.tgz +0 -0
  66. package/components/tryghost-post-revisions-5.110.0.tgz +0 -0
  67. package/components/tryghost-posts-service-5.110.0.tgz +0 -0
  68. package/components/tryghost-prometheus-metrics-5.110.0.tgz +0 -0
  69. package/components/tryghost-recommendations-5.110.0.tgz +0 -0
  70. package/components/tryghost-referrers-5.110.0.tgz +0 -0
  71. package/components/tryghost-security-5.110.0.tgz +0 -0
  72. package/components/tryghost-session-service-5.110.0.tgz +0 -0
  73. package/components/tryghost-settings-path-manager-5.110.0.tgz +0 -0
  74. package/components/tryghost-slack-notifications-5.110.0.tgz +0 -0
  75. package/components/{tryghost-staff-service-5.109.5.tgz → tryghost-staff-service-5.110.0.tgz} +0 -0
  76. package/components/tryghost-stats-service-5.110.0.tgz +0 -0
  77. package/components/tryghost-tiers-5.110.0.tgz +0 -0
  78. package/components/tryghost-update-check-service-5.110.0.tgz +0 -0
  79. package/components/tryghost-verification-trigger-5.110.0.tgz +0 -0
  80. package/components/tryghost-version-notifications-data-service-5.110.0.tgz +0 -0
  81. package/components/tryghost-webmentions-5.110.0.tgz +0 -0
  82. package/core/boot.js +2 -8
  83. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +8955 -5956
  84. package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +2 -2
  85. package/core/built/admin/assets/admin-x-demo/{index-2c0daf58.mjs → index-6a89d735.mjs} +345 -346
  86. package/core/built/admin/assets/admin-x-demo/{modals-111b3891.mjs → modals-62dcf913.mjs} +2 -2
  87. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-81fde8a8.mjs → CodeEditorView-9004083f.mjs} +2 -2
  88. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  89. package/core/built/admin/assets/admin-x-settings/{index-f561fff9.mjs → index-6431dff1.mjs} +1795 -1788
  90. package/core/built/admin/assets/admin-x-settings/{index-4f6eea96.mjs → index-d1bf06fc.mjs} +2 -2
  91. package/core/built/admin/assets/admin-x-settings/{modals-81dd574e.mjs → modals-591f92b1.mjs} +5217 -5323
  92. package/core/built/admin/assets/{chunk.524.80064e9174cda203b9d1.js → chunk.524.5f4a574e43e18b37d4eb.js} +9 -9
  93. package/core/built/admin/assets/{chunk.582.8dae00b5cf9e61a89b28.js → chunk.582.859e8e91ff008924a5a4.js} +11 -11
  94. package/core/built/admin/assets/{chunk.185.96551e9261593dbeea99.js → chunk.874.461cb3cf5b6b36915f8c.js} +20090 -20086
  95. package/core/built/admin/assets/{ghost-b122520e41ed046d735262c691a97496.css → ghost-b3d535540abba8aefc14b8e5064752ce.css} +1 -1
  96. package/core/built/admin/assets/{ghost-1f253f34bce478037ef08df933697ae1.js → ghost-d6ed23fbd39e35f909831e8dbecd18ab.js} +82 -102
  97. package/core/built/admin/assets/{ghost-dark-711fdc34002b1cc45b0174dbc4f41771.css → ghost-dark-6f82b736e3041ab3533093cb364c764a.css} +1 -1
  98. package/core/built/admin/assets/koenig-lexical/index.css +1 -1
  99. package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +16079 -16027
  100. package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +241 -174
  101. package/core/built/admin/assets/posts/posts.js +2160 -2153
  102. package/core/built/admin/assets/{vendor-45d117af8243f51f7953502a980ddb73.js → vendor-fca15534b8426c0567400113c63a3e21.js} +22 -30
  103. package/core/built/admin/index.html +6 -6
  104. package/core/frontend/src/cards/css/callout.css +2 -2
  105. package/core/frontend/src/cards/css/cta.css +199 -0
  106. package/core/server/models/base/plugins/raw-knex.js +118 -121
  107. package/core/server/services/email-analytics/EmailAnalyticsServiceWrapper.js +0 -17
  108. package/core/server/services/link-tracking/index.js +1 -3
  109. package/core/server/services/stripe/service.js +10 -5
  110. package/core/server/services/url/Queue.js +36 -26
  111. package/core/server/services/url/UrlService.js +10 -8
  112. package/core/server/services/xmlrpc.js +4 -2
  113. package/core/shared/config/defaults.json +35 -16
  114. package/core/shared/config/env/config.development.docker.json +20 -0
  115. package/core/shared/config/loader.js +3 -0
  116. package/package.json +171 -171
  117. package/yarn.lock +345 -300
  118. package/components/tryghost-activitypub-5.109.5.tgz +0 -0
  119. package/components/tryghost-adapter-cache-memory-ttl-5.109.5.tgz +0 -0
  120. package/components/tryghost-adapter-cache-redis-5.109.5.tgz +0 -0
  121. package/components/tryghost-adapter-manager-5.109.5.tgz +0 -0
  122. package/components/tryghost-announcement-bar-settings-5.109.5.tgz +0 -0
  123. package/components/tryghost-api-version-compatibility-service-5.109.5.tgz +0 -0
  124. package/components/tryghost-audience-feedback-5.109.5.tgz +0 -0
  125. package/components/tryghost-bookshelf-repository-5.109.5.tgz +0 -0
  126. package/components/tryghost-bootstrap-socket-5.109.5.tgz +0 -0
  127. package/components/tryghost-captcha-service-5.109.5.tgz +0 -0
  128. package/components/tryghost-constants-5.109.5.tgz +0 -0
  129. package/components/tryghost-custom-theme-settings-service-5.109.5.tgz +0 -0
  130. package/components/tryghost-domain-events-5.109.5.tgz +0 -0
  131. package/components/tryghost-donations-5.109.5.tgz +0 -0
  132. package/components/tryghost-dynamic-routing-events-5.109.5.tgz +0 -0
  133. package/components/tryghost-email-addresses-5.109.5.tgz +0 -0
  134. package/components/tryghost-email-analytics-provider-mailgun-5.109.5.tgz +0 -0
  135. package/components/tryghost-email-analytics-service-5.109.5.tgz +0 -0
  136. package/components/tryghost-email-content-generator-5.109.5.tgz +0 -0
  137. package/components/tryghost-email-events-5.109.5.tgz +0 -0
  138. package/components/tryghost-email-service-5.109.5.tgz +0 -0
  139. package/components/tryghost-email-suppression-list-5.109.5.tgz +0 -0
  140. package/components/tryghost-express-dynamic-redirects-5.109.5.tgz +0 -0
  141. package/components/tryghost-external-media-inliner-5.109.5.tgz +0 -0
  142. package/components/tryghost-extract-api-key-5.109.5.tgz +0 -0
  143. package/components/tryghost-ghost-5.109.5.tgz +0 -0
  144. package/components/tryghost-html-to-plaintext-5.109.5.tgz +0 -0
  145. package/components/tryghost-i18n-5.109.5.tgz +0 -0
  146. package/components/tryghost-identity-token-service-5.109.5.tgz +0 -0
  147. package/components/tryghost-importer-handler-content-files-5.109.5.tgz +0 -0
  148. package/components/tryghost-in-memory-repository-5.109.5.tgz +0 -0
  149. package/components/tryghost-job-manager-5.109.5.tgz +0 -0
  150. package/components/tryghost-link-redirects-5.109.5.tgz +0 -0
  151. package/components/tryghost-link-replacer-5.109.5.tgz +0 -0
  152. package/components/tryghost-link-tracking-5.109.5.tgz +0 -0
  153. package/components/tryghost-magic-link-5.109.5.tgz +0 -0
  154. package/components/tryghost-mail-events-5.109.5.tgz +0 -0
  155. package/components/tryghost-member-attribution-5.109.5.tgz +0 -0
  156. package/components/tryghost-member-events-5.109.5.tgz +0 -0
  157. package/components/tryghost-members-api-5.109.5.tgz +0 -0
  158. package/components/tryghost-members-csv-5.109.5.tgz +0 -0
  159. package/components/tryghost-members-events-service-5.109.5.tgz +0 -0
  160. package/components/tryghost-members-payments-5.109.5.tgz +0 -0
  161. package/components/tryghost-members-ssr-5.109.5.tgz +0 -0
  162. package/components/tryghost-members-stripe-service-5.109.5.tgz +0 -0
  163. package/components/tryghost-mentions-email-report-5.109.5.tgz +0 -0
  164. package/components/tryghost-milestones-5.109.5.tgz +0 -0
  165. package/components/tryghost-minifier-5.109.5.tgz +0 -0
  166. package/components/tryghost-mw-api-version-mismatch-5.109.5.tgz +0 -0
  167. package/components/tryghost-mw-cache-control-5.109.5.tgz +0 -0
  168. package/components/tryghost-mw-error-handler-5.109.5.tgz +0 -0
  169. package/components/tryghost-mw-session-from-token-5.109.5.tgz +0 -0
  170. package/components/tryghost-mw-update-user-last-seen-5.109.5.tgz +0 -0
  171. package/components/tryghost-mw-version-match-5.109.5.tgz +0 -0
  172. package/components/tryghost-mw-vhost-5.109.5.tgz +0 -0
  173. package/components/tryghost-oembed-service-5.109.5.tgz +0 -0
  174. package/components/tryghost-package-json-5.109.5.tgz +0 -0
  175. package/components/tryghost-post-events-5.109.5.tgz +0 -0
  176. package/components/tryghost-post-revisions-5.109.5.tgz +0 -0
  177. package/components/tryghost-posts-service-5.109.5.tgz +0 -0
  178. package/components/tryghost-prometheus-metrics-5.109.5.tgz +0 -0
  179. package/components/tryghost-recommendations-5.109.5.tgz +0 -0
  180. package/components/tryghost-referrers-5.109.5.tgz +0 -0
  181. package/components/tryghost-security-5.109.5.tgz +0 -0
  182. package/components/tryghost-session-service-5.109.5.tgz +0 -0
  183. package/components/tryghost-settings-path-manager-5.109.5.tgz +0 -0
  184. package/components/tryghost-slack-notifications-5.109.5.tgz +0 -0
  185. package/components/tryghost-stats-service-5.109.5.tgz +0 -0
  186. package/components/tryghost-tiers-5.109.5.tgz +0 -0
  187. package/components/tryghost-update-check-service-5.109.5.tgz +0 -0
  188. package/components/tryghost-verification-trigger-5.109.5.tgz +0 -0
  189. package/components/tryghost-version-notifications-data-service-5.109.5.tgz +0 -0
  190. package/components/tryghost-webmentions-5.109.5.tgz +0 -0
  191. package/core/server/services/email-analytics/jobs/update-member-email-analytics/index.js +0 -13
  192. /package/core/built/admin/assets/{chunk.185.96551e9261593dbeea99.js.LICENSE.txt → chunk.874.461cb3cf5b6b36915f8c.js.LICENSE.txt} +0 -0
package/core/boot.js CHANGED
@@ -78,10 +78,9 @@ async function initDatabase({config}) {
78
78
  * @param {object} options
79
79
  * @param {object} options.ghostServer
80
80
  * @param {object} options.config
81
- * @param {object} options.bootLogger
82
81
  * @param {boolean} options.frontend
83
82
  */
84
- async function initCore({ghostServer, config, bootLogger, frontend}) {
83
+ async function initCore({ghostServer, config, frontend}) {
85
84
  debug('Begin: initCore');
86
85
 
87
86
  // URL Utils is a bit slow, put it here so the timing is visible separate from models
@@ -110,15 +109,10 @@ async function initCore({ghostServer, config, bootLogger, frontend}) {
110
109
  // The URLService is a core part of Ghost, which depends on models.
111
110
  debug('Begin: Url Service');
112
111
  const urlService = require('./server/services/url');
113
- const urlServiceStart = Date.now();
114
112
  // Note: there is no await here, we do not wait for the url service to finish
115
113
  // We can return, but the site will remain in maintenance mode until this finishes
116
114
  // This is managed on request: https://github.com/TryGhost/Ghost/blob/main/core/app.js#L10
117
115
  urlService.init({
118
- onFinished: () => {
119
- bootLogger.metric('url-service', urlServiceStart);
120
- bootLogger.log('URL Service Ready');
121
- },
122
116
  urlCache: !frontend // hacky parameter to make the cache initialization kick in as we can't initialize labs before the boot
123
117
  });
124
118
  debug('End: Url Service');
@@ -563,7 +557,7 @@ async function bootGhost({backend = true, frontend = true, server = true} = {})
563
557
 
564
558
  // Step 4 - Load Ghost with all its services
565
559
  debug('Begin: Load Ghost Services & Apps');
566
- await initCore({ghostServer, config, bootLogger, frontend});
560
+ await initCore({ghostServer, config, frontend});
567
561
 
568
562
  // Instrument the knex instance and connection pool if prometheus is enabled
569
563
  // Needs to be after initCore because the pool is destroyed and recreated in initCore, which removes the event listeners