This upgrades the Masyunis fork from Anubis v1.25.0 to the latest stable release, **v1.28.2** (“Wuk Lamat Echo 2”), while keeping the fork’s custom styling and removals. ## Approach The Gitea repo is a tree snapshot of v1.25.0, not a git-level fork of [TecharoHQ/anubis](https://github.com/TecharoHQ/anubis). The histories share no commits, so a merge or rebase onto the upstream tag is not usable. The first commit on this branch replaces the tree with a snapshot of the **v1.28.2** tag (`git rm -r` plus `git checkout v1.28.2 -- .`; the import tree is identical to the tag). A short patch series on top restores the Masyunis customizations. ## Customizations kept - Masyunya mascots (`web/static/img/{happy,pensive,reject}.webp`), hashes match current `master`. - `web/static/img/ATTRIBUTIONS.txt` stays deleted. - Challenge footer: drop the `made_with` (Canada / maple-leaf) line and the CELPHASE mascot credit; keep “Protected by Anubis from Techaro”. The generated `web/index_templ.go` matches `go generate ./web`. - Short README (the old `anubisc` typo is fixed). - Version stamped `v1.28.2/masyunis` via Makefile ldflags. `anubis.go` `init()` does not overwrite a link-time version; `go run` / `go test` still report `devel` on purpose. - Upstream `.github`, `.devcontainer`, `.husky`, and `.vscode` stay deleted. - `"uk"` is removed from `lib/localization/locales/manifest.json` **on purpose**, because of Alpine locale problems. `uk.json` and its test entry stay; the served manifest lists 27 languages. - `package.json` `prepare` no longer runs `husky` (the hooks directory is gone). The rest of the script is unchanged. `husky` remains in devDependencies, as upstream left it. ## Deploy notes - **Cookie rename (v1.27):** with the default `DYNAMIC_COOKIE_SUFFIX=true`, cookie names become e.g. `techaro.lol-anubis-auth-<hash>`. Existing clients get a **one-time re-challenge**. That is expected, not a loop. - **Docker / ko / yeet builds** skip the Makefile ldflags, so the displayed version is `<git-version>/masyunis`. It is `v1.28.2/masyunis` only when built from a `v1.28.2` tag (or via `make build` / `make prebaked-build`). - Go 1.27.3 is required (upstream bump in v1.28.2). Thoth (`THOTH_URL` / `THOTH_TOKEN`) was removed upstream; those settings now warn and do nothing. New WASM challenge methods stay disabled unless opted in. ## Verification - `make build` succeeds. `./var/anubis --version` prints `Anubis v1.28.2/masyunis`. - `SKIP_INTEGRATION=1 go test ./...` passes (unit tests; integration package is skipped). - Local challenge/reject pages (en and ru) show Masyunya, version `v1.28.2/masyunis`, and no Canada / CELPHASE / mascot-credit text. Screenshots:   - Upstream Playwright tests (`make test` without `SKIP_INTEGRATION`) fail on this box because the browser download fails. A clean v1.28.2 tree fails the same three Playwright tests here, so this is not a fork regression. - `npm audit` reports **4** findings in upstream’s lockfile (2 moderate, 2 high: `brace-expansion`, `fast-uri`, `lodash.trim`, `source-map-js`). Left alone. Please review and merge when ready. I will not merge this myself. Reviewed-on: #1 Co-authored-by: Lead <3+lead_bot@noreply.git.unvr.site>
65 lines
5.4 KiB
JSON
65 lines
5.4 KiB
JSON
{
|
||
"loading": "S’està carregant…",
|
||
"why_am_i_seeing": "Per què veig això?",
|
||
"protected_by": "Protegit per",
|
||
"protected_from": "de",
|
||
"made_with": "Fet amb ❤️ al 🇨🇦",
|
||
"mascot_design": "Disseny de la mascota de",
|
||
"simplified_explanation": "Això és una mesura contra els robots i les sol·licituds malicioses semblant a un CAPTCHA. No obstant això, en lloc d’haver de fer vós la feina, proporcionem una tasca de càlcul al vostre navegador, que l’ha de resoldre per a demostrar que és un client vàlid. Aquest concepte s’anomena <a href=\"https://ca.wikipedia.org/wiki/Prova_de_treball\">prova de treball</a>. La tasca es calcula en pocs segons i se us concedeix accés al lloc web. Gràcies per la comprensió i la paciència.",
|
||
"jshelter_note": "Tingueu en compte que Anubis requereix l’ús de funcionalitats modernes del JavaScript que connectors com el JShelter desactiven. Desactiveu el JShelter o altres connectors similars per a aquest domini.",
|
||
"version_info": "Aquest lloc web executa Anubis versió",
|
||
"try_again": "Torna-ho a provar",
|
||
"go_home": "Vés a l’inici",
|
||
"contact_webmaster": "o si creieu que no hauríeu de rebre un bloqueig, contacteu amb l’administrador del web a",
|
||
"connection_security": "Espereu un moment mentre comprovem la seguretat de la vostra connexió.",
|
||
"javascript_required": "Malauradament, cal que activeu el JavaScript per a superar aquesta prova. És obligatori perquè les empreses d’IA han canviat el contracte social de com funciona l’allotjament de llocs web. Hi ha en projecte una solució sense JS.",
|
||
"benchmark_requires_js": "L’execució de l’eina de comparació requereix que el JavaScript estigui activat.",
|
||
"difficulty": "Dificultat:",
|
||
"algorithm": "Algorisme:",
|
||
"compare": "Compara:",
|
||
"time": "Temps",
|
||
"iters": "Iteracions",
|
||
"time_a": "Temps A",
|
||
"iters_a": "Iter. A",
|
||
"time_b": "Temps B",
|
||
"iters_b": "Iter. B",
|
||
"static_check_endpoint": "Això només és un punt final de comprovació perquè l’utilitzi el vostre servidor intermediari invers.",
|
||
"authorization_required": "Cal autorització",
|
||
"cookies_disabled": "El vostre navegador està configurat per a desactivar les galetes. Anubis requereix galetes per a l’interès legítim de comprovar que sigueu un client vàlid. Activeu les galetes per a aquest domini",
|
||
"access_denied": "Accés denegat: codi d’error",
|
||
"dronebl_entry": "DroneBL ha informat d’una entrada",
|
||
"see_dronebl_lookup": "vegeu",
|
||
"internal_server_error": "Error intern del servidor: l’administrador no ha configurat bé Anubis. Contacteu amb l’administrador i demaneu-li que miri els registres al voltant de",
|
||
"invalid_redirect": "Redirecció no vàlida",
|
||
"redirect_not_parseable": "No es pot analitzar l’URL de redirecció",
|
||
"redirect_domain_not_allowed": "Domini de redirecció no permès",
|
||
"missing_required_forwarded_headers": "Manquen les capçaleres X-Forwarded-* requerides",
|
||
"failed_to_sign_jwt": "no s’ha pogut signar JWT",
|
||
"invalid_invocation": "Invocació no vàlida de MakeChallenge",
|
||
"client_error_browser": "Error del client: Assegureu-vos que el vostre navegador està actualitzat i torneu-ho a provar.",
|
||
"oh_noes": "Oh, no!",
|
||
"benchmarking_anubis": "S’està executant una comparació d’Anubis!",
|
||
"you_are_not_a_bot": "No sou un robot!",
|
||
"making_sure_not_bot": "Estem comprovant que no sigueu un robot!",
|
||
"celphase": "CELPHASE",
|
||
"js_web_crypto_error": "El vostre navegador no té un element web.crypto funcional. Esteu veient això en un context segur?",
|
||
"js_web_workers_error": "El vostre navegador no admet treballadors web (Anubis els utilitza per a evitar que el vostre navegador es bloquegi). Teniu instal·lat un connector com ara el JShelter?",
|
||
"js_cookies_error": "El vostre navegador no emmagatzema galetes. Anubis utilitza galetes per a determinar quins clients han superat les proves desant un testimoni signat en una galeta. Activeu l’emmagatzematge de galetes per a aquest domini. Els noms de les galetes que emmagatzema Anubis poden canviar sense avís. Els noms i valors de les galetes no són part de l’API pública.",
|
||
"js_context_not_secure": "El vostre context no és segur!",
|
||
"js_context_not_secure_msg": "Proveu de connectar-vos per HTTPS o demaneu a l’administrador que configuri HTTPS. Per a més informació, vegeu l’<a href=\"https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#when_is_a_context_considered_secure\">MDN</a>.",
|
||
"js_calculating": "S’està calculant...",
|
||
"js_missing_feature": "Manca una funcionalitat",
|
||
"js_challenge_error": "S’ha produït un error a la prova!",
|
||
"js_challenge_error_msg": "No s’ha pogut resoldre l’algorisme de comprovació. Proveu de tornar a carregar la pàgina.",
|
||
"js_calculating_difficulty": "S’està calculant...<br/>Dificultat:",
|
||
"js_speed": "Velocitat:",
|
||
"js_verification_longer": "La verificació està trigant més del normal. No actualitzeu la pàgina.",
|
||
"js_success": "Reeixit!",
|
||
"js_done_took": "Fet! Ha trigat",
|
||
"js_iterations": "iteracions",
|
||
"js_finished_reading": "Ja he acabat de llegir, continua →",
|
||
"js_calculation_error": "S’ha produït un error de càlcul!",
|
||
"js_calculation_error_msg": "No s’ha pogut calcular la prova:",
|
||
"script_load_error": "Anubis no ha pogut carregar el seu JavaScript. És possible que el servidor estigui sobrecarregat. Torneu a carregar la pàgina per a tornar-ho a provar."
|
||
}
|