Commit Graph
198 Commits
Author SHA1 Message Date
fecoandClaude Opus 5.5 8c65d45907 Merge main: admin user totals (users, buyers) and short unit marks
CI / test (push) Successful in 1m59s
CI / build (push) Successful in 6m18s
CI / deploy (push) Successful in 38s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
v2026.11.23-8c65d45
2026-11-23 13:07:13 +00:00
fecoandClaude Opus 5.5 3255e939c4 Admin users: site totals (users, buyers) and short unit marks
CI / test (push) Successful in 2m3s
CI / build (push) Skipped
CI / deploy (push) Skipped
The user list shows how many users the site has and how many of them have
paid at least once (live Stripe payments; test-mode buyers counted apart),
independent of the search. The remaining units are short marks (K, Sz, E,
?, T) with a legend under the table, so the column fits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 12:57:56 +00:00
fecoandClaude Opus 5.5 4768d2de02 Merge main: question chat panel, gift e-mails, admin dialog fixes, question guard
CI / test (push) Successful in 2m2s
CI / build (push) Successful in 6m36s
CI / deploy (push) Successful in 45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
v2026.11.23-4768d2d
2026-11-23 11:39:51 +00:00
fecoandClaude Opus 5.5 3269aaaa35 Questions: 300 characters, refused when they look like prompt injection
CI / test (push) Successful in 2m3s
CI / build (push) Skipped
CI / deploy (push) Skipped
Three layers for the text users write into a prompt (questions about an
analysis, tarot questions):
- analysis_prompt::guard cleans it (controls, zero-width characters,
  spaces, empty lines) and refuses links, tags, code fences, chat role
  labels, more than 6 lines and phrases that try to change the model's
  instructions (Hungarian and English, accent-insensitive). The check runs
  before any unit is spent; refusals are logged without the text.
- The prompt puts the question (and earlier ones) between <kerdes> tags,
  with anything that could close the tag neutralized.
- The system prompts say the tagged text is data, not instructions, and
  not to quote or summarize the rules (the tarot prompts now say it too).
The question limit drops from 600 to 300 characters (as for tarot), with a
counter always shown under the box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 11:32:38 +00:00
fecoandClaude Opus 5.5 f8abdac790 Admin gifts: an e-mail to the user; the user dialog no longer loses a pick
CI / test (push) Successful in 2m3s
CI / build (push) Skipped
CI / deploy (push) Skipped
- A package or units an admin gives a user are announced in a "gift"
  e-mail (taking units away is not). Queued in the same transaction.
- The user dialog asks before closing with a chosen package or a typed
  amount not sent yet; the send buttons turn gold when ready, "Kész" is now
  a plain "Bezárás".
- The modal closes on the backdrop only when the press started there too,
  so picking from a select whose list hangs over the backdrop, or dragging
  a selection out, no longer closes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 11:20:14 +00:00
fecoandClaude Opus 5.5 e5c90b260d Questions in a chat panel behind a floating button
CI / test (push) Successful in 2m5s
CI / build (push) Skipped
CI / deploy (push) Skipped
Where a finished detailed analysis can be asked about (chart, comparison,
forecast), a floating button with the silhouette icon opens a chat panel
(a side panel on desktop, full screen on phones): earlier questions and
answers as bubbles, the question box at the bottom, or a one-line package
offer when no questions are left. The end of the analysis keeps a short
line that opens the same panel; the button hides while that line is in
view. The panel stays mounted when closed, so an answer keeps arriving and
the button shows a dot for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 10:57:08 +00:00
fecoandClaude Opus 5.5 321d43f369 Merge main: admin user dialog and paging, creators edit famous people, error log paging and deletion, no waitlist, invitation gift, home page for logged-in users
CI / test (push) Successful in 1m58s
CI / build (push) Successful in 7m44s
CI / deploy (push) Successful in 46s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
v2026.11.23-321d43f
2026-11-23 10:18:24 +00:00
fecoandClaude Opus 5.5 6a147aa253 Home page: logged-in users stay on it
CI / test (push) Successful in 2m1s
CI / build (push) Skipped
CI / deploy (push) Skipped
The home page no longer sends logged-in users to their chart: they see it
with the app's header, the buttons lead to their chart, and the login hints
and "without login" texts are left out. The login (and setting a password)
now lands on /keplet by default, which still goes on to the profile when
there is no chart yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 10:13:20 +00:00
fecoandClaude Opus 5.5 a986cf4edd Invitation page shows its gift package; person invites: e-mail and link only
CI / test (push) Successful in 2m5s
CI / build (push) Skipped
CI / deploy (push) Skipped
- The admin invitation's page lists the package that comes with it (the
  public invitation view returns it; the promo code stays in the e-mail).
