instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TryGhost__Ghost-CLI__637 | TryGhost/Ghost-CLI | 637 | defect | 7066580bad043853cd5ed5032e916936740aa196 | 5dd90f9fa09ee96641e5883334175b1cf859d014 | Improve error messages in extensions | refs #587
Trying to get a better error handling for our extensions. Catches an error whenever there was no catch, but one needed, creates proper errors when they were just thrown. | diff --git a/extensions/mysql/index.js b/extensions/mysql/index.js
index bbf76df0d1..5349b4dd0d 100644
--- a/extensions/mysql/index.js
+++ b/extensions/mysql/index.js
@@ -75,7 +75,11 @@ class MySQLExtension extends cli.Extension {
}));
}
- return Promise.reject(error);
+ ... | 10 | 9 | 1 | [{"id": "G0", "claim": "The new CliError in the CREATE USER catch looks redundant because line 151 puts out a very similar error message - is there any difference?", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Both ctx.instance.template and this.ui.sudo... | null |
TryGhost__Ghost-CLI__650 | TryGhost/Ghost-CLI | 650 | defect | 791301a832f2a6eae403dd8b82c315356fbc4926 | d81a273969374cc088f3e64192f86efbb74281a3 | feat: make ghost (stop | start | restart) more graceful | closes #649
- `ghost stop` notifies user and exits if instance is already stopped
- `ghost start` notifies user and informs of `ghost ls` command for more information
- `ghost restart` notifies user and runs start command if instance is not running already
There's another PR coming up to finish the minor refac... | diff --git a/lib/commands/restart.js b/lib/commands/restart.js
index f1f28258a9..ef6c909291 100644
--- a/lib/commands/restart.js
+++ b/lib/commands/restart.js
@@ -6,11 +6,12 @@ class RestartCommand extends Command {
const instance = this.system.getInstance();
if (!instance.running()) {
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The {quiet: true} option passed when restart runs the StartCommand should be removed so the start command's own 'Ghost instance has been started' output is shown to the user.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__657 | TryGhost/Ghost-CLI | 657 | defect | a69ccc6efa4678ecb78a9a20af3ae031c0a338dd | b3ce99ada4f059efad6a8a5a0cf5fde95ecdfe6f | feat(doctor): prevent installations with ghost user | refs #47
- Adds a check to the `install` category
- Check is disabled for local installs and platforms that are not linux
- Check will prevent user from installation, if the `ghost` user exists and user is logged in as such
- Adds tests. Still 💯
Outcome:
;
+const loggedInUser = require('./l... | 4 | 4 | 1 | [{"id": "G0", "claim": "The check function has no async behaviour anywhere, so it can just `return` and `throw` instead of returning Promise.resolve/Promise.reject.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The platform condition should be read from... | null |
TryGhost__Ghost-CLI__659 | TryGhost/Ghost-CLI | 659 | defect | a69ccc6efa4678ecb78a9a20af3ae031c0a338dd | 7b8044b25a2a7909a146fd320d0b9c0ddcf5c466 | feat(doctor): check current user and dir owner | refs #47
- Adds a check to the `start` and `update` category
- Check is disabled for local installs and platforms that are not linux
- Check will prevent from proceeding if:
- if a user named `ghost` exists and if it's currently used and also the owner of the content folder
- if the uid of the current user is ... | diff --git a/lib/commands/doctor/checks/index.js b/lib/commands/doctor/checks/index.js
index 518ee54640..1743e1a236 100644
--- a/lib/commands/doctor/checks/index.js
+++ b/lib/commands/doctor/checks/index.js
@@ -1,5 +1,6 @@
'use strict';
const nodeVersion = require('./node-version');
+const loggedInUserOwner = require... | 6 | 6 | 1 | [{"id": "G0", "claim": "The loggedInUserOwner check does not need to return a promise (similar to #657, it can be written without Promise.reject/Promise.resolve).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'not the owner of the Ghost directory' m... | null |
TryGhost__Ghost-CLI__688 | TryGhost/Ghost-CLI | 688 | defect | 4beb1c298461c147a3151063da31b13c24f8593d | edc9531b4adb91a0dcf999da735526feccb796ba | fix(doctor): Use systeminformation for memory availability | refs #540 , closes #687
systeminformation has pretty good coverage of the different OSes when it comes to checking memory availability | diff --git a/lib/commands/doctor/checks/check-memory.js b/lib/commands/doctor/checks/check-memory.js
index 7728df26cf..7fd6dbbc87 100644
--- a/lib/commands/doctor/checks/check-memory.js
+++ b/lib/commands/doctor/checks/check-memory.js
@@ -1,16 +1,19 @@
'use strict';
-const os = require('os');
+const sysinfo = require(... | 1 | 1 | 1 | [{"id": "G0", "claim": "checkMemory should probably read memoryInfo.available, which includes buffer and cache memory, instead of memoryInfo.free, which is the same metric os.freemem returned, and does not need the extra promise chaining.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
TryGhost__Ghost-CLI__712 | TryGhost/Ghost-CLI | 712 | defect | 6429420e1d0d25d70fe20e0f0cf7f92e78b31259 | 6fcb427f5e930e8dd56deee68b4aea8130d3d43c | fix(doctor): skip install dir checks for local installs | closes #711
We successfully pass this check for the `ghost install local` command and the intention was to always pass/skip it for local installs. The `local` argument is only available when executing the installation command. But this check also runs for `ghost start` and `ghost update` when there's no `local` arg... | diff --git a/lib/commands/doctor/checks/install-folder-permissions.js b/lib/commands/doctor/checks/install-folder-permissions.js
index 6ef56e5dbf..6386e7964d 100644
--- a/lib/commands/doctor/checks/install-folder-permissions.js
+++ b/lib/commands/doctor/checks/install-folder-permissions.js
@@ -16,7 +16,9 @@ function in... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add parentheses around the two `&&` conditions in `const isLocal = ctx.local || ctx.instance && ctx.instance.process.name === 'local';` for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__717 | TryGhost/Ghost-CLI | 717 | defect | 649bc0e57bd1c915b730eb95dffd931379b27924 | de70db27d9e6a462dba0c4d7114a8e19cd6b956d | feat(start): direct user to admin interface | closes #665
- added a new message that shows the URL to the admin interface
- uses custom admin URL, if set in config
- shows a slightly different message when rendered after the `install` process | diff --git a/lib/commands/start.js b/lib/commands/start.js
index 7821677227..9466c51193 100644
--- a/lib/commands/start.js
+++ b/lib/commands/start.js
@@ -22,6 +22,7 @@ class StartCommand extends Command {
run(argv) {
const ProcessManager = require('../process-manager');
+ const url = require('u... | 1 | 1 | 0 | [{"id": "G0", "claim": "The admin URL could be simplified to use the || operator: let adminUrl = instance.config.get('admin.url') || instance.config.get('url'); instead of the ternary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__729 | TryGhost/Ghost-CLI | 729 | defect | fed2cb873d846c5469cf500432117db0bc6d110e | 0fc9789f4313f5100f10417aebc91ca0e71a09ee | fix(doctor): Folder permissions check considers setuid, setgid, and sticky bits | fix(doctor): Folder permissions check considers setuid, setgid, and sticky bits
closes #724
- Prefixed the folder permissions check help command chmod parameter with "00" to clear the setuid, setgid, and sticky bits
- Updated the unit tests for folder permissions to coincide with aforementioned change | diff --git a/lib/commands/doctor/checks/check-permissions.js b/lib/commands/doctor/checks/check-permissions.js
index 0ce28574a..ae9d7bf44 100644
--- a/lib/commands/doctor/checks/check-permissions.js
+++ b/lib/commands/doctor/checks/check-permissions.js
@@ -18,7 +18,7 @@ module.exports = function checkPermissions(type, ... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add the comment '// chmod mode from http://man7.org/linux/man-pages/man1/chmod.1.html#SETUID_AND_SETGID_BITS' before the folder help line.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "We may need to add the leading zeros ... | null |
TryGhost__Ghost-CLI__749 | TryGhost/Ghost-CLI | 749 | defect | 1a4d6d73ff32a1f0507589db7e907ae911970cb8 | 8587841323c05e3fc8ef137297fbf6a3ae357636 | fix(url): ensure trailing slash gets appended to url | closes #748
The root of the problem stems from the fact we don't ensure trailing slashes when we set the URL. It's well-known that Ghost redirects URLs w/o a trailing slash to the trailing slash equivalent, so we might as well add the trailing slash here
Something that I would like to do but I'm not sure how to ... | diff --git a/lib/commands/start.js b/lib/commands/start.js
index 97bd1a1a9a..f6b8e89ce9 100644
--- a/lib/commands/start.js
+++ b/lib/commands/start.js
@@ -22,7 +22,6 @@ class StartCommand extends Command {
run(argv) {
const ProcessManager = require('../process-manager');
- const url = require('u... | 2 | 2 | 0 | [{"id": "G0", "claim": "The trailing slash should be faked when building the admin URL (e.g. by normalizing the configured URL and appending the admin path) instead of relying on url.resolve's absolute-path semantics, because url.resolve replaces the whole path when its second argument starts with '/'.", "category": "c... | null |
TryGhost__Ghost-CLI__758 | TryGhost/Ghost-CLI | 758 | defect | ba184522737762f4875e75d49f5a4672211189fa | 1d51db697623066c31289012adfff7076dfdabaf | fix(config): disallow URLs ending with `/ghost` | closes #754
I'm not sure if there should be an additional check w/ `ghost start` (it's possible to manually configure the URL so the config check wouldn't be run) - adding it would require additional checks because the admin URL could differ from the hosted URL | diff --git a/lib/commands/config/advanced.js b/lib/commands/config/advanced.js
index 906fb3ca1..f0e526714 100644
--- a/lib/commands/config/advanced.js
+++ b/lib/commands/config/advanced.js
@@ -21,8 +21,15 @@ const knownMailServices = [
module.exports = {
url: {
description: 'Blog URL with protocol E.g. h... | 2 | 2 | 0 | [{"id": "G0", "claim": "The regular expression for detecting URLs ending with /ghost can be simplified by dropping the redundant non-capturing group, e.g. /\\/ghost(\\/)?$/i.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated URL vali... | null |
TryGhost__Ghost-CLI__765 | TryGhost/Ghost-CLI | 765 | defect | 9e27b594bde36e2d98a9337cb761b85e42afbf81 | 5953ec7b30e398441fd14a1f2ed56a0f58f2c4c4 | Added handling for knex-migrator being executed in Ghost 2.0 | refs #759
This PR is **not finished**, please no code review. Feel free to add questions or concerns 👍
The current port polling logic to detect if a blog is up or down on start/restart is too simple and the error handling was not good, because we weren't able to receive the reason why a blog didn't start up. U... | diff --git a/lib/commands/update.js b/lib/commands/update.js
index dfec2a7655..8605c8dfb3 100644
--- a/lib/commands/update.js
+++ b/lib/commands/update.js
@@ -84,6 +84,13 @@ class UpdateCommand extends Command {
task: this.removeOldVersions
}];
+ // CASE: We have moved the exe... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of splicing the tasks array to drop the database-migration task, an `enabled` function should be created on the migrate task itself as an easier way to do this.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__768 | TryGhost/Ghost-CLI | 768 | defect | 9e27b594bde36e2d98a9337cb761b85e42afbf81 | 6f27ccc14febd04c355dba566b298e8819a6db50 | feat: added support for named start | Adds functionality similar to the stop command - `ghost start {name}` now works as `ghost stop {name}` always has
I realized this wasn't a thing as I was testing #765, and given the Stop command already has this functionality, I figured it would be a 5 minute fix, but it turns out both the Start and Stop Command Uni... | diff --git a/lib/commands/doctor/index.js b/lib/commands/doctor/index.js
index 8798c898e7..041ce400ee 100644
--- a/lib/commands/doctor/index.js
+++ b/lib/commands/doctor/index.js
@@ -27,7 +27,10 @@ class DoctorCommand extends Command {
if (
!argv.skipInstanceCheck &&
- !(a... | 5 | 4 | 0 | [{"id": "G0", "claim": "In start and stop, the try/catch that wraps getInstance and re-wraps the error with Promise.reject is unnecessary since any error thrown by getInstance already propagates; the code can simply be `const instance = getInstance(argv.name, this.system, 'start')` (and likewise for stop).", "category"... | null |
TryGhost__Ghost-CLI__771 | TryGhost/Ghost-CLI | 771 | defect | c9cf6d344b0e75d5a6a600eb677488bab6e25bd2 | 331b54fe524469448c04420d17c951e2c01ce7b5 | Added support for major blog update | refs #759
- executed new task if you are migrating from v1 to v2
- do not execute the new task if you are migrating from v1 to v1
- do not execute the new task if you are already on v2
- this task will:
- scan your theme with GScan 2.0
- load the demo post from your database
- show a nice UI and prom... | diff --git a/extensions/systemd/systemd.js b/extensions/systemd/systemd.js
index cfaf299d91..4944175c9c 100644
--- a/extensions/systemd/systemd.js
+++ b/extensions/systemd/systemd.js
@@ -18,10 +18,25 @@ class SystemdProcessManager extends cli.ProcessManager {
start() {
this._precheck();
- return ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The update flow should use the existing this.ui.confirm helper instead of building the confirm question manually with this.ui.prompt.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The v2 demo post could already have been deleted,... | null |
TryGhost__Ghost-CLI__773 | TryGhost/Ghost-CLI | 773 | defect | 29f2b01c612879e317fd9adc5f1e352174d30ec4 | 1c818db4534e14a249f6dcea516302694c690262 | Added confirmation/support for automatically rolling back to previous version | refs #759
The wording won't work because I want to rebase on #772 and #771 before finalizing how the function will work | diff --git a/lib/commands/update.js b/lib/commands/update.js
index dfec2a7655..5288e1ffc9 100644
--- a/lib/commands/update.js
+++ b/lib/commands/update.js
@@ -97,7 +97,9 @@ class UpdateCommand extends Command {
return;
}
- return this.ui.listr(tasks, context);
+ ... | 6 | 5 | 3 | [{"id": "G0", "claim": "The rollback prompt should not special-case 2.0 but simply show the version which has failed, e.g. 'Unable to upgrade from X to Y. Would you like to revert to X?'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asked ... | null |
TryGhost__Ghost-CLI__784 | TryGhost/Ghost-CLI | 784 | defect | 6150707c116d26bbb5305bd12a23a6ecc752a523 | 7e50468dcd1015aa59e86eb6306de0e5cd667f7d | 1.9: fix prerelease -> prerelease upgrades + dep updates | - allow upgrades from prerelease -> prerelease (i.e. Ghost 2.0.0-rc.1 -> Ghost 2.0.0-rc.2)
- Dependency upgrades | diff --git a/lib/utils/version-from-zip.js b/lib/utils/version-from-zip.js
index a31a715203..0201c4a315 100644
--- a/lib/utils/version-from-zip.js
+++ b/lib/utils/version-from-zip.js
@@ -69,7 +69,10 @@ module.exports = function versionFromZip(zipPath, currentVersion, force = false)
})
.catch((err) => ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Please add one unit test case for the version-from-zip change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__820 | TryGhost/Ghost-CLI | 820 | defect | af5b8f561425b6647fada4d66bfbed149d609e75 | e3a0d598006740739cd76b92d41721a3852dce98 | feat(instance): traverse up directory tree to find instance | refs #800
- Try to go up the directory tree to find a valid Ghost instance
- Can be disabled with global config ('traverse_dirs')
- We need to determine if there's a better way of doing this, or how global config should work in general
- I was thinking of adding a migration which prompts the user, but that f... | diff --git a/lib/command.js b/lib/command.js
index 67e8482277..09931e129b 100644
--- a/lib/command.js
+++ b/lib/command.js
@@ -141,10 +141,15 @@ class Command {
debug('Finished updating directory');
}
+ const system = new System(ui, extensions);
+
if (!this.global) {
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "checkValidInstall could return true/false/null instead of throwing errors, which would clean up the find-valid-install code.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Directory traversal should not be a configurable global-co... | null |
TryGhost__Ghost-CLI__825 | TryGhost/Ghost-CLI | 825 | defect | 4621bccc0b27bf53eb106f8a64bf1c802567b273 | f178eb4ed24403387a57526770bb8564dc51f40c | Add ~/.config folder ownership check on CLI startup | closes #675
this pr does two things:
- adds a `clearOnSuccess` option to the renderer, for optional clearing of the spinner after successful completion
- converts the update-check to a list task set, adding a ~/.config folder step to the pre-check. | diff --git a/lib/command.js b/lib/command.js
index 4d10df00b6..856918501a 100644
--- a/lib/command.js
+++ b/lib/command.js
@@ -172,9 +172,9 @@ class Command {
let precheck = Promise.resolve();
- if (this.checkVersion) {
- const updateCheck = require('./utils/update-check');
- p... | 1 | 1 | 0 | [{"id": "G0", "claim": "The task title should use wording like 'Ensuring' instead of 'Checking', since the task changes the ~/.config folder ownership rather than only inspecting it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__872 | TryGhost/Ghost-CLI | 872 | defect | e68b65d2726831882f60204fe1922fb2f39f0d2c | cc7d16b41e6f513d8e120a89e614a8ccfed163fd | fix(install): ignore dotfiles except for .ghost-cli in dir check | closes #868
- add dir-is-empty util that checks empty directories correctly
TODO:
- [x] fix install cmd tests | diff --git a/lib/commands/install.js b/lib/commands/install.js
index 11d2f96907..e40d4cd31d 100644
--- a/lib/commands/install.js
+++ b/lib/commands/install.js
@@ -13,17 +13,15 @@ class InstallCommand extends Command {
}
run(argv) {
- const fs = require('fs-extra');
- const every = require('lod... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use the native `files.every(...)` instead of the imported lodash `every(files, ...)` helper in dir-is-empty.js, making the lodash dependency unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
TryGhost__Ghost__25598 | TryGhost/Ghost | 25,598 | defect | 0e08ace799ef8fd9da7b6a52f9e059f3157d4e27 | d47f8ab6f455ee554de7052cb699b30ffebfbdf0 | 🐛 Disabled ActivityPub federation for private sites | ref https://linear.app/ghost/issue/BER-2995
ref https://github.com/TryGhost/Ghost/issues/25388
Private sites should not federate content via ActivityPub, as the content is intended to be restricted to authenticated users only
- Added `is_private` check to `isSocialWebEnabled()` calculated setting
- Added `is_pr... | diff --git a/apps/admin-x-settings/src/components/settings/growth/network.tsx b/apps/admin-x-settings/src/components/settings/growth/network.tsx
index 6cd2e42343f..e25586bfbaa 100644
--- a/apps/admin-x-settings/src/components/settings/growth/network.tsx
+++ b/apps/admin-x-settings/src/components/settings/growth/network... | 1 | 1 | 1 | [{"id": "G0", "claim": "The acceptance test mock spreads responseFixtures.settings.settings, which already contains {key: 'is_private', value: false}, and then appends {key: 'is_private', value: true}, so getSettingValues' Array.find() returns the first (false) value and the test never actually verifies private-mode be... | null |
TryGhost__Ghost__25800 | TryGhost/Ghost | 25,800 | defect | 31ecb69a147e71743e74014b4e04ccce09ab8c1a | 0f46babb4b2052f8bf47eae2467db94133acda9e | 🐛 Fixed attribution for email-only posts | ref https://linear.app/ghost/issue/NY-878/
When a free member clicks a link to view an email-only post, it takes them to a url like `/email/{uuid}`. We append the appropriate attribution to the url via query params to create the `ghost-history` entry for attributing to the email, however, this won't work unless the ... | diff --git a/ghost/core/core/server/services/member-attribution/UrlTranslator.js b/ghost/core/core/server/services/member-attribution/UrlTranslator.js
index 406c65fedde..d739f5ac016 100644
--- a/ghost/core/core/server/services/member-attribution/UrlTranslator.js
+++ b/ghost/core/core/server/services/member-attribution/... | 4 | 3 | 2 | [{"id": "G0", "claim": "Consider adding edge-case tests for other statuses (e.g. draft, scheduled) and page type with sent status to confirm the retrieval behaviour.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Adding the filter option triggers the Po... | null |
TryGhost__Ghost__25802 | TryGhost/Ghost | 25,802 | defect | 601eaf9803eddc216120a1fa70c63ed33139872c | ec0360b4c0e14d547b8bab78cf00078d20788541 | Enabled sending welcome emails to black hole when configuration is set | ref https://linear.app/ghost/issue/NY-890/test-sending-welcome-emails-to-black-hole-in-production-at-scale
## Summary
Enables testing welcome emails at scale on production sites by allowing the full welcome email flow to execute even when no `automated_emails` rows exist in the database.
## Problem
We want ... | diff --git a/ghost/core/core/server/services/member-welcome-emails/constants.js b/ghost/core/core/server/services/member-welcome-emails/constants.js
index c3b60ee5bd3..3d1881b9e8d 100644
--- a/ghost/core/core/server/services/member-welcome-emails/constants.js
+++ b/ghost/core/core/server/services/member-welcome-emails/... | 2 | 2 | 2 | [{"id": "G0", "claim": "Handling of DB rows that exist but have empty lexical content is inconsistent: service.js falls back to the default template when a row exists without lexical content while MemberRepository.js only falls back when no row exists, so such a row yields no outbox entry and no email.", "category": "c... | null |
TryGhost__Ghost__25873 | TryGhost/Ghost | 25,873 | defect | cd4aa69d36d15011751ddef8a99ac7511b8faa20 | ab018f9d269e0d8ac88b6c3a76ad85193cd2ffc2 | Added transistor integration to Admin settings | ref https://linear.app/ghost/issue/NY-922/
ref https://github.com/TryGhost/Ghost/pull/25872
- added transistor.fm to Admin > Settings > Integrations
This integration is toggleable on/off and requires an admin api key (see linked PR for migrations). Default state is off/false. | diff --git a/apps/admin-x-design-system/src/assets/icons/transistor.svg b/apps/admin-x-design-system/src/assets/icons/transistor.svg
new file mode 100644
index 00000000000..e02f384294d
--- /dev/null
+++ b/apps/admin-x-design-system/src/assets/icons/transistor.svg
@@ -0,0 +1,9 @@
+<svg viewBox="0 0 154 154" xmlns="http:... | 9 | 4 | 1 | [{"id": "G0", "claim": "The API URL shown in the modal should use getGhostPaths().apiRoot (the Admin API base endpoint) instead of window.location.origin + getGhostPaths().subdir, which shows the site root instead of the Admin API endpoint.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope":... | null |
TryGhost__Ghost__25920 | TryGhost/Ghost | 25,920 | defect | 22f50554b129c8a121dce9ad7f634920e5ce60ac | eaad95ab03b0711527e990fe341cd5d029c9a3d8 | Normalized email addresses more reliably | closes https://linear.app/ghost/issue/NY-942/create-and-use-parse-email-address-package-in-core
ref https://github.com/TryGhost/Ghost/pull/25919
ref https://github.com/TryGhost/framework/pull/342
This creates the `parse-email-address` package (previously reviewed [here][0]--all I did was move it over) and uses it ... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bf63a76fcf6..e88a05971ad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -544,6 +544,9 @@ jobs:
env:
DEPENDENCY_CACHE_KEY: ${{ needs.job_setup.outputs.dependency_cache_key }}
+ - name: Build TS pack... | 5 | 3 | 1 | [{"id": "G0", "claim": "Consider removing the email addresses from the magic-link normalization log message, since logging PII could raise compliance concerns (GDPR, CCPA).", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo in the JSDoc of nor... | null |
TryGhost__Ghost__25946 | TryGhost/Ghost | 25,946 | defect | 49f5c352f46fb5381af556dc1b1380ea9dd29f46 | 6bb04750ab509add631583b14ae9404fda277e99 | Added support for member uuid substitution in emails | ref https://linear.app/ghost/issue/NY-927/
ref https://github.com/TryGhost/Product/issues/2383
- added token substitution for {uuid} for tracked links
Currently, {uuid} replacements work everywhere but in tracked links. This appears to have been restricted because of two reasons:
- we didn't fully wire up support... | diff --git a/ghost/core/core/server/services/email-service/email-renderer.js b/ghost/core/core/server/services/email-service/email-renderer.js
index 04fdd5ffc67..2458ef227f6 100644
--- a/ghost/core/core/server/services/email-service/email-renderer.js
+++ b/ghost/core/core/server/services/email-service/email-renderer.js... | 6 | 5 | 1 | [{"id": "G0", "claim": "The service has no UUID validation, so an unsubstituted Mailgun variable in the m parameter (e.g. m=%%{uuid}%%) gets substituted into the redirect URL, while the PR's own test expects the placeholder to be removed in that case.", "category": "correctness", "verdict": "supported", "priority": "P0... | null |
TryGhost__Ghost__25948 | TryGhost/Ghost | 25,948 | defect | 8d50a052370aa702b824bdabcd62c5c6ac2d7c8d | 27ba50abcb6b959ea1db99d4db0f74c45871e9a7 | Stored subscription discount start/end during Stripe sync | ref https://linear.app/ghost/issue/FEA-537
- As we introduce retention offers that can be applied to existing subscriptions, we need a reliable way to calculate whether the offer applies to the next payment
- instead of computing it ourselves, we retrieve it from Stripe and store it in our database
| diff --git a/ghost/core/core/server/data/migrations/versions/6.15/2026-01-26-08-34-21-add-discount-start-end-to-subscriptions.js b/ghost/core/core/server/data/migrations/versions/6.15/2026-01-26-08-34-21-add-discount-start-end-to-subscriptions.js
new file mode 100644
index 00000000000..e80f28ba87a
--- /dev/null
+++ b/g... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a test aimed specifically at the edit path of linkSubscription, since the same subscriptionData object is used for both paths, so a future refactor that drops the discount fields from edits would be caught.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
TryGhost__Ghost__25956 | TryGhost/Ghost | 25,956 | defect | 387edf513d9e3f53da60f1c41bfe129fe9c4d5eb | 87bb65795b10c7f6f1eb0194845b87e58797f286 | Admin email re-enable button | Got some code for us? Awesome 🎊!
Please take a minute to explain the change you're making:
- **Why are you making it?**
This change introduces the ability for publishers to re-enable a member's email directly from Ghost Admin when it has been disabled (e.g., due to bounces or spam complaints). This streamlines the ... | diff --git a/ghost/admin/app/components/member/newsletter-preference.hbs b/ghost/admin/app/components/member/newsletter-preference.hbs
index cdf7ea7963b..d92f876b32e 100644
--- a/ghost/admin/app/components/member/newsletter-preference.hbs
+++ b/ghost/admin/app/components/member/newsletter-preference.hbs
@@ -46,6 +46,16... | 4 | 1 | 1 | [{"id": "G0", "claim": "The re-enable button builds its URL as `${this.ghostPaths.url.api('members', this.args.member.id)}suppression` with no path separator, which produces /members/{id}suppression instead of /members/{id}/suppression and makes the DELETE request hit a non-existent endpoint (404); 'suppression' should... | null |
TryGhost__Ghost__26086 | TryGhost/Ghost | 26,086 | defect | 17eb3715c811b0ae97340565387cfecb262d5db8 | 4b58c6224eab3b699b24da6c46169795fdfaeaf4 | Fixed paid welcome emails incorrectly sent to admin-created members | ref https://linear.app/ghost/issue/NY-891/before-ga-double-check-that-only-members-createdupdated-through-portal
## Summary
- Added unit tests for `member-bread-service.add()` to verify context is passed to `linkStripeCustomer`
- Fixed bug where `context` was not included in `sharedOptions` when calling `linkStr... | diff --git a/ghost/core/core/server/services/members/members-api/services/member-bread-service.js b/ghost/core/core/server/services/members/members-api/services/member-bread-service.js
index ca2d726b3d5..f84734754f3 100644
--- a/ghost/core/core/server/services/members/members-api/services/member-bread-service.js
+++ b/... | 2 | 1 | 0 | [{"id": "G0", "claim": "The removed 'Paid subscription started' sentEmail assertions in the members webhook tests should not have been there in the first place — they only passed because of the underlying source bug, since Ghost correctly should not send staff notification emails for admin-created members.", "category"... | null |
TryGhost__Ghost__26257 | TryGhost/Ghost | 26,257 | defect | b21002749a3e4facefde67bebe06d4755924251c | 859a0e6786fb23dac102784c2c999a07639cfac1 | I18n template wrapping | This PR adds i18n ("t") wrapping for the private.hbs, pagination.hbs, and content-cta.hbs templates.
Note that content-cta required a little bit of a logic restructuring to make them more translatable. (Substituting in "page"/"post" was more likely to be a-grammatical or confusing vs splitting out two version of th... | diff --git a/ghost/core/core/frontend/apps/private-blogging/lib/views/private.hbs b/ghost/core/core/frontend/apps/private-blogging/lib/views/private.hbs
index 4c96b6f8217..bd6191118fb 100644
--- a/ghost/core/core/frontend/apps/private-blogging/lib/views/private.hbs
+++ b/ghost/core/core/frontend/apps/private-blogging/l... | 3 | 2 | 2 | [{"id": "G0", "claim": "The translated \"and\" separator passed via (concat \" \" (t \"and\") \" \") is silently ignored, because concat returns a SafeString that fails the tiers helper's isString() check on lastSeparator, so it falls back to the hardcoded English ' and '.", "category": "correctness", "verdict": "suppo... | null |
TryGhost__Ghost__26279 | TryGhost/Ghost | 26,279 | defect | e22461e7a2864c21788944218881212b6cc7e035 | 4e85ae88ca92d09aea6274344b2dd0e9ab75e1ea | Updated transistor renderer | ref https://linear.app/ghost/issue/NY-1005/
- added dynamic replacement of {uuid} using the same mechanism as content-gating at the API level
- updated renderer
- added tests
This PR fully wires up the substitution of `{uuid}` in the outputted content (API response). The token is set within the rendered html cont... | diff --git a/ghost/core/core/server/api/endpoints/utils/serializers/output/utils/post-gating.js b/ghost/core/core/server/api/endpoints/utils/serializers/output/utils/post-gating.js
index 6785e86d8a5..cd5d2dffc1b 100644
--- a/ghost/core/core/server/api/endpoints/utils/serializers/output/utils/post-gating.js
+++ b/ghost/... | 6 | 4 | 0 | [{"id": "G0", "claim": "Remove the redundant '// Non-encoded {uuid} should NOT be replaced' comment, which duplicates the test title.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the unnecessary '// URL constructor encodes {uuid} to %7B... | null |
TryGhost__Ghost__26341 | TryGhost/Ghost | 26,341 | defect | 01758a7fdb4477ab1062ec763b0ecbe6f96cd90a | 5dfa98847aee47744bc4e077070e8b8b3fbd6c59 | Added migration for Transistor integration Portal customization | ref https://linear.app/ghost/issue/NY-996
This migration creates a new JSON object setting to store Transistor integration Portal > Account Details configuration (enabled, heading, description, button text, URL template). These settings will be available in Admin > Settings > Portal customization > Account details w... | diff --git a/ghost/core/core/server/api/endpoints/utils/serializers/input/settings.js b/ghost/core/core/server/api/endpoints/utils/serializers/input/settings.js
index a0b2c8b9c6e..1b8cc967450 100644
--- a/ghost/core/core/server/api/endpoints/utils/serializers/input/settings.js
+++ b/ghost/core/core/server/api/endpoints... | 4 | 2 | 2 | [{"id": "G0", "claim": "The pre-existing `transistor` main on/off setting should arguably have been enabled (default true instead of false), which could be cleaned up in another migration.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The newly added ... | null |
TryGhost__Ghost__26358 | TryGhost/Ghost | 26,358 | defect | c7a81bce0b0efb4085747e25fbdc2e511a795b4a | ad0cbc88fd9be2eaf70bb5b806dbafcfa915a455 | 🐛 Fixed welcome emails using noreply address instead of default newsletter reply-to address | ref https://linear.app/ghost/issue/NY-1028/welcome-email-uses-noreply-instead-of-configured-sender
## Problem
Welcome emails aren't currently respecting the sender info of the default newsletter as intended. Instead, they are being sent with a fallback `sender_name` and `sender_reply_to` address:
- For a site wi... | diff --git a/ghost/core/core/server/services/member-welcome-emails/service.js b/ghost/core/core/server/services/member-welcome-emails/service.js
index 290f368857a..d9e287bf431 100644
--- a/ghost/core/core/server/services/member-welcome-emails/service.js
+++ b/ghost/core/core/server/services/member-welcome-emails/servic... | 4 | 2 | 1 | [{"id": "G0", "claim": "The reply-to resolution logic added in #getDefaultNewsletterSenderOptions duplicates EmailRenderer.getReplyToAddress and should be extracted into a shared helper (e.g. in the emailAddress service) after this fix, so the two implementations cannot diverge.", "category": "maintainability", "verdic... | null |
TryGhost__Ghost__26397 | TryGhost/Ghost | 26,397 | defect | 2171ae59932382033c8384398a30af7017198008 | 4ac26d321498b3d78477d5fdfc41af9e3693a40f | 🎨 Added picture element support to `img` card | no ref
- The picture element is widely supported now and lets the browser choose the best supported format for the browser is question
| diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/beta-features.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/beta-features.tsx
index 5b42916ccd3..3c8224bea03 100644
--- a/apps/admin-x-settings/src/components/settings/advanced/labs/beta-features.tsx
+++ b/apps/admin-x-settings... | 12 | 1 | 1 | [{"id": "G0", "claim": "If both canTransformToFormat checks fail, `picture` is created containing only the `img` child and no `<source>` elements, producing a valid but unnecessary `<picture>` wrapper; the renderer should skip appending `img` to `picture` (leaving `picture = null`) when no format sources were added.", ... | null |
TryGhost__Ghost__26449 | TryGhost/Ghost | 26,449 | defect | 6b90356c87fd8a873d28c3df27b4063da53a17f1 | d0c297e48d386e66bb721284d9f38847ca41f421 | 🐛 Hid "open in your email app" button on iOS, where it's unreliable | closes https://linear.app/ghost/issue/NY-1050
On iOS, we have four options for Inbox Links:
1. Don't show them at all.
2. Open the email inbox in the browser (a regular link).
3. Try to open the associated email app. If it's installed, great. If it's not, nothing will happen. (Kind of a bad experience.)
4. Try to ope... | diff --git a/apps/portal/package.json b/apps/portal/package.json
index 93a628ef7ce..aca281ed1f0 100644
--- a/apps/portal/package.json
+++ b/apps/portal/package.json
@@ -1,6 +1,6 @@
{
"name": "@tryghost/portal",
- "version": "2.64.3",
+ "version": "2.64.4",
"license": "MIT",
"repository": "https://github.com... | 2 | 1 | 0 | [{"id": "G0", "claim": "The is-ios test suite only exercises the iPhone and MacIntel+maxTouchPoints paths; add cases covering the /iPad/ and /iPod/ regex branches, e.g. with a pre-iPadOS 13 iPad UA.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Conside... | null |
TryGhost__Ghost__26454 | TryGhost/Ghost | 26,454 | defect | 9b3d4efe2cc865e3b4d83306096bcef8d4c54848 | 99c9fb7b2a9e39fec461d46e8a594b7939a61654 | Removed welcomeEmails feature flag checks in the members repository | ref https://linear.app/ghost/issue/NY-971/post-ga-cleanup-remove-the-welcomeemails-labs-flag-from-admin
closes https://linear.app/ghost/issue/NY-965/post-ga-cleanup-remove-labsservice-from-memberrepository
There should be no behavioral changes in this commit, since the `welcomeEmails` flag has already been promoted... | diff --git a/ghost/core/core/server/services/members/members-api/members-api.js b/ghost/core/core/server/services/members/members-api/members-api.js
index ce377ac379a..956248977c8 100644
--- a/ghost/core/core/server/services/members/members-api/members-api.js
+++ b/ghost/core/core/server/services/members/members-api/me... | 2 | 1 | 0 | [{"id": "G0", "claim": "When source is 'member' but the free welcome email is inactive, runMemberCreation is still wrapped in this._Member.transaction() and an extra AutomatedEmail.findOne read is paid even though the outbox write is skipped; consider short-circuiting to the simple path so the AutomatedEmail query and ... | null |
TryGhost__Ghost__26487 | TryGhost/Ghost | 26,487 | defect | eb2e9aa63809576476d8bfe8547823ffa151d4db | fff37ae72d570cc21b0f17d1f80c7b6b1b44be2c | Optimized requests with identical get helpers | ref https://linear.app/ghost/issue/ONC-1431
#get helpers from the frontend are processed as individual API requests, although there may be duplicates. This change creates a per-request cache that prevents duplicative queries hitting the database, while allowing theme creators to continue using a simple syntax.
Th... | diff --git a/ghost/core/core/frontend/helpers/get.js b/ghost/core/core/frontend/helpers/get.js
index 116e3204615..3cce6b101ad 100644
--- a/ghost/core/core/frontend/helpers/get.js
+++ b/ghost/core/core/frontend/helpers/get.js
@@ -46,6 +46,32 @@ const pathAliases = {
'post.author': 'post.author.slug'
};
+/**
+ * ... | 19 | 14 | 1 | [{"id": "G0", "claim": "Cached and concurrent duplicate `get` calls reuse the same response object, so `renderResponse` runs `prepareContextResource` on already-processed resources and nests `SafeString` wrappers, breaking template rendering; the cached response should be cloned before rendering.", "category": "correct... | null |
TryGhost__Ghost__26504 | TryGhost/Ghost | 26,504 | defect | b8bbc8e9f1745f4115ec0f0017a1283b2848fd64 | 551e3faac33eac585046a79bc391888ef61954f1 | Updated members filtering by retention offer | closes https://linear.app/ghost/issue/BER-3349
This change ensures that only 1 retention offer per cadence is visible in the offer select when filtering members by retention. This also updates the retention modal to link the members list pre-filtered when clicking on the redemption count | diff --git a/apps/admin-x-settings/src/components/settings/growth/offers/edit-retention-offer-modal.tsx b/apps/admin-x-settings/src/components/settings/growth/offers/edit-retention-offer-modal.tsx
index 9caf92aee94..de63cb78a63 100644
--- a/apps/admin-x-settings/src/components/settings/growth/offers/edit-retention-offe... | 5 | 5 | 1 | [{"id": "G0", "claim": "The options push references `offers.count?.members` (the collection) instead of `offer.count?.members` (the iteration variable), and should reference the correct variable even though the count feature is not implemented yet.", "category": "correctness", "verdict": "supported", "priority": "P2", ... | null |
TryGhost__Ghost__26519 | TryGhost/Ghost | 26,519 | defect | 89c7dbf48b6b54a4085a62f33a25e77367cb473e | 9fc5642683e87384c8cfd8d6a60b4d9b781e8cb0 | 🐛 Hid editor email visibility settings for pages | ref https://linear.app/ghost/issue/NY-1067/
ref https://github.com/TryGhost/Koenig/pull/1738
- wired up new cardConfig options for visibility options | diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js
index 8943b7b11f9..c1e185ac2e6 100644
--- a/ghost/admin/app/components/koenig-lexical-editor.js
+++ b/ghost/admin/app/components/koenig-lexical-editor.js
@@ -82,6 +82,16 @@ export function decoratePost... | 3 | 1 | 0 | [{"id": "G0", "claim": "Add a brief comment explaining the two-step visibilitySettings merge, because without it the re-assignment on line 472 looks like it undoes the shallow assign on line 471.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add ... | null |
TryGhost__Ghost__26573 | TryGhost/Ghost | 26,573 | defect | 2705a7a54cf2a4bb2000ba902d9623b054f94fcb | 7b2a1f8863e00e9af64b98f0b426f134fceb6550 | Updated transistor renderer | ref https://linear.app/ghost/issue/NY-999/
ref https://linear.app/ghost/issue/NY-1036/
ref https://github.com/TryGhost/Koenig/pull/1742
- passed through `siteUuid` to Koenig renderer
- supported `siteUuid` and `background` params in Ghost's renderers
Note: This needs a Koenig bump. This will support the post pre... | diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js
index 58afdc8971f..4ad40864f53 100644
--- a/ghost/admin/app/components/koenig-lexical-editor.js
+++ b/ghost/admin/app/components/koenig-lexical-editor.js
@@ -462,6 +462,7 @@ export default class Koenig... | 9 | 3 | 3 | [{"id": "G0", "claim": "this.config.site_uuid will be undefined because site_uuid is not exposed by the public-config API, so passing the UUID to the renderer silently fails.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "script.parentElement is not g... | null |
TryGhost__Ghost__26599 | TryGhost/Ghost | 26,599 | defect | 990eab9ed36db8bc4f037228f55c8b4f96885311 | b4b9bb5b1f839bd86d3a9fa0d282270c1dc7ce7c | Converted initial outbox logs to structured logging | refs https://linear.app/ghost/issue/NY-1020/convert-outbox-logs-to-structured-logs
## Summary
- converted the outbox missing-slug warning and outbox already-running guard logs to structured logging with a top-level `system` object and message second argument
- added red/green unit coverage that captures real `@t... | diff --git a/ghost/core/core/server/services/outbox/handlers/member-created.js b/ghost/core/core/server/services/outbox/handlers/member-created.js
index 670a2d5eb7f..5f6087d0ffd 100644
--- a/ghost/core/core/server/services/outbox/handlers/member-created.js
+++ b/ghost/core/core/server/services/outbox/handlers/member-cr... | 9 | 5 | 0 | [{"id": "G0", "claim": "The outbox guard-path test should also assert the emitted infoLog.msg text to fully lock in the structured-log contract for that path.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The remaining legacy LOG_KEY-prefixed warning l... | null |
TryGhost__Ghost__26647 | TryGhost/Ghost | 26,647 | defect | fb1a31c7cd7c0ab0d8b83997dbe469eb095a8b7c | 4ed40d9f5c4b4a4fe943048588a329dc09dab9f6 | Fixed member deletion errors from concurrent API requests | ## Summary
- When multiple `DELETE /members/{id}` requests target the same member concurrently, a race condition causes Bookshelf to throw "No Rows Deleted" errors that bubble up as 500s to Sentry
- The `findOne` check passes for both requests (member exists), but by the time the second request's `destroy()` runs, the ... | diff --git a/ghost/core/core/server/services/members/members-api/repositories/member-repository.js b/ghost/core/core/server/services/members/members-api/repositories/member-repository.js
index 8eb0c1d0a4a..a6d9503f6ed 100644
--- a/ghost/core/core/server/services/members/members-api/repositories/member-repository.js
+++... | 3 | 2 | 0 | [{"id": "G0", "claim": "The CI run's Playwright browser tests failed with exit code 1 (a soft fail), and the author should investigate the failures and fix any issues in the application code or test suite to resolve the CI failure.", "category": "testing", "verdict": "uncertain", "priority": "P0", "scope": "unclear"}, ... | null |
TryGhost__Ghost__26655 | TryGhost/Ghost | 26,655 | defect | 3e46be6fa6a5b923639a916c06be20367723c082 | ee22d1d406183586e46885e5e2aa8b52fbd8cea3 | Replaced limit=all with paginated loading for label dropdowns | ## Summary
- Added `labels-manager` service with shared paginated label cache, debounced server-side search, and `sortLabels`/`findBySlug` helpers — all label dropdowns share one cache instead of each fetching independently
- Rewrote `gh-member-label-input` to lazy-load labels on dropdown open with infinite scroll and ... | diff --git a/e2e/helpers/pages/admin/members/members-page.ts b/e2e/helpers/pages/admin/members/members-page.ts
index ee682c9db66..b936c8dd9d5 100644
--- a/e2e/helpers/pages/admin/members/members-page.ts
+++ b/e2e/helpers/pages/admin/members/members-page.ts
@@ -68,7 +68,7 @@ class SettingsSection extends BasePage {
... | 11 | 2 | 2 | [{"id": "G0", "claim": "The new power-select options template renders role=\"option\" elements without the required aria-selected attribute and the resulting lint error is suppressed via a .lint-todo entry instead of fixed, so the a11y defect goes unenforced.", "category": "accessibility", "verdict": "supported", "prio... | null |
TryGhost__Ghost__26658 | TryGhost/Ghost | 26,658 | defect | abcd9c3a3d9248174de5582e6837afa014c1fe36 | 10e37f079d445569924d56bfbb68e00f38db744b | Added card styles to member email renderer | ref https://linear.app/ghost/issue/NY-1114/
- added card styles to member email editor to support image, button, callout, etc cards | diff --git a/ghost/core/core/server/services/member-welcome-emails/email-templates/partials/card-styles.hbs b/ghost/core/core/server/services/member-welcome-emails/email-templates/partials/card-styles.hbs
new file mode 100644
index 00000000000..3a3ec06db09
--- /dev/null
+++ b/ghost/core/core/server/services/member-welc... | 4 | 2 | 1 | [{"id": "G0", "claim": "Remove the custom 'if' helper registration from the Handlebars instance and rely on the built-in helper, since the custom implementation only duplicates built-in semantics.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "S... | null |
TryGhost__Ghost__26660 | TryGhost/Ghost | 26,660 | defect | b4147e890a4d558227499ae1e807c7e521acb4b4 | 02cfff4728ee740b351cc98e212d27d2ca1420e4 | Converted remaining outbox and welcome email logs to structured logs | closes https://linear.app/ghost/issue/NY-1020/convert-outbox-logs-to-structured-logs
## Summary
- Follows up on #26599 to convert the remaining logging statements in the outbox and member welcome email services to structured logging with `system.event` fields
- Adds structured metadata (entry IDs, event types, bat... | diff --git a/ghost/core/core/server/services/member-welcome-emails/service.js b/ghost/core/core/server/services/member-welcome-emails/service.js
index 0036d198bd0..b2d088f1ba4 100644
--- a/ghost/core/core/server/services/member-welcome-emails/service.js
+++ b/ghost/core/core/server/services/member-welcome-emails/servic... | 4 | 3 | 3 | [{"id": "G0", "claim": "The `!payload` condition can misclassify handler failures as `outbox.entry.payload_parse_failed` when the parsed payload is a falsy value, so an explicit parse-success flag should be used.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
TryGhost__Ghost__26705 | TryGhost/Ghost | 26,705 | defect | 3671359a507f8a0d61533a85eabffa19969a765d | 758325ea54e25f7936a1205f282a4f7156a350d0 | Added CTA and product cards to email editor | ref https://linear.app/ghost/issue/NY-1123
ref https://github.com/TryGhost/Koenig/pull/1754

<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Moderate risk because it changes welcome email HTML/CSS output and e... | diff --git a/apps/admin-x-settings/src/components/settings/membership/member-emails/member-email-editor.tsx b/apps/admin-x-settings/src/components/settings/membership/member-emails/member-email-editor.tsx
index 09e4628a2a6..a2a637907ea 100644
--- a/apps/admin-x-settings/src/components/settings/membership/member-emails/... | 6 | 1 | 0 | [{"id": "G0", "claim": "The selector `table.body .kg-cta-minimal .kg-cta-image-container` is declared twice in the same mobile media query, so the first rule (padding-right: 20px) is dead code overridden by the later `padding: 0 !important` block, and the two blocks should be merged.", "category": "maintainability", "v... | null |
TryGhost__Ghost__26709 | TryGhost/Ghost | 26,709 | defect | 3369a6c03a0edb631d686e8ad39a6aca8a3a546c | 80f33237e18f6e65b1bd16f32bf70ba724b4b9c5 | Added smarterCounts labs flag for optimized pagination count queries | ## Summary
- Adds a `smarterCounts` private labs flag that automatically optimizes pagination count queries
- When enabled, inspects the query builder for JOINs and uses `COUNT(*)` when safe (no JOINs), falling back to `COUNT(DISTINCT table.id)` when JOINs are present
- The only model with JOINs is `products` (LEFT ... | diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx
index 6d5bfb3c19dd..cf51bc10dec1 100644
--- a/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx
+++ b/apps/admin... | 3 | 1 | 0 | [{"id": "G0", "claim": "The CI E2E test run failed with a test assertion failure that the analysis attributes to a code issue in this PR, and asks the author to check the error and fix the code.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "The admin-... | null |
TryGhost__Ghost__26735 | TryGhost/Ghost | 26,735 | defect | e31184156c95df8a049c5a2accaae11b68698650 | 20627717e5fd86cb6d8f5d00d399f9657c107185 | 🐛 Refreshed cancel button state after retention offer flow | ref https://linear.app/ghost/issue/BER-3417
When a member cancelled via the retention offer path (Portal popup), the theme page's cancel button didn't update because no page reload occurred. The `cancelSubscription` and `applyOffer` actions now return `reloadOnPopupClose: true`, and the App component reloads the pag... | diff --git a/apps/portal/package.json b/apps/portal/package.json
index 344f4c4ad67..89ad08b299e 100644
--- a/apps/portal/package.json
+++ b/apps/portal/package.json
@@ -1,6 +1,6 @@
{
"name": "@tryghost/portal",
- "version": "2.65.4",
+ "version": "2.65.5",
"license": "MIT",
"repository": "https://github.com... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment in the 'does not reload on subsequent popup close after reloadOnPopupClose was previously set' test says it clears any stale reloadOnPopupClose, which misdescribes what the test verifies, so the test description/comments should be updated to accurately reflect what is tested.", "cate... | null |
TryGhost__Ghost__26737 | TryGhost/Ghost | 26,737 | defect | be0ea50179a998659ee632a9fbd1b19041d16125 | b9554bf763f70be4702d99d9b9fd5aeb8b707a8e | Stripped redundant fields from public member offers endpoint | no ref
The `/members/api/member/offers/` endpoint was returning the full admin DTO but some of the fields were not are not needed by Portal. Added a `PublicOfferDTO` and `toPublicDTO` mapper that returns only the fields the public endpoint requires | diff --git a/ghost/core/core/server/services/offers/application/offer-mapper.js b/ghost/core/core/server/services/offers/application/offer-mapper.js
index e567d0a85ae9..f412ba2ed537 100644
--- a/ghost/core/core/server/services/offers/application/offer-mapper.js
+++ b/ghost/core/core/server/services/offers/application/o... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new test only validates top-level keys, so it would still pass if toPublicDTO() started leaking tier.name; the nested tier payload should also be asserted.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The computation of dur... | null |
TryGhost__Ghost__26741 | TryGhost/Ghost | 26,741 | defect | be0ea50179a998659ee632a9fbd1b19041d16125 | 1af1411697821063486d9e94d2d817c9ec8f4c7e | Fixed repeating offers end date anchor | closes https://linear.app/ghost/issue/BER-3413/account-page-date-mismatch-between-discount-end-billing-period
- In Stripe, discount dates are anchored around the redemption date, not the billing date. However, we're interested in whether the next payment(s) are discounted. This aligns the next payment object discoun... | diff --git a/ghost/core/core/server/services/members/members-api/utils/get-discount-window.js b/ghost/core/core/server/services/members/members-api/utils/get-discount-window.js
index b0783387c5d8..bb7de72feeb5 100644
--- a/ghost/core/core/server/services/members/members-api/utils/get-discount-window.js
+++ b/ghost/core... | 3 | 1 | 1 | [{"id": "G0", "claim": "getLastDiscountedPayment always steps in one-month increments, so on yearly plans a long repeating discount may return a non-renewal date; please advance in billing periods (month vs year) using subscription.plan.interval and add a yearly-plan regression.", "category": "correctness", "verdict": ... | null |
TryGhost__Ghost__26747 | TryGhost/Ghost | 26,747 | defect | 2c5707b62c298e869080f437bbeb18f65db4bc40 | 9f3926bbcf31a4b5d468e403310eedfed27127a1 | ✨ Added retention offers | ref https://linear.app/ghost/project/retention-offers-churn-prevention-e2474be8b6ad/overview
closes https://linear.app/ghost/issue/BER-3410
Using retention offers, publishers can offer existing paid members a discount before they cancel, in order to retain them. For example, "a month on us" or "50% off your next pa... | diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx
index 05bf31d3420a..0f1a517f5140 100644
--- a/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx
+++ b/apps/admin... | 2 | 1 | 1 | [{"id": "G0", "claim": "The waitFor() on retention-offer-item will time out because the element only renders when retention offers exist, so a clean environment without retention offers (or a paid tier) breaks the test even though the feature is GA.", "category": "correctness", "verdict": "uncertain", "priority": "P1",... | null |
TryGhost__Ghost__26748 | TryGhost/Ghost | 26,748 | defect | bf13394c40025f79a1a1d12d5e51022e01aa0441 | 7ba6ffeed8531b5800b1c4d2708276cb65ede7e6 | Fixed retention offer not rendering for 1 mo repeating offers | closes https://linear.app/ghost/issue/BER-3413
- when a member signs ups with a repeating 1 month offer, the next payment is not discounted
- therefore, they should be able to redeem a retention offer
| diff --git a/ghost/core/core/server/services/members/members-api/utils/has-active-offer.js b/ghost/core/core/server/services/members/members-api/utils/has-active-offer.js
index 90ff4beb5ba..37fc6c2d9b8 100644
--- a/ghost/core/core/server/services/members/members-api/utils/has-active-offer.js
+++ b/ghost/core/core/serve... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new early return when offer_id is absent drops the previous check for synced Stripe discounts, so subscriptions with discount_start/discount_end but no mapped offer_id are treated as having no active offer and can surface retention offers while the next invoice is still discounted, allowing ... | null |
TryGhost__Ghost__26755 | TryGhost/Ghost | 26,755 | defect | 292bdc3581739bbefafeeed86f616027c261f710 | 5d259cadecfe6f9851a903c7a3eae01f8c0e9d6b | 🐛 Fixed N+1 queries and broken reply limit in comments API | Comments load time was slow due to an N+1 query pattern in the Comment model's `findPage()` method. Profiling against seeded data (5000 comments across 100 posts) showed the browse endpoint executing 26 SQL queries per request, the read endpoint hitting 83 queries, and the replies endpoint running 19 queries.
The N+1 ... | diff --git a/apps/comments-ui/src/components/content/replies.tsx b/apps/comments-ui/src/components/content/replies.tsx
index d382cd95f3c..0668802ffe7 100644
--- a/apps/comments-ui/src/components/content/replies.tsx
+++ b/apps/comments-ui/src/components/content/replies.tsx
@@ -1,23 +1,33 @@
import CommentComponent from... | 4 | 1 | 1 | [{"id": "G0", "claim": "New-reply detection compares only the current reply count with the first-render count, so if replies are deleted and a new one posted while mounted, hasNewReplies can stay false and the new reply can remain hidden behind the 3-reply cutoff; detect new replies by initial reply ids instead.", "cat... | null |
TryGhost__Ghost__26774 | TryGhost/Ghost | 26,774 | defect | 84ae28799fe4ee63f10b8cbaebcce42ce38b1016 | 2b74b56216c7e523036a51b9629390280999d42f | Fixed discounted price formatting missing trailing zero | ref https://linear.app/ghost/issue/BER-3427/fix-price-formatting-issue
Non-whole discounted prices (e.g. $5.40) were displayed without trailing zeros (e.g. $5.4) in two places:
- Portal: Retention offer discounted price in the cancellation flow used `formatNumber()` which calls `.toLocaleString()` without enfor... | diff --git a/apps/portal/src/components/pages/account-plan-page.js b/apps/portal/src/components/pages/account-plan-page.js
index 7093780c942..63e2623e3b8 100644
--- a/apps/portal/src/components/pages/account-plan-page.js
+++ b/apps/portal/src/components/pages/account-plan-page.js
@@ -322,9 +322,11 @@ const RetentionOff... | 6 | 6 | 2 | [{"id": "G0", "claim": "Passing nonDecimalAmount (already in dollar units) to gh-price-amount with cents=false makes the helper divide by 100 again, so the discounted and original prices in the member settings form render as roughly $0 instead of the real amount.", "category": "correctness", "verdict": "supported", "pr... | null |
TryGhost__Ghost__26778 | TryGhost/Ghost | 26,778 | defect | 84ae28799fe4ee63f10b8cbaebcce42ce38b1016 | b1ed383e827d0c17aa352a586d109eb16138021d | Changed verification flow to support webhook mode behind labs flag | closes [GVA-730](https://linear.app/ghost/issue/GVA-730/add-webhook-changes-behind-feature-flag)
The `verificationFlow` feature flag now keeps the existing escalation email path as default while enabling a parallel webhook path through `VerificationTrigger` and `verification-webhook-service.ts`. This wires both stra... | diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx
index 0f1a517f5140..6d5bfb3c19dd 100644
--- a/apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx
+++ b/apps/admin... | 8 | 4 | 4 | [{"id": "G0", "claim": "The PR's code makes the E2E test suite fail (a test assertion), and the failing code in this PR needs to be fixed.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Lint errors in this PR's code fail the CI lint step and need to... | null |
TryGhost__Ghost__26790 | TryGhost/Ghost | 26,790 | defect | 7d376cc15bb1e74b4f7465eaa37588af1f8e6784 | b821d15fd4a9f1b8907e291aca80dc00b95bc5d8 | Fixed transistor renderer preview behavior | ref https://linear.app/ghost/issue/NY-1150/
ref https://linear.app/ghost/issue/NY-1151/ | diff --git a/ghost/core/core/server/api/endpoints/utils/serializers/output/utils/post-gating.js b/ghost/core/core/server/api/endpoints/utils/serializers/output/utils/post-gating.js
index cd5d2dffc1b..8bb2d7282b4 100644
--- a/ghost/core/core/server/api/endpoints/utils/serializers/output/utils/post-gating.js
+++ b/ghost/... | 2 | 1 | 1 | [{"id": "G0", "claim": "The preview-mode Transistor replacement mutates attrs.html without calling _updateTextAttrs(attrs) afterwards, unlike the other HTML-rewrite paths, which can leave attrs.plaintext and attrs.excerpt stale in preview responses.", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
TryGhost__Ghost__26791 | TryGhost/Ghost | 26,791 | defect | 4cfe408aaf1960bcb2f7cfdf05ed647a1d25924b | e210a1978f609456a313ec2ef9751d3734f96c94 | Fixed media inliner to store correct relative paths with CDN storage | ref https://linear.app/ghost/issue/HKG-1648
- When using CDN storage (S3Storage), saveRaw() returns a full CDN URL (e.g., https://storage.ghost.is/.../content/images/photo.jpg) instead of a relative path like local storage does (/content/images/photo.jpg)
- The media inliner's storeMediaLocally() passed this CDN UR... | diff --git a/ghost/core/core/server/services/media-inliner/external-media-inliner.js b/ghost/core/core/server/services/media-inliner/external-media-inliner.js
index c038da522586..42a954522f83 100644
--- a/ghost/core/core/server/services/media-inliner/external-media-inliner.js
+++ b/ghost/core/core/server/services/media... | 5 | 2 | 1 | [{"id": "G0", "claim": "When urls:image|media|files is configured to include the static prefix (e.g. .../content/images) rather than a site-root CDN base, the new prefix stripping would turn https://cdn/.../content/images/foo.jpg into /foo.jpg so callers would persist __GHOST_URL__/foo.jpg missing /content/images; it a... | null |
TryGhost__Ghost__26798 | TryGhost/Ghost | 26,798 | defect | 12e98754146363b9efc15fafdcbf06c6dafb624f | a5361025f352fda12ca0f5275dc7b8936d6fb1d5 | Added auto resize to transistor embed card | ref https://linear.app/ghost/issue/NY-1149/
- once transistor implements a postMessage for emitting the size, we can listen to it and adjust accordingly | diff --git a/ghost/core/core/server/services/koenig/node-renderers/transistor-renderer.js b/ghost/core/core/server/services/koenig/node-renderers/transistor-renderer.js
index 1422d123ca4..45a765c689e 100644
--- a/ghost/core/core/server/services/koenig/node-renderers/transistor-renderer.js
+++ b/ghost/core/core/server/s... | 3 | 3 | 1 | [{"id": "G0", "claim": "The resize message handler's validation is insufficient: it should gate messages on the Transistor origin (a navigated iframe keeps its WindowProxy identity, so checking only event.source is insufficient) and reject invalid heights such as NaN, Infinity, floats and 0, which would set invalid CSS... | null |
TryGhost__Ghost__26807 | TryGhost/Ghost | 26,807 | defect | 96ae83bd1cbafd31843019af5a1c8c03119380bc | 3e282f99b178077f727ae5e482e12813914ad89c | Skipped unnecessary redemption queries in Portal offers endpoint | ref https://linear.app/ghost/issue/BER-3437
Portal's `listOffersAvailableToSubscription` called `getAll` which ran two queries per offer against `offer_redemptions` to compute `redemptionCount` and `last_redeemed`. These fields were stripped by `toPublicDTO` before reaching Portal, making the queries wasted work. Ad... | diff --git a/ghost/core/core/server/services/offers/application/offers-api.js b/ghost/core/core/server/services/offers/application/offers-api.js
index 56c33853329d..3e1876f8e5f3 100644
--- a/ghost/core/core/server/services/offers/application/offers-api.js
+++ b/ghost/core/core/server/services/offers/application/offers-... | 5 | 3 | 2 | [{"id": "G0", "claim": "fetchAll({limit: 1}) does not apply a SQL LIMIT in the Bookshelf version used, so the stats-enabled path still materializes every redemption row per offer; the limit should be set on the query builder (or fetchOne used) instead.", "category": "performance", "verdict": "supported", "priority": "P... | null |
TryGhost__Ghost__26811 | TryGhost/Ghost | 26,811 | defect | 9955ebb90ef67e7286f5b4cea8156a1354f39e45 | 5a9d30b4ec3629d3078a9c46fc05a658894a62a7 | Added offer redemptions to data generator | no issue
- Context: we want to test a new composite index on offer redemption table on staging
| diff --git a/ghost/core/core/server/data/seeders/importers/index.js b/ghost/core/core/server/data/seeders/importers/index.js
index a38841ec4174..87f8bb0150f0 100644
--- a/ghost/core/core/server/data/seeders/importers/index.js
+++ b/ghost/core/core/server/data/seeders/importers/index.js
@@ -22,6 +22,7 @@ module.exports ... | 2 | 1 | 1 | [{"id": "G0", "claim": "lastRedeemedAt + 1000 can push the next redemption's created_at past current_period_end/now when a subscription gets multiple offers near the end of its window, producing impossible created_at values that the new test (which only checks counts/uniqueness) will not catch.", "category": "correctne... | null |
TryGhost__Ghost__26856 | TryGhost/Ghost | 26,856 | defect | b92488fa4a53d3eadc8ee26e32eb268244d51f24 | 786a7dcd7d13db9e90068935defa14d14df84e2a | Migrated portal settings links tests to e2e | ref https://github.com/TryGhost/Ghost/pull/26810
This moves the admin-generated default, sign-in, and sign-up Portal link coverage into e2e so the browser suite can be trimmed incrementally. | diff --git a/e2e/helpers/pages/admin/settings/sections/portal-section.ts b/e2e/helpers/pages/admin/settings/sections/portal-section.ts
index 8cfddde41c3..85df4522b6d 100644
--- a/e2e/helpers/pages/admin/settings/sections/portal-section.ts
+++ b/e2e/helpers/pages/admin/settings/sections/portal-section.ts
@@ -1,10 +1,11 ... | 4 | 2 | 0 | [{"id": "G0", "claim": "The page object method uses expect() inside portal-section.ts; replace the assertion with a waitFor()-based guard and remove the now-unused expect import, per the coding guidelines for page objects.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
TryGhost__Ghost__26857 | TryGhost/Ghost | 26,857 | defect | 494f5b6c6f40dabc7db15fd12ce955cb987aae6a | 25751d2bd6461803f934dae8bfc05ca81e1e6c58 | Migrated portal script loading tests to e2e | ref https://github.com/TryGhost/Ghost/pull/26810
- added linter rules around expect and locators
This replaces the low-dependency site settings portal script browser coverage with top-level e2e tests so the old suite can be trimmed incrementally. | diff --git a/e2e/helpers/services/settings/settings-service.ts b/e2e/helpers/services/settings/settings-service.ts
index c1f1961715c..4c9dfa9501c 100644
--- a/e2e/helpers/services/settings/settings-service.ts
+++ b/e2e/helpers/services/settings/settings-service.ts
@@ -10,6 +10,7 @@ export interface SettingsResponse {
... | 4 | 1 | 0 | [{"id": "G0", "claim": "The 'does not load' test's toHaveCount(0) assertions could pass prematurely before the page finishes loading and deciding whether to inject the portal script; wait for the page to load or a known element to stabilize before asserting absence.", "category": "testing", "verdict": "uncertain", "pri... | null |
TryGhost__Ghost__26869 | TryGhost/Ghost | 26,869 | defect | 29dc800e99b619e5de2f557db04dc4ddd42915d0 | 30bfaf8a1e333fbb2332caae96b21126d91e25d7 | Added file type validation and content-type control for file uploads | ref https://linear.app/ghost/issue/HKG-1643/
The files upload endpoint accepted any file type without validation, unlike images and media which check extension and MIME type. With the move to a shared CDN domain, we don't want to upload files with executable content types.
This PR adds:
- An allowlist of support... | diff --git a/ghost/core/core/server/api/endpoints/files.js b/ghost/core/core/server/api/endpoints/files.js
index ba11c146bade..cd73659e6d49 100644
--- a/ghost/core/core/server/api/endpoints/files.js
+++ b/ghost/core/core/server/api/endpoints/files.js
@@ -1,5 +1,5 @@
const storage = require('../../adapters/storage');
-... | 8 | 5 | 3 | [{"id": "G0", "claim": "uploads.files no longer defines contentTypes while ImportManager still reads config.get('uploads').files.contentTypes, so undefined can leak into ImportManager.getContentTypes()/handler config; add an explicit contentTypes array for uploads.files or default missing contentTypes to an empty array... | null |
TryGhost__Ghost__26973 | TryGhost/Ghost | 26,973 | defect | b3bd8d19431f4b52df4042e8a30ab8433724f250 | d850991e2678063c14074f5fde4875cf4d47193f | Added `email_design_settings` table migration | closes https://linear.app/ghost/issue/NY-1137/create-email-design-settings-table-migration
## Summary
Adds a new `email_design_settings` table to store email design/styling settings independently from newsletters. The table columns mirror the design-related columns from the `newsletters` table (background colors, fon... | diff --git a/.claude/skills/create-database-migration/SKILL.md b/.claude/skills/create-database-migration/SKILL.md
index dd0a404e023..a6e0c9cfb34 100644
--- a/.claude/skills/create-database-migration/SKILL.md
+++ b/.claude/skills/create-database-migration/SKILL.md
@@ -1,6 +1,6 @@
---
name: Create database migration
-... | 6 | 4 | 1 | [{"id": "G0", "claim": "The migration and schema should carry an inline comment explaining that the title_* fields are named to match the newsletters table and only apply to headings for welcome emails.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
TryGhost__Ghost__26975 | TryGhost/Ghost | 26,975 | defect | b3bd8d19431f4b52df4042e8a30ab8433724f250 | c76a36221e8dc227a4754b46133cd03aa07be607 | Added migration to create default `email_design_settings` row | closes https://linear.app/ghost/issue/NY-1179/insert-default-email-design-settings-row
## Summary
Seeds a default row into the `email_design_settings` table. This row will be referenced by all existing `automated_emails` rows when the FK is added in a subsequent migration.
## Changes
- Added DML migration to insert... | diff --git a/.claude/skills/create-database-migration/SKILL.md b/.claude/skills/create-database-migration/SKILL.md
index dd0a404e023..a6e0c9cfb34 100644
--- a/.claude/skills/create-database-migration/SKILL.md
+++ b/.claude/skills/create-database-migration/SKILL.md
@@ -1,6 +1,6 @@
---
name: Create database migration
-... | 8 | 3 | 2 | [{"id": "G0", "claim": "The EmailDesignSetting model is not registered in ghost/core/core/server/models/index.js, which the fixture system requires to load the model, so the export should be added there.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
TryGhost__Ghost__26995 | TryGhost/Ghost | 26,995 | defect | c1a4d68f2aad2b9414a9453c22ce5fcf2957e606 | 8fed057551f5e2f0738395f528a000d4341b4872 | Added `gifts` database table | closes https://linear.app/ghost/issue/BER-3502
ref https://linear.app/ghost/project/gift-subscriptions-b7184e4f8972
Adding a new table in the context of the gift subscriptions project, to store gift data (buyer info, redeemer info, gift amount/currency/duration, etc.)
| diff --git a/ghost/core/core/server/data/migrations/versions/6.23/2026-03-26-16-41-06-add-gifts-table.js b/ghost/core/core/server/data/migrations/versions/6.23/2026-03-26-16-41-06-add-gifts-table.js
new file mode 100644
index 00000000000..9b1fe109aec
--- /dev/null
+++ b/ghost/core/core/server/data/migrations/versions/6... | 5 | 1 | 0 | [{"id": "G0", "claim": "The gifts table has no `updated_at` column to track subsequent modifications (e.g. status transitions), unlike most other tables; consider adding one unless gifts are immutable after purchase.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
TryGhost__Ghost__27004 | TryGhost/Ghost | 27,004 | defect | d28725e8f81715a00a6d5b9cb8b8a22c17000ff9 | b6a7cf180eeaf8bd2ad27124bb10520b2e003496 | Moved core publishing browser tests to `e2e` | ## Summary
- Migrated 7 deterministic publishing tests from `ghost/core/test/e2e-browser/admin/publishing.spec.js` to the e2e suite
- Tests moved: publish only, publish+email, email only, delete saved post, delete with unsaved changes, primary lexical editor, secondary hidden lexical editor
- Extended `PostEditorPage` ... | diff --git a/e2e/helpers/pages/admin/posts/post/post-editor-page.ts b/e2e/helpers/pages/admin/posts/post/post-editor-page.ts
index d62b1ad406a..91103e0c2d3 100644
--- a/e2e/helpers/pages/admin/posts/post/post-editor-page.ts
+++ b/e2e/helpers/pages/admin/posts/post/post-editor-page.ts
@@ -7,6 +7,8 @@ class SettingsMenu ... | 5 | 2 | 1 | [{"id": "G0", "claim": "The hard-coded page.waitForTimeout(100) in createDraft() violates the coding guidelines and introduces flakiness; replace it with a proper wait condition.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `newsletters as nev... | null |
TryGhost__Ghost__27032 | TryGhost/Ghost | 27,032 | defect | 952a0291702fa3dd0aecefa9e817f6df173840e5 | 501ea90ab18838fce73cc18a3287597e98ef32c4 | Improved webhook delivery failure logging | ref https://linear.app/ghost/issue/ONC-1609/
- Promoted webhook delivery failure logs from `warn` to `error` level so they surface in error-level monitoring
- Added structured `[WEBHOOK_DELIVERY_FAILURE]` prefix with `url`, `status`, `error_code`, and `message` fields for easy SLO alerting
- Added unit tests verif... | diff --git a/ghost/core/core/server/services/webhooks/webhook-trigger.js b/ghost/core/core/server/services/webhooks/webhook-trigger.js
index a12d98e98a0..fb494918eec 100644
--- a/ghost/core/core/server/services/webhooks/webhook-trigger.js
+++ b/ghost/core/core/server/services/webhooks/webhook-trigger.js
@@ -91,7 +91,7 ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new error log call loses the error's stack trace; pass the original error object as a second argument to logging.error, as the codebase convention does (e.g. stripe/webhook-controller.js).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TryGhost__Ghost__27060 | TryGhost/Ghost | 27,060 | defect | de0cb4a694bf20370735943fca1859af04a49b4c | 469715533de169cadb928d66c177635f571bc9e8 | Implemented gift subscription checkout UI | ref https://linear.app/ghost/issue/BER-3484
Implemented the gift page content behind the `giftSubscriptions` labs flag: site header, purchaser email input, monthly/yearly toggle, paid tier cards with pricing and benefits, and a `Purchase gift` button | diff --git a/apps/portal/package.json b/apps/portal/package.json
index e6c5f674bcf..70f597cedbc 100644
--- a/apps/portal/package.json
+++ b/apps/portal/package.json
@@ -1,6 +1,6 @@
{
"name": "@tryghost/portal",
- "version": "2.67.3",
+ "version": "2.67.4",
"license": "MIT",
"repository": "https://github.com... | 6 | 2 | 0 | [{"id": "G0", "claim": "Don't ship the gift flow with i18n disabled: the new gift-page copy suppresses localization for every label, button and error on a public Portal page, so wrap it in t() and add the keys to the Portal locale namespace before release.", "category": "i18n", "verdict": "supported", "priority": "P2",... | null |
TryGhost__Ghost__27065 | TryGhost/Ghost | 27,065 | defect | 4314cdaad621c2317a3f6a726693a222ef0cb8de | daee33d1d815134b022e2ad73f2d0681909b03c6 | Added automated emails design API endpoint | closes https://linear.app/ghost/issue/NY-1138/add-automated-email-design-settings-api-endpoint
## Summary
- Added a singleton automated email design Admin API subresource at `GET` and `PUT /automated_emails/design` for reading and editing the shared automated email design settings
- The endpoint resolves the share... | diff --git a/ghost/core/core/server/api/endpoints/automated-email-design.js b/ghost/core/core/server/api/endpoints/automated-email-design.js
new file mode 100644
index 00000000000..1631a85d3ba
--- /dev/null
+++ b/ghost/core/core/server/api/endpoints/automated-email-design.js
@@ -0,0 +1,76 @@
+const errors = require('@t... | 3 | 1 | 1 | [{"id": "G0", "claim": "The edit handler forwards the request body straight into models.EmailDesignSetting.edit() without rejecting or stripping `id`, and since `email_design_settings.id` is a regular writable column with no extra model validation, a caller could rewrite the primary key of the default row and break the... | null |
TryGhost__Ghost__27080 | TryGhost/Ghost | 27,080 | defect | 927d4daf865f8d2335f5c974d65ebcda4169c0b4 | 907f650f24243a655357c1916851f368955a848b | Wired up gift subscription checkout end-to-end | ref https://linear.app/ghost/issue/BER-3484
Wired up the gift subscription checkout end-to-end
| diff --git a/apps/portal/src/actions.js b/apps/portal/src/actions.js
index 43a6af14156..46d9e6b79a6 100644
--- a/apps/portal/src/actions.js
+++ b/apps/portal/src/actions.js
@@ -223,6 +223,24 @@ async function checkoutPlan({data, state, api}) {
}
}
+async function checkoutGift({data, state, api}) {
+ try {
+ ... | 10 | 4 | 2 | [{"id": "G0", "claim": "Disable the gift CTA (and skip handlePurchase) for tiers that have no price for the active cadence, since the backend now rejects that path and mixed-cadence tiers would surface a checkout button that can only fail.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "i... | null |
TryGhost__Ghost__27183 | TryGhost/Ghost | 27,183 | defect | e7481e9b9d8340cb06e677903bcbaae62a7849f9 | e534b8598abe3fdd01d59671b323f52452d11521 | Added dormant tables for welcome email automations | towards https://linear.app/ghost/issue/NY-1188
This change should have no user impact. It adds `welcome_email_automations` and `welcome_email_automated_emails` tables.
These are split up from the existing `automated_emails` table with two additions in `welcome_email_automated_emails`:
- `delay_days`
- `next_welcome_... | diff --git a/ghost/core/core/server/data/exporter/table-lists.js b/ghost/core/core/server/data/exporter/table-lists.js
index 00af696410a..ddbb4e0ba67 100644
--- a/ghost/core/core/server/data/exporter/table-lists.js
+++ b/ghost/core/core/server/data/exporter/table-lists.js
@@ -58,7 +58,9 @@ const BACKUP_TABLES = [
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The `delay_days` column should enforce non-negative values (e.g. be unsigned), in both schema.js and the migration, because it currently allows negative integers that would persist invalid scheduling state.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
TryGhost__Ghost__27236 | TryGhost/Ghost | 27,236 | defect | b0a1d510c64ea70858c0898a479b57cdf18a254a | 15a95512968e728b99d4f01498c591a637b771e1 | 🐛 Fixed member edited webhook missing tiers | ref https://linear.app/ghost/issue/NY-1216/
## Summary
The `member.edited` webhook payload was missing `tiers` because the webhook serializer used the raw Bookshelf model from the event, which only had `labels` loaded. The Admin API response was correct (it does a fresh `read()` with all relations), but the webhook w... | diff --git a/ghost/core/core/server/services/webhooks/serialize.js b/ghost/core/core/server/services/webhooks/serialize.js
index 30f4e5ee0ea..421b9db1420 100644
--- a/ghost/core/core/server/services/webhooks/serialize.js
+++ b/ghost/core/core/server/services/webhooks/serialize.js
@@ -9,11 +9,21 @@ module.exports = (eve... | 5 | 5 | 0 | [{"id": "G0", "claim": "Remove the redundant reassignment of `webhookMockReceiver` in the comped test, since `beforeEach` already sets it and the extra mock setup makes interceptor behavior harder to reason about.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "c... | null |
TryGhost__Ghost__27304 | TryGhost/Ghost | 27,304 | defect | 46c23fbf1fa138fa8daf942fdd3162062bf2b56b | f65d37ee1a28e76e043e2887a2c0c6a92ee3edae | Added gift subscription notification columns to users table | ref https://linear.app/ghost/issue/BER-3523
Added gift subscription notification columns to the `users` table so a user can configure if they want to receive notifications for gift subscription related actions (purchase, redemption) | diff --git a/ghost/core/core/server/data/migrations/versions/6.28/2026-04-09-13-25-36-add-gift-subscription-purchase-notification-column.js b/ghost/core/core/server/data/migrations/versions/6.28/2026-04-09-13-25-36-add-gift-subscription-purchase-notification-column.js
new file mode 100644
index 000000000000..d25ac38066... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR adds persisted gift notification preferences without wiring them into the User model defaults and recipient-filter logic, so gift notification opt-outs may not be enforced when recipients are selected; the reviewer asks to add model defaults and corresponding filter branches in ghost/core... | null |
TryGhost__express-hbs__152 | TryGhost/express-hbs | 152 | defect | e3017d4b4e600e0f595c3f76a42e439fd7cbed72 | 0287d5c49197d7e984229389a924170efe2739c6 | Joining block contents with newline | Current version joins block contents with a comma, should be with a newline. | diff --git a/lib/hbs.js b/lib/hbs.js
index 45b78c97..856e5212 100644
--- a/lib/hbs.js
+++ b/lib/hbs.js
@@ -237,6 +237,9 @@ ExpressHbs.prototype.express3 = function(options) {
if (val === undefined && typeof options.fn === 'function') {
val = options.fn(this);
}
+ if (Array.isArray(val)) {
+ val... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test covering this pull request's change (block contents being joined with newline).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TryGhost__knex-migrator__11 | TryGhost/knex-migrator | 11 | defect | 76aa145fc01f96e00414f6990c6c7bb9ae59d7c2 | 06f6929b1a1ceecd731765d6806dba5d0824ce42 | ✨ migrate, reset, health, tests | closes #7, closes #3, closes #4, closes #2
This is the next big iteration of `knex-migrator`. We started with the one simple command: the init of the database. The PR contains lot's of small commits, which i will squash together on merge.
With this PR knex-migrator supports many more:
`knex-migrator migrate`
... | diff --git a/bin/knex-migrator b/bin/knex-migrator
index 7befa857..11dcf561 100755
--- a/bin/knex-migrator
+++ b/bin/knex-migrator
@@ -6,4 +6,6 @@ var program = require('commander'),
program
.version(pkg.version, '-v, --version')
.command('init [config]', 'init db').alias('i')
+ .command('migrate [config]... | 2 | 1 | 0 | [{"id": "G0", "claim": "Deleting and recreating the whole database (and connection) between every test will result in slower tests for not much value, so deleting only the tables should be considered instead.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
TryGhost__knex-migrator__98 | TryGhost/knex-migrator | 98 | defect | 720b54c9d8fa23c79457afd9c069938b07a78467 | 2ed0ddd5e3c85ffe7a090c16520a4d9968fe6bd6 | Correct version number comparison | The utils function isGreaterThanVersion was causing the following case:
1.10.0 would be classified as greater than 2.0.0. This was because
both would be stripped of their full stops (periods) and converted into
numbers. Resulting in a comparison of 1100 (1.10.0) against 200.
The compare-ver library has been intro... | diff --git a/lib/utils.js b/lib/utils.js
index eab55f2a..0e17682c 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -3,6 +3,7 @@
const path = require('path'),
_ = require('lodash'),
fs = require('fs'),
+ compareVer = require('compare-ver'),
Promise = require('bluebird'),
resolve = Promise.promisif... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `new RegExp(...)` instead of `RegExp(...)` for consistency, even though calling RegExp without `new` also returns an instance.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Turfjs__turf__556 | Turfjs/turf | 556 | defect | 42842f0ca6d0ce62d8e1b792d42adac0926f3d75 | 45833f6f129b7732e56d13b3b9374020822115bc | Initial commit of turf-dissolve | - [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Have read [How To Contribute](https://github.com/Turfjs/turf/blob/master/CONTRIBUTING.md#how-to-contribute).
- [x] Run `npm test` at the sub modules where changes have occured.
- [x] Run `npm run lint` to ensure code s... | diff --git a/packages/turf-dissolve/.npmignore b/packages/turf-dissolve/.npmignore
new file mode 100644
index 0000000000..bb3c08c09a
--- /dev/null
+++ b/packages/turf-dissolve/.npmignore
@@ -0,0 +1,2 @@
+test
+coverage
diff --git a/packages/turf-dissolve/LICENSE b/packages/turf-dissolve/LICENSE
new file mode 100644
ind... | 11 | 5 | 2 | [{"id": "G0", "claim": "The JSDoc should use `@returns` instead of `@return`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The JSDoc return type should be `{FeatureCollection<Polygon>}` rather than the untyped `{FeatureCollection}`.", "category"... | null |
Turfjs__turf__561 | Turfjs/turf | 561 | defect | 20bf994a21a4de7c88bfd0944a35f72efd68f13b | 470e727e5f57d955c0cdac7a8b7c63d53f4ab653 | Implement Turf-Truncate module #543 | New turf-truncate module #543
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Have read [How To Contribute](https://github.com/Turfjs/turf/blob/master/CONTRIBUTING.md#how-to-contribute).
- [x] Run `npm test` at the sub modules where changes have occured.
- [x] R... | diff --git a/packages/turf-truncate/README.md b/packages/turf-truncate/README.md
new file mode 100644
index 0000000000..408225a3f3
--- /dev/null
+++ b/packages/turf-truncate/README.md
@@ -0,0 +1,50 @@
+# @turf/truncate
+
+# truncate
+
+Takes a GeoJSON Feature or FeatureCollection and truncates the precision of the geom... | 3 | 3 | 2 | [{"id": "G0", "claim": "The module uses ES6 syntax (const, for...of, arrow functions) that would break Turf's ES5 support requirement for IE11; it should stick to ES5 syntax.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Default parameter values ar... | null |
Turfjs__turf__646 | Turfjs/turf | 646 | defect | 0994cd7de20452ca66cf28f3cae1729fc041a1ec | 5cbff4edac276d498ce6b41d8248df81a9294a23 | New module @turf/polygon-to-linestring | First stab at a polygon to linestring conversion module.
Please note @DenisCarriere that I even attempted to write tests using your in/out fixtures structure, that's got to be worth a gold star!
| diff --git a/packages/turf-polygon-to-linestring/LICENSE b/packages/turf-polygon-to-linestring/LICENSE
new file mode 100644
index 0000000000..7042f5203c
--- /dev/null
+++ b/packages/turf-polygon-to-linestring/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2017 TurfJS
+
+Permission is hereby granted, f... | 3 | 3 | 2 | [{"id": "G0", "claim": "The JSON.parse(JSON.stringify(polygon)) deep copy slows performance significantly and the module should not mutate the input variable.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code should use the multiLineString() h... | null |
TuxCoding__ChangeSkin__50 | TuxCoding/ChangeSkin | 50 | defect | 52d7913f85c14f9964e8fdc7dc6a367c33b8fff1 | f3d99e9998336f4eccd468086e972ca305c3a0ca | Adding skull change command. | Hi,
As I really like your ChangeSkin project I thought about adding a feature on my own. I came up with a new command /skinskull that let's user change the skin of the skull they are holding. It basically uses the skins from your database (for example uploaded skins) and simply applies them to the skull.
It would be... | diff --git a/bukkit/src/main/java/com/github/games647/changeskin/bukkit/ChangeSkinBukkit.java b/bukkit/src/main/java/com/github/games647/changeskin/bukkit/ChangeSkinBukkit.java
index 4b2de10f..0a223ea8 100644
--- a/bukkit/src/main/java/com/github/games647/changeskin/bukkit/ChangeSkinBukkit.java
+++ b/bukkit/src/main/ja... | 1 | 1 | 1 | [{"id": "G0", "claim": "The database access (plugin.getStorage().getSkin(targetId)) in SetSkullCommand blocks the server thread and should be run asynchronously.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TuxCoding__FastLogin__459 | TuxCoding/FastLogin | 459 | defect | 9ff404a424b20154108774050057651fb0ed4b03 | 7fbfa8240c2d3850a6d119f0772fee8aa2751f62 | Fix name change detection, allow FastLogin to respect AuthMe registration limits | ### Summary of your change
First change fixes name change detection on PaperSpigot. Because the gameprofile didn't have the skin set and the server is set to offline-mode - Paper was using a cached profile from usercache.json, which had the old username. That way the name change was spotted, but basically ignored by P... | diff --git a/bukkit/pom.xml b/bukkit/pom.xml
index 5caffc823..93de0a081 100644
--- a/bukkit/pom.xml
+++ b/bukkit/pom.xml
@@ -41,6 +41,10 @@
<pattern>com.google.gson</pattern>
<shadedPattern>fastlogin.gson</shadedPattern>
</relocation>
+ ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The isRegistered() check after registering could return false even though the registration will be successful, because the AuthMe calls may run async — this has to be tested with async enabled AuthMe.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
TuxCoding__FastLogin__532 | TuxCoding/FastLogin | 532 | defect | 119b9cb00061f1a226478dec7bd6a50eb6b7737f | beca63910a5eb2c79dff98df40c6905e36993966 | Share Floodgate name conflict check between Protocol Plugins | ### Summary of your change
- Added a shared class for Floodgate name conflict checking that can be used by both ProtocolLib and ProtocolSupport
- Polished the method of checking conflicting names
Now a Floodgate related method checks the name and kicks the player if needed.
Previously, Bedrock players with co... | diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/hook/floodgate/FloodgateHook.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/hook/floodgate/FloodgateHook.java
new file mode 100644
index 000000000..22fe4a19f
--- /dev/null
+++ b/bukkit/src/main/java/com/github/games647/fastlogin/bu... | 4 | 4 | 0 | [{"id": "G0", "claim": "The plugin field of the new FloodgateHook class has no access modifier and should get one.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Creating a new FloodgateHook in NameCheckTask makes no sense because it holds no pl... | null |
TuxCoding__FastLogin__533 | TuxCoding/FastLogin | 533 | defect | 119b9cb00061f1a226478dec7bd6a50eb6b7737f | 069e7bb0a375a6fe88d1e85fb0ef1457d4b0b234 | Add 'no-conflict' option to some Floodgate config entries | ### Summary of your change
Added a `no-conflict` option to `autoRegisterFloodgate` and `autoLoginFloodgate` in config.yml
If this value is used, the player will be only logged in / registered if no Premium Java MC account exists with their name.
### Related issue
Could be useful for https://github.com/games647/Fa... | diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java
index 067bd9b64..625d05744 100644
--- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java
+++ b/bukkit/src/main/java/c... | 4 | 4 | 3 | [{"id": "G0", "claim": "The catch block calls e.printStackTrace() instead of letting the logger handle stacktrace formatting, which would send the trace to stdio rather than through the logging framework.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
TuxCoding__FastLogin__566 | TuxCoding/FastLogin | 566 | defect | 06a8d6c6253751942ffd96bd18bf8176239ee274 | 03850ae4f26949bfc84293fda2b441ff0634b2cb | Workaround for Floodgate prefixes with ProtocolLlib | ### Summary of your change
Made FastLogin add Floodgate player name prefixes, if Floodgate fails to do it.
Added `floodgatePrefixWorkaround` to config.yml to enable or disable this feature.
### Related issue
Proposes a workaround / fixes https://github.com/games647/FastLogin/issues/493
### Notes
This will lea... | diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java
index 28a4f3d65..98b3b353f 100644
--- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java
+++ b/bukkit/src/main/java/c... | 2 | 1 | 0 | [{"id": "G0", "claim": "The START packet listener runs before Floodgate's handler and depends on a status check that has not run yet, so Floodgate cannot make its checks and rename the player first, which could let a player with a name matching an online player skip authentication.", "category": "security", "verdict": ... | null |
TwiN__gatus__100 | TwiN/gatus | 100 | defect | 8ec256edbf639f89facdb482d57ffe692aa6ffd3 | 0170eb7948930f21c6728f8c935de495659dbf86 | Truncate long strings when using pattern function | Fixes #98 - Unsure if this will be a desirable solution or not, but figured I would at least try and contribute a fix! | diff --git a/core/condition.go b/core/condition.go
index 937360877b..a669501f9b 100644
--- a/core/condition.go
+++ b/core/condition.go
@@ -282,6 +282,15 @@ func prettify(parameters []string, resolvedParameters []string, operator string)
if strings.HasSuffix(resolvedParameters[0], InvalidConditionElementSuffix) || str... | 2 | 2 | 1 | [{"id": "G0", "claim": "Detect the pattern function with strings.HasPrefix(parameters[0], PatternFunctionPrefix) && strings.HasSuffix(first, FunctionSuffix) instead of strings.Contains, to prevent surprises.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
TwiN__gatus__1079 | TwiN/gatus | 1,079 | defect | 5212b656a2365b1fb0c6096923356551776bd0b8 | 6fcf440555dc465f0e91a855785ac0fbafa9ff9e | fix(alerting): Support custom slack title | <!-- Thank you for contributing! -->
## Summary
Support for custom Slack title via configuration #927
Fixes #927
## Checklist
<!-- Replace [ ] by [X] if you have completed the item -->
- [X] Tested and/or added tests to validate that the changes work as intended, if applicable.
- [X] Updated documentati... | diff --git a/README.md b/README.md
index b6d79b15fb..0dd0d8ea3e 100644
--- a/README.md
+++ b/README.md
@@ -1263,14 +1263,15 @@ endpoints:
#### Configuring Slack alerts
-| Parameter | Description | Default ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Revert all the indentation changes the pull request made (it reformatted unchanged lines of slack.go from tabs to spaces).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test covering the new custom Slack title beha... | null |
TwiN__gatus__1082 | TwiN/gatus | 1,082 | defect | fc8868d9965f19798725c35d43fe7995256c3dc8 | b5a89088115cd68a5e0406ea556245ecde3bf7b6 | feat(alerting): Add ilert alert provider | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
- Added ilert as an alerting provider
- Added testing for ilert alerting provider
- Added documentation
closes #1066
## Checklist
<!-- Replace [ ] by [X] if you ha... | diff --git a/README.md b/README.md
index bf9704ef8f..0fec46ea9d 100644
--- a/README.md
+++ b/README.md
@@ -59,6 +59,7 @@ Have any feedback or questions? [Create a discussion](https://github.com/TwiN/ga
- [Configuring GitLab alerts](#configuring-gitlab-alerts)
- [Configuring Google Chat alerts](#configuring-go... | 5 | 5 | 2 | [{"id": "G0", "claim": "Capitalize the `i` of `ilert` in the README table of contents entry and in the documentation header.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Keep the README ilert example to one endpoint so individual examples stay s... | null |
TwiN__gatus__1086 | TwiN/gatus | 1,086 | defect | 8c5ad54e71b2fa3b2fab814fbebaf7af46f8f0e3 | da56af123ca4ca64e5429413289bb12cffb145a7 | feat(alerting): Add RESULT_CONDITIONS in custom alert to have more information | ## Summary
This helps solving issue: #1085
Since this adds a new placeholder shouldn't interfere with the current behaviour gatus has.
## Checklist
- [X] Tested to validate that the changes work as intended, if applicable.
- [X] Updated documentation in `README.md`, if applicable.
| diff --git a/README.md b/README.md
index 32d3332bd7..35ba52b811 100644
--- a/README.md
+++ b/README.md
@@ -1687,7 +1687,8 @@ Furthermore, you may use the following placeholders in the body (`alerting.custo
- `[ENDPOINT_GROUP]` (resolved from `endpoints[].group`)
- `[ENDPOINT_URL]` (resolved from `endpoints[].url`)
-... | 2 | 2 | 1 | [{"id": "G0", "claim": "Only format the condition results when the body or URL actually contains the [RESULT_CONDITIONS] placeholder, instead of building formattedConditionResults unconditionally without knowing whether it will be used.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "in... | null |
TwiN__gatus__1089 | TwiN/gatus | 1,089 | defect | fe214e9e251ddbcbc70e7b3e07837b7a9510bc59 | 0972daae6c70573eeca4a2a4159460a656fa5e7b | feat(alerting): Add device support for pushover alerts | <!-- Thank you for contributing! -->
Closes #1090
## Summary
The current Pushover provider does not allow targeting a specific device—Pushover itself supports this via an optional device parameter. This PR adds support for the device field in Gatus so users can send alerts to a single device rather than all regi... | diff --git a/README.md b/README.md
index 282e6e2fe8..955bc5c9c6 100644
--- a/README.md
+++ b/README.md
@@ -1229,17 +1229,18 @@ endpoints:
#### Configuring Pushover alerts
-| Parameter | Description | Def... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ErrInvalidDevice error message misdescribes the device-name validation and should be reworded to accurately state the rule (first '1–25 characters', then 'less than 25 characters', ending as '25 characters or less').", "category": "documentation", "verdict": "supported", "priority": "P2", "s... | null |
TwiN__gatus__1092 | TwiN/gatus | 1,092 | defect | fe214e9e251ddbcbc70e7b3e07837b7a9510bc59 | 9aba3f99013490c6cd9884a3ce123298906f4dab | feat(api): Add optional duration to external endpoint results | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
External endpoints should be able to report and track health check duration similar to other endpoints.
## Checklist
<!-- Replace [ ] by [X] if you have completed the it... | diff --git a/README.md b/README.md
index 282e6e2fe8..1d8320ecf6 100644
--- a/README.md
+++ b/README.md
@@ -319,13 +319,14 @@ external-endpoints:
To push the status of an external endpoint, the request would have to look like this:
```
-POST /api/v1/endpoints/{key}/external?success={success}&error={error}
+POST /api... | 5 | 5 | 1 | [{"id": "G0", "claim": "The duration query parameter should be parsed for every external endpoint result, not only successful ones; a client that wants to ignore failure durations can handle that itself.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
TwiN__gatus__1095 | TwiN/gatus | 1,095 | defect | 021a28a8d9578e106b0d2850732fd761cc8f562d | edc8063c876c1693359ced6c64aba402a8e8cec0 | fix(alerting): Escape custom result errors | This is my first PR so probably might be missing some detail
## Summary
Fixes #951
Escape `"` in the result errors
## Checklist
- [X] Tested and/or added tests to validate that the changes work as intended, if applicable.
- [X] Updated documentation in `README.md`, if applicable.
| diff --git a/alerting/provider/custom/custom.go b/alerting/provider/custom/custom.go
index c65e34a5c0..2e4da58b99 100644
--- a/alerting/provider/custom/custom.go
+++ b/alerting/provider/custom/custom.go
@@ -108,8 +108,9 @@ func (provider *AlertProvider) buildHTTPRequest(cfg *Config, ep *endpoint.Endpoi
url = strings.... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test covering the new [RESULT_ERRORS] escaping behaviour to prevent future regressions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TwiN__gatus__1125 | TwiN/gatus | 1,125 | defect | 04692d15ba59963404d092708d445f8b48fb33b2 | d85819a24b2f4ca8556c4c187852ca17b52140b6 | feat(alerting): Add HomeAssistant support | ## Summary
Fix #1072
## Checklist
<!-- Replace [ ] by [X] if you have completed the item -->
- [x] Tested and/or added tests to validate that the changes work as intended, if applicable.
- [x] Updated documentation in `README.md`, if applicable.
| diff --git a/README.md b/README.md
index a809ae42ce..bc52cf04c3 100644
--- a/README.md
+++ b/README.md
@@ -59,6 +59,7 @@ Have any feedback or questions? [Create a discussion](https://github.com/TwiN/ga
- [Configuring GitLab alerts](#configuring-gitlab-alerts)
- [Configuring Google Chat alerts](#configuring-go... | 3 | 2 | 1 | [{"id": "G0", "claim": "Place alert.TypeHomeAssistant in its alphabetical position in the sorted alert-type slice in validateAlertingConfig (config/config.go).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new HomeAssistant provider must al... | null |
TwiN__gatus__1134 | TwiN/gatus | 1,134 | defect | 2b80b8076920495c3c8abc7eb2647dd696ab2cc1 | 6cc1300e6099f62b0ed2adbb6b206d15f8028ba3 | feat: Add body to TCP, UDP, and TLS endpoints and templating | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
Fixes #659
## Checklist
<!-- Replace [ ] by [X] if you have completed the item -->
- [X] Tested and/or added tests to validate that the changes work as intended, if ap... | diff --git a/README.md b/README.md
index a809ae42ce..4c4e65f326 100644
--- a/README.md
+++ b/README.md
@@ -2004,8 +2004,10 @@ endpoints:
conditions:
- "[CONNECTED] == true"
```
+If `endpoints[].body` is set it is sent and the first 1024 bytes will be in `[BODY]`. You can use Go template
+syntax. The funct... | 3 | 3 | 1 | [{"id": "G0", "claim": "Go template syntax support for endpoint bodies has unclear benefit given the 1024-byte response restriction and is inconsistent with the placeholder style used elsewhere, so it should be dropped in favour of placeholder-based substitution such as a [LOCAL_ADDRESS] placeholder and a random-string... | null |
TwiN__gatus__1138 | TwiN/gatus | 1,138 | defect | 25b178bf94fed89ec3cd2cd4c7e73750427da9c9 | 3755eb77d65975b2b08db27bdf24d219ded2ce5a | feat(alerting): Implement alert reminders | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
Regarding this issue https://github.com/TwiN/gatus/issues/379
The changes regarding this issue were made by @bugrakocabay
There is already a Pull Request open (#614), b... | diff --git a/README.md b/README.md
index 118096904e..cd8f3a3c0f 100644
--- a/README.md
+++ b/README.md
@@ -550,6 +550,7 @@ Alerts are configured at the endpoint level like so:
| `alerts[].send-on-resolved` | Whether to send a notification once a triggered alert is marked as resolved. | `false` |
| `alerts[].... | 4 | 4 | 1 | [{"id": "G0", "claim": "Reformat the README alerts table so the columns align and move the new minimum-repeat/reminder-interval row up, ultimately directly under success-threshold.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the new Minimu... | null |
TwiN__gatus__1191 | TwiN/gatus | 1,191 | defect | 3ebed01b4cbc145bf87fdda8e0d8f07372945f4b | 7b6104f04f654473094c83b967f12b305ae199b8 | feat(alerting): Support extra labels in email alerts | # Email Provider ExtraLabels Test Implementation Summary
## Objective
Added comprehensive test coverage for the `extraLabels` functionality in the `buildMessageSubjectAndBody` function within `alerting/provider/email/email_test.go` to ensure the Email Template displays extra labels correctly.
## Key Changes
#... | diff --git a/alerting/provider/email/email.go b/alerting/provider/email/email.go
index 79bece3f6d..01dd3fd485 100644
--- a/alerting/provider/email/email.go
+++ b/alerting/provider/email/email.go
@@ -166,7 +166,14 @@ func (provider *AlertProvider) buildMessageSubjectAndBody(ep *endpoint.Endpoint,
if alertDescription :... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request appears to have a failing test.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
TwiN__gatus__1235 | TwiN/gatus | 1,235 | defect | 10cabb9dde6d9ce6e06bd417f13425291896c6f0 | d738f78f9e6ef2878629576c4aad396bdc5b76bb | feat(ui): customizable dashboard heading and subheading | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
I wanted to edit the dashboard texts, but they were hard coded, so I made them editable via the config.yaml file
## Checklist
<!-- Replace [ ] by [X] if you have complet... | diff --git a/README.md b/README.md
index ae5c1e42e5..67c30345f3 100644
--- a/README.md
+++ b/README.md
@@ -258,6 +258,8 @@ If you want to test it locally, see [Docker](#docker).
| `ui` | UI configuration. ... | 4 | 2 | 0 | [{"id": "G0", "claim": "Provide a way to hide the entire heading div, beyond just setting its texts to blank or custom values.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Align the newly added const, Config struct and test-literal declarations with ... | null |
TwiN__gatus__1296 | TwiN/gatus | 1,296 | defect | 97a2be3504f9304dfddd29b70eb78a0600d4859a | 3a1946f93c93029ac0821247f8e2e4ede8df9749 | fix(incidentio): Implement deduplication key generation for alerts | This pull request introduces deduplication key generation and improved metadata handling for incident.io alerting integration. The main changes are the addition of a function to generate a unique deduplication key for each alert and the merging of endpoint extra labels into the alert metadata.
**Incident deduplicati... | diff --git a/alerting/provider/incidentio/dedup.go b/alerting/provider/incidentio/dedup.go
new file mode 100644
index 0000000000..2fe5463273
--- /dev/null
+++ b/alerting/provider/incidentio/dedup.go
@@ -0,0 +1,17 @@
+package incidentio
+
+import (
+ "crypto/sha256"
+ "encoding/hex"
+ "fmt"
+ "ti... | 3 | 3 | 1 | [{"id": "G0", "claim": "Remove the unnecessary empty newlines in buildRequestBody and reformat the changed lines to use tabs instead of spaces.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Translate the German comments in buildRequestBody and ... | null |
TwiN__gatus__1462 | TwiN/gatus | 1,462 | defect | 15a805561747f27e99106666e081e5eea73fd357 | 175de7f16ac28e3ce95c84f3c5313c8667edc87f | feat(alerting): ClickUp alerting provider | <!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
Closes #1426
## Checklist
<!-- Replace [ ] by [X] if you have completed the item -->
- [X] Tested and/or added tests to validate that the changes work as intended, if... | diff --git a/README.md b/README.md
index 6202e51cda..f2be996f96 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,7 @@ Have any feedback or questions? [Create a discussion](https://github.com/TwiN/ga
- [Tunneling](#tunneling)
- [Alerting](#alerting)
- [Configuring AWS SES alerts](#configuring-aws-ses-alert... | 7 | 7 | 3 | [{"id": "G0", "claim": "CreateTask, CloseTask and UpdateTaskStatus build their request URLs from the hardcoded default api.clickup.com URL instead of from cfg.APIURL, so a configured custom api-url is ignored for those requests.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
TwiN__gatus__1506 | TwiN/gatus | 1,506 | defect | 961bffd8e7d0aeb0c1911cb24e1373c9fa091ea6 | ed0104cb4d7afa2db0a3db530a707cb635a4eec5 | fix: handle HTTP header names case-insensitively | Details: HTTP header names should be case-insensitive per RFC 7230. When the users configure the headers like 'user-agent' (lowercase), gatus was adding its own 'User-Agent' header because the case-sensitive map lookup failed to find the existing header.
Fixed headers:
- User-Agent
- Content-Type
- Host
Fixes ... | diff --git a/config/endpoint/endpoint.go b/config/endpoint/endpoint.go
index b049052e9d..beda659ae4 100644
--- a/config/endpoint/endpoint.go
+++ b/config/endpoint/endpoint.go
@@ -189,6 +189,16 @@ func (e *Endpoint) Type() Type {
}
}
+// hasHeader checks if a header exists in the map using a case-insensitive lookup... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the newly added hasHeader helper function to the bottom of config/endpoint/endpoint.go.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
TwiN__gatus__1586 | TwiN/gatus | 1,586 | defect | 3a6ad14cba36117116b8c6365c94975cbcb7d6bc | af6d4848a8a68a9c6542c924ad4a4fb81d2c5311 | fix(alerting): Remove square brackets from email subject | … resolve Gmail threading issues. Fixes #1563
<!-- Thank you for contributing! -->
## Summary
<!-- If there's a relevant issue, you can just write the issue number below (e.g. #123) -->
#1563
## Checklist
<!-- Replace [ ] by [X] if you have completed the item -->
- [X] Tested and/or added tests to valida... | diff --git a/alerting/provider/email/email.go b/alerting/provider/email/email.go
index 01dd3fd485..c34b998af3 100644
--- a/alerting/provider/email/email.go
+++ b/alerting/provider/email/email.go
@@ -143,10 +143,10 @@ func (provider *AlertProvider) Send(ep *endpoint.Endpoint, alert *alert.Alert, r
func (provider *Alert... | 2 | 2 | 0 | [{"id": "G0", "claim": "It would make more sense to simply remove the square brackets from the email alert subject rather than replacing them with parentheses.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a colon after the endpoint name in the emai... | null |
TwiN__gatus__264 | TwiN/gatus | 264 | defect | 0bf2271a7379e87812b723c0bef51755754cd936 | 6364704c62fc54cf0133975fb1d50c0bfa43af22 | feat(alerting): Add group-specific configuration to email provider | Add group-specific to list for email alert
Provides support for paging multiple teams based on the group selector while keeping backward compatibility to the old email configuration manifest
integration per team can be specified in the overrides sections in an array form.
```yaml
alerting:
email:
from... | diff --git a/README.md b/README.md
index 18de1ff425..b1acb0677a 100644
--- a/README.md
+++ b/README.md
@@ -386,6 +386,9 @@ endpoints:
| `alerting.email.port` | Port the mail server is listening to (e.g. `587`) | Required `0` |
| `alerting.email.to` ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The three new `alerting.email.overrides` rows added to the README email-configuration table should be column-aligned with the rest of the table.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.