ghost 5.15.0 → 5.16.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 (120) hide show
  1. package/components/tryghost-adapter-manager-5.16.0.tgz +0 -0
  2. package/components/{tryghost-api-framework-5.15.0.tgz → tryghost-api-framework-5.16.0.tgz} +0 -0
  3. package/components/{tryghost-api-version-compatibility-service-5.15.0.tgz → tryghost-api-version-compatibility-service-5.16.0.tgz} +0 -0
  4. package/components/tryghost-bootstrap-socket-5.16.0.tgz +0 -0
  5. package/components/{tryghost-constants-5.15.0.tgz → tryghost-constants-5.16.0.tgz} +0 -0
  6. package/components/tryghost-custom-theme-settings-service-5.16.0.tgz +0 -0
  7. package/components/{tryghost-domain-events-5.15.0.tgz → tryghost-domain-events-5.16.0.tgz} +0 -0
  8. package/components/{tryghost-email-analytics-provider-mailgun-5.15.0.tgz → tryghost-email-analytics-provider-mailgun-5.16.0.tgz} +0 -0
  9. package/components/{tryghost-email-analytics-service-5.15.0.tgz → tryghost-email-analytics-service-5.16.0.tgz} +0 -0
  10. package/components/{tryghost-email-content-generator-5.15.0.tgz → tryghost-email-content-generator-5.16.0.tgz} +0 -0
  11. package/components/{tryghost-express-dynamic-redirects-5.15.0.tgz → tryghost-express-dynamic-redirects-5.16.0.tgz} +0 -0
  12. package/components/tryghost-extract-api-key-5.16.0.tgz +0 -0
  13. package/components/{tryghost-html-to-plaintext-5.15.0.tgz → tryghost-html-to-plaintext-5.16.0.tgz} +0 -0
  14. package/components/{tryghost-job-manager-5.15.0.tgz → tryghost-job-manager-5.16.0.tgz} +0 -0
  15. package/components/tryghost-link-redirects-5.16.0.tgz +0 -0
  16. package/components/tryghost-link-replacer-5.16.0.tgz +0 -0
  17. package/components/tryghost-link-tracking-5.16.0.tgz +0 -0
  18. package/components/tryghost-magic-link-5.16.0.tgz +0 -0
  19. package/components/tryghost-mailgun-client-5.16.0.tgz +0 -0
  20. package/components/{tryghost-member-analytics-service-5.15.0.tgz → tryghost-member-analytics-service-5.16.0.tgz} +0 -0
  21. package/components/tryghost-member-attribution-5.16.0.tgz +0 -0
  22. package/components/tryghost-member-events-5.16.0.tgz +0 -0
  23. package/components/{tryghost-members-analytics-ingress-5.15.0.tgz → tryghost-members-analytics-ingress-5.16.0.tgz} +0 -0
  24. package/components/tryghost-members-api-5.16.0.tgz +0 -0
  25. package/components/{tryghost-members-csv-5.15.0.tgz → tryghost-members-csv-5.16.0.tgz} +0 -0
  26. package/components/tryghost-members-events-service-5.16.0.tgz +0 -0
  27. package/components/{tryghost-members-importer-5.15.0.tgz → tryghost-members-importer-5.16.0.tgz} +0 -0
  28. package/components/{tryghost-members-offers-5.15.0.tgz → tryghost-members-offers-5.16.0.tgz} +0 -0
  29. package/components/{tryghost-members-payments-5.15.0.tgz → tryghost-members-payments-5.16.0.tgz} +0 -0
  30. package/components/{tryghost-members-ssr-5.15.0.tgz → tryghost-members-ssr-5.16.0.tgz} +0 -0
  31. package/components/tryghost-members-stripe-service-5.16.0.tgz +0 -0
  32. package/components/tryghost-minifier-5.16.0.tgz +0 -0
  33. package/components/{tryghost-mw-api-version-mismatch-5.15.0.tgz → tryghost-mw-api-version-mismatch-5.16.0.tgz} +0 -0
  34. package/components/{tryghost-mw-cache-control-5.15.0.tgz → tryghost-mw-cache-control-5.16.0.tgz} +0 -0
  35. package/components/{tryghost-mw-error-handler-5.15.0.tgz → tryghost-mw-error-handler-5.16.0.tgz} +0 -0
  36. package/components/tryghost-mw-session-from-token-5.16.0.tgz +0 -0
  37. package/components/tryghost-mw-update-user-last-seen-5.16.0.tgz +0 -0
  38. package/components/tryghost-mw-vhost-5.16.0.tgz +0 -0
  39. package/components/{tryghost-oembed-service-5.15.0.tgz → tryghost-oembed-service-5.16.0.tgz} +0 -0
  40. package/components/{tryghost-package-json-5.15.0.tgz → tryghost-package-json-5.16.0.tgz} +0 -0
  41. package/components/tryghost-referrers-5.16.0.tgz +0 -0
  42. package/components/tryghost-security-5.16.0.tgz +0 -0
  43. package/components/tryghost-session-service-5.16.0.tgz +0 -0
  44. package/components/tryghost-settings-path-manager-5.16.0.tgz +0 -0
  45. package/components/{tryghost-staff-service-5.15.0.tgz → tryghost-staff-service-5.16.0.tgz} +0 -0
  46. package/components/tryghost-stats-service-5.16.0.tgz +0 -0
  47. package/components/tryghost-update-check-service-5.16.0.tgz +0 -0
  48. package/components/{tryghost-verification-trigger-5.15.0.tgz → tryghost-verification-trigger-5.16.0.tgz} +0 -0
  49. package/components/{tryghost-version-notifications-data-service-5.15.0.tgz → tryghost-version-notifications-data-service-5.16.0.tgz} +0 -0
  50. package/core/boot.js +2 -4
  51. package/core/built/admin/assets/{chunk.143.558b9943af7b15f189ae.js → chunk.143.a281d460e6059cd0210a.js} +6 -6
  52. package/core/built/admin/assets/{chunk.178.a9f6ddaea01e2bc76235.js → chunk.178.68eca2346b6f343991e7.js} +4 -4
  53. package/core/built/admin/assets/{chunk.579.dc11bf8dda5cf4406708.js → chunk.579.d14c3688558f34afeb3e.js} +8462 -7944
  54. package/core/built/admin/assets/{chunk.579.dc11bf8dda5cf4406708.js.LICENSE.txt → chunk.579.d14c3688558f34afeb3e.js.LICENSE.txt} +45 -0
  55. package/core/built/admin/assets/ghost-6491d134c450ca676911ea17e16cd7d4.css +1 -0
  56. package/core/built/admin/assets/ghost-dark-297ab2fcf4cadd1c950b84089a38c5e2.css +1 -0
  57. package/core/built/admin/assets/{ghost-4b1b550e34300f5f4774a261aac29557.js → ghost-f2bf99b26aee662cf37fe59f87b1ceb5.js} +259 -194
  58. package/core/built/admin/assets/img/marketing/analytics-1-aa2d72c4e7347a3cb5666d07916b92aa.jpg +0 -0
  59. package/core/built/admin/assets/img/marketing/analytics-2-389d53f80041ff98111cce79facf66b8.jpg +0 -0
  60. package/core/built/admin/assets/{vendor-271c32988ab16ba175a9bfa2acb2887a.js → vendor-b2375e2f383cbc3fd73340c4b656c993.js} +48 -42
  61. package/core/built/admin/index.html +6 -6
  62. package/core/frontend/helpers/search.js +1 -15
  63. package/core/frontend/src/member-attribution/member-attribution.js +38 -4
  64. package/core/server/api/endpoints/index.js +4 -0
  65. package/core/server/api/endpoints/links.js +25 -0
  66. package/core/server/api/endpoints/posts.js +2 -1
  67. package/core/server/api/endpoints/stats.js +24 -0
  68. package/core/server/api/endpoints/utils/serializers/input/posts.js +6 -1
  69. package/core/server/api/endpoints/utils/serializers/output/mappers/activity-feed-events.js +51 -0
  70. package/core/server/api/endpoints/utils/serializers/output/mappers/comments.js +10 -1
  71. package/core/server/api/endpoints/utils/serializers/output/mappers/posts.js +1 -1
  72. package/core/server/data/exporter/table-lists.js +3 -1
  73. package/core/server/data/migrations/versions/5.16/2022-09-19-09-04-add-link-redirects-table.js +10 -0
  74. package/core/server/data/migrations/versions/5.16/2022-09-19-09-05-add-members-link-click-events-table.js +8 -0
  75. package/core/server/data/migrations/versions/5.16/2022-09-19-17-44-add-referrer-columns-to-member-events-table.js +21 -0
  76. package/core/server/data/migrations/versions/5.16/2022-09-19-17-44-add-referrer-columns-to-subscription-events-table.js +21 -0
  77. package/core/server/data/schema/schema.js +21 -1
  78. package/core/server/models/link-redirect.js +65 -0
  79. package/core/server/models/member-link-click-event.js +26 -0
  80. package/core/server/models/post.js +21 -5
  81. package/core/server/services/bulk-email/bulk-email-processor.js +7 -5
  82. package/core/server/services/link-redirection/LinkRedirectRepository.js +88 -0
  83. package/core/server/services/link-redirection/index.js +9 -11
  84. package/core/server/services/link-tracking/LinkClickRepository.js +69 -0
  85. package/core/server/services/link-tracking/PostLinkRepository.js +62 -0
  86. package/core/server/services/link-tracking/index.js +48 -0
  87. package/core/server/services/mega/post-email-serializer.js +28 -2
  88. package/core/server/services/member-attribution/index.js +12 -5
  89. package/core/server/services/members/api.js +1 -0
  90. package/core/server/web/admin/app.js +8 -2
  91. package/core/server/web/api/endpoints/admin/routes.js +5 -0
  92. package/core/shared/config/defaults.json +5 -5
  93. package/package.json +109 -108
  94. package/yarn.lock +535 -318
  95. package/components/tryghost-adapter-manager-5.15.0.tgz +0 -0
  96. package/components/tryghost-bootstrap-socket-5.15.0.tgz +0 -0
  97. package/components/tryghost-custom-theme-settings-service-5.15.0.tgz +0 -0
  98. package/components/tryghost-extract-api-key-5.15.0.tgz +0 -0
  99. package/components/tryghost-link-redirects-5.15.0.tgz +0 -0
  100. package/components/tryghost-link-replacement-5.15.0.tgz +0 -0
  101. package/components/tryghost-link-tracking-5.15.0.tgz +0 -0
  102. package/components/tryghost-magic-link-5.15.0.tgz +0 -0
  103. package/components/tryghost-mailgun-client-5.15.0.tgz +0 -0
  104. package/components/tryghost-member-attribution-5.15.0.tgz +0 -0
  105. package/components/tryghost-member-events-5.15.0.tgz +0 -0
  106. package/components/tryghost-members-api-5.15.0.tgz +0 -0
  107. package/components/tryghost-members-events-service-5.15.0.tgz +0 -0
  108. package/components/tryghost-members-stripe-service-5.15.0.tgz +0 -0
  109. package/components/tryghost-minifier-5.15.0.tgz +0 -0
  110. package/components/tryghost-mw-session-from-token-5.15.0.tgz +0 -0
  111. package/components/tryghost-mw-update-user-last-seen-5.15.0.tgz +0 -0
  112. package/components/tryghost-mw-vhost-5.15.0.tgz +0 -0
  113. package/components/tryghost-security-5.15.0.tgz +0 -0
  114. package/components/tryghost-session-service-5.15.0.tgz +0 -0
  115. package/components/tryghost-settings-path-manager-5.15.0.tgz +0 -0
  116. package/components/tryghost-update-check-service-5.15.0.tgz +0 -0
  117. package/core/built/admin/assets/ghost-c933adafb359b75ea1577365ce252e76.css +0 -1
  118. package/core/built/admin/assets/ghost-dark-04981c84bf590e0fae0a8e83e018190f.css +0 -1
  119. package/core/server/services/link-click-tracking/index.js +0 -25
  120. package/core/server/services/link-replacement/index.js +0 -24