- Inviting a person: no Facebook, WhatsApp or share-sheet buttons, only the
  e-mail and copying the link.
- contents() moved to lib/packageContents so server pages can use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 10:05:19 +00:00
fecoandClaude Opus 5.5 169fb9c85d Error log: pages and deletion; no waitlist in the interface
CI / test (push) Successful in 2m0s
CI / build (push) Skipped
CI / deploy (push) Skipped
- The error log pages (50 per page) instead of loading more and more; an
  entry can be deleted, or every entry the filter matches at once
  (DELETE /v1/admin/errors/{id}, DELETE /v1/admin/errors?source=&outcome=).
- The waitlist form (home page, login pages) and the admin waitlist table are
  gone; the stored addresses and the backend routes are left as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 09:33:00 +00:00
fecoandClaude Opus 5.5 8d9c50cb02 Admin: paged user list with a dialog; creators manage famous people
CI / test (push) Successful in 1m55s
CI / build (push) Skipped
CI / deploy (push) Skipped
- The user list pages (25 per page, with the total from the backend); roles,
  packages and single units are set in a dialog instead of in the row.
- Creators may add, edit and publish famous people and rewrite their
  portraits (own regenerate route); they delete only their own. The rest of
  the admin stays closed to them; the header links them to their page.
- No free-horoscope offer on the star sign and famous people lists.
- .table-wrap is a containing block, so .sr-only text inside it no longer
  widens the page on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 09:04:51 +00:00
feco 018ccf76a0 Merge main: hamburger menu, famous people in the menus, portrait page cache
CI / test (push) Successful in 1m55s
CI / build (push) Successful in 5m59s
CI / deploy (push) Successful in 44s
v2026.11.22-018ccf7
2026-11-22 17:16:02 +00:00
fecoandClaude Opus 5.5 26c5bb2746 Header: ☰ menu where the links do not fit; famous people in the menus
CI / test (push) Successful in 1m59s
CI / build (push) Skipped
CI / deploy (push) Skipped
- Logged out below 1240px and logged in below 1380px the link rows give way
  to a ☰ menu (with the "Ingyenes" group when logged out); on phones the
  account button is an icon and the package pill makes room.
- "Híres emberek" in the free links of the header, among the free cards
  of the home page and in the menu of logged-in users.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 17:14:50 +00:00
fecoandClaude Opus 5.5 2997a06474 Famous people: a page without its portrait is not cached; the admin list refreshes
CI / test (push) Successful in 1m57s
CI / build (push) Skipped
CI / deploy (push) Skipped
The worker does not clear the page cache when the portrait is done, so a
page loaded right after publishing showed "hamarosan elkészül" for five
minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 16:59:07 +00:00
feco 2b856a798e Merge main: famous people, share image glyphs, CI on main runs tests only
CI / test (push) Successful in 1m57s
CI / build (push) Successful in 7m18s
CI / deploy (push) Successful in 45s
v2026.11.22-2b856a7
2026-11-22 16:43:44 +00:00
fecoandClaude Opus 5.5 37cb0abf4b Famous people: admin page, own prompt, one photo, public pages
CI / test (push) Successful in 2m21s
CI / build (push) Skipped
CI / deploy (push) Skipped
- Admin "Híres emberek": birth data, one photo (S3: DigitalOcean Spaces in
  production, RustFS in development), a face point that every crop keeps
  in view, publishing, and a detailed portrait written with its own
  `celebrity` prompt (third person, by name, from the chart alone).
- The photo is stored once (upright JPEG, at most 2000 px, no metadata);
  next/image makes the sizes from it, so Cloudflare can cache those.
- Public list and pages (/hires-emberek), in the sitemap, with a share
  image showing the face and the chart.
- Share images: the wheel's glyphs and numbers are drawn with the card's
  fonts (inside the SVG image they came out as boxes, on every card).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 16:08:35 +00:00
