Commit Graph
144 Commits
Author SHA1 Message Date
fecoandClaude Opus 5.5 0d62888831 Gift withdrawal: admin refund (Stripe) and invoice storno (Billingo)
CI / test (push) Successful in 3m25s
CI / build (push) Skipped
CI / deploy (push) Skipped
- The buyer may withdraw from a gift purchase within 14 days while the
  code is not redeemed (ÁSZF 3., 5., 6.; terms version 2026-11-23); the
  consent on Stripe's page and the confirmation e-mail say so
- Admin → Ajándékok: the gifts with payment, invoice and storno; the
  refund button locks the gift and refuses a redeemed one, withdraws the
  code, refunds the PaymentIntent on Stripe (one refund per gift via the
  Idempotency-Key, retry when Stripe refuses) and queues the storno
- Worker: cancels the issued invoice in Billingo (POST /documents/{id}/
  cancel, e-mailed to the buyer), keeps the storno invoice's id and
  number; a lost answer is not asked again but left for an admin
- A withdrawn code cannot be redeemed, sent or downloaded; "My gifts"
  shows it as refunded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 21:22:46 +00:00
fecoandClaude Opus 5.5 c90232f40c Gift packages: buy a main package for someone, with a printable gift card
- /ajandek: the package, whom it is for and from whom, the recipient's
  address typed twice (or "I hand it over"), a message; paid on Stripe
  like any package, the invoice is the buyer's
- On payment the gift gets its own code (not a promo code: it cannot be
  withdrawn, and it adds the whole package); redeemed on /bevaltas
- The recipient's e-mail carries the message and the code, with the gift
  card attached as a PDF; the buyer's confirmation says it was a gift
- /ajandekaim: codes, state, the card to download, sending it by e-mail
  (again, or to another address) up to three times
- crates/gift-card draws the A4 card (example chart, questions avatar,
  QR code) as SVG and makes a PDF with krilla, fonts compiled in; the
  backend draws downloads on a blocking thread, the worker the e-mails