@@ -5,6 +5,13 @@ https://github.com/mholt/PapaParse
5
5
  License: MIT
6
6
  */
7
7
 
8
+ /*!
9
+ * The buffer module from node.js, for the browser.
10
+ *
11
+ * @author Feross Aboukhadijeh <https://feross.org>
12
+ * @license MIT
13
+ */
14
+
8
15
  /*!
9
16
  * escape-html
10
17
  * Copyright(c) 2012-2013 TJ Holowaychuk
@@ -38,6 +45,8 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
38
45
  PERFORMANCE OF THIS SOFTWARE.
39
46
  ***************************************************************************** */
40
47
 
48
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
49
+
41
50
  /**
42
51
  * @license
43
52
  * Lodash <https://lodash.com/>
@@ -77,6 +86,42 @@ PERFORMANCE OF THIS SOFTWARE.
77
86
  * LICENSE file in the root directory of this source tree.
78
87
  */
79
88
 
89
+ /**
90
+ * @license Apache-2.0
91
+ *
92
+ * Copyright (c) 2018 The Stdlib Authors.
93
+ *
94
+ * Licensed under the Apache License, Version 2.0 (the "License");
95
+ * you may not use this file except in compliance with the License.
96
+ * You may obtain a copy of the License at
97
+ *
98
+ * http://www.apache.org/licenses/LICENSE-2.0
99
+ *
100
+ * Unless required by applicable law or agreed to in writing, software
101
+ * distributed under the License is distributed on an "AS IS" BASIS,
102
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
103
+ * See the License for the specific language governing permissions and
104
+ * limitations under the License.
105
+ */
106
+
107
+ /**
108
+ * @license Apache-2.0
109
+ *
110
+ * Copyright (c) 2021 The Stdlib Authors.
111
+ *
112
+ * Licensed under the Apache License, Version 2.0 (the "License");
113
+ * you may not use this file except in compliance with the License.
114
+ * You may obtain a copy of the License at
115
+ *
116
+ * http://www.apache.org/licenses/LICENSE-2.0
117
+ *
118
+ * Unless required by applicable law or agreed to in writing, software
119
+ * distributed under the License is distributed on an "AS IS" BASIS,
120
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
121
+ * See the License for the specific language governing permissions and
122
+ * limitations under the License.
123
+ */
124
+
80
125
  /**!
81
126
  * @fileOverview Kickass library to create and place poppers near their reference elements.
82
127
  * @version 1.16.1