fecoandClaude Opus 5.5 13e22a9c7d CI: main runs the tests only; images are built for prod
CI / test (push) Successful in 1m43s
CI / build (push) Skipped
CI / deploy (push) Skipped
The runner takes one job at a time, so a deployment (push to main, then
to prod) built every image twice and the two runs took turns. Now main
only tests, and prod tests, builds and deploys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 11:48:57 +00:00
fecoandClaude Opus 5.5 47bbe2f348 Merge main into prod: one-card reading text, reading in progress stays on the table
CI / test (push) Successful in 1m44s
CI / build (push) Successful in 2m21s
CI / deploy (push) Successful in 48s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
v2026.11.22-47bbe2f
2026-11-22 11:33:27 +00:00
fecoandClaude Opus 5.5 6c5f0b160e Tarot: a reading being written stays on the table
CI / test (push) Successful in 1m43s
CI / build (push) Successful in 7m2s
CI / deploy (push) Skipped
Opening the page while a reading is written shows that reading (cards and
progress), not the form for a new one; the 'Új jóslás' button appears
only once the reading is finished.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 11:31:15 +00:00
fecoandClaude Opus 5.5 f8386cbf55 One-card readings: no 'cards together' section
CI / test (push) Successful in 2m10s
CI / build (push) Successful in 8m53s
CI / deploy (push) Skipped
With a single card the synthesis is about how its message shows in practice
(prompt rule and schema description), and the section is titled
'A gyakorlatban' instead of 'A lapok együtt'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 11:23:29 +00:00
fecoandClaude Opus 5.5 f6fc2e46ac Merge main into prod: one-card tarot readings, header row on phones
CI / test (push) Successful in 1m47s
CI / build (push) Successful in 1m7s
CI / deploy (push) Successful in 45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
v2026.11.22-f6fc2e4
2026-11-22 11:07:34 +00:00
fecoandClaude Opus 5.5 f7b9af5e8c One-card tarot readings pass validation; free-tools row fits on phones
CI / test (push) Successful in 1m46s
CI / build (push) Successful in 6m10s
CI / deploy (push) Skipped
- The answer check wanted two items in every list, so the one-card daily
  reading always failed ($.cards: too few items). Two items are now asked
  only of string lists; other lists must not be empty.
- The visitors' header row (Ingyenes · Születési horoszkóp · Csillagjegyek)
  overflowed and scrolled sideways below 412 px; it fits down to 320 px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 11:06:01 +00:00
fecoandClaude Opus 5.5 2ca065894d Merge main into prod: Hungarian error messages, visible input focus
CI / test (push) Successful in 1m49s
CI / build (push) Successful in 54s
CI / deploy (push) Successful in 42s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
v2026.11.22-2ca0658
2026-11-22 10:36:31 +00:00
fecoandClaude Opus 5.5 9716f503bc Hungarian error messages; visible focus on input fields
CI / test (push) Successful in 1m47s
CI / build (push) Successful in 10m21s
CI / deploy (push) Skipped
- The browser's own form checks (required, minLength, e-mail format) show
  Hungarian text on every page (ValidationMessages in the root layout).
- User-facing backend errors are Hungarian: e-mail/password login, password
  length, links, invitations, sharing, questions, limits. Google/Apple token
  failures log the reason and tell the user to retry.
- errorText covers not_found, horoscope_unavailable and internal errors.
- Input fields: lighter background and gold caret on focus, the example text
  steps aside, so a click visibly lands in the field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 10:14:15 +00:00
