892 Commits
Author SHA1 Message Date
jakeaturner 8dcb8ea2f0 docs(release): finalize v1.35.2 release notes [skip ci] 2026-11-24 22:51:37 +00:00
cosmistack-bot 932d2a5de9 chore(release): 1.35.2 [skip ci] v1.35.2 2026-11-24 22:43:47 +00:00
jakeaturnerandClaude Opus 5.5 7fa2746005 docs: update release notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:42:20 +00:00
jakeaturner ecaa8c93b0 fix(Collections): tighten ZIM matching logic when handling previous_ids 2026-11-17 22:27:51 -08:00
Chris SherwoodandClaude Opus 5.5 13048a89bc fix(collections): keep installs when openZIM renames a curated ZIM
A manifest entry can now list its former ids in previous_ids. When the catalog arrives, install rows under a former id move to the current id; boot reconcile maps old-name files to the current id; and the post-update cleanup may delete the resource's previous file even when it carries the former id. Without this, a rename made the existing file read as not installed, froze it out of updates, and left the old file on disk after a re-download.

Refs #1171.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:27:51 -08:00
Chris SherwoodandClaude Opus 5.5 f633b36e26 fix(collections): record previous ids for the five renamed curated ZIMs
Military Medicine (#1556) and the four Canadian Prepper titles
(#1397, c693cd5) changed id when openZIM renamed their files. With
previous_ids (#1561), installs that already have the old file keep it
instead of showing it as missing and re-downloading. Versions without
#1561 drop the unknown field during validation, so this is safe to
ship first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 15:45:57 -08:00
jakeaturner 1a5cb3b6b9 ci(collections): only touch the tracking issue on runs against main
workflow_dispatch can target any branch, so a manual run on a fix branch
could close the main tracking issue while main was still broken, or open
one for a URL main never had. Both issue steps now gated on refs/heads/main.
2026-11-17 14:45:01 -08:00
Chris SherwoodandClaude Opus 5.5 1aad00dbd7 ci(collections): open a tracking issue when the weekly URL check fails on main
The scheduled check has failed every week since 2026-10-12 without anyone seeing it, including the Military Medicine 404 that later became #1555. On a scheduled or manual run, a failure now opens (or comments on) a 'Catalog URLs failing on main' issue listing the broken URLs, and a passing run closes it. PR and push runs are unchanged.

Refs #1171.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 14:45:01 -08:00
271268c771 fix(collections): refresh 17 catalog entries whose builds were deleted upstream (#1558)
* fix(collections): repoint renamed Military Medicine ZIM, refresh 17 stale builds

openZIM renamed fas-military-medicine_en to irp.fas.org_en_military-medicine
and deleted the old build, so the catalog URL 404s and the live OPDS lookup
under the old id finds nothing. Repoint it to the 2026-10 build.

Also bump 17 entries whose dated builds were deleted upstream (11 Stack
Exchange sites, devdocs bash, wikibooks maxi/nopic, Wikipedia Medicine,
wikiversity, foss.cooking). These already self-heal at download time via
the OPDS lookup, so this only makes the listed versions and sizes accurate.

Every URL in the catalog was re-checked: 200 plus a 206 on a range request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(collections): leave Military Medicine to #1556

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(Collections): botched merge of Military Medicine correction

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: jakeaturner <jturner@cosmistack.com>
2026-11-17 14:34:43 -08:00
jakeaturner e1a814a3c1 fix(apps): bump default project-nomad-translate version to 0.1.2 2026-11-17 22:18:36 +00:00
jakeaturner 2ef44ce482 fix(maps): close CORS traversal and error-page leaks
Normalize and decode the request path before matching map asset
prefixes so encoded ..%2F can no longer reach other public static
files with the CORS header. Drop Access-Control-Allow-Origin on
4xx/5xx responses so error pages, which include the app version and
assistant name, stay same-origin.
2026-11-17 22:18:36 +00:00
jakeaturner d1e17fa17b fix(downloads): migration to reset Wikipedia selections damaged by #1482
Installs damaged by #1482 still have the Wikipedia selection pointing at
another wikipedia_en_* corpus such as the Medicine tier ZIM. On those
installs, choosing "None" deletes Medicine, and the boot reconcile skips
Medicine's InstalledResource row, so its tier won't show as installed.

This one-off migration resets any selection whose filename (or pending
URL) isn't a Wikipedia selector option. It leaves the file on disk, so the
next reconcile restores the Medicine row. It reads the option list from the
cached wikipedia manifest and falls back to the current option filenames.
2026-11-17 22:18:35 +00:00
cosmistack-bot 7cabb3b60b chore(release): 1.35.2-rc.1 [skip ci] 2026-11-17 22:18:35 +00:00
jakeaturner b8b6e8995e docs: update release notes 2026-11-17 22:18:34 +00:00
jakeaturner 0e4f0615fa fix(rag): fail a ZIM batch only when its resume point is past the end
The resume check failed any batch that picked up from its saved
position, found no articles, and still had startOffset below
articleCount. Our article count and libzim's articleCount do not
match. Older ZIMs count redirects in articleCount, and some ZIMs
come out the other way (#903). So a file whose article count is an
exact multiple of the batch size failed on its last, empty batch.
It retried 30 times and never got marked indexed.

An empty batch at a valid saved position is a normal end of file.
The real broken case is a saved position past the end of the entry
range, which means the file changed between batches. openZimBatchRange
now throws UnrecoverableError for that, and processAndEmbedFile lets
UnrecoverableError through instead of turning it into
{ success: false }, so BullMQ does not retry.

Replace the test that copied the extraction loop with one that runs
ZIMExtractionService on the bundled 100-article ZIM. It checks that
chained batches return every article exactly once, and that a job
queued by an older build (no saved position) lands on the same next
position as the new path. Moving the dirent counter above the batch
break fails it.
2026-11-17 22:18:34 +00:00
Aaron Van Tassle 1d6becd923 fix(rag): seek ZIM batches instead of rescanning from the start 2026-11-17 22:18:33 +00:00
Yi-111-a 8033e9dc0c fix(test): drop unused test callback arg in formatSpeed spec
tsc fails the admin build with TS6133 on the unused `t` parameter.
2026-11-17 22:18:33 +00:00
Yi-111-a 85085c2c7d fix(downloads): pick formatSpeed's unit after rounding
The three formatSpeed copies chose the unit from the raw speed and then
rounded, so a speed just under 1024 of a unit displayed as 1024 B/s or
1024.0 KB/s instead of 1.0 KB/s / 1.0 MB/s. The shared one in
app/utils/misc.ts now rounds first and moves to the next unit when the
rounded value crosses its floor, gains the <= 0 guard the component
copies had, and the components import it (like ChatModal imports
parseBoolean) instead of keeping their own diverging copies.

Fixes #1554
2026-11-17 22:18:32 +00:00
Chris SherwoodandClaude Opus 5.5 f45d79acef fix(ui): refresh the sidebar logs link after saving, simplify the help text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:18:32 +00:00
Yi-111-a 73ba0cc4bd fix(ui): let the Service Logs sidebar link honor a custom URL
#991 added custom_url overrides for app launch links, but the Settings
sidebar's "Service Logs & Metrics" entry still built its href from just a
port: getServiceLink('9999') in SettingsLayout.tsx.

Dozzle is a management-compose container (nomad_dozzle), not a `services`
row, so that override has nothing to attach to and the link always
resolved to http://<current-host>:9999. For anyone reaching NOMAD through
a reverse proxy or a local DNS name — the exact audience #991 served — the
logs link is broken with no workaround in the UI.

Add a KV-backed ui.serviceLogsUrl override, editable under Advanced >
Reverse Proxy, and route the sidebar entry through getServiceLink's
existing customUrl argument. With nothing set the link is unchanged.

Validation accepts a full http(s) URL or a bare host (normalizeCustomUrl
prepends http://), treats empty as "clear", and refuses a declared
non-http(s) scheme so an input like file:///etc/passwd is rejected at the
boundary instead of being silently reinterpreted as a hostname.
2026-11-17 22:18:31 +00:00
Claude 69bb17e468 fix(translate): stop crash-looping on CPUs without AVX (#1512)
The bergamot wheel needs AVX. On a CPU without it (Celeron N5105, N100-class
mini PCs) importing it dies with SIGILL, which killed the whole proxy on the
first translated page; Docker restarted it and the /viewer healthcheck kept
reporting healthy.

At startup the proxy now tries the import once in a child process. If the
child dies, no language is offered, the library is forwarded untranslated,
and the reason ("this CPU lacks the AVX instructions ...") is logged and shown
in the page's translate bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0118UBk31k7JCzTSuktPuqVi
2026-11-17 22:18:31 +00:00
jakeaturner c922d98c01 fix(gpu): stop Intel iGPUs passing as discrete cards and skip the verdict for external Ollama
Closes two gaps in the Intel "unsupported" fallback in #1404, the first
an existing bug and the other a hardening of the #1404 work:

- isDiscreteGpuVendor matched /ati/ anywhere in the vendor string, and
  "Intel Corporation" contains "ati". An Intel iGPU with a small lspci
  VRAM reading was flagged as a discrete card with bogus VRAM. That set
  lspciNeedsProbe, so the box stayed at no_gpu and wouldn't reach the
  unsupported branch. It now uses classifyGpuVendor, which keeps all
  vendor matching in gpu_model.ts.

- An Intel host using ai.remoteOllamaUrl, or a custom local Ollama image,
  can run inference on a GPU this host's lspci cannot see. A reachable
  external Ollama (getExternalOllamaGpuInfo) now vetoes the unsupported
  verdict, so those setups don't show a false "runs on CPU" banner.
2026-11-17 22:18:31 +00:00
Yi-111-a cca03e6baf fix(gpu): report an Intel GPU as unsupported instead of healthy
The health probe's fallback branch set status 'ok' and
ollamaGpuAccessible: true purely because si.graphics() returned a
controller. On an Intel-only box that is the Core Ultra case in #1325:
the controller is there, but NOMAD only ships CUDA and ROCm paths and
Ollama has no Intel backend, so inference runs CPU-only while Settings
> System reports a healthy GPU.

Adds an 'unsupported' status, set only when no reported controller
belongs to a vendor NOMAD can accelerate. NVIDIA and AMD boxes keep the
existing behaviour, and an unrecognised vendor string is deliberately not
flagged so a healthy card behind a newer pci.ids is never turned into a
false alarm.
2026-11-17 22:18:30 +00:00
jakeaturner 0a5f87abc4 fix(apps): migration for broken Ollama ui_location
Builds on #1584 work from @FuryNocturn and runs a one-off migration to repair the broken
`ui_location = '11434'` that NOMAD would save for the Ollama app row before the fix
from #1584
2026-11-17 22:18:30 +00:00
FuryNocturnTV 43d2b20d1e fix(apps): keep a path UI location when editing an app
Editing a curated app replaced its ui_location with the first host port.
The AI Assistant opens at /chat and publishes Ollama's API on 11434, so
after any edit its tile opened the API and showed "Ollama is running".
Keep the existing location when it is a path.

Fixes #1581
2026-11-17 22:18:29 +00:00
jakeaturner a6f18b05ab fix(downloads): mark terminal failures correctly when retries are skipped
The worker's failed handler decided a failure was final by comparing
attemptsMade to opts.attempts. An UnrecoverableError (disk full, gated
auth) skips BullMQ's retries and fails on attempt 1 of 10, so that check
never fired. A Wikipedia download that hit a full disk stayed at
"downloading", and failed auto-updates never advanced their backoff.

Use job.finishedOn instead. BullMQ sets it only when a job moves to the
failed set for good.

User cancels also throw UnrecoverableError, so they now count as
terminal. Exclude them from the auto-update backoff with a shared
RunDownloadJob.CANCELLED_PREFIX, so a cancel can't self-disable an
update.
2026-11-17 22:18:29 +00:00
jakeaturner ca277652ba fix(downloads): recognize selected Wikipedia ZIM even if option list can't be loaded 2026-11-17 22:18:28 +00:00
FuryNocturnTV e3402ea220 fix(downloads): prevent content loss from Wikipedia detection, partial files, cancel and full disks
- Only files of the Wikipedia selector's own variants (same filename stem)
  update the Wikipedia selection. A `wikipedia_en_` prefix match made the
  Medicine tier ZIM take over the selection, lose its InstalledResource row,
  and get deleted when a Wikipedia ZIM was uploaded locally.
- The queue marks a Wikipedia download failed only after retries are spent.
- A finished stream shorter than Content-Length is not installed (the .tmp is
  kept so the next attempt resumes); a 206 whose Content-Range does not
  continue the partial file restarts the download instead of splicing files.
- Cancelling a download or map extract deletes only the staged .tmp, never
  the final path, which may be an installed file with the same name.
- Map extracts write to <file>.tmp and are renamed only on success.
- Downloads check free space before writing (rest of the file + 2 GiB
  headroom) and fail without retries when it does not fit or on ENOSPC.
2026-11-17 22:18:28 +00:00
jakeaturner 0acc024ff1 fix(maps): kill abandoned size estimates instead of letting them run to timeout
The country picker starts a new size estimate on each selection or zoom
change. The browser ignored stale replies, but the server kept pmtiles
dry runs going, which stream range requests from the remote
archive. With the limit now 10 minutes, a few clicks left several
processes running for minutes after the user stopped waiting.

- The controller aborts the dry run when the connection drops before it
  answers. It listens on the ServerResponse, since IncomingMessage 'close'
  fires once the body is read.
- runDryRun passes the signal to execFile and throws
  MapPreflightAbortedError on abort, so it no longer logs 500.
- The picker aborts the request in flight when the selection changes or
  the modal closes.
- Cancel no longer spins for the whole estimate, only while a download is
  being dispatched.

Refs #1258
2026-11-17 22:18:27 +00:00
Chris SherwoodandClaude Opus 5.5 29e26d9457 fix(maps): give the region size estimate 10 minutes, and say so when it times out
The dry-run that sizes a country selection had a 60 s limit. Its runtime
scales with land area, so large selections went over it on ordinary
hardware: Canada alone takes 41 s on a fast box, US+CA+MX 61 s. The user
got a generic 500 with an empty stderr, indistinguishable from a real
failure because pmtiles buffers its output and loses it on SIGTERM.

- Raise the limit to 10 minutes.
- Detect a timeout from execFile's killed/signal/code (isExecTimeout) and
  return a 504 with a plain message instead of a 500.
- Let the country picker show the server's message inline; the call no
  longer goes through catchInternal's generic toast.

Closes #1258

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:18:27 +00:00
jakeaturner 20b8cf0c32 docs: update log rotation behavior code comment 2026-11-17 22:18:26 +00:00
Chris SherwoodandClaude Opus 5.5 27aa47077f fix(docker): cap container logs so they can't fill the root disk
Docker's default json-file log never rotates, and NOMAD set no log options
on any container. On a small root disk an unbounded nomad_admin log filled
/ and took MySQL down with it (#1412).

- management compose: a shared x-logging anchor caps every service at
  3 x 10 MB.
- app containers: the admin now adds the same cap when it creates, updates,
  or migrates a container, but only when the container would otherwise get
  an unbounded json-file log. Another driver, or an existing max-size from
  the user or the daemon's log-opts, is left alone (max-size is not valid
  for most other drivers and would fail the create).
- the update path previously dropped LogConfig entirely; it now carries it
  over.

Closes #1412

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:18:26 +00:00
jakeaturner fe2f0bcdcb fix(installer): ensure the source guard allows piping 2026-11-17 22:18:26 +00:00
Robert CronkandClaude Fable 5.1 8e2c2f27c4 fix(installer): check mount propagation and ports before installing
The installer created /opt/project-nomad, generated credentials, and started
pulling images before it could tell whether the host was able to run the
management stack at all. An incompatible root mount propagation or an already
occupied published port surfaced only as an opaque Compose failure, after the
installer had already written to the host and after the user had answered every
prompt.

Add a side-effect-free host preflight that runs after the environment checks and
immediately before create_nomad_directory. It derives the propagation-sensitive
host mounts and every published host port from the management Compose file
instead of hardcoding 8080 and 9999, inspects them with findmnt and ss, reports
every failed check together with its remediation, and exits nonzero before any
installation resource exists. The Compose file fetched for the preflight is
reused for the installation rather than downloaded a second time.

Wrap the top-level call sequence in a guarded main so the script can be sourced
by tests without performing an installation.

Add install/tests/install_nomad_preflight_test.sh, a dependency-free harness
covering Compose parsing, shared, slave, private and undetectable propagation,
free, occupied and undetectable ports, the existing-install port warning, call
order, Compose reuse, and failure before the installation directory is created.

Refs #1320

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-17 22:18:25 +00:00
jakeaturner 23aca597f3 docs: note in config/cors.ts that map routes have separate CORS handling 2026-11-17 22:18:25 +00:00
cclavin fa78a478cc fix(maps): gate CORS on method, narrow /api/maps/ to /styles
/api/maps/ has ten POST/PATCH/DELETE routes under it (download-remote,
extract, marker CRUD, and others). The middleware set
Access-Control-Allow-Origin before checking the method, so those
responses got the header too. Gate emission to GET/HEAD/OPTIONS.

/styles is the only /api/maps/ route another app needs cross-origin
(confirmed against the app that surfaced this bug); match it exactly
instead of the whole prefix. The other three prefixes are served by
AdonisJS's static provider, GET/HEAD only, so they're unaffected.
2026-11-17 22:18:24 +00:00
cclavin 9bf491634d fix(maps): serve map assets with CORS
origin: ['*'] in config/cors.ts never matches a real Origin header,
since @adonisjs/cors only treats '*' as a wildcard when it's the bare
string, not inside an array. So no Access-Control-Allow-Origin is ever
sent, on any route, blocking any other app from reading NOMAD's map
tiles cross-origin.

Add a middleware scoped to the four map asset path prefixes instead of
widening the global config, which would also expose the write API since
credentials: true is already set there. Registered before @adonisjs/cors
so it can answer OPTIONS preflights on map paths itself; the built-in
middleware ends any preflight it can't match an origin for before this
one would otherwise run.
2026-11-17 22:18:24 +00:00
jakeaturner a813c1c9d9 fix(security): pin the 11 Nov 2026 security releases
Expands on #1459 introduced by @cpugenius and 1) bumps the admin
Docker image's Node version to 22.23.5 and 2) makes the Node version
used by the build-admin-on-pr.yml workflow match. Previously, the workflow
was running Node 24, so PR checks were running on one version of Node but
shipping on a different runtime version.
2026-11-17 22:18:23 +00:00
Matthew Marshall 86b187a9ff fix(security): pin the 21 Oct 2026 Node releases
The image was still built from the floating node:22-slim tag, and Qdrant
and Cheerio resolved undici builds below the 6.29.1 and 7.30.1 fixes.
Pin node:22.23.4-slim by digest, run CI on 24.22.1, and lock those
undici versions. This covers CVE-2026-111497 and the TLS and DNS
hostname bugs on the 22 and 24 lines.
2026-11-17 22:18:23 +00:00
Matt Moyles d78eb635e0 fix(docs): stop a Markdoc warning from taking a docs page down
DocsService.parse() threw on every validation finding except
attribute-undefined, warnings included. faq.md has a bold span
hard-wrapped across lines, which Markdoc reports as a child-invalid
warning ("Can't nest 'softbreak' in 'strong'"), so the FAQ page
returned a 500 even though transform() renders it fine.

Only error and critical findings block rendering now. The Markdoc
config moves to app/utils/docs_markdoc.ts so a unit test can validate
every bundled doc against the schema the service uses. The FAQ
sentence is also joined onto one line.

Fixes #1427
2026-11-17 22:18:22 +00:00
Md Tasnimul Hoque dc9b11a924 docs(FAQ): simplify memory requirements section (#1430)
Removed redundant lines about model memory requirements.
2026-11-17 22:18:22 +00:00
suvenaga c903da48c9 fix(collections): repoint Military Medicine to its renamed ZIM (#1556)
Kiwix renamed fas-military-medicine_en to irp.fas.org_en_military-medicine and removed the old file. The catalog has no entry under the old name, so NOMAD falls back to the manifest URL, which now returns 404.

Closes #1555
2026-11-08 20:03:59 -08:00
cosmistack-bot 54ee30a449 docs(release): finalize v1.35.1 release notes [skip ci] 2026-10-05 22:30:13 +00:00
cosmistack-bot 0dbbd21c2f chore(release): 1.35.1 [skip ci] v1.35.1 2026-10-05 22:29:51 +00:00
jakeaturner f257d54a29 chore(docs): update release notes 2026-10-05 22:25:22 +00:00
Chris SherwoodandClaude Opus 5.5 26f40baf58 fix(ai): probe a model the list reports without vision before disabling images
Ollama 0.33.3 gives two answers for gemma3: /api/tags lists it as
['completion'], while /api/show for the same model reports
['completion', 'vision']. getModelCapabilities trusted the list outright
and cached it for the life of the process, so image upload stayed disabled
for gemma3, one of the most common small vision models, even though the
model downloader correctly shows it as text + image. Re-pulling does not
help: the local digest matches the registry.

A list that reports vision is still trusted without probing. A list that
omits it is no longer conclusive: the model is probed through /api/show
(then llama.cpp /props), and the list's answer stands only when the probes
have nothing better, which keeps hybrid routers without /api/show working.
The service's own copy of the short-circuit is removed so the rule lives in
the one tested function.

Verified on NOMAD3 (v1.35.0 + this patch): installed-models moves gemma3:4b
from unsupported to supported, every other model unchanged, and a chat with
an attached image is answered correctly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 14:25:28 -07:00
Chris SherwoodandClaude Opus 5.5 ee203df485 fix(translate): download every released language, and list them in the docs
fetch_models.py sorted versions with float(), and Firefox Remote Settings
now publishes Nightly pre-releases ("1.0a1") alongside each release. The
first one crashed the whole fetch, so adding Swedish, or 21 of the 34 named
languages, silently did nothing and the button never appeared.

Only take records desktop Firefox would use on the release channel, pick
the newest complete version per direction instead of mixing files across
versions, support pairs that publish a separate source and target vocab
(Japanese), and keep one failing language from stopping the rest.

That opens 50 languages, up from the ~40 the docs claimed, including
Arabic, Japanese, Korean and Thai, which the docs said were unavailable.
All 50 downloaded, loaded and translated on the bergamot 0.4.5 engine in
the shipped image (NOMAD3). Chinese stays out: it is published as
zh-Hans/zh-Hant, which the proxy's two-letter codes cannot carry yet.

Translated pages now send Cache-Control: no-cache and put the installed
language set in the ETag. Kiwix's max-age=3600 kept the old language bar
for up to an hour after a language was added, and a normal refresh does
not reach the article frame.

Docs: step-by-step instructions and the full code table in the Supply
Depot section; sizes corrected to 45-140 MB per language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 14:19:27 -07:00
Chris SherwoodandClaude Opus 5.5 eef5b6cd37 fix(translate): forward upstream redirects instead of following them
urlopen() follows redirects silently. Kiwix answers a book root such as
/content/<book> with a 302 to the ZIM's main page, so the proxy served
that page's HTML at the original, shallower URL. Every relative link and
stylesheet then resolved one directory too high: the page lost its
styling and every article link 404'd (e.g. atenolol/ -> /content/atenolol/).
Kiwix's /random is a 302 too and broke the same way.

Use an opener that returns 3xx to the browser like any other non-200
response, and keep an absolute Location on this origin rather than the
upstream container name.

Bumps the catalog image to 0.1.1.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 14:19:27 -07:00
jakeaturnerandGabe Graves a483e15f7d chore(attribution): credit Gabe Graves for the vision attachments work
The vision attachment feature landed in edbfe1a with Gabe Graves as the
commit author, but under the legacy gabegraves@users.noreply.github.com
address rather than the ID-prefixed noreply GitHub associates with the
account. GitHub therefore did not count it toward his contributions.

This empty commit carries the correct trailer so the credit is restored
once dev fast-forwards onto main. No files change.

Original implementation: #1178. Integration and rebase: #1288.

Co-authored-by: Gabe Graves <37971265+gabegraves@users.noreply.github.com>
2026-09-30 03:59:53 +00:00
Chris SherwoodandClaude Opus 5.5 5e1702efeb fix(collections): repoint 11 curated ZIMs whose upstream files are gone
openZIM keeps only the two newest builds of each title and deletes the rest,
so 10 URLs in kiwix-categories.json now return 404. Manifests are fetched live
from main, so every install that picks an affected tier sits retrying a dead
download today (reported in #1312 and #1359).

Repointed to the newest build of each. All URLs verified 200 and
range-resumable (206); sizes are decimal MB from Content-Length:

- devdocs_en_node 2026-08 (1), devdocs_en_python 2026-08 (4)
- freecodecamp_en_all 2026-08 (8), based.cooking_en_all 2026-08 (16)
- librepathology_en_all_maxi 2026-09 (95, was 76)
- ted_mul_ted-ed 2026-09 (6381, was 5610)
- ted_mul_ted-conference 2026-09 (18136, was 16500)
- urban-prepper_en_all 2026-08 (2245)

The three Canadian Prepper titles were re-published under openZIM's new
YouTube naming (canadian-prepper_en_<playlist>), so their ids change to match
the filename base, which parseZimFilename() requires:

- canadian-prepper_en_winterprepping 2026-08 (1342)
- canadian-prepper_en_bugoutconcepts 2026-08 (2886)
- canadian-prepper_en_bugoutroll 2026-07 (879). The old-style 2025-08 file
  still resolves, but repointing now avoids the next 404.

A box that already has one of the old Canadian Prepper files will see that
resource as not installed and download the new one alongside it.

Full sweep after the change: all 118 URLs across collections/*.json return 200.

Fixes #1359
Refs #1312

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 20:56:08 -07:00