Commit graph

51 commits

Author SHA1 Message Date
ae739b08ad Check in the tests that central files keep their full headers and that every tool has a compactor
tests/file-headers.test.mjs now fails when a source file over 300 lines lacks
"Utilisé par :" and @see, when a listed central file lacks "Utilisé par :", or
when a file adding methods through Object.assign does not say so. The eleven
files below the bar are completed, so no waiting list is needed.
tests/toolbox-compactors.test.mjs makes sure every tool type has a storage
compactor, the gap found while documenting the toolboxes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 11:22:50 +01:00
22b397ebfa Document Sokko G's architecture and folders, and move JavaScript file headers to JSDoc @file blocks
Add ARCHITECTURE.md (layers, flows, folder map, glossary), CONTRIBUTING.md
(setup and step-by-step recipes) and a README in each main folder, with an
index of docs/. Convert the 511 JavaScript headers from "// Rôle :" lines to
JSDoc @file blocks, define a three-level header template in website/AGENTS.md
and check the header in tests/file-headers.test.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 09:42:13 +01:00
8253f74c90 Open any toolbox from a list in Sokko TCG's toolbox drawer
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m40s
Validate and deploy Sokko G / deploy (push) Successful in 16s
Every Sokko TCG section now offers the top bar's toolbox button. Instead of
linking a toolbox, the drawer lists all toolboxes (linked to a game or not)
as wide rows with a large cover, opens the one chosen, and remembers it on
the device. Memos and alerts follow the toolbox shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:31:53 +01:00
880f007cce Rework the daily card page around what the player knows and hints opened in any order
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m0s
Validate and deploy Sokko G / deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:01:43 +01:00
62042c4c36 Compare the subject and theme of each daily guess, let players choose their hints and find cards by related words
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m58s
Validate and deploy Sokko G / deploy (push) Successful in 17s
Collection and rarity hints only helped players who owned the daily card. Each guess now shows the common part of its subject and whether the theme of its name matches. A wrong guess earns one hint of the player's choice, the same list for everyone so that nothing reveals the ownership: album, rarity, collection, damaged page or name shape. Hidden words never leave the server, and the ownership is the one of the draw.

The guess list also finds a card by a related word, and the album no longer searches the description of unknown cards. Principles and data: docs/carte-du-jour.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:09:08 +01:00
9f70bea523 Reorganise the visual lab and mythic variations around a Holo and Particles panel
The visual lab becomes a single bench: one thumbnail per holographic effect picks
the effect, and a large card sits beside the shared customisation panel. The
mythic editor shows its variations as a row of thumbnails above the settings of
the selected one, with a large card preview, and saves them with a single
Enregistrer / Annuler pair instead of saving each slider. Formats and effects
whose files a card lacks stay in their menu, disabled at the bottom with the
missing files listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:33:18 +01:00
0ef213cf4f Add the Guilde des Veilleurs and its daily guess-the-card quest to Sokko TCG
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m57s
Validate and deploy Sokko G / deploy (push) Successful in 12s
- La Carte du jour: one zoomed card shared by all players each Paris day, six guesses with collection and rarity hints, a fixed stardust reward and an emoji result to share.
- The Guilde des Veilleurs lists the quests, with a menu entry, a home banner and an admin section for quest settings.
- The section menu folds into a dropdown below 960 px; the home pairs the guild with the best pull and moves the opening reserve under the menu.
- The shop pack share moves to the shop collection admin page, which recalls where the pack draws its cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:43:28 +01:00
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
498e171bc3 Show a full reserve count on the Sokko TCG menu icon and remaining openings while opening a pack
A gold count now sits on the Sokko TCG menu icon while the opening reserve is
full, so players notice it from any page. A light reserve route keeps it up to
date outside the game, and the game page updates it with every state it gets.
The opening stage also lists the remaining openings, apart for the automatic
recharge and for openings bought one at a time, since the sidebar reserve is
hidden there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 23:16:47 +01:00
7046515d20 Close the security gaps found by the application audit
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m8s
Validate and deploy Sokko G / deploy (push) Successful in 10s
Imported toolboxes could run scripts on the site origin through image data
URLs, so only bitmap images are now accepted at import, display and opening.
The Cards game and its fake admin login no longer turn on when NODE_ENV is
missing, and the Node server now sends a CSP and the other security headers.