fecoandClaude Opus 5.5 9331573890 Merge main into prod: password login, free birth chart, sign pages, legal pages, Telegram notices
CI / test (push) Successful in 1m43s
CI / build (push) Successful in 25s
CI / deploy (push) Successful in 37s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
v2026.11.22-9331573
2026-11-22 09:53:45 +00:00
fecoandClaude Opus 5.5 4b93dc42e8 Neutral invoice items; "kártya" instead of "kártyajóslás" on Stripe
CI / test (push) Successful in 1m42s
CI / build (push) Successful in 5m0s
CI / deploy (push) Skipped
Invoices: the add-ons share the item "Online tartalomszolgáltatás –
kiegészítő csomag" and tarot readings are listed as "egyedi szöveges
tartalom"; a test keeps "jóslás" and "kártya" off every invoice.
Stripe's payment page and receipt call the tarot add-on "+5 kártya".
The Telegram notice adds the package id to an add-on, so it still says
which one was bought.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 06:36:16 +00:00
fecoandClaude Opus 5.5 4247f914ce Legal pages: operator details at the end; privacy policy brought up to date
CI / build (push) Successful in 7m9s
CI / deploy (push) Skipped
CI / test (push) Successful in 1m42s
The operator's name, address and numbers move from the top of the terms
and the privacy policy to a plain list in their last section. The privacy
policy (HU and EN) now covers e-mail and password sign-up, shared links
and referrals, and that the text of questions and tarot readings reaches
the language model. The terms list every way to register. Terms version
and both policy dates: 2026-11-22.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 06:07:33 +00:00
fecoandClaude Opus 5.5 a6ddfc6924 robots.txt: block only AI training crawlers, let AI search in slowly
CI / test (push) Successful in 1m44s
CI / build (push) Successful in 5m55s
CI / deploy (push) Skipped
AI search engines and chat fetchers (OAI-SearchBot, ChatGPT-User,
Claude-SearchBot, PerplexityBot, ...) may now read the public pages,
with Crawl-delay: 10, so they can cite the site. Training crawlers stay
disallowed. Docs: the matching Cloudflare AI policy settings, and the
referral note no longer mentions localStorage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-22 05:56:41 +00:00
fecoandClaude Opus 5.5 116e4747c2 Night sky background with shooting stars on every page
CI / test (push) Successful in 1m42s
CI / build (push) Successful in 5m18s
CI / deploy (push) Skipped
Faint twinkling stars and, on average every 6 seconds, a gold shooting
star, on a fixed canvas behind all content: anything with its own
background (bands, cards, the header) covers it, so the meteor passes
under them. With reduced motion only still stars are drawn. Replaces the
home page hero's own starfield.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 21:23:52 +00:00
fecoandClaude Opus 5.5 8b8285b5d2 No browser storage for referrals; the birth chart opens at the drawn chart
CI / test (push) Successful in 1m41s
CI / build (push) Successful in 5m22s
CI / deploy (push) Skipped
The share page stores nothing in the browser any more: the shared link
that brought a visitor travels in its login link (/belepes?ref=...) to
the Google, Apple and password sign-up. The backend counts the same
visitor of a link once in half an hour, instead of a sessionStorage flag.

