ghost 5.28.0 → 5.30.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 (124) hide show
  1. package/components/tryghost-adapter-manager-5.30.0.tgz +0 -0
  2. package/components/{tryghost-api-framework-5.28.0.tgz → tryghost-api-framework-5.30.0.tgz} +0 -0
  3. package/components/tryghost-api-version-compatibility-service-5.30.0.tgz +0 -0
  4. package/components/tryghost-audience-feedback-5.30.0.tgz +0 -0
  5. package/components/tryghost-bootstrap-socket-5.30.0.tgz +0 -0
  6. package/components/{tryghost-constants-5.28.0.tgz → tryghost-constants-5.30.0.tgz} +0 -0
  7. package/components/tryghost-custom-theme-settings-service-5.30.0.tgz +0 -0
  8. package/components/{tryghost-data-generator-5.28.0.tgz → tryghost-data-generator-5.30.0.tgz} +0 -0
  9. package/components/tryghost-domain-events-5.30.0.tgz +0 -0
  10. package/components/tryghost-email-analytics-provider-mailgun-5.30.0.tgz +0 -0
  11. package/components/tryghost-email-analytics-service-5.30.0.tgz +0 -0
  12. package/components/{tryghost-email-content-generator-5.28.0.tgz → tryghost-email-content-generator-5.30.0.tgz} +0 -0
  13. package/components/tryghost-email-events-5.30.0.tgz +0 -0
  14. package/components/tryghost-email-service-5.30.0.tgz +0 -0
  15. package/components/tryghost-email-suppression-list-5.30.0.tgz +0 -0
  16. package/components/tryghost-express-dynamic-redirects-5.30.0.tgz +0 -0
  17. package/components/tryghost-extract-api-key-5.30.0.tgz +0 -0
  18. package/components/tryghost-html-to-plaintext-5.30.0.tgz +0 -0
  19. package/components/tryghost-importer-revue-5.30.0.tgz +0 -0
  20. package/components/tryghost-job-manager-5.30.0.tgz +0 -0
  21. package/components/tryghost-link-redirects-5.30.0.tgz +0 -0
  22. package/components/tryghost-link-replacer-5.30.0.tgz +0 -0
  23. package/components/tryghost-link-tracking-5.30.0.tgz +0 -0
  24. package/components/tryghost-magic-link-5.30.0.tgz +0 -0
  25. package/components/tryghost-mailgun-client-5.30.0.tgz +0 -0
  26. package/components/{tryghost-member-attribution-5.28.0.tgz → tryghost-member-attribution-5.30.0.tgz} +0 -0
  27. package/components/tryghost-member-events-5.30.0.tgz +0 -0
  28. package/components/tryghost-members-api-5.30.0.tgz +0 -0
  29. package/components/tryghost-members-csv-5.30.0.tgz +0 -0
  30. package/components/{tryghost-members-events-service-5.28.0.tgz → tryghost-members-events-service-5.30.0.tgz} +0 -0
  31. package/components/tryghost-members-importer-5.30.0.tgz +0 -0
  32. package/components/tryghost-members-offers-5.30.0.tgz +0 -0
  33. package/components/tryghost-members-payments-5.30.0.tgz +0 -0
  34. package/components/tryghost-members-ssr-5.30.0.tgz +0 -0
  35. package/components/tryghost-members-stripe-service-5.30.0.tgz +0 -0
  36. package/components/{tryghost-minifier-5.28.0.tgz → tryghost-minifier-5.30.0.tgz} +0 -0
  37. package/components/tryghost-mw-api-version-mismatch-5.30.0.tgz +0 -0
  38. package/components/{tryghost-mw-cache-control-5.28.0.tgz → tryghost-mw-cache-control-5.30.0.tgz} +0 -0
  39. package/components/tryghost-mw-error-handler-5.30.0.tgz +0 -0
  40. package/components/tryghost-mw-session-from-token-5.30.0.tgz +0 -0
  41. package/components/tryghost-mw-update-user-last-seen-5.30.0.tgz +0 -0
  42. package/components/tryghost-mw-vhost-5.30.0.tgz +0 -0
  43. package/components/tryghost-oembed-service-5.30.0.tgz +0 -0
  44. package/components/tryghost-package-json-5.30.0.tgz +0 -0
  45. package/components/tryghost-referrers-5.30.0.tgz +0 -0
  46. package/components/tryghost-security-5.30.0.tgz +0 -0
  47. package/components/tryghost-session-service-5.30.0.tgz +0 -0
  48. package/components/tryghost-settings-path-manager-5.30.0.tgz +0 -0
  49. package/components/{tryghost-staff-service-5.28.0.tgz → tryghost-staff-service-5.30.0.tgz} +0 -0
  50. package/components/tryghost-stats-service-5.30.0.tgz +0 -0
  51. package/components/{tryghost-tiers-5.28.0.tgz → tryghost-tiers-5.30.0.tgz} +0 -0
  52. package/components/tryghost-update-check-service-5.30.0.tgz +0 -0
  53. package/components/tryghost-verification-trigger-5.30.0.tgz +0 -0
  54. package/components/tryghost-version-notifications-data-service-5.30.0.tgz +0 -0
  55. package/core/built/admin/assets/{chunk.143.16c07be45a0c39262995.js → chunk.143.f9aa3f7f1c45d1d921cd.js} +6 -6
  56. package/core/built/admin/assets/{chunk.178.93714202b2fc31b2b86a.js → chunk.178.55d68318431345983298.js} +4 -4
  57. package/core/built/admin/assets/{chunk.380.de3a9bf5161ab5300d23.js → chunk.47.f29250a4560868c21293.js} +112 -112
  58. package/core/built/admin/assets/{chunk.380.de3a9bf5161ab5300d23.js.LICENSE.txt → chunk.47.f29250a4560868c21293.js.LICENSE.txt} +0 -0
  59. package/core/built/admin/assets/{chunk.507.18a4d11e74a0b6e03a69.js → chunk.507.aa38cb08f25bae1d4e76.js} +1 -1
  60. package/core/built/admin/assets/{ghost-d8834e309d8e4800057d6d17fed9415b.js → ghost-23dc524374e35a582886c36f7dacdb05.js} +484 -485
  61. package/core/built/admin/assets/ghost-d3e45940f0f1601232d464d0b429d45f.css +1 -0
  62. package/core/built/admin/assets/ghost-dark-c8dc36895dfcbc03f0edd94311c65bfd.css +1 -0
  63. package/core/built/admin/assets/{vendor-dbf84caa0968ef5da0486055da6636da.js → vendor-fadbf85ad92c591dc4bd3755312b6ddf.js} +15 -17
  64. package/core/built/admin/index.html +6 -6
  65. package/core/server/api/endpoints/email-previews.js +2 -2
  66. package/core/server/data/migrations/versions/5.29/2023-01-11-02-45-truncate-suppressions.js +12 -0
  67. package/core/server/data/migrations/versions/5.30/2023-01-13-04-25-unsubscribe-suppressed-emails.js +21 -0
  68. package/core/server/models/member.js +10 -1
  69. package/core/server/services/email-suppression-list/MailgunEmailSuppressionList.js +1 -1
  70. package/core/server/services/mega/feedback-buttons.js +9 -103
  71. package/core/server/services/mega/mega.js +9 -3
  72. package/core/server/services/mega/template.js +1 -3
  73. package/core/shared/config/defaults.json +1 -1
  74. package/core/shared/labs.js +4 -4
  75. package/loggingrc.js +3 -0
  76. package/package.json +113 -113
  77. package/yarn.lock +1409 -1422
  78. package/components/tryghost-adapter-manager-5.28.0.tgz +0 -0
  79. package/components/tryghost-api-version-compatibility-service-5.28.0.tgz +0 -0
  80. package/components/tryghost-audience-feedback-5.28.0.tgz +0 -0
  81. package/components/tryghost-bootstrap-socket-5.28.0.tgz +0 -0
  82. package/components/tryghost-custom-theme-settings-service-5.28.0.tgz +0 -0
  83. package/components/tryghost-domain-events-5.28.0.tgz +0 -0
  84. package/components/tryghost-email-analytics-provider-mailgun-5.28.0.tgz +0 -0
  85. package/components/tryghost-email-analytics-service-5.28.0.tgz +0 -0
  86. package/components/tryghost-email-events-5.28.0.tgz +0 -0
  87. package/components/tryghost-email-service-5.28.0.tgz +0 -0
  88. package/components/tryghost-email-suppression-list-5.28.0.tgz +0 -0
  89. package/components/tryghost-express-dynamic-redirects-5.28.0.tgz +0 -0
  90. package/components/tryghost-extract-api-key-5.28.0.tgz +0 -0
  91. package/components/tryghost-html-to-plaintext-5.28.0.tgz +0 -0
  92. package/components/tryghost-importer-revue-5.28.0.tgz +0 -0
  93. package/components/tryghost-job-manager-5.28.0.tgz +0 -0
  94. package/components/tryghost-link-redirects-5.28.0.tgz +0 -0
  95. package/components/tryghost-link-replacer-5.28.0.tgz +0 -0
  96. package/components/tryghost-link-tracking-5.28.0.tgz +0 -0
  97. package/components/tryghost-magic-link-5.28.0.tgz +0 -0
  98. package/components/tryghost-mailgun-client-5.28.0.tgz +0 -0
  99. package/components/tryghost-member-events-5.28.0.tgz +0 -0
  100. package/components/tryghost-members-api-5.28.0.tgz +0 -0
  101. package/components/tryghost-members-csv-5.28.0.tgz +0 -0
  102. package/components/tryghost-members-importer-5.28.0.tgz +0 -0
  103. package/components/tryghost-members-offers-5.28.0.tgz +0 -0
  104. package/components/tryghost-members-payments-5.28.0.tgz +0 -0
  105. package/components/tryghost-members-ssr-5.28.0.tgz +0 -0
  106. package/components/tryghost-members-stripe-service-5.28.0.tgz +0 -0
  107. package/components/tryghost-mw-api-version-mismatch-5.28.0.tgz +0 -0
  108. package/components/tryghost-mw-error-handler-5.28.0.tgz +0 -0
  109. package/components/tryghost-mw-session-from-token-5.28.0.tgz +0 -0
  110. package/components/tryghost-mw-update-user-last-seen-5.28.0.tgz +0 -0
  111. package/components/tryghost-mw-vhost-5.28.0.tgz +0 -0
  112. package/components/tryghost-oembed-service-5.28.0.tgz +0 -0
  113. package/components/tryghost-package-json-5.28.0.tgz +0 -0
  114. package/components/tryghost-referrers-5.28.0.tgz +0 -0
  115. package/components/tryghost-security-5.28.0.tgz +0 -0
  116. package/components/tryghost-session-service-5.28.0.tgz +0 -0
  117. package/components/tryghost-settings-path-manager-5.28.0.tgz +0 -0
  118. package/components/tryghost-stats-service-5.28.0.tgz +0 -0
  119. package/components/tryghost-update-check-service-5.28.0.tgz +0 -0
  120. package/components/tryghost-verification-trigger-5.28.0.tgz +0 -0
  121. package/components/tryghost-version-notifications-data-service-5.28.0.tgz +0 -0
  122. package/core/built/admin/assets/ghost-1532517fd24b662b42a85ea0881865a5.css +0 -1
  123. package/core/built/admin/assets/ghost-dark-3b8aff3cf9db67f6ad59abec25ae98be.css +0 -1
  124. package/core/frontend/helpers/lang.js +0 -20
@@ -1,20 +0,0 @@
1
- // # lang helper
2
- // {{lang}} gives the current language tag
3
- // Usage example: <html lang="{{lang}}">
4
- //
5
- // Examples of language tags from RFC 5646:
6
- // de (German)
7
- // fr (French)
8
- // ja (Japanese)
9
- // en-US (English as used in the United States)
10
- //
11
- // Standard:
12
- // Language tags in HTML and XML
13
- // https://www.w3.org/International/articles/language-tags/
14
-
15
- const {SafeString} = require('../services/handlebars');
16
-
17
- module.exports = function lang(options) {
18
- const locale = options.data.site.locale;
19
- return new SafeString(locale);
20
- };