The deployment script no longer runs files owned by the service account as
root, the services cannot gain privileges through sudo, and the deployment
key stays in a single workflow step with actions pinned by commit. The script
and systemd units must still be reinstalled on the server after delivery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 10:55:35 +01:00
09a92de2c5 Only mention Sokko TCG while it is enabled and fix shop pack rates
The sidebar and About page advertised the game even when disabled. The admin
rates also warned that the shop pack had no drawable common, rare or epic card
although it draws them from the other collections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:03:04 +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
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
ec7a4a4c1d Add library tools to local toolboxes 2026-10-22 22:58:24 +02:00
1171eee510 Clarify local persistence and backup states 2026-10-15 16:10:11 +02:00
2f2e79d200 Refine toolbox navigation and local data controls
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
2026-10-15 10:52:34 +02:00
954240adf9 Standardize modal focus and keyboard behavior 2026-10-15 00:03:13 +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
0ac1a0974e Refocus responsive layouts on compact desktop use
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-10-05 15:47:46 +02:00
3f86d863ac Add persistent gallery card ratio switch
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-28 10:09:58 +02:00
273bc5d528 Add persistent gallery zoom and proportional card layout
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-28 09:02:10 +02:00
386212041f Improve toolbox checklists, image browsing, and guide integration
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-27 22:26:39 +02:00
00e73f0062 Add responsive game filters and hybrid toolbox drawer
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
2026-09-27 18:00:49 +02:00
69e3b8ef2f Refine local backup modal and permission flow
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-09-25 11:35:31 +02:00
ee823d2c37 Improve local backup permissions and change tracking
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-09-25 10:45:12 +02:00
34e542be28 Clarify local backup permission recovery
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-09-25 09:53:58 +02:00
0a3bb4dffd Add local automatic backups and Aniimo regions lists
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-24 09:39:33 +02:00
09a2d4b71a Protect toolbox data after IndexedDB startup failures
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-12 23:05:16 +02:00
b470a34b2a Isolate RNG drafts and fix image editor lifecycle
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s
2026-09-11 20:28:07 +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
6c61e11f9a Fix Notepad render loop and stabilize toolbox modules
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s
2026-09-10 13:37:48 +02:00
055fb78d60 Unify category autocomplete fields
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-09-04 14:09:08 +02:00
9aa98c892d Extend NDS patterns and migrate shared UI surfaces
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-09-02 15:50:04 +02:00
35fe877d58 add randomizer module
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-08-31 09:10:38 +02:00
07de342fc2 Polish Nebula design system controls before release
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
2026-08-29 16:07:16 +02:00
817e21567b Migrate site controls to Nebula design system
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-08-29 09:16:58 +02:00
ae503c7260 Add internal mix tag input for calculator and goal tree formulas
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s
2026-08-24 13:24:44 +02:00
59fdcb0927 Add goal tree toolbox module
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s
2026-08-22 18:15:39 +02:00
992665f4ea Add calendar toolbox with weekly and monthly scheduling
All checks were successful
Deploy Sokko G / deploy (push) Successful in 14s
2026-08-20 15:48:24 +02:00
4f73e0068b Add guided onboarding tour for first toolbox creation
All checks were successful
Deploy Sokko G / deploy (push) Successful in 14s
2026-08-14 13:20:47 +02:00
b221257616 Improve toolbox architecture and initial bundle loading
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s
2026-08-14 09:13:53 +02:00
48dcc8182c Improve onboarding layout and add sidebar mascot
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-08-12 23:53:50 +02:00
a9b5ca423a Refactor tool catalog into documentation layout
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-08-09 13:34:08 +02:00
d53d4160af Add equipment planner toolbox module
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-08-09 10:03:55 +02:00
9b72f4934c Add toolbox library page with editable examples
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-08-03 11:37:59 +02:00
de1b8a5638 improve notepad features and add drawing canvas
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-07-29 13:51:42 +02:00
e306bfc5d6 add task planner & alert improvments
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-07-27 22:44:08 +02:00
2e6d8a2c0c keepsafe rework & alert ajustments
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-07-26 17:48:14 +02:00
68005ef918 new tool timer & alert revamp
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
2026-07-26 11:41:42 +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