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.1 KiB
JSON
65 lines
5.1 KiB
JSON
{
|
|
"loading": "Caricamento...",
|
|
"why_am_i_seeing": "Perché vedo questa schermata?",
|
|
"protected_by": "Protetto da",
|
|
"protected_from": "From",
|
|
"made_with": "Realizzato con ❤️ in 🇨🇦",
|
|
"mascot_design": "Mascotte disegnata da",
|
|
"jshelter_note": "Si noti che Anubis richiede l'utilizzo di caratteristiche moderne di JavaScript che alcuni plugin, come JShelter, disabilitano. Per accedere, disabilita JShelter (o altri plugin simili) per questo dominio.",
|
|
"version_info": "Questo sito sta usando Anubis versione",
|
|
"try_again": "Riprova",
|
|
"go_home": "Vai alla home",
|
|
"contact_webmaster": "o, se pensi di non dover essere bloccato, contatta l'amministratore a",
|
|
"connection_security": "Un momento: stiamo controllando la sicurezza della tua connessione.",
|
|
"javascript_required": "Purtroppo, devi abilitare Javascript per riuscire a superare questa pagina. Questa misura è necessaria perché alcune compagnie di AI hanno unilateralmente deciso di violare il contratto sociale sulla fornitura di siti web. Stiamo lavorando ad una soluzione che non richieda Javascript.",
|
|
"benchmark_requires_js": "Per eseguire lo strumento di test, è necessario abilitare Javascript.",
|
|
"difficulty": "Difficoltà:",
|
|
"algorithm": "Algoritmo:",
|
|
"compare": "Test:",
|
|
"time": "Tempo",
|
|
"iters": "Iterazioni",
|
|
"time_a": "Tempo A",
|
|
"iters_a": "Iterazioni A",
|
|
"time_b": "Tempo B",
|
|
"iters_b": "Iterazioni B",
|
|
"static_check_endpoint": "Questo è solo un endpoint di test da utilizzare col reverse proxy.",
|
|
"authorization_required": "Autorizzazione necessaria",
|
|
"cookies_disabled": "Il tuo browser è configurato per disabilitare i cookies. Anubis richiede i cookie per accertarsi che tu sia un visitatore umano, ed è un legittimo interesse. Per favore, abilita i cookie per questo dominio.",
|
|
"access_denied": "Accesso negato: errore",
|
|
"dronebl_entry": "DroneBL ha riportato un record",
|
|
"see_dronebl_lookup": "vedi",
|
|
"internal_server_error": "Internal Server Error: Anubis non è configurato correttamente. Contattare l'amministratore e chiedergli di controllare i log attorno a",
|
|
"invalid_redirect": "Reindirizzamento non valido",
|
|
"redirect_not_parseable": "Errore di sintassi nel reindirizzamento",
|
|
"redirect_domain_not_allowed": "Dominio non permesso per il reindirizzamento",
|
|
"failed_to_sign_jwt": "Impossibile firmare JWT",
|
|
"invalid_invocation": "Chiamata non valida a MakeChallenge",
|
|
"client_error_browser": "Client Error: assicurati che il tuo browser sia aggiornato e riprova.",
|
|
"oh_noes": "Oh no!",
|
|
"benchmarking_anubis": "Testando Anubis!",
|
|
"you_are_not_a_bot": "Non sei un robot!",
|
|
"making_sure_not_bot": "Controllo se sei un robot...",
|
|
"celphase": "CELPHASE",
|
|
"js_web_crypto_error": "Il tuo browser non ha un elemento web.crypto funzionante. Stai utilizzando una connessione sicura?",
|
|
"js_web_workers_error": "Il tuo browser non supporta web workers (Anubis li utilizza per evitare di rallentare il tuo browser). Hai installato un plugin come JShelter?",
|
|
"js_cookies_error": "Il tuo browser non salva i cookie. Anubis utilizza i cookie per determinare quali client hanno superato la prova, salvando un identificativo firmato digitalmente in un cookie. Abilita il salvataggio dei cookie per questo dominio. Il nome del cookie salvato da Anubis potrebbe cambiare senza preavviso. I nomi dei cookie e il loro contenuto non fanno parte dell'API pubblica.",
|
|
"js_context_not_secure": "La tua connessione non è sicura!",
|
|
"js_context_not_secure_msg": "Prova a connetterti tramite HTTPS, o fallo abilitare dall'amministratore del sito. Per maggiori informazioni, vedi <a href=\"https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#when_is_a_context_considered_secure\">MDN</a>.",
|
|
"js_calculating": "Calcolo in corso...",
|
|
"js_missing_feature": "Funzionalità mancante",
|
|
"js_challenge_error": "Errore nel test!",
|
|
"js_challenge_error_msg": "Impossibile trovare l'algoritmo di controllo. Ricarica la pagina.",
|
|
"js_calculating_difficulty": "Calcolo in corso...<br/>Difficoltà:",
|
|
"js_speed": "Velocità:",
|
|
"js_verification_longer": "La verifica sta richiedendo più tempo del previsto. Non aggiornare la pagina: attendere.",
|
|
"js_success": "Successo!",
|
|
"js_done_took": "Fatto! Sono state necessarie",
|
|
"js_iterations": "iterazioni.",
|
|
"js_finished_reading": "Ho finito di leggere, continua →",
|
|
"js_calculation_error": "Errore nel calcolo!",
|
|
"js_calculation_error_msg": "Impossibile superare il test:",
|
|
"missing_required_forwarded_headers": "Mancano gli header X-Forwarded-* richiesti",
|
|
"simplified_explanation": "Questa è una misura contro bot e richieste dannose simile a un CAPTCHA. Tuttavia, invece di dover lavorare tu stesso, al tuo browser viene assegnato un compito di calcolo che deve risolvere per garantire che sia un client valido. Questo concetto è chiamato <a href=\"https://en.wikipedia.org/wiki/Proof_of_work\">Proof of Work</a>. Il compito viene calcolato in pochi secondi e ti viene concesso l'accesso al sito web. Grazie per la tua comprensione e pazienza.",
|
|
"script_load_error": "Anubis non è riuscito a caricare il suo JavaScript. Il server potrebbe essere sovraccarico. Ricarica la pagina per riprovare."
|
|
}
|