ghost 5.85.2 → 5.86.1

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 (170) hide show
  1. package/components/tryghost-adapter-cache-memory-ttl-5.86.1.tgz +0 -0
  2. package/components/{tryghost-adapter-cache-redis-5.85.2.tgz → tryghost-adapter-cache-redis-5.86.1.tgz} +0 -0
  3. package/components/{tryghost-adapter-manager-5.85.2.tgz → tryghost-adapter-manager-5.86.1.tgz} +0 -0
  4. package/components/tryghost-announcement-bar-settings-5.86.1.tgz +0 -0
  5. package/components/{tryghost-api-framework-5.85.2.tgz → tryghost-api-framework-5.86.1.tgz} +0 -0
  6. package/components/tryghost-api-version-compatibility-service-5.86.1.tgz +0 -0
  7. package/components/tryghost-audience-feedback-5.86.1.tgz +0 -0
  8. package/components/tryghost-bookshelf-repository-5.86.1.tgz +0 -0
  9. package/components/tryghost-bootstrap-socket-5.86.1.tgz +0 -0
  10. package/components/tryghost-collections-5.86.1.tgz +0 -0
  11. package/components/{tryghost-constants-5.85.2.tgz → tryghost-constants-5.86.1.tgz} +0 -0
  12. package/components/tryghost-custom-theme-settings-service-5.86.1.tgz +0 -0
  13. package/components/tryghost-data-generator-5.86.1.tgz +0 -0
  14. package/components/tryghost-domain-events-5.86.1.tgz +0 -0
  15. package/components/tryghost-donations-5.86.1.tgz +0 -0
  16. package/components/tryghost-dynamic-routing-events-5.86.1.tgz +0 -0
  17. package/components/{tryghost-email-addresses-5.85.2.tgz → tryghost-email-addresses-5.86.1.tgz} +0 -0
  18. package/components/{tryghost-email-analytics-provider-mailgun-5.85.2.tgz → tryghost-email-analytics-provider-mailgun-5.86.1.tgz} +0 -0
  19. package/components/tryghost-email-analytics-service-5.86.1.tgz +0 -0
  20. package/components/tryghost-email-content-generator-5.86.1.tgz +0 -0
  21. package/components/{tryghost-email-events-5.85.2.tgz → tryghost-email-events-5.86.1.tgz} +0 -0
  22. package/components/tryghost-email-service-5.86.1.tgz +0 -0
  23. package/components/tryghost-email-suppression-list-5.86.1.tgz +0 -0
  24. package/components/tryghost-express-dynamic-redirects-5.86.1.tgz +0 -0
  25. package/components/tryghost-external-media-inliner-5.86.1.tgz +0 -0
  26. package/components/tryghost-extract-api-key-5.86.1.tgz +0 -0
  27. package/components/tryghost-ghost-5.86.1.tgz +0 -0
  28. package/components/tryghost-html-to-plaintext-5.86.1.tgz +0 -0
  29. package/components/tryghost-i18n-5.86.1.tgz +0 -0
  30. package/components/tryghost-importer-handler-content-files-5.86.1.tgz +0 -0
  31. package/components/tryghost-importer-revue-5.86.1.tgz +0 -0
  32. package/components/tryghost-in-memory-repository-5.86.1.tgz +0 -0
  33. package/components/{tryghost-job-manager-5.85.2.tgz → tryghost-job-manager-5.86.1.tgz} +0 -0
  34. package/components/tryghost-link-redirects-5.86.1.tgz +0 -0
  35. package/components/tryghost-link-replacer-5.86.1.tgz +0 -0
  36. package/components/tryghost-link-tracking-5.86.1.tgz +0 -0
  37. package/components/tryghost-magic-link-5.86.1.tgz +0 -0
  38. package/components/tryghost-mail-events-5.86.1.tgz +0 -0
  39. package/components/{tryghost-mailgun-client-5.85.2.tgz → tryghost-mailgun-client-5.86.1.tgz} +0 -0
  40. package/components/{tryghost-member-attribution-5.85.2.tgz → tryghost-member-attribution-5.86.1.tgz} +0 -0
  41. package/components/{tryghost-member-events-5.85.2.tgz → tryghost-member-events-5.86.1.tgz} +0 -0
  42. package/components/{tryghost-members-api-5.85.2.tgz → tryghost-members-api-5.86.1.tgz} +0 -0
  43. package/components/tryghost-members-csv-5.86.1.tgz +0 -0
  44. package/components/tryghost-members-events-service-5.86.1.tgz +0 -0
  45. package/components/tryghost-members-importer-5.86.1.tgz +0 -0
  46. package/components/{tryghost-members-offers-5.85.2.tgz → tryghost-members-offers-5.86.1.tgz} +0 -0
  47. package/components/tryghost-members-payments-5.86.1.tgz +0 -0
  48. package/components/{tryghost-members-ssr-5.85.2.tgz → tryghost-members-ssr-5.86.1.tgz} +0 -0
  49. package/components/tryghost-members-stripe-service-5.86.1.tgz +0 -0
  50. package/components/tryghost-mentions-email-report-5.86.1.tgz +0 -0
  51. package/components/tryghost-milestones-5.86.1.tgz +0 -0
  52. package/components/{tryghost-minifier-5.85.2.tgz → tryghost-minifier-5.86.1.tgz} +0 -0
  53. package/components/tryghost-model-to-domain-event-interceptor-5.86.1.tgz +0 -0
  54. package/components/tryghost-mw-api-version-mismatch-5.86.1.tgz +0 -0
  55. package/components/tryghost-mw-cache-control-5.86.1.tgz +0 -0
  56. package/components/tryghost-mw-error-handler-5.86.1.tgz +0 -0
  57. package/components/{tryghost-mw-session-from-token-5.85.2.tgz → tryghost-mw-session-from-token-5.86.1.tgz} +0 -0
  58. package/components/tryghost-mw-update-user-last-seen-5.86.1.tgz +0 -0
  59. package/components/tryghost-mw-version-match-5.86.1.tgz +0 -0
  60. package/components/tryghost-mw-vhost-5.86.1.tgz +0 -0
  61. package/components/tryghost-nql-filter-expansions-5.86.1.tgz +0 -0
  62. package/components/tryghost-oembed-service-5.86.1.tgz +0 -0
  63. package/components/tryghost-package-json-5.86.1.tgz +0 -0
  64. package/components/tryghost-post-events-5.86.1.tgz +0 -0
  65. package/components/tryghost-post-revisions-5.86.1.tgz +0 -0
  66. package/components/tryghost-posts-service-5.86.1.tgz +0 -0
  67. package/components/tryghost-recommendations-5.86.1.tgz +0 -0
  68. package/components/tryghost-referrers-5.86.1.tgz +0 -0
  69. package/components/{tryghost-security-5.85.2.tgz → tryghost-security-5.86.1.tgz} +0 -0
  70. package/components/{tryghost-session-service-5.85.2.tgz → tryghost-session-service-5.86.1.tgz} +0 -0
  71. package/components/tryghost-settings-path-manager-5.86.1.tgz +0 -0
  72. package/components/tryghost-slack-notifications-5.86.1.tgz +0 -0
  73. package/components/{tryghost-staff-service-5.85.2.tgz → tryghost-staff-service-5.86.1.tgz} +0 -0
  74. package/components/tryghost-stats-service-5.86.1.tgz +0 -0
  75. package/components/{tryghost-tiers-5.85.2.tgz → tryghost-tiers-5.86.1.tgz} +0 -0
  76. package/components/{tryghost-update-check-service-5.85.2.tgz → tryghost-update-check-service-5.86.1.tgz} +0 -0
  77. package/components/tryghost-verification-trigger-5.86.1.tgz +0 -0
  78. package/components/tryghost-version-notifications-data-service-5.86.1.tgz +0 -0
  79. package/components/{tryghost-webmentions-5.85.2.tgz → tryghost-webmentions-5.86.1.tgz} +0 -0
  80. package/core/boot.js +7 -6
  81. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +3 -6989
  82. package/core/built/admin/assets/admin-x-activitypub/index-8aaa062c.mjs +14980 -0
  83. package/core/built/admin/assets/admin-x-activitypub/modals-124e649f.mjs +521 -0
  84. package/core/built/admin/assets/admin-x-activitypub/styles/reader.css +1928 -0
  85. package/core/built/admin/assets/admin-x-demo/admin-x-demo.js +1 -1
  86. package/core/built/admin/assets/admin-x-demo/{index-76afb59a.mjs → index-ea257d67.mjs} +4 -4
  87. package/core/built/admin/assets/admin-x-demo/{modals-e22a0556.mjs → modals-0790023d.mjs} +2 -2
  88. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-bc39a650.mjs → CodeEditorView-7dd72fff.mjs} +2 -2
  89. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  90. package/core/built/admin/assets/admin-x-settings/{index-ab51beed.mjs → index-3b15dfb3.mjs} +2 -2
  91. package/core/built/admin/assets/admin-x-settings/{index-f1611931.mjs → index-8b8bf7d6.mjs} +2254 -2270
  92. package/core/built/admin/assets/admin-x-settings/{modals-7d0e7ce5.mjs → modals-71f5a60d.mjs} +10 -6
  93. package/core/built/admin/assets/{chunk.216.700faeec5043322dc8d5.js → chunk.216.1641331b33471771559d.js} +3 -3
  94. package/core/built/admin/assets/{chunk.524.c89bfae0cab046c8c5a4.js → chunk.524.1f4d5090856e8f276abe.js} +5 -5
  95. package/core/built/admin/assets/{chunk.582.9dd2b9a65b048e650888.js → chunk.582.591841f06bb7c4fb603e.js} +6 -6
  96. package/core/built/admin/assets/{ghost-da719d2c50388e7f72e596e1a8b99e80.css → ghost-117facae643a21dde076079b84fce471.css} +1 -1
  97. package/core/built/admin/assets/{ghost-648739878fcdb7a22ab135757c8e3fab.js → ghost-cc7512accd98e0fa3cc0906c52204a55.js} +120 -129
  98. package/core/built/admin/assets/{ghost-dark-3cbc750010886456986b77ff03283139.css → ghost-dark-031957661056b00048f03aac0618c480.css} +1 -1
  99. package/core/built/admin/assets/koenig-lexical/index.css +1 -1
  100. package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +8740 -8715
  101. package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +110 -108
  102. package/core/built/admin/index.html +5 -5
  103. package/core/frontend/helpers/ghost_head.js +12 -13
  104. package/core/frontend/web/site.js +0 -33
  105. package/core/server/GhostServer.js +2 -2
  106. package/core/server/data/db/index.js +0 -9
  107. package/core/server/web/api/endpoints/admin/app.js +1 -1
  108. package/core/server/web/api/middleware/upload.js +9 -5
  109. package/core/shared/instrumentation.js +34 -0
  110. package/core/shared/labs.js +2 -4
  111. package/package.json +165 -156
  112. package/yarn.lock +1354 -300
  113. package/components/tryghost-adapter-cache-memory-ttl-5.85.2.tgz +0 -0
  114. package/components/tryghost-announcement-bar-settings-5.85.2.tgz +0 -0
  115. package/components/tryghost-api-version-compatibility-service-5.85.2.tgz +0 -0
  116. package/components/tryghost-audience-feedback-5.85.2.tgz +0 -0
  117. package/components/tryghost-bookshelf-repository-5.85.2.tgz +0 -0
  118. package/components/tryghost-bootstrap-socket-5.85.2.tgz +0 -0
  119. package/components/tryghost-collections-5.85.2.tgz +0 -0
  120. package/components/tryghost-custom-theme-settings-service-5.85.2.tgz +0 -0
  121. package/components/tryghost-data-generator-5.85.2.tgz +0 -0
  122. package/components/tryghost-domain-events-5.85.2.tgz +0 -0
  123. package/components/tryghost-donations-5.85.2.tgz +0 -0
  124. package/components/tryghost-dynamic-routing-events-5.85.2.tgz +0 -0
  125. package/components/tryghost-email-analytics-service-5.85.2.tgz +0 -0
  126. package/components/tryghost-email-content-generator-5.85.2.tgz +0 -0
  127. package/components/tryghost-email-service-5.85.2.tgz +0 -0
  128. package/components/tryghost-email-suppression-list-5.85.2.tgz +0 -0
  129. package/components/tryghost-express-dynamic-redirects-5.85.2.tgz +0 -0
  130. package/components/tryghost-external-media-inliner-5.85.2.tgz +0 -0
  131. package/components/tryghost-extract-api-key-5.85.2.tgz +0 -0
  132. package/components/tryghost-ghost-5.85.2.tgz +0 -0
  133. package/components/tryghost-html-to-plaintext-5.85.2.tgz +0 -0
  134. package/components/tryghost-i18n-5.85.2.tgz +0 -0
  135. package/components/tryghost-importer-handler-content-files-5.85.2.tgz +0 -0
  136. package/components/tryghost-importer-revue-5.85.2.tgz +0 -0
  137. package/components/tryghost-in-memory-repository-5.85.2.tgz +0 -0
  138. package/components/tryghost-link-redirects-5.85.2.tgz +0 -0
  139. package/components/tryghost-link-replacer-5.85.2.tgz +0 -0
  140. package/components/tryghost-link-tracking-5.85.2.tgz +0 -0
  141. package/components/tryghost-magic-link-5.85.2.tgz +0 -0
  142. package/components/tryghost-mail-events-5.85.2.tgz +0 -0
  143. package/components/tryghost-members-csv-5.85.2.tgz +0 -0
  144. package/components/tryghost-members-events-service-5.85.2.tgz +0 -0
  145. package/components/tryghost-members-importer-5.85.2.tgz +0 -0
  146. package/components/tryghost-members-payments-5.85.2.tgz +0 -0
  147. package/components/tryghost-members-stripe-service-5.85.2.tgz +0 -0
  148. package/components/tryghost-mentions-email-report-5.85.2.tgz +0 -0
  149. package/components/tryghost-milestones-5.85.2.tgz +0 -0
  150. package/components/tryghost-model-to-domain-event-interceptor-5.85.2.tgz +0 -0
  151. package/components/tryghost-mw-api-version-mismatch-5.85.2.tgz +0 -0
  152. package/components/tryghost-mw-cache-control-5.85.2.tgz +0 -0
  153. package/components/tryghost-mw-error-handler-5.85.2.tgz +0 -0
  154. package/components/tryghost-mw-update-user-last-seen-5.85.2.tgz +0 -0
  155. package/components/tryghost-mw-version-match-5.85.2.tgz +0 -0
  156. package/components/tryghost-mw-vhost-5.85.2.tgz +0 -0
  157. package/components/tryghost-nql-filter-expansions-5.85.2.tgz +0 -0
  158. package/components/tryghost-oembed-service-5.85.2.tgz +0 -0
  159. package/components/tryghost-package-json-5.85.2.tgz +0 -0
  160. package/components/tryghost-post-events-5.85.2.tgz +0 -0
  161. package/components/tryghost-post-revisions-5.85.2.tgz +0 -0
  162. package/components/tryghost-posts-service-5.85.2.tgz +0 -0
  163. package/components/tryghost-recommendations-5.85.2.tgz +0 -0
  164. package/components/tryghost-referrers-5.85.2.tgz +0 -0
  165. package/components/tryghost-settings-path-manager-5.85.2.tgz +0 -0
  166. package/components/tryghost-slack-notifications-5.85.2.tgz +0 -0
  167. package/components/tryghost-stats-service-5.85.2.tgz +0 -0
  168. package/components/tryghost-verification-trigger-5.85.2.tgz +0 -0
  169. package/components/tryghost-version-notifications-data-service-5.85.2.tgz +0 -0
  170. /package/core/built/admin/assets/{chunk.216.700faeec5043322dc8d5.js.LICENSE.txt → chunk.216.1641331b33471771559d.js.LICENSE.txt} +0 -0
