ghost 5.89.6 → 5.90.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 (183) hide show
  1. package/components/tryghost-adapter-cache-memory-ttl-5.90.0.tgz +0 -0
  2. package/components/{tryghost-adapter-cache-redis-5.89.6.tgz → tryghost-adapter-cache-redis-5.90.0.tgz} +0 -0
  3. package/components/{tryghost-adapter-manager-5.89.6.tgz → tryghost-adapter-manager-5.90.0.tgz} +0 -0
  4. package/components/tryghost-announcement-bar-settings-5.90.0.tgz +0 -0
  5. package/components/{tryghost-api-framework-5.89.6.tgz → tryghost-api-framework-5.90.0.tgz} +0 -0
  6. package/components/tryghost-api-version-compatibility-service-5.90.0.tgz +0 -0
  7. package/components/tryghost-audience-feedback-5.90.0.tgz +0 -0
  8. package/components/tryghost-bookshelf-repository-5.90.0.tgz +0 -0
  9. package/components/tryghost-bootstrap-socket-5.90.0.tgz +0 -0
  10. package/components/tryghost-collections-5.90.0.tgz +0 -0
  11. package/components/tryghost-constants-5.90.0.tgz +0 -0
  12. package/components/tryghost-custom-theme-settings-service-5.90.0.tgz +0 -0
  13. package/components/{tryghost-data-generator-5.89.6.tgz → tryghost-data-generator-5.90.0.tgz} +0 -0
  14. package/components/tryghost-domain-events-5.90.0.tgz +0 -0
  15. package/components/tryghost-donations-5.90.0.tgz +0 -0
  16. package/components/tryghost-dynamic-routing-events-5.90.0.tgz +0 -0
  17. package/components/tryghost-email-addresses-5.90.0.tgz +0 -0
  18. package/components/tryghost-email-analytics-provider-mailgun-5.90.0.tgz +0 -0
  19. package/components/tryghost-email-analytics-service-5.90.0.tgz +0 -0
  20. package/components/{tryghost-email-content-generator-5.89.6.tgz → tryghost-email-content-generator-5.90.0.tgz} +0 -0
  21. package/components/tryghost-email-events-5.90.0.tgz +0 -0
  22. package/components/{tryghost-email-service-5.89.6.tgz → tryghost-email-service-5.90.0.tgz} +0 -0
  23. package/components/tryghost-email-suppression-list-5.90.0.tgz +0 -0
  24. package/components/tryghost-express-dynamic-redirects-5.90.0.tgz +0 -0
  25. package/components/tryghost-external-media-inliner-5.90.0.tgz +0 -0
  26. package/components/tryghost-extract-api-key-5.90.0.tgz +0 -0
  27. package/components/tryghost-ghost-5.90.0.tgz +0 -0
  28. package/components/tryghost-html-to-plaintext-5.90.0.tgz +0 -0
  29. package/components/tryghost-i18n-5.90.0.tgz +0 -0
  30. package/components/tryghost-importer-handler-content-files-5.90.0.tgz +0 -0
  31. package/components/{tryghost-importer-revue-5.89.6.tgz → tryghost-importer-revue-5.90.0.tgz} +0 -0
  32. package/components/tryghost-in-memory-repository-5.90.0.tgz +0 -0
  33. package/components/{tryghost-job-manager-5.89.6.tgz → tryghost-job-manager-5.90.0.tgz} +0 -0
  34. package/components/tryghost-link-redirects-5.90.0.tgz +0 -0
  35. package/components/{tryghost-link-replacer-5.89.6.tgz → tryghost-link-replacer-5.90.0.tgz} +0 -0
  36. package/components/{tryghost-link-tracking-5.89.6.tgz → tryghost-link-tracking-5.90.0.tgz} +0 -0
  37. package/components/tryghost-magic-link-5.90.0.tgz +0 -0
  38. package/components/tryghost-mail-events-5.90.0.tgz +0 -0
  39. package/components/{tryghost-mailgun-client-5.89.6.tgz → tryghost-mailgun-client-5.90.0.tgz} +0 -0
  40. package/components/{tryghost-member-attribution-5.89.6.tgz → tryghost-member-attribution-5.90.0.tgz} +0 -0
  41. package/components/tryghost-member-events-5.90.0.tgz +0 -0
  42. package/components/tryghost-members-api-5.90.0.tgz +0 -0
  43. package/components/tryghost-members-csv-5.90.0.tgz +0 -0
  44. package/components/tryghost-members-events-service-5.90.0.tgz +0 -0
  45. package/components/tryghost-members-importer-5.90.0.tgz +0 -0
  46. package/components/tryghost-members-offers-5.90.0.tgz +0 -0
  47. package/components/tryghost-members-payments-5.90.0.tgz +0 -0
  48. package/components/tryghost-members-ssr-5.90.0.tgz +0 -0
  49. package/components/tryghost-members-stripe-service-5.90.0.tgz +0 -0
  50. package/components/tryghost-mentions-email-report-5.90.0.tgz +0 -0
  51. package/components/tryghost-milestones-5.90.0.tgz +0 -0
  52. package/components/tryghost-minifier-5.90.0.tgz +0 -0
  53. package/components/tryghost-model-to-domain-event-interceptor-5.90.0.tgz +0 -0
  54. package/components/tryghost-mw-api-version-mismatch-5.90.0.tgz +0 -0
  55. package/components/tryghost-mw-cache-control-5.90.0.tgz +0 -0
  56. package/components/tryghost-mw-error-handler-5.90.0.tgz +0 -0
  57. package/components/tryghost-mw-session-from-token-5.90.0.tgz +0 -0
  58. package/components/tryghost-mw-update-user-last-seen-5.90.0.tgz +0 -0
  59. package/components/tryghost-mw-version-match-5.90.0.tgz +0 -0
  60. package/components/tryghost-mw-vhost-5.90.0.tgz +0 -0
  61. package/components/tryghost-nql-filter-expansions-5.90.0.tgz +0 -0
  62. package/components/{tryghost-oembed-service-5.89.6.tgz → tryghost-oembed-service-5.90.0.tgz} +0 -0
  63. package/components/tryghost-package-json-5.90.0.tgz +0 -0
  64. package/components/{tryghost-post-events-5.89.6.tgz → tryghost-post-events-5.90.0.tgz} +0 -0
  65. package/components/tryghost-post-revisions-5.90.0.tgz +0 -0
  66. package/components/tryghost-posts-service-5.90.0.tgz +0 -0
  67. package/components/tryghost-recommendations-5.90.0.tgz +0 -0
  68. package/components/tryghost-referrers-5.90.0.tgz +0 -0
  69. package/components/tryghost-security-5.90.0.tgz +0 -0
  70. package/components/{tryghost-session-service-5.89.6.tgz → tryghost-session-service-5.90.0.tgz} +0 -0
  71. package/components/tryghost-settings-path-manager-5.90.0.tgz +0 -0
  72. package/components/tryghost-slack-notifications-5.90.0.tgz +0 -0
  73. package/components/{tryghost-staff-service-5.89.6.tgz → tryghost-staff-service-5.90.0.tgz} +0 -0
  74. package/components/{tryghost-stats-service-5.89.6.tgz → tryghost-stats-service-5.90.0.tgz} +0 -0
  75. package/components/{tryghost-tiers-5.89.6.tgz → tryghost-tiers-5.90.0.tgz} +0 -0
  76. package/components/tryghost-update-check-service-5.90.0.tgz +0 -0
  77. package/components/tryghost-verification-trigger-5.90.0.tgz +0 -0
  78. package/components/tryghost-version-notifications-data-service-5.90.0.tgz +0 -0
  79. package/components/tryghost-webmentions-5.90.0.tgz +0 -0
  80. package/core/boot.js +8 -5
  81. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +2 -2
  82. package/core/built/admin/assets/admin-x-activitypub/{index-e318fbcd.mjs → index-79b91eda.mjs} +4643 -4540
  83. package/core/built/admin/assets/admin-x-activitypub/modals-25d834a0.mjs +1017 -0
  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-9379b3eb.mjs +15889 -0
  86. package/core/built/admin/assets/admin-x-demo/{modals-c17f9071.mjs → modals-88dc270f.mjs} +3 -3
  87. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-511c0703.mjs → CodeEditorView-821d5b2c.mjs} +2 -2
  88. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +3 -3
  89. package/core/built/admin/assets/admin-x-settings/{index-5941f1da.mjs → index-1c47835f.mjs} +16355 -12569
  90. package/core/built/admin/assets/admin-x-settings/{index-a33217a0.mjs → index-29d842f9.mjs} +2 -2
  91. package/core/built/admin/assets/admin-x-settings/{modals-434ac8fd.mjs → modals-7c030639.mjs} +6330 -5814
  92. package/core/built/admin/assets/{chunk.42.90f279da5ca389af68b9.js → chunk.42.eae83e03ed76c8e8c57a.js} +4 -4
  93. package/core/built/admin/assets/{chunk.524.c121fa5c220befde8234.js → chunk.524.4551f9a844deaa462046.js} +5 -5
  94. package/core/built/admin/assets/{chunk.582.78f1ec44751f5313fcc9.js → chunk.582.1b3f6a148cd1896c12aa.js} +6 -6
  95. package/core/built/admin/assets/ghost-dark-cedf65ab1ef5082419d66cc99a151071.css +1 -0
  96. package/core/built/admin/assets/ghost-e452bcc2710cf5a8372a7f7202661191.css +1 -0
  97. package/core/built/admin/assets/{ghost-532c38e4c3ecd17d68cdcc9fb58b9098.js → ghost-e733775ba236c045dbcdaaa39231c6d8.js} +61 -53
  98. package/core/built/admin/assets/{vendor-eb806b4d193377b9b4bbf885840bfdc2.js → vendor-bff75d127fcf4a75c8a83b473bdb308f.js} +2 -2
  99. package/core/built/admin/index.html +6 -6
  100. package/core/frontend/services/routing/RouterManager.js +7 -7
  101. package/core/frontend/src/cards/css/audio.css +3 -0
  102. package/core/frontend/src/cards/css/file.css +4 -1
  103. package/core/frontend/src/cards/css/product.css +3 -3
  104. package/core/frontend/src/cards/css/toggle.css +1 -1
  105. package/core/server/data/migrations/versions/5.90/2024-08-20-09-40-24-update-default-donations-suggested-amount.js +42 -0
  106. package/core/server/data/schema/default-settings/default-settings.json +1 -1
  107. package/core/server/models/base/plugins/crud.js +14 -0
  108. package/core/server/models/member-click-event.js +5 -2
  109. package/core/server/services/email-analytics/EmailAnalyticsServiceWrapper.js +37 -8
  110. package/core/server/services/email-analytics/lib/queries.js +117 -21
  111. package/core/server/services/members/RequestIntegrityTokenProvider.js +62 -0
  112. package/core/server/services/members/middleware.js +42 -2
  113. package/core/server/services/members/service.js +6 -0
  114. package/core/server/web/members/app.js +3 -0
  115. package/core/shared/instrumentation.js +39 -27
  116. package/package.json +150 -153
  117. package/yarn.lock +466 -801
  118. package/components/tryghost-adapter-cache-memory-ttl-5.89.6.tgz +0 -0
  119. package/components/tryghost-announcement-bar-settings-5.89.6.tgz +0 -0
  120. package/components/tryghost-api-version-compatibility-service-5.89.6.tgz +0 -0
  121. package/components/tryghost-audience-feedback-5.89.6.tgz +0 -0
  122. package/components/tryghost-bookshelf-repository-5.89.6.tgz +0 -0
  123. package/components/tryghost-bootstrap-socket-5.89.6.tgz +0 -0
  124. package/components/tryghost-collections-5.89.6.tgz +0 -0
  125. package/components/tryghost-constants-5.89.6.tgz +0 -0
  126. package/components/tryghost-custom-theme-settings-service-5.89.6.tgz +0 -0
  127. package/components/tryghost-domain-events-5.89.6.tgz +0 -0
  128. package/components/tryghost-donations-5.89.6.tgz +0 -0
  129. package/components/tryghost-dynamic-routing-events-5.89.6.tgz +0 -0
  130. package/components/tryghost-email-addresses-5.89.6.tgz +0 -0
  131. package/components/tryghost-email-analytics-provider-mailgun-5.89.6.tgz +0 -0
  132. package/components/tryghost-email-analytics-service-5.89.6.tgz +0 -0
  133. package/components/tryghost-email-events-5.89.6.tgz +0 -0
  134. package/components/tryghost-email-suppression-list-5.89.6.tgz +0 -0
  135. package/components/tryghost-express-dynamic-redirects-5.89.6.tgz +0 -0
  136. package/components/tryghost-external-media-inliner-5.89.6.tgz +0 -0
  137. package/components/tryghost-extract-api-key-5.89.6.tgz +0 -0
  138. package/components/tryghost-ghost-5.89.6.tgz +0 -0
  139. package/components/tryghost-html-to-plaintext-5.89.6.tgz +0 -0
  140. package/components/tryghost-i18n-5.89.6.tgz +0 -0
  141. package/components/tryghost-importer-handler-content-files-5.89.6.tgz +0 -0
  142. package/components/tryghost-in-memory-repository-5.89.6.tgz +0 -0
  143. package/components/tryghost-link-redirects-5.89.6.tgz +0 -0
  144. package/components/tryghost-magic-link-5.89.6.tgz +0 -0
  145. package/components/tryghost-mail-events-5.89.6.tgz +0 -0
  146. package/components/tryghost-member-events-5.89.6.tgz +0 -0
  147. package/components/tryghost-members-api-5.89.6.tgz +0 -0
  148. package/components/tryghost-members-csv-5.89.6.tgz +0 -0
  149. package/components/tryghost-members-events-service-5.89.6.tgz +0 -0
  150. package/components/tryghost-members-importer-5.89.6.tgz +0 -0
  151. package/components/tryghost-members-offers-5.89.6.tgz +0 -0
  152. package/components/tryghost-members-payments-5.89.6.tgz +0 -0
  153. package/components/tryghost-members-ssr-5.89.6.tgz +0 -0
  154. package/components/tryghost-members-stripe-service-5.89.6.tgz +0 -0
  155. package/components/tryghost-mentions-email-report-5.89.6.tgz +0 -0
  156. package/components/tryghost-milestones-5.89.6.tgz +0 -0
  157. package/components/tryghost-minifier-5.89.6.tgz +0 -0
  158. package/components/tryghost-model-to-domain-event-interceptor-5.89.6.tgz +0 -0
  159. package/components/tryghost-mw-api-version-mismatch-5.89.6.tgz +0 -0
  160. package/components/tryghost-mw-cache-control-5.89.6.tgz +0 -0
  161. package/components/tryghost-mw-error-handler-5.89.6.tgz +0 -0
  162. package/components/tryghost-mw-session-from-token-5.89.6.tgz +0 -0
  163. package/components/tryghost-mw-update-user-last-seen-5.89.6.tgz +0 -0
  164. package/components/tryghost-mw-version-match-5.89.6.tgz +0 -0
  165. package/components/tryghost-mw-vhost-5.89.6.tgz +0 -0
  166. package/components/tryghost-nql-filter-expansions-5.89.6.tgz +0 -0
  167. package/components/tryghost-package-json-5.89.6.tgz +0 -0
  168. package/components/tryghost-post-revisions-5.89.6.tgz +0 -0
  169. package/components/tryghost-posts-service-5.89.6.tgz +0 -0
  170. package/components/tryghost-recommendations-5.89.6.tgz +0 -0
  171. package/components/tryghost-referrers-5.89.6.tgz +0 -0
  172. package/components/tryghost-security-5.89.6.tgz +0 -0
  173. package/components/tryghost-settings-path-manager-5.89.6.tgz +0 -0
  174. package/components/tryghost-slack-notifications-5.89.6.tgz +0 -0
  175. package/components/tryghost-update-check-service-5.89.6.tgz +0 -0
  176. package/components/tryghost-verification-trigger-5.89.6.tgz +0 -0
  177. package/components/tryghost-version-notifications-data-service-5.89.6.tgz +0 -0
  178. package/components/tryghost-webmentions-5.89.6.tgz +0 -0
  179. package/core/built/admin/assets/admin-x-activitypub/modals-a6e383d4.mjs +0 -422
  180. package/core/built/admin/assets/admin-x-demo/index-116afae1.mjs +0 -12365
  181. package/core/built/admin/assets/ghost-dark-f9c5f2aae7d01ae36bd6932c0abf683a.css +0 -1
  182. package/core/built/admin/assets/ghost-f627cc6acd7574a7bdbf2f2988365c78.css +0 -1
  183. /package/core/built/admin/assets/{chunk.42.90f279da5ca389af68b9.js.LICENSE.txt → chunk.42.eae83e03ed76c8e8c57a.js.LICENSE.txt} +0 -0
