ghost 5.73.2 → 5.74.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-cache-memory-ttl-5.74.0.tgz +0 -0
- package/components/tryghost-adapter-cache-redis-5.74.0.tgz +0 -0
- package/components/{tryghost-adapter-manager-5.73.2.tgz → tryghost-adapter-manager-5.74.0.tgz} +0 -0
- package/components/tryghost-announcement-bar-settings-5.74.0.tgz +0 -0
- package/components/{tryghost-api-framework-5.73.2.tgz → tryghost-api-framework-5.74.0.tgz} +0 -0
- package/components/tryghost-api-version-compatibility-service-5.74.0.tgz +0 -0
- package/components/{tryghost-audience-feedback-5.73.2.tgz → tryghost-audience-feedback-5.74.0.tgz} +0 -0
- package/components/tryghost-bookshelf-repository-5.74.0.tgz +0 -0
- package/components/{tryghost-bootstrap-socket-5.73.2.tgz → tryghost-bootstrap-socket-5.74.0.tgz} +0 -0
- package/components/tryghost-collections-5.74.0.tgz +0 -0
- package/components/tryghost-constants-5.74.0.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.74.0.tgz +0 -0
- package/components/tryghost-data-generator-5.74.0.tgz +0 -0
- package/components/tryghost-domain-events-5.74.0.tgz +0 -0
- package/components/tryghost-donations-5.74.0.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.74.0.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.74.0.tgz +0 -0
- package/components/{tryghost-email-analytics-service-5.73.2.tgz → tryghost-email-analytics-service-5.74.0.tgz} +0 -0
- package/components/tryghost-email-content-generator-5.74.0.tgz +0 -0
- package/components/{tryghost-email-events-5.73.2.tgz → tryghost-email-events-5.74.0.tgz} +0 -0
- package/components/tryghost-email-service-5.74.0.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.74.0.tgz +0 -0
- package/components/tryghost-event-aware-cache-wrapper-5.74.0.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.74.0.tgz +0 -0
- package/components/tryghost-external-media-inliner-5.74.0.tgz +0 -0
- package/components/tryghost-extract-api-key-5.74.0.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.74.0.tgz +0 -0
- package/components/tryghost-i18n-5.74.0.tgz +0 -0
- package/components/tryghost-importer-handler-content-files-5.74.0.tgz +0 -0
- package/components/{tryghost-importer-revue-5.73.2.tgz → tryghost-importer-revue-5.74.0.tgz} +0 -0
- package/components/tryghost-in-memory-repository-5.74.0.tgz +0 -0
- package/components/{tryghost-job-manager-5.73.2.tgz → tryghost-job-manager-5.74.0.tgz} +0 -0
- package/components/tryghost-link-redirects-5.74.0.tgz +0 -0
- package/components/tryghost-link-replacer-5.74.0.tgz +0 -0
- package/components/tryghost-link-tracking-5.74.0.tgz +0 -0
- package/components/{tryghost-magic-link-5.73.2.tgz → tryghost-magic-link-5.74.0.tgz} +0 -0
- package/components/tryghost-mail-events-5.74.0.tgz +0 -0
- package/components/tryghost-mailgun-client-5.74.0.tgz +0 -0
- package/components/{tryghost-member-attribution-5.73.2.tgz → tryghost-member-attribution-5.74.0.tgz} +0 -0
- package/components/tryghost-member-events-5.74.0.tgz +0 -0
- package/components/tryghost-members-api-5.74.0.tgz +0 -0
- package/components/{tryghost-members-csv-5.73.2.tgz → tryghost-members-csv-5.74.0.tgz} +0 -0
- package/components/tryghost-members-events-service-5.74.0.tgz +0 -0
- package/components/{tryghost-members-importer-5.73.2.tgz → tryghost-members-importer-5.74.0.tgz} +0 -0
- package/components/tryghost-members-offers-5.74.0.tgz +0 -0
- package/components/tryghost-members-payments-5.74.0.tgz +0 -0
- package/components/tryghost-members-ssr-5.74.0.tgz +0 -0
- package/components/{tryghost-members-stripe-service-5.73.2.tgz → tryghost-members-stripe-service-5.74.0.tgz} +0 -0
- package/components/tryghost-mentions-email-report-5.74.0.tgz +0 -0
- package/components/tryghost-milestones-5.74.0.tgz +0 -0
- package/components/{tryghost-minifier-5.73.2.tgz → tryghost-minifier-5.74.0.tgz} +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.74.0.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.74.0.tgz +0 -0
- package/components/{tryghost-mw-cache-control-5.73.2.tgz → tryghost-mw-cache-control-5.74.0.tgz} +0 -0
- package/components/{tryghost-mw-error-handler-5.73.2.tgz → tryghost-mw-error-handler-5.74.0.tgz} +0 -0
- package/components/{tryghost-mw-session-from-token-5.73.2.tgz → tryghost-mw-session-from-token-5.74.0.tgz} +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.74.0.tgz +0 -0
- package/components/tryghost-mw-version-match-5.74.0.tgz +0 -0
- package/components/tryghost-mw-vhost-5.74.0.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.74.0.tgz +0 -0
- package/components/{tryghost-oembed-service-5.73.2.tgz → tryghost-oembed-service-5.74.0.tgz} +0 -0
- package/components/tryghost-package-json-5.74.0.tgz +0 -0
- package/components/tryghost-post-events-5.74.0.tgz +0 -0
- package/components/tryghost-post-revisions-5.74.0.tgz +0 -0
- package/components/tryghost-posts-service-5.74.0.tgz +0 -0
- package/components/tryghost-recommendations-5.74.0.tgz +0 -0
- package/components/{tryghost-referrers-5.73.2.tgz → tryghost-referrers-5.74.0.tgz} +0 -0
- package/components/{tryghost-security-5.73.2.tgz → tryghost-security-5.74.0.tgz} +0 -0
- package/components/{tryghost-session-service-5.73.2.tgz → tryghost-session-service-5.74.0.tgz} +0 -0
- package/components/tryghost-settings-path-manager-5.74.0.tgz +0 -0
- package/components/tryghost-slack-notifications-5.74.0.tgz +0 -0
- package/components/{tryghost-staff-service-5.73.2.tgz → tryghost-staff-service-5.74.0.tgz} +0 -0
- package/components/{tryghost-stats-service-5.73.2.tgz → tryghost-stats-service-5.74.0.tgz} +0 -0
- package/components/tryghost-tiers-5.74.0.tgz +0 -0
- package/components/{tryghost-update-check-service-5.73.2.tgz → tryghost-update-check-service-5.74.0.tgz} +0 -0
- package/components/{tryghost-verification-trigger-5.73.2.tgz → tryghost-verification-trigger-5.74.0.tgz} +0 -0
- package/components/tryghost-version-notifications-data-service-5.74.0.tgz +0 -0
- package/components/{tryghost-webmentions-5.73.2.tgz → tryghost-webmentions-5.74.0.tgz} +0 -0
- package/content/themes/source/assets/built/screen.css +1 -1
- package/content/themes/source/assets/built/screen.css.map +1 -1
- package/content/themes/source/assets/built/source.js +1 -1
- package/content/themes/source/assets/built/source.js.map +1 -1
- package/content/themes/source/assets/css/screen.css +2 -2
- package/content/themes/source/assets/js/dropdown.js +7 -0
- package/content/themes/source/package.json +1 -1
- package/core/boot.js +5 -0
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-7eba6adb.mjs → CodeEditorView-c01e294c.mjs} +83 -83
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-8ca58c71.mjs → index-6594c4bf.mjs} +9294 -9094
- package/core/built/admin/assets/admin-x-settings/{index-e732a865.mjs → index-9f6ad8b1.mjs} +182 -182
- package/core/built/admin/assets/admin-x-settings/{modals-c85ad0c1.mjs → modals-37a4690d.mjs} +9832 -9404
- package/core/built/admin/assets/{chunk.143.69dbfb81579afebba388.js → chunk.143.7feccc2d79d700690018.js} +5 -5
- package/core/built/admin/assets/{chunk.178.5a3a63ad3ac3c3190d9f.js → chunk.178.00953d043489b19e1076.js} +4 -4
- package/core/built/admin/assets/{chunk.761.88d6f15954870c0c9f60.js → chunk.761.5cfbe0d0f8ec7aefe7bc.js} +234 -201
- package/core/built/admin/assets/{ghost-f849fe36e5d0bab807c159e331a2c5a9.js → ghost-ad9952b86c1d886c49a92339adf702e3.js} +153 -141
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +40 -34
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +52 -52
- package/core/built/admin/index.html +4 -4
- package/core/frontend/services/routing/controllers/previews.js +5 -0
- package/core/frontend/src/cards/css/toggle.css +2 -0
- package/core/server/api/endpoints/members.js +25 -0
- package/core/server/api/endpoints/utils/serializers/output/mappers/activity-feed-events.js +7 -1
- package/core/server/data/migrations/versions/5.74/2023-11-14-11-15-00-add-transient-id-column-nullable.js +9 -0
- package/core/server/data/migrations/versions/5.74/2023-11-14-11-16-00-fill-transient-id-column.js +17 -0
- package/core/server/data/migrations/versions/5.74/2023-11-14-11-17-00-drop-nullable-transient-id-column.js +4 -0
- package/core/server/data/schema/schema.js +1 -0
- package/core/server/lib/lexical.js +0 -4
- package/core/server/models/comment.js +2 -2
- package/core/server/models/member.js +1 -0
- package/core/server/models/post.js +2 -2
- package/core/server/services/email-analytics/EmailAnalyticsServiceWrapper.js +5 -2
- package/core/server/services/email-suppression-list/MailgunEmailSuppressionList.js +9 -0
- package/core/server/services/offers/OfferBookshelfRepository.js +2 -2
- package/core/server/services/webhooks/listen.js +1 -1
- package/core/server/web/api/endpoints/admin/routes.js +1 -0
- package/core/server/web/api/endpoints/content/routes.js +1 -2
- package/core/server/web/members/app.js +1 -1
- package/core/shared/labs.js +4 -2
- package/package.json +160 -158
- package/yarn.lock +320 -357
- package/components/tryghost-adapter-cache-memory-ttl-5.73.2.tgz +0 -0
- package/components/tryghost-adapter-cache-redis-5.73.2.tgz +0 -0
- package/components/tryghost-announcement-bar-settings-5.73.2.tgz +0 -0
- package/components/tryghost-api-version-compatibility-service-5.73.2.tgz +0 -0
- package/components/tryghost-bookshelf-repository-5.73.2.tgz +0 -0
- package/components/tryghost-collections-5.73.2.tgz +0 -0
- package/components/tryghost-constants-5.73.2.tgz +0 -0
- package/components/tryghost-custom-theme-settings-service-5.73.2.tgz +0 -0
- package/components/tryghost-data-generator-5.73.2.tgz +0 -0
- package/components/tryghost-domain-events-5.73.2.tgz +0 -0
- package/components/tryghost-donations-5.73.2.tgz +0 -0
- package/components/tryghost-dynamic-routing-events-5.73.2.tgz +0 -0
- package/components/tryghost-email-analytics-provider-mailgun-5.73.2.tgz +0 -0
- package/components/tryghost-email-content-generator-5.73.2.tgz +0 -0
- package/components/tryghost-email-service-5.73.2.tgz +0 -0
- package/components/tryghost-email-suppression-list-5.73.2.tgz +0 -0
- package/components/tryghost-event-aware-cache-wrapper-5.73.2.tgz +0 -0
- package/components/tryghost-express-dynamic-redirects-5.73.2.tgz +0 -0
- package/components/tryghost-external-media-inliner-5.73.2.tgz +0 -0
- package/components/tryghost-extract-api-key-5.73.2.tgz +0 -0
- package/components/tryghost-html-to-plaintext-5.73.2.tgz +0 -0
- package/components/tryghost-i18n-5.73.2.tgz +0 -0
- package/components/tryghost-importer-handler-content-files-5.73.2.tgz +0 -0
- package/components/tryghost-in-memory-repository-5.73.2.tgz +0 -0
- package/components/tryghost-link-redirects-5.73.2.tgz +0 -0
- package/components/tryghost-link-replacer-5.73.2.tgz +0 -0
- package/components/tryghost-link-tracking-5.73.2.tgz +0 -0
- package/components/tryghost-mail-events-5.73.2.tgz +0 -0
- package/components/tryghost-mailgun-client-5.73.2.tgz +0 -0
- package/components/tryghost-member-events-5.73.2.tgz +0 -0
- package/components/tryghost-members-api-5.73.2.tgz +0 -0
- package/components/tryghost-members-events-service-5.73.2.tgz +0 -0
- package/components/tryghost-members-offers-5.73.2.tgz +0 -0
- package/components/tryghost-members-payments-5.73.2.tgz +0 -0
- package/components/tryghost-members-ssr-5.73.2.tgz +0 -0
- package/components/tryghost-mentions-email-report-5.73.2.tgz +0 -0
- package/components/tryghost-milestones-5.73.2.tgz +0 -0
- package/components/tryghost-model-to-domain-event-interceptor-5.73.2.tgz +0 -0
- package/components/tryghost-mw-api-version-mismatch-5.73.2.tgz +0 -0
- package/components/tryghost-mw-update-user-last-seen-5.73.2.tgz +0 -0
- package/components/tryghost-mw-version-match-5.73.2.tgz +0 -0
- package/components/tryghost-mw-vhost-5.73.2.tgz +0 -0
- package/components/tryghost-nql-filter-expansions-5.73.2.tgz +0 -0
- package/components/tryghost-package-json-5.73.2.tgz +0 -0
- package/components/tryghost-post-events-5.73.2.tgz +0 -0
- package/components/tryghost-post-revisions-5.73.2.tgz +0 -0
- package/components/tryghost-posts-service-5.73.2.tgz +0 -0
- package/components/tryghost-recommendations-5.73.2.tgz +0 -0
- package/components/tryghost-settings-path-manager-5.73.2.tgz +0 -0
- package/components/tryghost-slack-notifications-5.73.2.tgz +0 -0
- package/components/tryghost-tiers-5.73.2.tgz +0 -0
- package/components/tryghost-version-notifications-data-service-5.73.2.tgz +0 -0
- /package/core/built/admin/assets/{chunk.761.88d6f15954870c0c9f60.js.LICENSE.txt → chunk.761.5cfbe0d0f8ec7aefe7bc.js.LICENSE.txt} +0 -0
|
@@ -7,7 +7,7 @@ import xQ, { createPortal as Xoe } from "react-dom";
|
|
|
7
7
|
(function() {
|
|
8
8
|
try {
|
|
9
9
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
10
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "
|
|
10
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "bb3fc05e-a4a3-4b5d-9bb4-5c995dad50cc", t._sentryDebugIdIdentifier = "sentry-dbid-bb3fc05e-a4a3-4b5d-9bb4-5c995dad50cc");
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
})();
|
|
@@ -20973,10 +20973,12 @@ const kN = function(t, e) {
|
|
|
20973
20973
|
};
|
|
20974
20974
|
};
|
|
20975
20975
|
function Vi(t) {
|
|
20976
|
-
if (!t.createDocument) {
|
|
20976
|
+
if (!t.createDocument && t.dom && (t.createDocument = function() {
|
|
20977
|
+
return t.dom.window.document;
|
|
20978
|
+
}), !t.createDocument) {
|
|
20977
20979
|
let e = typeof window < "u" && window.document;
|
|
20978
20980
|
if (!e)
|
|
20979
|
-
throw new Error("
|
|
20981
|
+
throw new Error("Must be passed a `createDocument` function as an option when used in a non-browser environment");
|
|
20980
20982
|
t.createDocument = function() {
|
|
20981
20983
|
return e;
|
|
20982
20984
|
};
|
|
@@ -90579,45 +90581,49 @@ function Wst({ editor: t, containerElem: e, cursorDidExitAtTop: n, isNested: i }
|
|
|
90579
90581
|
t.registerCommand(
|
|
90580
90582
|
I.KEY_MODIFIER_COMMAND,
|
|
90581
90583
|
(c) => {
|
|
90582
|
-
const { altKey: f, ctrlKey: d, metaKey: p,
|
|
90583
|
-
if (p && (
|
|
90584
|
-
const
|
|
90585
|
-
if (
|
|
90586
|
-
if (
|
|
90584
|
+
const { altKey: f, ctrlKey: d, metaKey: p, shiftKey: m, code: v, key: _ } = c, O = _ === "ArrowUp" || c.keyCode === 38, C = _ === "ArrowDown" || c.keyCode === 40;
|
|
90585
|
+
if (p && (O || C)) {
|
|
90586
|
+
const T = I.$getSelection(), $ = I.$isNodeSelection(T), P = I.$isDecoratorNode(I.$getRoot().getFirstChild()), M = I.$isDecoratorNode(I.$getRoot().getLastChild());
|
|
90587
|
+
if ($ || P || M) {
|
|
90588
|
+
if (C) {
|
|
90587
90589
|
c.preventDefault();
|
|
90588
|
-
const
|
|
90589
|
-
return I.$isDecoratorNode(
|
|
90590
|
+
const N = I.$getRoot().getLastChild();
|
|
90591
|
+
return I.$isDecoratorNode(N) ? (_s(N), !0) : (N.selectEnd(), !0);
|
|
90590
90592
|
}
|
|
90591
|
-
if (
|
|
90593
|
+
if (O) {
|
|
90592
90594
|
c.preventDefault();
|
|
90593
|
-
const
|
|
90594
|
-
return I.$isDecoratorNode(
|
|
90595
|
+
const N = I.$getRoot().getFirstChild();
|
|
90596
|
+
return I.$isDecoratorNode(N) ? (_s(N), !0) : (N.selectStart(), !0);
|
|
90595
90597
|
}
|
|
90596
90598
|
}
|
|
90597
90599
|
}
|
|
90598
|
-
if (d &&
|
|
90600
|
+
if (d && v === "KeyQ") {
|
|
90599
90601
|
c.preventDefault();
|
|
90600
|
-
const
|
|
90601
|
-
if (I.$isRangeSelection(
|
|
90602
|
-
const
|
|
90603
|
-
I.$isParagraphNode(
|
|
90602
|
+
const T = I.$getSelection();
|
|
90603
|
+
if (I.$isRangeSelection(T)) {
|
|
90604
|
+
const $ = T.anchor.getNode().getTopLevelElement();
|
|
90605
|
+
I.$isParagraphNode($) ? Pr.$setBlocksType(T, () => gi.$createQuoteNode()) : gi.$isQuoteNode($) ? Pr.$setBlocksType(T, () => GU()) : BD($) && Pr.$setBlocksType(T, () => I.$createParagraphNode());
|
|
90604
90606
|
}
|
|
90605
90607
|
}
|
|
90606
|
-
if ((d || p) && f &&
|
|
90608
|
+
if ((d || p) && f && v === "KeyH")
|
|
90607
90609
|
return c.preventDefault(), t.dispatchCommand(I.FORMAT_TEXT_COMMAND, "highlight"), !0;
|
|
90608
|
-
if (d &&
|
|
90610
|
+
if (d && m && v === "KeyK")
|
|
90611
|
+
return t.dispatchCommand(I.FORMAT_TEXT_COMMAND, "code"), !0;
|
|
90612
|
+
if (d && f && v === "KeyU")
|
|
90613
|
+
return t.dispatchCommand(I.FORMAT_TEXT_COMMAND, "strikethrough"), !0;
|
|
90614
|
+
if (d && f && _.match(/^[1-6]$/)) {
|
|
90609
90615
|
c.preventDefault();
|
|
90610
|
-
const
|
|
90611
|
-
I.$isRangeSelection(
|
|
90616
|
+
const T = I.$getSelection();
|
|
90617
|
+
I.$isRangeSelection(T) && Pr.$setBlocksType(T, () => gi.$createHeadingNode(`h${_}`));
|
|
90612
90618
|
}
|
|
90613
|
-
if (d &&
|
|
90619
|
+
if (d && v === "KeyL") {
|
|
90614
90620
|
c.preventDefault();
|
|
90615
|
-
const
|
|
90616
|
-
if (I.$isRangeSelection(
|
|
90617
|
-
const
|
|
90618
|
-
br.$isListNode(
|
|
90619
|
-
const
|
|
90620
|
-
Pr.$setBlocksType(
|
|
90621
|
+
const T = I.$getSelection();
|
|
90622
|
+
if (I.$isRangeSelection(T)) {
|
|
90623
|
+
const $ = T.anchor.getNode().getTopLevelElement();
|
|
90624
|
+
br.$isListNode($) ? t.update(() => {
|
|
90625
|
+
const P = I.$createParagraphNode();
|
|
90626
|
+
Pr.$setBlocksType(T, () => P), P.setIndent(0);
|
|
90621
90627
|
}) : f ? t.dispatchCommand(br.INSERT_ORDERED_LIST_COMMAND, void 0) : t.dispatchCommand(br.INSERT_UNORDERED_LIST_COMMAND, void 0);
|
|
90622
90628
|
}
|
|
90623
90629
|
}
|
|
@@ -97784,13 +97790,13 @@ function bdt(t, e, n, i = []) {
|
|
|
97784
97790
|
t.registerCommand(
|
|
97785
97791
|
I.KEY_MODIFIER_COMMAND,
|
|
97786
97792
|
(p) => {
|
|
97787
|
-
const { keyCode: m, ctrlKey: v, metaKey: _, shiftKey: O
|
|
97793
|
+
const { keyCode: m, ctrlKey: v, metaKey: _, shiftKey: O } = p;
|
|
97788
97794
|
if (!O && m === 75 && (v || _)) {
|
|
97789
|
-
const
|
|
97790
|
-
if (I.$isRangeSelection(
|
|
97795
|
+
const C = I.$getSelection();
|
|
97796
|
+
if (I.$isRangeSelection(C) && !C.isCollapsed())
|
|
97791
97797
|
return s(bc.link), p.preventDefault(), !0;
|
|
97792
97798
|
}
|
|
97793
|
-
return
|
|
97799
|
+
return !1;
|
|
97794
97800
|
},
|
|
97795
97801
|
I.COMMAND_PRIORITY_LOW
|
|
97796
97802
|
);
|
|
@@ -130015,7 +130021,7 @@ const lM = ({ paragraphs: t, allowBr: e }) => {
|
|
|
130015
130021
|
br.ListNode,
|
|
130016
130022
|
br.ListItemNode,
|
|
130017
130023
|
ps.LinkNode
|
|
130018
|
-
], Xk = yOt, nSt = "0.5.
|
|
130024
|
+
], Xk = yOt, nSt = "0.5.20";
|
|
130019
130025
|
export {
|
|
130020
130026
|
H7 as $isAtStartOfDocument,
|
|
130021
130027
|
q7 as $isAtTopOfNode,
|