package/core/boot.js CHANGED
@@ -388,8 +388,6 @@ async function initNestDependencies() {
388
388
  debug('Begin: initNestDependencies');
389
389
  const GhostNestApp = require('@tryghost/ghost');
390
390
  const providers = [];
391
- const urlUtils = require('./shared/url-utils');
392
- const activityPubBaseUrl = new URL('activitypub', urlUtils.urlFor('home', true));
393
391
  providers.push({
394
392
  provide: 'logger',
395
393
  useValue: require('@tryghost/logging')
@@ -402,9 +400,6 @@ async function initNestDependencies() {
402
400
  }, {
403
401
  provide: 'DomainEvents',
404
402
  useValue: require('@tryghost/domain-events')
405
- }, {
406
- provide: 'ActivityPubBaseURL',
407
- useValue: activityPubBaseUrl
408
403
  }, {
409
404
  provide: 'SettingsCache',
410
405
  useValue: require('./shared/settings-cache')
@@ -514,6 +509,11 @@ async function bootGhost({backend = true, frontend = true, server = true} = {})
514
509
 
515
510
  try {
516
511
  // 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
517
 
518
518
  // Sentry must be initialized early, but requires config
519
519
  debug('Begin: Load sentry');
@@ -536,8 +536,9 @@ async function bootGhost({backend = true, frontend = true, server = true} = {})
536
536
  debug('Begin: Get DB ready');
537
537
  await initDatabase({config});
538
538
  bootLogger.log('database ready');
539
+ const connection = require('./server/data/db/connection');
539
540
  sentry.initQueryTracing(
540
- require('./server/data/db/connection')
541
+ connection
541
542
  );
542
543
  debug('End: Get DB ready');
543
544