Commit Graph

17 Commits

Author SHA1 Message Date
cd1a4e3201 translate: update 1 generated siblings [skip-translate]
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-10-07 16:25:03 +00:00
3f0aa7ae61 content: actualizar «Sobre Nosotros»
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-10-07 16:24:44 +00:00
7835d8c5c5 translate: update 1 generated siblings [skip-translate]
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-10-06 14:42:57 +00:00
97f1e569fb content: actualizar «Sobre Nosotros»
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-10-06 14:42:41 +00:00
6c537c3e7e translate: update 2 generated siblings [skip-translate]
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-10-03 20:36:12 +00:00
076d16aa7a Merge branch 'claude/relaxed-faraday-h4zd09' of https://github.com/pablovolenski/vienalatina 2026-10-03 11:04:59 +00:00
Claude
5e8ee5ad20
Two calendars: one for everybody, one for the members
**Public events are posts.** A new Evento category brings three fields with it —
event_date, event_time, event_location — and the first is required, because a
post's own `date` is when it was announced and an event announced three weeks
early would otherwise land in the agenda on the wrong day. Members propose
events through the same queue as everything else, and the date survives approval
untouched: the event the member described is the event that gets published.

An event's page leads with the day, the time and the place before the title,
shows its picture full width, and offers "añadir a mi calendario" — a real .ics
beside the page, generated because the editor writes `outputs: ["HTML", "ics"]`
into an event's frontmatter and nothing else asks for that format. It carries
Event structured data as well as the BlogPosting it already had, which is what
puts a date beside the result in a search listing.

/page/agenda/ is a month grid per month, every month from the first event to the
last built at build time, with a script that shows one and moves between them.
That arrangement is the point: with JavaScript off every month is on the page as
a list, with it on nothing is fetched to change months, and the month it opens on
is the reader's rather than the one the site was built in. Hugo exposes no
AddDate, so the length of a month is a table plus the leap rule and the first
weekday falls out of formatting the date — it looks like something simpler was
missed, and it is not.

**The private calendar** is a sixth section: rows in SQLite, written by admins,
read by every member, never published. It shows the public events too, marked,
so a member has one place to look rather than two — they come from the
content_cache the editor's listing already fills, which is why migration 5 adds
three columns to it and to submissions. The grid is Python's own
calendar.Calendar: no date arithmetic of mine anywhere in it.

Two things the tests found on the way:

gitea.py let `requests`' own exceptions through. They inherit from OSError, not
from GiteaError, so the calendar's careful "keep working while the git server is
down" would have been defeated by a refused connection — the page would have
500ed instead. Every transport failure is now a GiteaError, raised at the one
place that touches the wire. This is the third bug of exactly that shape in this
module.

An admin's erasure clears events.created_by rather than reassigning it. The
meeting still happens after they leave; the event belongs to the association.

509 tests pass, and the site builds with Hugo 0.135.0 under the pipeline's own
--panicOnWarning.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-03 09:53:54 +00:00
1ebb58c8ba translate: update 1 generated siblings [skip-translate]
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-22 10:49:06 +00:00
6066f1e330 Update Página “acerca.es”
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-22 10:48:50 +00:00
84f3becbd1 translate: update generated siblings [skip-translate]
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-22 09:31:26 +00:00
4a0ac3697d Update Página “contacto.es”
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-22 09:31:15 +00:00
06955e3bf5 Set the real Decap client ID; fix and freeze the German Über uns title
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-18 14:07:21 +00:00
d0c2acb4d5 Backfill page translations [skip-translate]
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-18 13:42:04 +00:00
7f7f535bda Reset content; start from a single post
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-18 13:25:23 +00:00
260ea3d383 Fix German about-page title and freeze it
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-18 10:26:39 +00:00
ec1e790713 Add generated siblings for pages and test post
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-09-16 15:03:02 +00:00
Claude
72894b8907
Scaffold Hugo + Decap trilingual site from WordPress migration plan
Static replacement for the WordPress + Polylang + synchronous DeepL stack:

- Hugo config: es (default) / de / pt-br, siblings paired by filename
  basename, WP slugs preserved via /:slug/ permalinks
- Theme: CSS ported verbatim from the WP theme; header/footer/lang-switcher
  and article templates ported from their PHP counterparts (no Google
  Fonts — zero third-party requests)
- seo-head partial: hreflang + x-default, og:locale(:alternate), JSON-LD
  BlogPosting/Blog with inLanguage (ported from theme/inc/seo.php)
- robots.txt AI-crawler allowlist + build-time llms.txt (ported from
  theme/inc/robots-and-llms.php)
- scripts/translate.py: async DeepL step (tag_handling=html, protected
  community terms, manual_translation freeze, fail-loud, bot commits)
- scripts/wp-to-hugo.py: one-shot WP REST → Hugo content converter
- Decap CMS admin with Gitea backend, locally-bundled JS
- .woodpecker.yml: translate → build → deploy (rsync to Caddy root)
- Sample trilingual welcome post + acerca/contacto pages

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017z2rT1oN7vMS4ggo23n5WG
2026-07-31 11:17:32 +00:00