package/core/boot.js CHANGED
@@ -448,6 +448,14 @@ async function initBackgroundServices({config}) {
448
448
  const milestonesService = require('./server/services/milestones');
449
449
  milestonesService.initAndRun();
450
450
 
451
+ // Ideally OpenTelemetry should be configured as early as possible
452
+ // However, it can take a long time to initialize, so we load it here
453
+ // This prevents open telemetry from impacting boot time at the cost of not being able to trace the boot process
454
+ debug('Begin: Load OpenTelemetry');
455
+ const opentelemetryInstrumentation = require('./shared/instrumentation');
456
+ opentelemetryInstrumentation.initOpenTelemetry({config});
457
+ debug('End: Load OpenTelemetry');
458
+
451
459
  debug('End: initBackgroundServices');
452
460
  }
453
461
 
@@ -509,11 +517,6 @@ async function bootGhost({backend = true, frontend = true, server = true} = {})
509
517
 
510
518
  try {
511
519
  // Step 1 - require more fundamental components
512
- // OpenTelemetry should be configured as early as possible
513
- debug('Begin: Load OpenTelemetry');
514
- const opentelemetryInstrumentation = require('./shared/instrumentation');
515
- opentelemetryInstrumentation.initOpenTelemetry({config});
516
- debug('End: Load OpenTelemetry');
517
520
 
518
521
  // Sentry must be initialized early, but requires config
519
522
  debug('Begin: Load sentry');