- Telegram notices say "(ajándék)"; unpaid gifts go after a week

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 20:28:11 +00:00
fecoandClaude Opus 5.5 699ce2abbd Moon and retrograde calendars, "today in the sky" on the own chart
CI / test (push) Successful in 2m6s
CI / build (push) Skipped
CI / deploy (push) Skipped
New public pages: /holdnaptar (new and full moons, quarters, eclipses and
the Moon's sign changes, month by month, with the Moon of today) and
/retrograd (the retrograde periods of Mercury to Pluto with their shadows,
and which planets are retrograde now), each with a page per year around
the current one. The own chart gets a "Ma az égen" card: the Moon's sign,
phase and natal house, the tightest transits to the chart in fixed
sentences, and the retrograde planets. No AI, nothing stored.

The events come from astro-engine (sampling and bisection, checked against
swetest and the 2026 eclipses) through horoscope-api GET /v1/sky and
/v1/sky/events; the backend serves them at /v1/public/sky… and keeps them
in memory (the sky now for five minutes, a year's events for good). Links
in the mobile menu, the footer, the sitemap and the free tools on the home
page; the desktop header is unchanged (it is full at 1280 px).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-23 17:21:36 +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 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 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
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
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 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 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 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 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
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
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
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
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
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
fecoandClaude Opus 5.5 ffb6060cfa Persistent logs, no health checks in them, and softer copy
CI / test (push) Successful in 1m38s
CI / build (push) Successful in 5m46s
CI / deploy (push) Skipped
Backend and the workers also write their log as JSON into the logs
volume, one file a day kept 30 days (LOG_DIR, LOG_NAME, LOG_KEEP_DAYS),
so errors can be looked up after a container is replaced. The Docker
health check (/healthz every 30 s) no longer goes into the request log
of the backend and the horoscope API.

The home, login and packages pages no longer compare the analyses to
an experienced astrologer's depth; they say what the user gets:
detailed, personal text in minutes, for a fraction of a personal
consultation's price.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:34:24 +00:00
fecoandClaude Opus 5.5 09fc1e62c7 Header: an account menu under the user's name
CI / build (push) Successful in 5m56s
CI / deploy (push) Skipped
CI / test (push) Successful in 1m30s
Profile, invoices, redeeming a code and logging out moved from the
crowded top right and the main menu into a menu that opens from the
name; on phones the name shows too (shortened), so the profile stays
reachable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:15:37 +00:00
fecoandClaude Opus 5.5 5071589bf9 Home page: example reading in the footer, tarot in the description
CI / build (push) Successful in 8m27s
CI / deploy (push) Skipped
CI / test (push) Successful in 1m28s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:11:17 +00:00
fecoandClaude Opus 5.5 cd2eb02d3d Home page footer: no English Privacy Policy link
CI / deploy (push) Skipped
CI / test (push) Successful in 1m28s
CI / build (push) Successful in 6m3s
The Hungarian privacy page links its English version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:09:53 +00:00
fecoandClaude Opus 5.5 43e22e6768 Home page: a quiet tarot line under the forecast and comparison cards
CI / test (push) Successful in 1m31s
CI / build (push) Successful in 5m20s
CI / deploy (push) Skipped
Three small fanned cards (a back, the High Priestess, the Star), one
sentence and a link to the example reading; the side feature stays
smaller than the cards above it. On phones the cards sit above the
text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:07:43 +00:00
fecoandClaude Opus 5.5 7f6f05150e Tarot readings have a topic: general, relationship, work, self-knowledge
CI / test (push) Successful in 1m27s
CI / build (push) Successful in 5m37s
CI / deploy (push) Skipped
The new reading form starts with the topic; it steers how the model
reads the cards (with the topic's own limits, e.g. no break-up
predictions for relationships) and shows on the reading and in the
list. Readings from before count as general.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 16:25:12 +00:00
fecoandClaude Opus 5.5 b0e1270246 Tarot example: the love reading's tab is Párkapcsolat
CI / test (push) Successful in 1m28s
CI / build (push) Successful in 6m15s
CI / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 16:06:42 +00:00
fecoandClaude Opus 5.5 2e2e4b113d Tarot example: the draw played as an animation, and a love reading
CI / test (push) Successful in 1m32s
CI / build (push) Successful in 5m11s
CI / deploy (push) Skipped
The example page now plays each reading: cards are picked from the
fanned deck, laid out and turned over, then the written reading
appears below. A second example, a five-card love reading, sits next
to the work one in a tab. The fan and the spread are shared with the
real draw (TarotSpread).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 15:51:23 +00:00
fecoandClaude Opus 5.5 b0fc547b73 Tarot readings: AI-written, drawn on the server, sold as units
CI / test (push) Successful in 1m29s
CI / build (push) Successful in 5m52s
CI / deploy (push) Skipped
A new Kártyajóslás page: choose a spread (1, 3 or 5 cards), ask a
question, pick the cards from the fanned deck and watch them turn over;
the reading is written by the detailed-analysis model from the cards,
their positions and base meanings, the question and the reader's Sun,
Moon and Ascendant. The server shuffles and draws, so nobody can draw
again for free. A reading is a 'tarot' analysis (worker, retries,
fallback, refunds and admin regeneration as for analyses), uses one
'tarot' unit, and survives recalculations; deleting the account
deletes it.

Packages carry 2/5/10 readings, the new +5 kártyajóslás addon costs
1 000 Ft. The card artwork comes from the tarot design studio
(celestial astrolabe style); the deck JSON is shared by the frontend
and the prompt. A public example is at /kartyajoslas/pelda.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 14:35:50 +00:00
fecoandClaude Opus 5.5 54af54cd39 ÁSZF consent on Stripe's page off until the opening (TERMS_CONSENT)
CI / test (push) Successful in 1m28s
CI / build (push) Successful in 5m2s
CI / deploy (push) Skipped
Stripe refuses the terms consent until the terms URL is set in its
Public details, so purchases would fail. TERMS_CONSENT=false (the
default) leaves the consent out; then the package cards do not mention
the withdrawal waiver and no purchase confirmation is sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 14:03:12 +00:00
fecoandClaude Opus 5.5 e326095f3f ÁSZF: terms page, consent on every purchase, confirmation e-mail
CI / test (push) Successful in 1m28s
CI / build (push) Successful in 5m29s
CI / deploy (push) Skipped
The new /aszf page holds the terms (a draft for legal review; the
company data come from lib/legal.ts). Stripe's payment page asks every
buyer to accept them and to ask for immediate delivery, giving up the
14-day withdrawal right; the time and the terms version are stored, and
a purchase_confirmation e-mail confirms it. Login, the landing footer,
the package cards and the sitemap link the terms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 12:06:10 +00:00
fecoandClaude Opus 5.5 ac5e7fa4fd Admins use analysis units and questions too
CI / test (push) Successful in 1m41s
CI / build (push) Successful in 5m52s
CI / deploy (push) Skipped
They add their own units on the admin page when they need more, and
testing shows the same balance as users see. Regenerating and prompt
previews stay free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 10:54:24 +00:00