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.
- package/components/tryghost-adapter-manager-5.30.0.tgz +0 -0
- package/components/{tryghost-api-framework-5.28.0.tgz → tryghost-api-framework-5.30.0.tgz} +0 -0
- package/components/tryghost-api-version-compatibility-service-5.30.0.tgz +0 -0
- package/components/tryghost-audience-feedback-5.30.0.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.30.0.tgz +0 -0
- package/components/{tryghost-constants-5.28.0.tgz → tryghost-constants-5.30.0.tgz} +0 -0
- package/components/tryghost-custom-theme-settings-service-5.30.0.tgz +0 -0
- package/components/{tryghost-data-generator-5.28.0.tgz → tryghost-data-generator-5.30.0.tgz} +0 -0
- package/components/tryghost-domain-events-5.30.0.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.30.0.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.30.0.tgz +0 -0
- package/components/{tryghost-email-content-generator-5.28.0.tgz → tryghost-email-content-generator-5.30.0.tgz} +0 -0
- package/components/tryghost-email-events-5.30.0.tgz +0 -0
- package/components/tryghost-email-service-5.30.0.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.30.0.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.30.0.tgz +0 -0
- package/components/tryghost-extract-api-key-5.30.0.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.30.0.tgz +0 -0
- package/components/tryghost-importer-revue-5.30.0.tgz +0 -0
- package/components/tryghost-job-manager-5.30.0.tgz +0 -0
- package/components/tryghost-link-redirects-5.30.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.30.0.tgz +0 -0
- package/components/tryghost-link-tracking-5.30.0.tgz +0 -0
- package/components/tryghost-magic-link-5.30.0.tgz +0 -0
- package/components/tryghost-mailgun-client-5.30.0.tgz +0 -0
- package/components/{tryghost-member-attribution-5.28.0.tgz → tryghost-member-attribution-5.30.0.tgz} +0 -0
- package/components/tryghost-member-events-5.30.0.tgz +0 -0
- package/components/tryghost-members-api-5.30.0.tgz +0 -0
- package/components/tryghost-members-csv-5.30.0.tgz +0 -0
- package/components/{tryghost-members-events-service-5.28.0.tgz → tryghost-members-events-service-5.30.0.tgz} +0 -0
- package/components/tryghost-members-importer-5.30.0.tgz +0 -0
- package/components/tryghost-members-offers-5.30.0.tgz +0 -0
- package/components/tryghost-members-payments-5.30.0.tgz +0 -0
- package/components/tryghost-members-ssr-5.30.0.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.30.0.tgz +0 -0
- package/components/{tryghost-minifier-5.28.0.tgz → tryghost-minifier-5.30.0.tgz} +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.30.0.tgz +0 -0
- package/components/{tryghost-mw-cache-control-5.28.0.tgz → tryghost-mw-cache-control-5.30.0.tgz} +0 -0
- package/components/tryghost-mw-error-handler-5.30.0.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.30.0.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.30.0.tgz +0 -0
- package/components/tryghost-mw-vhost-5.30.0.tgz +0 -0
- package/components/tryghost-oembed-service-5.30.0.tgz +0 -0
- package/components/tryghost-package-json-5.30.0.tgz +0 -0
- package/components/tryghost-referrers-5.30.0.tgz +0 -0
- package/components/tryghost-security-5.30.0.tgz +0 -0
- package/components/tryghost-session-service-5.30.0.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.30.0.tgz +0 -0
- package/components/{tryghost-staff-service-5.28.0.tgz → tryghost-staff-service-5.30.0.tgz} +0 -0
- package/components/tryghost-stats-service-5.30.0.tgz +0 -0
- package/components/{tryghost-tiers-5.28.0.tgz → tryghost-tiers-5.30.0.tgz} +0 -0
- package/components/tryghost-update-check-service-5.30.0.tgz +0 -0
- package/components/tryghost-verification-trigger-5.30.0.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.30.0.tgz +0 -0
- package/core/built/admin/assets/{chunk.143.16c07be45a0c39262995.js → chunk.143.f9aa3f7f1c45d1d921cd.js} +6 -6
- package/core/built/admin/assets/{chunk.178.93714202b2fc31b2b86a.js → chunk.178.55d68318431345983298.js} +4 -4
- package/core/built/admin/assets/{chunk.380.de3a9bf5161ab5300d23.js → chunk.47.f29250a4560868c21293.js} +112 -112
- package/core/built/admin/assets/{chunk.380.de3a9bf5161ab5300d23.js.LICENSE.txt → chunk.47.f29250a4560868c21293.js.LICENSE.txt} +0 -0
- package/core/built/admin/assets/{chunk.507.18a4d11e74a0b6e03a69.js → chunk.507.aa38cb08f25bae1d4e76.js} +1 -1
- package/core/built/admin/assets/{ghost-d8834e309d8e4800057d6d17fed9415b.js → ghost-23dc524374e35a582886c36f7dacdb05.js} +484 -485
- package/core/built/admin/assets/ghost-d3e45940f0f1601232d464d0b429d45f.css +1 -0
- package/core/built/admin/assets/ghost-dark-c8dc36895dfcbc03f0edd94311c65bfd.css +1 -0
- package/core/built/admin/assets/{vendor-dbf84caa0968ef5da0486055da6636da.js → vendor-fadbf85ad92c591dc4bd3755312b6ddf.js} +15 -17
- package/core/built/admin/index.html +6 -6
- package/core/server/api/endpoints/email-previews.js +2 -2
- package/core/server/data/migrations/versions/5.29/2023-01-11-02-45-truncate-suppressions.js +12 -0
- package/core/server/data/migrations/versions/5.30/2023-01-13-04-25-unsubscribe-suppressed-emails.js +21 -0
- package/core/server/models/member.js +10 -1
- package/core/server/services/email-suppression-list/MailgunEmailSuppressionList.js +1 -1
- package/core/server/services/mega/feedback-buttons.js +9 -103
- package/core/server/services/mega/mega.js +9 -3
- package/core/server/services/mega/template.js +1 -3
- package/core/shared/config/defaults.json +1 -1
- package/core/shared/labs.js +4 -4
- package/loggingrc.js +3 -0
- package/package.json +113 -113
- package/yarn.lock +1409 -1422
- package/components/tryghost-adapter-manager-5.28.0.tgz +0 -0
- package/components/tryghost-api-version-compatibility-service-5.28.0.tgz +0 -0
- package/components/tryghost-audience-feedback-5.28.0.tgz +0 -0
- package/components/tryghost-bootstrap-socket-5.28.0.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.28.0.tgz +0 -0
- package/components/tryghost-domain-events-5.28.0.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.28.0.tgz +0 -0
- package/components/tryghost-email-analytics-service-5.28.0.tgz +0 -0
- package/components/tryghost-email-events-5.28.0.tgz +0 -0
- package/components/tryghost-email-service-5.28.0.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.28.0.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.28.0.tgz +0 -0
- package/components/tryghost-extract-api-key-5.28.0.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.28.0.tgz +0 -0
- package/components/tryghost-importer-revue-5.28.0.tgz +0 -0
- package/components/tryghost-job-manager-5.28.0.tgz +0 -0
- package/components/tryghost-link-redirects-5.28.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.28.0.tgz +0 -0
- package/components/tryghost-link-tracking-5.28.0.tgz +0 -0
- package/components/tryghost-magic-link-5.28.0.tgz +0 -0
- package/components/tryghost-mailgun-client-5.28.0.tgz +0 -0
- package/components/tryghost-member-events-5.28.0.tgz +0 -0
- package/components/tryghost-members-api-5.28.0.tgz +0 -0
- package/components/tryghost-members-csv-5.28.0.tgz +0 -0
- package/components/tryghost-members-importer-5.28.0.tgz +0 -0
- package/components/tryghost-members-offers-5.28.0.tgz +0 -0
- package/components/tryghost-members-payments-5.28.0.tgz +0 -0
- package/components/tryghost-members-ssr-5.28.0.tgz +0 -0
- package/components/tryghost-members-stripe-service-5.28.0.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.28.0.tgz +0 -0
- package/components/tryghost-mw-error-handler-5.28.0.tgz +0 -0
- package/components/tryghost-mw-session-from-token-5.28.0.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.28.0.tgz +0 -0
- package/components/tryghost-mw-vhost-5.28.0.tgz +0 -0
- package/components/tryghost-oembed-service-5.28.0.tgz +0 -0
- package/components/tryghost-package-json-5.28.0.tgz +0 -0
- package/components/tryghost-referrers-5.28.0.tgz +0 -0
- package/components/tryghost-security-5.28.0.tgz +0 -0
- package/components/tryghost-session-service-5.28.0.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.28.0.tgz +0 -0
- package/components/tryghost-stats-service-5.28.0.tgz +0 -0
- package/components/tryghost-update-check-service-5.28.0.tgz +0 -0
- package/components/tryghost-verification-trigger-5.28.0.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.28.0.tgz +0 -0
- package/core/built/admin/assets/ghost-1532517fd24b662b42a85ea0881865a5.css +0 -1
- package/core/built/admin/assets/ghost-dark-3b8aff3cf9db67f6ad59abec25ae98be.css +0 -1
- 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
|
-
};
|