The public birth chart scrolls to the drawn chart after a calculation
and when coming back to the page. Tabs scrolled to themselves on every
re-render of their parent when the address had a tab (#bolygok); they
now react only to the tab ids and hash changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 21:13:41 +00:00
fecoandClaude Opus 5.5 b41dc31f3e Public birth chart: keep it across pages for the tab, login for the summary
CI / build (push) Successful in 5m52s
CI / deploy (push) Skipped
CI / test (push) Successful in 1m49s
The typed birth data and the calculated chart stay in sessionStorage (no
cookie, gone with the tab), so they are back after visiting another page;
'Adatok törlése' forgets them. User-input storage for the session needs
no consent; the privacy pages say so. Signing up in the same tab fills
the profile with them.

The offer next to the chart now says the short summary needs a login.
Logged-in users get 'Csillagjegyek' in the menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 21:04:26 +00:00
fecoandClaude Opus 5.5 985b1e872d Free birth chart instead of the sign calculator; free tools in the header
CI / test (push) Successful in 1m44s
CI / build (push) Successful in 5m37s
CI / deploy (push) Skipped
/szuletesi-horoszkop (was /aszcendens-kalkulator) shows the whole natal
chart without an account: the wheel, Sun/Moon/Ascendant with links to
the sign pages, the positions, houses, aspect grid and aspect list, the
same views as the chart pages but without the AI parts. A calculation
only, nothing saved, still 30 an hour per address (POST /v1/public/chart).
The typed birth data are offered on the profile after sign-up.

The visitors' header gets a separate 'Ingyenes' group (birth chart,
signs) next to the paid sections, on phones in its own row; the home
page links them under the hero buttons and in an 'Ingyenes' band.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 20:54:57 +00:00
fecoandClaude Opus 5.5 2eea1042a5 Public sign calculator and the twelve sign pages, SEO basics
CI / test (push) Successful in 1m39s
CI / build (push) Successful in 5m50s
CI / deploy (push) Skipped
/aszcendens-kalkulator: Sun, Moon and Ascendant signs from birth data
without an account. A calculation only (no AI, nothing saved), limited to
30 calculations and 300 place searches an hour per visitor address
(POST /v1/public/signs, GET /v1/public/geo/*). Without a birth time there
is no Ascendant, and signs near a border are marked uncertain.

/csillagjegyek and /csillagjegyek/{jegy}: the twelve signs with facts,
Sun, Moon and Ascendant, love, work, a common misbelief and an offer,
each written on its own. Links to the calculator and sign-up.

SEO: metadataBase and canonical addresses, hreflang between the
Hungarian and English privacy pages, Organization and WebSite JSON-LD on
the home page, FAQPage on the calculator, BreadcrumbList on the sign
pages; the sitemap lists the new pages, the footers link them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 20:31:45 +00:00
fecoandClaude Opus 5.5 0cd880b418 worker: log whether the notify task runs
CI / test (push) Successful in 1m39s
CI / build (push) Successful in 4m48s
CI / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 19:11:06 +00:00
fecoandClaude Opus 5.5 a571abdb65 worker: Telegram notice about every purchase (notify task)
CI / test (push) Successful in 1m49s
CI / build (push) Successful in 8m27s
CI / deploy (push) Skipped
A separate worker task, apart from invoicing: each paid checkout is
announced once to the operator's Telegram chat ('Páros csomag, 6 000 Ft',
marked when it was a test payment), without the buyer's data. Outages
and rate limits are retried; a wrong token or chat is logged, not
retried. Needs TELEGRAM_BOT_TOKEN (.env.secrets) and TELEGRAM_CHAT_ID.

Also fixes the worker test that still expected the old sign-up e-mail
subject (CI failed on it since 7d6a6c3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 19:04:20 +00:00
fecoandClaude Opus 5.5 55048ed828 docs: outgoing mail on prod goes through Amazon SES
CI / test (push) Failing after 1m37s
CI / build (push) Skipped
CI / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 18:41:13 +00:00
fecoandClaude Opus 5.5 7d6a6c3d92 auth: e-mail + password login with e-mailed password links
CI / test (push) Failing after 1m39s
CI / build (push) Skipped
CI / deploy (push) Skipped
Sign-up asks no password: a link goes to the address and the password is
set there (also for forgotten passwords), by whoever opens the mailbox.
So nobody can register a password for someone else's address, and linking
Google or Apple to an account with the same address stays safe. Opening
the link confirms the address, ends other sessions and logs in.

Sign-up answers alike for registered addresses (the owner gets an
'account exists' link), links are limited to one per kind a minute and
five an hour, and unconfirmed password accounts cannot log in.
Frontend: login form with sign-up and forgotten password next to the
social buttons, and the /jelszo page for the link. Still behind
PASSWORD_LOGIN (off on prod).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 18:24:48 +00:00
fecoandClaude Opus 5.5 a63f8f9928 legal: sole proprietor registration number, street name
CI / test (push) Successful in 1m35s
CI / build (push) Successful in 5m47s
CI / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 18:07:25 +00:00
fecoandClaude Opus 5.5 286ad14016 legal: operator details, tarot in the terms, arbitration board
CI / test (push) Successful in 1m41s
CI / build (push) Successful in 5m19s
CI / deploy (push) Skipped
Sági Ferenc sole proprietor with address and tax number on the terms and
privacy pages; the terms list tarot readings and name the Pest county
arbitration board. Terms and privacy dated 2026-11-21.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 18:04:01 +00:00
feco 85aa3fc5b1 Merge main: optional Beszel monitoring agent
CI / test (push) Successful in 1m31s
CI / build (push) Successful in 33s
CI / deploy (push) Successful in 34s
v2026.11.21-85aa3fc
2026-11-21 10:16:21 +00:00
fecoandClaude Opus 5.5 19e5badc07 deploy: optional Beszel monitoring agent on the Tailscale address
CI / build (push) Successful in 2m1s
CI / deploy (push) Skipped
CI / test (push) Successful in 1m44s
Off unless COMPOSE_PROFILES=monitoring and BESZEL_KEY are set in .env.
Also documents the TrueNAS pull of the daily backups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 10:16:12 +00:00
feco cf4d419e52 Merge main into prod: Hungarian birth date and time fields
CI / test (push) Successful in 1m36s
CI / build (push) Successful in 21s
CI / deploy (push) Successful in 37s
v2026.11.20-cf4d419
2026-11-20 21:34:50 +00:00
fecoandClaude Opus 5.5 d63cdf737a Birth date and time: our own Hungarian fields
CI / test (push) Successful in 1m38s
CI / build (push) Successful in 5m20s
CI / deploy (push) Skipped
The browser's date and time inputs follow the operating system's or the
browser's region, not the page: Safari wanted US order and AM/PM (and
did not take minutes without it), Chrome showed its own language. Now
the year, a month list with Hungarian names and a day list, and hour
and minute fields (24-hour, the cursor moves on after the hour), the
same in every browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 21:34:49 +00:00
feco 810de0cb24 Merge main into prod: review fixes
CI / test (push) Successful in 1m38s
CI / build (push) Successful in 2m6s
CI / deploy (push) Successful in 52s
v2026.11.20-810de0c
2026-11-20 20:43:51 +00:00
fecoandClaude Opus 5.5 4676f7860f Review fixes: no duplicate invoices, safer logins and redirects, one charge per click
CI / test (push) Successful in 1m38s
CI / build (push) Successful in 5m50s
CI / deploy (push) Skipped
Invoicing: the invoice request is marked before it goes to Billingo; a
retry after a lost answer looks the invoice up under the invoice's own
partner instead of issuing a second one. An invoice issued but never
e-mailed counts as issued (downloadable). A Hungarian company with only
an EU VAT number is invoiced without a domestic tax number, the EU
number in the comment.

Security: the login redirect takes only plain local paths (no
backslash); the waitlist rate limit and share visits use X-Real-IP,
which Caddy sets from Cloudflare's address, not the spoofable first
X-Forwarded-For entry; a Google/Apple sign-in to an unconfirmed
password account removes its password and sessions; a person's birth
data can no longer be published through a share.

Credits and jobs: analysis requests are serialized per user, so a
double click queues and pays once; a forecast analysis also fixes a
person's birth data; admins can restart stuck tarot readings; a worker
forgets an attempt an admin restarted, so a stop does not requeue it;
two people accepting one comparison invite at once get one comparison.
Expired invitations are no longer accepted by e-mail, and unsubscribing
revokes the invitation's promo codes too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 20:17:13 +00:00
feco e68f7407f3 Merge main into prod: Sign in with Apple
CI / build (push) Successful in 24s
CI / deploy (push) Successful in 43s
CI / test (push) Successful in 1m34s
v2026.11.20-e68f740
2026-11-20 19:42:27 +00:00
fecoandClaude Opus 5.5 1b768d558d Sign in with Apple
CI / test (push) Successful in 1m35s
CI / build (push) Successful in 5m14s
CI / deploy (push) Skipped
POST /v1/auth/apple verifies the ID token from Sign in with Apple JS
against Apple's keys, the Services IDs in APPLE_CLIENT_IDS and Apple's
issuer, then logs in like Google: the linked identity, else the user
with the same verified address, else a new user (invitations and
referrals as for Google). The Google verifier became a shared ID token
verifier. Apple gives the name only at the first sign-in; the page
sends it along (family name first). The login page shows Apple's white
button under Google's when it is configured; the privacy pages say what
Apple passes on, including the relay addresses.

The deploy compose's MAIL_FROM default is noreply@ like production
(the sender registered for Apple's e-mail relay).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 19:40:03 +00:00
feco ad436f786c Merge main into prod: log review fixes, graceful worker stop
CI / deploy (push) Successful in 42s
CI / test (push) Successful in 1m32s
CI / build (push) Successful in 24s
v2026.11.20-ad436f7
2026-11-20 19:09:37 +00:00
fecoandClaude Opus 5.5 16c40864bb Logs: own folders, a daily cap, masked paths; workers finish running work on a deploy
CI / test (push) Successful in 1m34s
CI / build (push) Successful in 10m9s
CI / deploy (push) Skipped
Review fixes for the persistent logs:
- each service writes its own folder (the old-file cleanup matches by
  prefix, so 'worker' deleted the 'worker-ai' files);
- at most LOG_MAX_DAY_MB (50) a day, and at least 2 days kept;
- written by a background thread, not on the async workers;
- e-mail addresses and tokens in request paths are masked;
- a failing health check is logged again, a passing one is not;
- one-off commands (compare-models) log to the console only.

On a stop the worker takes nothing new and lets running work finish
(SHUTDOWN_DRAIN_SECS, worker 40 s, worker-ai 270 s, with matching stop
grace periods), so a deploy no longer cuts an analysis off, wastes its
model call and delays it by the 15-minute stuck-job requeue.

The CI cleanup caps the build cache at 10 GB: by age it had grown to
33 GB on the runner and filled its disk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 18:57:09 +00:00
feco a2649fddeb Merge main into prod: account menu, persistent logs, softer copy
CI / test (push) Successful in 1m33s
CI / build (push) Successful in 25s
CI / deploy (push) Successful in 1m20s
v2026.11.20-a2649fd
2026-11-20 17:51:25 +00:00