Commit Graph

12855 Commits

Author SHA1 Message Date
Georges-Antoine Assi
65c49444fc chore(cloud-sync): review-polish pass
Trim the remaining multi-line test docstrings and blob comment, and drop
the -- dash stand-ins.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 12:01:48 -04:00
Georges-Antoine Assi
d5d9196db3 refactor(cloud-sync): apply simplify pass
- Hoist the file MD5 onto FSHandler; drop the blob handler copy
- Share path splitting, slot recency, cached MD5 and ROM visibility helpers
- Remove dead code (get_state_by_path, RomFile.file_ids, unused params)
- Scope WebDAV rom listing to one query; look up a single platform by slug
- Query saves once per manifest and batch ROM name resolution
- Read only the requested PSP bundle member; hash bundles from memory
- Single separator-safe lexical check in validate_path; same joined-path
  validation in write_file_streamed
- Stop stripping + on ROM rename, the download path encodes it (#2746)
- Trim comments to the repo's comment rules

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 11:55:32 -04:00
Georges-Antoine Assi
9e7933ae97 fix(cloud-sync): apply code-review xhigh findings
- Bound /api/cloud-sync uploads with the asset size limit
- Cap PSP bundle member count and uncompressed size
- Keep PSP writes and deletes on the existing bundle row, one member at a time
- Match PSP bundles by exact folder, support the no-core-folder layout
- Reject . and .. PSP segments; map parse_sfo struct errors and write
  errors to 4xx
- Require ROMS_READ for roms/ browsing
- Clear missing_from_fs on overwrite
- Resolve state screenshots by exact name, never a gallery screenshot
- Round-trip unknown core folder names exactly
- Keep + allowed in the shared sanitizer, strip it only on ROM rename (#2746)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 11:31:51 -04:00
Georges-Antoine Assi
008dee6c27 ci: validate the joined write_file path for CodeQL
The remaining py/path-injection alerts flowed through write_file's
filename argument (cloud-sync blob PUTs), which only went through
os.path.basename. Validating the full directory + filename path routes
it through validate_path's normpath guard too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 10:53:24 -04:00
Georges-Antoine Assi
899f859a9b ci: satisfy bandit and CodeQL path-injection checks
Swap xml.sax.saxutils.escape for html.escape(quote=False), which bandit
does not flag as an XML parser import. Add a normpath + startswith guard
to validate_path so CodeQL recognizes it as a path-injection sanitizer.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 10:34:37 -04:00
Georges-Antoine Assi
e81bcef430 review: only advertise cloud-sync assets their path resolves back to
Addresses Greptile's review on #3904: a manifest path carries no platform,
so a same-named ROM on another platform (or a save whose file name matches
no ROM) was advertised under a path GET/PUT/DELETE resolve elsewhere.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 08:26:14 -04:00
Georges-Antoine Assi
7808bf004b Merge remote-tracking branch 'origin/master' into feat/retroarch-cloud-sync
# Conflicts:
#	backend/handler/database/states_handler.py
#	backend/tests/utils/test_filesystem.py
2026-09-24 08:22:22 -04:00
Zurdi
eaba9c70d1 Merge pull request #4743 from rommapp/claude/rq-workers-restart-loop-588783
fix(docker): stop the watchdog from spawning duplicate RQ workers
2026-09-24 00:01:21 +02:00
zurdi
5cd71a244c simplify: pin the RQ worker PID write with a plain substring check
The test checks the one line the watchdog relies on, next to the keepalive
pair instead of between it, and the comment states RQ's late write once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 21:17:21 +02:00
zurdi
ce36d3f0fb review: guard the RQ worker PID file and comment it where it is written
Adds a test that start_rq_worker records $! instead of passing --pid, and
moves the comment next to the line it explains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 21:14:34 +02:00
Zurdi
3c5f1d0202 Merge pull request #4740 from rommapp/fix/scan-keeps-hash-source-tags
fix(scan): keep a hash source's tags when a scan skips it
2026-09-23 21:12:46 +02:00
zurdi
87ab23fd38 fix(docker): record the RQ workers' PID as soon as they start
The watchdog restarts any process whose PID file is missing, and RQ's --pid
writes that file only after importing the worker class. Since RomMWorker
imports tasks.tasks (and with it config, SQLAlchemy and the auth and socket
handlers), reaching that point takes seconds on a cold, bytecode-less image,
so on a slower host the watchdog started a fresh pair of workers every 5 s
and each one lived on as a duplicate. The init script now writes $! like it
does for the cron scheduler and the watchers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 21:12:09 +02:00
zurdi
56a9609303 fix(scan): read a kept blob only when it holds lists of strings
Addresses Greptile's review: an edit of a ROM's raw metadata stores
whatever JSON it is given, so a skipped source's stored blob can be a
list or a string, and a dump_* value a bare string. Reading it assumed an
object and would have crashed the ROM's scan or split a tag into
characters; anything else is now read as no tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:25:56 +02:00
zurdi
9cf751df29 refactor(scan): simplify kept hash-source tags after review
- A kept tag only fills an empty region or language slot: the row's
  value may come from a source the scan didn't ask either (a gamelist),
  and a hash source's old answer mustn't replace it. Fresh answers still
  work as before.
- A rehash that drops the Hasheous match now does so before the tags are
  resolved, so the ROM doesn't take tags from the match it's losing.
- One reader for this scan's blob and the stored one, every tag field
  recorded (empty lists included), and one ordered list of claims instead
  of a dict plus a list.
- The applied sources and the hash sources are ordered in one pass, since
  each pass rereads config.yml, instead of adding a read per ROM.
- Tests: one fixture per lookup, the blob assertion folded into the
  translated-dump test, and new ones for the gamelist case and the
  dropped Hasheous match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:13:42 +02:00
zurdi
a961143de1 fix(scan): address the code review of kept hash-source tags
- A handler reporting a tag field as null records no tags instead of
  raising in the middle of the ROM's scan.
- One home each for the tag fields and the blob keys their dump tags are
  kept under, which the writer and the reader both use.
- Test a HASHES scan, which never asks ScreenScraper again and used to
  drop its dump tags every time, and a fresh answer without our dump
  replacing the tags the blob kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:07:06 +02:00
zurdi
59920403ae fix(scan): keep a hash source's tags when a scan skips it
The regions, languages and tags a hash-matched source (ScreenScraper,
Hasheous) gave a ROM were only known while that source answered. A scan
that didn't ask it, such as an UPDATE with only IGDB selected or an
UNMATCHED scan of a ROM Hasheous already matched, rebuilt the tags from
the filename and the sources it did ask, and dropped them: the row can't
say which of its tags came from where.

Each hash source now keeps the tags its dump gave in its own blob
(dump_regions, dump_languages, dump_tags), and a scan that doesn't hear
from a source the ROM still carries the id of reads them from there. A
complete rescan still clears the id and blob of a source it drops, so
those tags go with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:02:35 +02:00
Sam Dornan
d7f226934b fix(roms): order lettered discs like numbered ones (#4738)
* fix(roms): order lettered discs like numbered ones

"(Disc A)", "(Disc B)" didn't match the disc tag pattern, so a lettered
set fell back to plain file-name order. A bonus file whose name sorted
earlier could then take the first playlist slot and boot instead of
disc A, and mixed-case names ordered wrongly. Lettered discs now count
from A as 1. The letter needs a space after the word, so "(CDi)" is not
read as disc 9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PkUQt5fewjBenaaUMD4XpG

* fix(roms): match only ASCII letters as a disc letter

With re.I alone, [a-z] case-folds non-ASCII letters too: "(Disc İ)"
crashed ord() with a two-code-point lowercase and "(Disc ſ)" became
disc 287. Also trim the pattern comment and docstring to the repo's
comment limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PkUQt5fewjBenaaUMD4XpG

* fix(roms): keep Unicode whitespace in disc tags matching

re.ASCII on the whole pattern also narrowed \s, so "(Disc 2)" with a
non-breaking space lost its disc number. Scope the ASCII flag to the
disc letter alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PkUQt5fewjBenaaUMD4XpG

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 11:57:02 -05:00
Zurdi
f11725b835 Merge pull request #4735 from rommapp/claude/notification-channels
feat: forward notifications to webhooks, Discord, ntfy and email
2026-09-23 18:56:29 +02:00
zurdi
167eab5e81 fix: address Greptile's review of notification channels
- A queued delivery checks the channel is still confirmed before it
  sends, so mail doesn't reach an address swapped in since it was queued.
- A redirect counts as a failed delivery, naming where it pointed, since
  redirects aren't followed and it used to be recorded as sent.
- The per-user channel cap is counted and inserted under a lock on the
  user's row, so concurrent adds can't go past it.
- The Channels tab drops a reload that raced a change made meanwhile,
  reverts only `enabled` when a toggle is refused, and holds the delete
  button while its request runs.
- Trim the migration's docstring to one sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:43:10 +02:00
Zurdi
9091d37552 Merge pull request #4739 from rommapp/claude/gallery-list-right-gap-bb0f25
fix(v2): run desktop list rows to the screen edges
2026-09-23 18:40:44 +02:00
zurdi
45e723facb fix(v2): paint the gallery list row focus inside the row (Greptile review)
Addresses Greptile on #4739:
- The gamepad focus halo is an outward box-shadow, so pulling only the
  outline inward still left it clipped at the scroller's edge. Key and
  pad focus now paint as an inset ring, as AssetGroupHead already does
  for the same clip.
- Trim the IndexShell list bleed comment to two lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:39:08 +02:00
zurdi
6f5c1f21b5 test: share one fake Redis keyspace between the sync and async caches
Outside tests one Redis serves both, but each fakeredis client got a
keyspace of its own, so the endpoint tests' flush between tests only
cleared the sync one. A confirmation-code cooldown set through the async
cache in one test then answered the next test's first code with a 429.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:33:47 +02:00
zurdi
a16429114d fix(v2): run desktop platform and collection list rows to the screen edges
The platforms and collections index lists had the same gap the gallery
list had: on desktop the rows sat inside the shell's gutter while the
pinned column header's glass ran edge to edge. IndexShell now publishes
its list bleed at every breakpoint, not only on phones and tablets, and
the column rows and headers take that gutter back as padding, so the
columns line up with the toolbar on both sides. With no AlphaStrip here
the bleed is symmetric.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:31:09 +02:00
zurdi
3d055ff6b9 refactor(v2): tidy the desktop list bleed (simplify)
- The shell bleeds the column header itself, as it already does in
  compact mode, so GameListHeader needs no modifier of its own. Its
  min-width lives in the same desktop rule, so the compact placeholder
  value for `--r-list-min-w` goes.
- The list min-width no longer counts the rows' leading padding, which
  sits in the gutter they bleed into.
- A bled row keeps at least its `--r-space-3` leading padding.
- The row's focus ring is the global one pulled inside by its width,
  so it keeps its modality gating and per-modality width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:24:54 +02:00
zurdi
9fec08ed31 docs: say why the code cooldown isn't per channel without the alternative
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:23:34 +02:00
zurdi
355a1a3314 fix(v2): inset the gallery list row focus ring (code-review)
Now that desktop list rows run to the scroller's left edge, the generic
outset focus ring lost its left side to the scroller's clip. Paint it
inset, as the platform and collection rows already do. Also drop a
`left: 0` on the pinned header glass that changed nothing, since the
scroller clips that overhang anyway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:19:31 +02:00
zurdi
2c38ca1918 refactor: simplify notification channels after review
- A channel's min_level is its own enum (info, warning, error), so the
  API refuses `success` and neither the list nor the dialog maps it.
- One home each for the admin-reaches-the-LAN rule (the DB handler now
  returns the owner's role) and for describing a failed delivery.
- One webhook config builder for create and update, which drops the
  secret of a Discord webhook on both.
- SMTP_SECURITY outside starttls/tls/none leaves email off, so the
  heartbeat says so, with a warning at startup.
- The attempts counter gets its TTL in the same round trip as INCR.
- Deliveries group channels by user and serialize a notification only
  when a channel wants it.
- The v2 side reuses errorMessage (now with a fallback) instead of its
  own detail parsing, mirrors the backend length limits as constants,
  shares one channel test factory, and derives `created` on save from
  the list instead of carrying it on the event.
- Drop RBadge's inline override, which nothing needs now that an inline
  badge gets no anchor class, and trim docstrings to one sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:17:13 +02:00
zurdi
2e17078397 fix(v2): run desktop gallery list rows to the left screen edge
In desktop list mode the rows sat inside the scroller's left gutter
while the pinned column header's glass ran edge to edge, leaving a gap
on the left of every row. The rows, their loading placeholders and the
column header now bleed out to the left edge and keep that gutter as
their leading padding, so the first column lines up with the toolbar.
The right gutter stays for the AlphaStrip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:15:42 +02:00
zurdi
28fc82c63b fix: address the code review and security audit of notification channels
- Bound a webhook delivery: 15 s in all, and only the first KiB of a
  refusal's body is read, so a hostile endpoint can't hold the API or a
  worker with an endless or slow reply.
- Key the confirmation-code cooldown per user and per address instead of
  per channel, which a delete and re-create reset, so a user can't mail
  an address without limit.
- Don't carry a stored secret to another origin or format: it has to be
  given again (Discord, which uses none, drops it), so a changed URL
  can't be used to read an ntfy token or HMAC key.
- Refuse a webhook URL whose port isn't a number; one got saved and then
  broke the channel list with a 500.
- Refuse an unknown SMTP_SECURITY instead of logging in over plaintext.
- Tell the reset form whether reset links are really emailed, which also
  needs a shareable ROMM_BASE_URL (heartbeat NOTIFICATIONS.EMAILS_RESET_LINKS).
- Say a code went out only when the address is new to the channel.
- Match a channel's address whole, so a trailing newline isn't kept.
- Test that forgot-password answers alike and sends the link afterwards,
  and document the new cache keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:07:00 +02:00
Sam Dornan
01d05101f9 fix(roms): order a playlist by disc number, not by file name (#4737) 2026-09-23 11:47:56 -04:00
zurdi
ad7a081827 Merge remote-tracking branch 'origin/master' into claude/notification-channels 2026-09-23 17:39:47 +02:00
zurdi
6e1f2ddf45 feat: email password reset links when SMTP is set up (the rest)
The previous commit carried only the renames of this change, when staging
the rest failed on a path the rename had already moved. This is the change
itself.

A reset link only ever went to the server log, for an admin to pass on. It
now goes to the user's email address when SMTP is set up, the user has one
and ROMM_BASE_URL is shareable, falling back to the log otherwise or when the
server refuses the message. The link is built from ROMM_BASE_URL alone, never
the request's Host, so a forged header can't aim it at another server; it
goes out after the response, so its timing doesn't reveal whether the
username exists; and a user's inbox gets at most one a minute.

The SMTP sender moves from the notification channels to
handler/email_handler.py now that it has a second caller. The v2 reset form
says the link is on its way when the server sends email.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:37:59 +02:00
zurdi
5059d2625e feat: email password reset links when SMTP is set up
A reset link only ever went to the server log, for an admin to pass on. It
now goes to the user's email address when SMTP is set up, the user has one
and ROMM_BASE_URL is shareable, falling back to the log otherwise or when the
server refuses the message. The link is built from ROMM_BASE_URL alone, never
the request's Host, so a forged header can't aim it at another server; it
goes out after the response, so its timing doesn't reveal whether the
username exists; and a user's inbox gets at most one a minute.

The SMTP sender moves from the notification channels to
handler/email_handler.py now that it has a second caller. The v2 reset form
says the link is on its way when the server sends email.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:36:47 +02:00
zurdi
7e1565e6ef fix(v2): keep an inline RBadge on its line
An inline badge still got its anchor class, whose transform comes later in
the stylesheet than `.r-badge--inline` and so won: the unread count in the
settings sidebar and the user menu sat half a badge up and to the right.
An inline badge now gets no anchor class.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:32:28 +02:00
zurdi
c8d8b2d855 feat: name the channel in a Discord embed's footer
A Discord channel's messages carried nothing of the name its owner gave it,
so two channels into one Discord channel couldn't be told apart. The footer
now shows the channel's name, followed by the sender when there is one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:26:47 +02:00
Zurdi
2200a4823d Merge pull request #4736 from rommapp/claude/wider-state-cards-82294a
feat(v2): wider state cards and one timestamp across save and state views
2026-09-23 17:23:31 +02:00
zurdi
094c721dd8 test(v2): build save and state fixtures from typed factories
The save and state test fixtures cast partial literals to SaveSchema and
StateSchema, hiding missing required fields from vue-tsc. saveFixture and
stateFixture fill every required field, and each test's own helper now
only sets what it cares about.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:14:27 +02:00
zurdi
1318a4d89f test(v2): type the SaveDataPanel fixture without a cast
Addresses Greptile's review on #4736: the save fixture now spells out
every required SaveSchema field instead of casting a partial literal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:10:50 +02:00
zurdi
4b07a66c15 test: drop eslint-disable directives nothing in these files needs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:05:34 +02:00
zurdi
229d4ccdee fix(v2): drop asset tooltips and fit three state cards at 1440px
The save and state tooltips only repeated the filename and the exact
time, which every row, tile and preview now shows (and the group head
already flags a core that cannot load). Stream's save summary renders
its size and time through AssetChips and AssetTimestamp like the other
asset views, which retires play.save-data-detail and rom.created.

Flow cells start at 260px: three per row on a 1440px screen instead of
two oversized ones, four on 1920px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:03:13 +02:00
zurdi
8ed1e4b669 fix(v2): lay the channels tab out like the users tab
The list sits straight on the tab, without a section card around it, and
Add channel goes under it on the left, as Add does under the users table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 17:01:55 +02:00
zurdi
645a4be217 fix(v2): colour the channel delete button like every other
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:59:35 +02:00
zurdi
48f1b73072 fix(v2): show a required field's hint in an RTooltip, translated
An empty required field showed the browser's own validation bubble ("Please
fill out this field"), in the system's language and not the app's. RForm now
sets `novalidate`, RTextField marks the field with `aria-required` instead of
`required`, and an empty required field says so in an RTooltip whose text is
a new `required` chrome label backed by `common.required`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:58:44 +02:00
zurdi
fba70866f0 fix: keep an email channel's address until its new code goes out
Changing the address saved it before sending the confirmation code, so a
code refused by the one-a-minute limit or the SMTP server left the channel
on an address that never got one. The code now goes out first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:50:27 +02:00
zurdi
efe52205ba refactor(v2): apply the simplify pass
AssetTimestamp's align and inline props only ever moved together, so one
`stacked` prop (relative over exact, flush right, for a trailing time
column) replaces both; side by side is now the default. Drops the unused
inline + end rule, the list layout's own alignment override, a dead
flex reset on grid tiles, and the duplicated inline test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:50:19 +02:00
zurdi
e914a8301a fix(v2): apply the code-review pass
Keep an end-aligned timestamp flush right when it goes inline, put every
tile layout but the list's fixed time column on the inline timestamp, and
test which layouts get it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:46:49 +02:00
zurdi
3965463590 style(v2): widen state cards and show one timestamp everywhere
State cards in the flow grid were narrow enough that labels, chips and the
timestamp stacked them taller than wide. Cells now start at 300px (shrinking
on a phone rather than overflowing), which also gives the screenshot room.

The relative and exact time now render through AssetTimestamp everywhere:
side by side on state cards, the launch view preview and phone save rows,
where the exact moment is no longer hidden. The preview drops its own
clock icon and dot separator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:44:01 +02:00
zurdi
1e656c2044 docs: describe notification channels and the SMTP settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:30:55 +02:00
zurdi
970a9722a8 feat(v2): manage notification channels from the Notifications page
A Channels tab, for every user, lists their webhooks and email addresses
with their filters and last delivery or error, and lets them add, edit,
test, turn off and delete each one. An email address is confirmed with the
code sent to it, right in its row. The form offers email only when the
server has SMTP set up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:30:48 +02:00
zurdi
7ac95be747 feat: forward notifications to webhooks and email
Each user can add channels that forward their notifications: a webhook
posting RomM's JSON (optionally HMAC-signed), a Discord embed or an ntfy
message, or an email address confirmed with a code. A channel filters by
minimum level and by topic, and every stored notification that passes goes
out in its own RQ job, retried three times; ten failures in a row turn the
channel off and tell its owner.

Channel configs are sealed with a key derived from ROMM_AUTH_SECRET_KEY,
since a webhook URL carries its own token. Only an admin's webhooks may
reach private addresses; everyone else's go through the SSRF guard. Email
goes out over the SMTP_* settings, which the heartbeat reports as
NOTIFICATIONS.EMAIL_ENABLED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:30:33 +02:00