ghost 6.8.1 → 6.9.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.
- package/components/tryghost-i18n-6.9.1.tgz +0 -0
- package/content/themes/source/package.json +1 -1
- package/core/built/admin/assets/activitypub/activitypub.js +2 -2
- package/core/built/admin/assets/activitypub/{index-BbINZU9U.mjs → index-B29oZuTp.mjs} +2 -2
- package/core/built/admin/assets/activitypub/{index-C3M839De.mjs → index-C19nEXqT.mjs} +7998 -7923
- package/core/built/admin/assets/admin-x-settings/{CodeEditorView-Dh1am4P6.mjs → CodeEditorView-C0HG4CwA.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +1 -1
- package/core/built/admin/assets/admin-x-settings/{index-DqbTDHzA.mjs → index-Cjl9AHTm.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{index-SxxA3jSX.mjs → index-Cz3Y1eRN.mjs} +5 -5
- package/core/built/admin/assets/admin-x-settings/{index-Hwd1HJ0-.mjs → index-DRpMCs_c.mjs} +2 -2
- package/core/built/admin/assets/admin-x-settings/{modals-yhgQVHax.mjs → modals-DXD3MDLp.mjs} +8814 -8818
- package/core/built/admin/assets/{chunk.524.bc2b771f38286b4a51ed.js → chunk.524.56454d8add89b041f4df.js} +5 -5
- package/core/built/admin/assets/{chunk.582.a28f953895ae17fb3b24.js → chunk.582.a4916bd533becb58fd9c.js} +8 -8
- package/core/built/admin/assets/{ghost-7556359b8bd4ec08a6c23890b04bb56e.js → ghost-94d0fbb20e8e880fa9ba144cf26ab050.js} +27 -27
- package/core/built/admin/assets/ghost-dark-6c9cfa9c364e28c57e5983f68ec6f2fc.css +1 -0
- package/core/built/admin/assets/ghost-f724c1d53f5402f78a2d8cf8beb7c716.css +1 -0
- package/core/built/admin/assets/posts/posts.js +1 -1
- package/core/built/admin/assets/stats/stats.js +1 -1
- package/core/built/admin/index.html +4 -4
- package/core/frontend/public/robots.txt +1 -0
- package/core/frontend/web/middleware/index.js +0 -1
- package/core/frontend/web/routers/serve-favicon.js +56 -0
- package/core/frontend/web/site.js +2 -1
- package/core/server/data/tinybird/endpoints/api_kpis.pipe +0 -3
- package/core/server/data/tinybird/endpoints/api_top_locations.pipe +0 -3
- package/core/server/data/tinybird/endpoints/api_top_pages.pipe +0 -5
- package/core/server/data/tinybird/pipes/filtered_sessions.pipe +0 -3
- package/core/server/data/tinybird/scripts/analytics-generator.js +106 -2
- package/core/server/data/tinybird/tests/api_kpis.yaml +0 -36
- package/core/server/data/tinybird/tests/api_top_locations.yaml +2 -31
- package/core/server/data/tinybird/tests/api_top_pages.yaml +1 -30
- package/core/server/data/tinybird/tests/api_top_sources.yaml +2 -41
- package/core/server/data/tinybird/tests/api_top_utm_campaigns.yaml +3 -33
- package/core/server/data/tinybird/tests/api_top_utm_contents.yaml +3 -39
- package/core/server/data/tinybird/tests/api_top_utm_mediums.yaml +3 -34
- package/core/server/data/tinybird/tests/api_top_utm_sources.yaml +3 -43
- package/core/server/data/tinybird/tests/api_top_utm_terms.yaml +3 -36
- package/core/server/services/email-address/EmailAddressService.js +4 -1
- package/core/server/services/email-address/EmailAddressService.ts +5 -1
- package/core/server/services/email-analytics/EmailAnalyticsService.js +123 -22
- package/core/server/services/email-analytics/EmailAnalyticsServiceWrapper.js +6 -0
- package/core/server/services/email-analytics/jobs/update-member-email-analytics/index.js +4 -3
- package/core/server/services/email-analytics/lib/queries.js +84 -0
- package/core/server/services/email-service/EmailEventProcessor.js +113 -13
- package/core/server/services/email-service/EmailEventStorage.js +191 -26
- package/core/server/services/email-service/EmailRenderer.js +10 -3
- package/core/server/services/email-service/SendingService.js +1 -1
- package/core/server/services/lib/MailgunClient.js +2 -1
- package/core/server/services/member-welcome-emails/jobs/index.js +2 -2
- package/core/server/services/members/members-api/repositories/MemberRepository.js +2 -1
- package/core/server/services/tinybird/TinybirdService.js +0 -3
- package/core/server/web/admin/app.js +3 -1
- package/core/server/web/admin/controller.js +2 -1
- package/core/shared/config/defaults.json +2 -1
- package/core/shared/config/helpers.js +13 -0
- package/core/shared/url-utils.js +4 -2
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
- package/yarn.lock +158 -105
- package/components/tryghost-i18n-6.8.1.tgz +0 -0
- package/core/built/admin/assets/ghost-ca67b9eb701b867ae2a2fdd76cebdc17.css +0 -1
- package/core/built/admin/assets/ghost-dark-a5c3c5101d50a0af1f7b828ee387846d.css +0 -1
- package/core/frontend/web/middleware/serve-favicon.js +0 -72
- package/core/server/data/tinybird/endpoints/api_top_browsers.pipe +0 -54
- package/core/server/data/tinybird/endpoints/api_top_devices.pipe +0 -53
- package/core/server/data/tinybird/endpoints/api_top_os.pipe +0 -53
- package/core/server/data/tinybird/tests/api_top_browsers.yaml +0 -98
- package/core/server/data/tinybird/tests/api_top_devices.yaml +0 -75
- package/core/server/data/tinybird/tests/api_top_os.yaml +0 -80
|
@@ -218,6 +218,7 @@
|
|
|
218
218
|
"enableTipsAndDonations": true,
|
|
219
219
|
"emailAnalytics": {
|
|
220
220
|
"enabled": true,
|
|
221
|
+
"batchProcessing": false,
|
|
221
222
|
"metrics": {
|
|
222
223
|
"openThroughput": {
|
|
223
224
|
"enabled": false,
|
|
@@ -302,5 +303,5 @@
|
|
|
302
303
|
"captureLinkClickBadMemberUuid": false
|
|
303
304
|
},
|
|
304
305
|
"disableJSBackups": false,
|
|
305
|
-
"memberWelcomeEmailTestInbox"
|
|
306
|
+
"memberWelcomeEmailTestInbox": ""
|
|
306
307
|
}
|
|
@@ -97,6 +97,18 @@ const getContentPath = function getContentPath(type) {
|
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Get the path to admin assets, switching between Ember and React admin based on USE_REACT_SHELL env var
|
|
102
|
+
* @returns {string}
|
|
103
|
+
*/
|
|
104
|
+
const getAdminAssetsPath = function getAdminAssetsPath() {
|
|
105
|
+
const useReactShell = process.env.USE_REACT_SHELL === 'true';
|
|
106
|
+
if (useReactShell) {
|
|
107
|
+
return path.join(this.get('paths:appRoot'), '../../apps/admin/dist');
|
|
108
|
+
}
|
|
109
|
+
return this.get('paths:adminAssets');
|
|
110
|
+
};
|
|
111
|
+
|
|
100
112
|
/**
|
|
101
113
|
* @typedef ConfigHelpers
|
|
102
114
|
* @property {isPrivacyDisabledFn} isPrivacyDisabled
|
|
@@ -105,6 +117,7 @@ const getContentPath = function getContentPath(type) {
|
|
|
105
117
|
module.exports.bindAll = (nconf) => {
|
|
106
118
|
nconf.isPrivacyDisabled = isPrivacyDisabled.bind(nconf);
|
|
107
119
|
nconf.getContentPath = getContentPath.bind(nconf);
|
|
120
|
+
nconf.getAdminAssetsPath = getAdminAssetsPath.bind(nconf);
|
|
108
121
|
nconf.getBackendMountPath = getBackendMountPath.bind(nconf);
|
|
109
122
|
nconf.getFrontendMountPath = getFrontendMountPath.bind(nconf);
|
|
110
123
|
};
|
package/core/shared/url-utils.js
CHANGED
|
@@ -6,6 +6,10 @@ const urlUtils = new UrlUtils({
|
|
|
6
6
|
getSubdir: config.getSubdir,
|
|
7
7
|
getSiteUrl: config.getSiteUrl,
|
|
8
8
|
getAdminUrl: config.getAdminUrl,
|
|
9
|
+
assetBaseUrls: {
|
|
10
|
+
media: config.get('urls:media'),
|
|
11
|
+
files: config.get('urls:files')
|
|
12
|
+
},
|
|
9
13
|
slugs: config.get('slugs').protected,
|
|
10
14
|
redirectCacheMaxAge: config.get('caching:301:maxAge'),
|
|
11
15
|
baseApiPath: BASE_API_PATH
|
|
@@ -13,5 +17,3 @@ const urlUtils = new UrlUtils({
|
|
|
13
17
|
|
|
14
18
|
module.exports = urlUtils;
|
|
15
19
|
module.exports.BASE_API_PATH = BASE_API_PATH;
|
|
16
|
-
module.exports.STATIC_MEDIA_URL_PREFIX = 'content/media';
|
|
17
|
-
module.exports.STATIC_FILES_URL_PREFIX = 'content/files';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ghost",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.9.1",
|
|
4
4
|
"description": "The professional publishing platform",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"homepage": "https://ghost.org",
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
"@tryghost/helpers": "1.1.97",
|
|
88
88
|
"@tryghost/html-to-plaintext": "1.0.4",
|
|
89
89
|
"@tryghost/http-cache-utils": "0.1.20",
|
|
90
|
-
"@tryghost/i18n": "file:components/tryghost-i18n-6.
|
|
90
|
+
"@tryghost/i18n": "file:components/tryghost-i18n-6.9.1.tgz",
|
|
91
91
|
"@tryghost/image-transform": "1.4.6",
|
|
92
92
|
"@tryghost/job-manager": "1.0.3",
|
|
93
93
|
"@tryghost/kg-card-factory": "5.1.2",
|
|
94
94
|
"@tryghost/kg-clean-basic-html": "4.2.7",
|
|
95
95
|
"@tryghost/kg-converters": "1.1.7",
|
|
96
96
|
"@tryghost/kg-default-atoms": "5.1.1",
|
|
97
|
-
"@tryghost/kg-default-cards": "10.
|
|
97
|
+
"@tryghost/kg-default-cards": "10.2.0",
|
|
98
98
|
"@tryghost/kg-default-nodes": "2.0.1",
|
|
99
99
|
"@tryghost/kg-default-transforms": "1.2.24",
|
|
100
100
|
"@tryghost/kg-html-to-lexical": "1.2.24",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"@tryghost/social-urls": "0.1.54",
|
|
120
120
|
"@tryghost/string": "0.2.17",
|
|
121
121
|
"@tryghost/tpl": "0.1.35",
|
|
122
|
-
"@tryghost/url-utils": "4.
|
|
122
|
+
"@tryghost/url-utils": "4.5.0",
|
|
123
123
|
"@tryghost/validator": "0.2.17",
|
|
124
124
|
"@tryghost/version": "0.1.33",
|
|
125
125
|
"@tryghost/zip": "1.1.49",
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"jackspeak": "2.3.6",
|
|
275
275
|
"moment": "2.24.0",
|
|
276
276
|
"moment-timezone": "0.5.45",
|
|
277
|
-
"@tryghost/i18n": "file:components/tryghost-i18n-6.
|
|
277
|
+
"@tryghost/i18n": "file:components/tryghost-i18n-6.9.1.tgz"
|
|
278
278
|
},
|
|
279
279
|
"nx": {
|
|
280
280
|
"targets": {
|