Commit graph

24 commits

Author SHA1 Message Date
bec9ea5b2f Send a toolbox through an encrypted link
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m39s
Validate and deploy Sokko G / deploy (push) Successful in 12s
Sharing a toolbox meant exporting a JSON file and passing it around by
hand. A toolbox can now be sent from the site while staying local first:
the browser compresses and encrypts the v2 export with AES-GCM, and the
key lives only in the link fragment, so the server keeps for at most
24 hours a copy it cannot read.

- Add the /api/shares service: upload, metadata, download and revoke,
  with files in SHARES_DIR, a purge every 10 minutes, and single-use
  links (the default) deleted only once fully downloaded.
- Cap the server load: 50 MiB per share, total storage, free disk
  space, daily volume, concurrent and stalled uploads, reads per link,
  plus a wide per-connection cap kept in memory without storing IPs.
- Limit each browser to 2 shares and 100 MiB per day and 2 active
  links, and show the existing link of a toolbox already shared.
- Add the send dialog (card and game drawer) and the /receive page,
  which previews or directly imports through the existing import path.
- Move shared HTTP helpers to services/http.js for both APIs.
- Document the format, delivery, server layout and privacy wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:26:05 +01:00
9ce0c3e33a Tighten the remaining Cards and dev server security defaults
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 19m52s
Validate and deploy Sokko G / deploy (push) Successful in 10s
Session and OAuth cookies now carry the __Host- prefix over HTTPS, so another
application of the domain cannot set them. The public configuration route has
a request limit, the trader list reads every player in one query, and new
campaign codes need eight characters while existing ones keep working.

The Vite server now listens on 127.0.0.1 unless HOST says otherwise, because
it gives administrator rights to any visitor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:27:22 +01:00
5891320e1a Restrict the Node server to a private address and document the host
The site port answered directly on the VM's public address, bypassing the proxy
and letting clients forge X-Forwarded-For. HOST now limits where it listens. The
Cards database and backups move to /data with owner-only folders, and SERVER.md
describes the Proxmox VMs, ports and open points.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 21:32:13 +01:00
de7e72fb42 Correct the Cards activation notes and update dev dependencies
Warn against copying PORT into cards.env, state which missing values disable
the game, drop wording that only applied to the feature branch, and take the
non-breaking audit fix for development tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:03:03 +01:00
f649f391f9 Document the Cards activation, backup and account procedures
Align the delivery guide with the code: hourly recharge, the dedicated database
folder, the privacy contact, the proxy's X-Forwarded-For duty, reinstalling the
unit, the backup timer and the post-activation admin checklist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 18:13:57 +01:00
5ce35cd7ba Add the Sokko TCG collectible card mini-game
Add the server-backed card game: Discord login, recharging pack openings,
album, trades, gifts, stardust shop, campaign codes and its administration,
stored in SQLite and disabled in production until configured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:47:35 +01:00
29fcb50fcd Align contributor guides with current project contracts
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 17m20s
Validate and deploy Sokko G / deploy (push) Successful in 9s
2026-10-24 09:21:38 +02:00
ca39b76282 Standardize public images on WebP and add conversion tooling
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
2026-10-23 12:12:02 +02:00
75592d7d7a Fix cache policy for stable public assets 2026-10-23 10:41:10 +02:00
0fc18cd8b9 Improve compact desktop usability and action guidance
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-10-05 21:47:16 +02:00
713bc3b70e Test onboarding visibility in production builds
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-09-13 20:55:46 +02:00
d0e1fd73b1 Defer media loading and strengthen persistence tests
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-12 23:28:05 +02:00
b53c7c17c8 Strengthen shell behavior tests and profile toolbox loading
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-12 13:15:42 +02:00
a9b68a5712 Enable app-wide StrictMode and restore React effect checks
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s
2026-09-12 12:53:08 +02:00
2bff58f08c Fix compact calendar events and stabilize E2E execution
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s
2026-09-11 08:52:20 +02:00
748415082b Coalesce quota refreshes and consolidate shared helpers
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s
2026-09-10 20:03:57 +02:00
895fec2b40 structure refacto & file documentation
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-07-25 17:51:53 +02:00
959fa42454 add list page and multiples optis
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-07-24 16:14:14 +02:00
772b9951de move to indexedb and add about page
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-07-24 12:09:45 +02:00
6e1472d2fb content & style opti, new tool annotation
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
2026-07-24 09:37:32 +02:00
9e275e0167 new tools modules & sass opti
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
2026-07-21 13:01:14 +02:00
1dee8b528f Migrate to React/Vite & Sass
Some checks failed
Deploy Sokko G / deploy (push) Failing after 4s
2026-07-21 10:09:25 +02:00
1e1ede6cf0 Initial Commit
Some checks failed
Deploy Sokko G / deploy (push) Failing after 3s
2026-07-20 23:10:37 +02:00
fbfc3430a0 first commit 2026-07-03 10:30:32 +02:00