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
4.7 KiB
JSON
65 lines
4.7 KiB
JSON
{
|
|
"loading": "Lastar inn...",
|
|
"why_am_i_seeing": "Kvifor ser eg dette?",
|
|
"protected_by": "Verna av",
|
|
"protected_from": "Frå",
|
|
"made_with": "Laga med ❤️ i 🇨🇦",
|
|
"mascot_design": "Maskot laga av",
|
|
"simplified_explanation": "Det er eit vern mot botar og vondsinna spurnader i same stil som CAPTCHA, berre at det er nettlesaren din og ikkje du som må løysa oppgåva. Han får eit mattestykke som må gjerast for å stadfesta at han er ekte brukar. Konseptet heiter <a href=\"https://en.wikipedia.org/wiki/Proof_of_work\">arbeidsprov</a>. Oppgåva tek berre nokre sekund og so får du åtgang til nettstaden. Takk for tolsemda.",
|
|
"jshelter_note":"Merk at Anubis krev at ein brukar moderne JavaScript-funksjonar som tillegg som JShelter skrur av. Om du har JShelter eller dilikt er du nøydd til å skru det av på domenet.",
|
|
"version_info": "Nettstaden køyrer Anubis utgåve",
|
|
"try_again": "Freist omatt",
|
|
"go_home": "Far heim",
|
|
"contact_webmaster": "eller om du meiner du ikkje lyt stengjast ute, tak kontakt med nettmeisteren på",
|
|
"connection_security": "Vent ein augneblink medan me stadfester at sambandet er trygt",
|
|
"javascript_required": "Diverre er du nøydd til å skru på JavaScript for å ta utfordringa. Det er fordi KI-selskapa har endra den sosiale kontrakta bak drift av nettstader. Me jobbar med ei løysing utan JavaScript",
|
|
"benchmark_requires_js": "JavaScript må vera på for å køyra ytingstest-verktyet.",
|
|
"difficulty": "Vanskegrad:",
|
|
"algorithm": "Algoritme:",
|
|
"compare": "Jamfør:",
|
|
"time": "Tid",
|
|
"iters": "Oppattakingar",
|
|
"time_a": "Tid A",
|
|
"iters_a": "Oppattakingar A",
|
|
"time_b": "Tid B",
|
|
"iters_b": "Oppattakingar B",
|
|
"static_check_endpoint": "Dette er berre eit helsesjekk-endepunkt som revers-proxyen din kan nytta.",
|
|
"authorization_required": "Stadfesting er påkravt",
|
|
"cookies_disabled": "Nettlesaren din tillet ikkje infokapslar. Anubis treng infokapslar for å sjå om du er ein ekte brukar. Skru på infokapslar på dette domenet.",
|
|
"access_denied": "Åtgang Forbode: feilmelding",
|
|
"dronebl_entry": "oppførd i DroneBL",
|
|
"see_dronebl_lookup": "sjå",
|
|
"internal_server_error": "Intern Tenarfeil: administratoren har sett opp Anubis feil. Tak kontakt med administratoren og sei at dei skal sjå på loggane kring",
|
|
"invalid_redirect": "Ugild vidaresending",
|
|
"redirect_not_parseable": "Fekk ikkje tolka vidaresendings-URLen",
|
|
"redirect_domain_not_allowed": "Vidaresendingsdomenet er ikkje tillate",
|
|
"missing_required_forwarded_headers": "Manglar påkravde X-Forwarded-* headers",
|
|
"failed_to_sign_jwt": "fekk ikkje signert JWT",
|
|
"invalid_invocation": "Ugildt bruk av MakeChallenge",
|
|
"client_error_browser": "Klientfeil: Sjekk at nettlesaren er oppdatert og prøv omatt seinare.",
|
|
"oh_noes": "Oidå!",
|
|
"benchmarking_anubis": "Køyrer ytingstest på Anubis!",
|
|
"you_are_not_a_bot": "Du er ikkje bot!",
|
|
"making_sure_not_bot": "Stadfester at du ikkje er bot!",
|
|
"celphase": "CELPHASE",
|
|
"js_web_crypto_error": "Nettlesaren din har ikkje noko verkande web.crypto-element. Er du tilkopla med trygt samband?",
|
|
"js_web_workers_error": "Nettlesaren din stør ikkje web workers (som Anubis brukar for å hindra at nettlesaren frys). Brukar du JShelter eller liknande tillegg?",
|
|
"js_cookies_error": "Nettlesaren din lagrar ikkje infokapslar. Anubis treng infokapslar for å sjå kva brukarar som har greitt utfordringa, sidan det ligg i infokapslane. Skru på infokapslar på dette domenet. Infokapslane Anubis lagrar kan ha fleire ulike namn. Namna og verdiane på infokapslane er ikkje del av den offentlege APIen.",
|
|
"js_context_not_secure": "Sambandet ditt er ikkje trygt!",
|
|
"js_context_not_secure_msg": "Freist å kopla til med HTTPS, eller sei med administrator at han må setja opp HTTPS. Les meir om det her: <a href=\"https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#when_is_a_context_considered_secure\">MDN</a>.",
|
|
"js_calculating": "Reknar ut...",
|
|
"js_missing_feature": "Funskjon manglar",
|
|
"js_challenge_error": "Feil med utfordringa!",
|
|
"js_challenge_error_msg": "Fekk ikkje løyst sjekkealgoritmen. Du burde nok lasta inn sida på nytt.",
|
|
"js_calculating_difficulty": "Reknar ut...<br/>Vanskegrad:",
|
|
"js_speed": "Snøggleik:",
|
|
"js_verification_longer": "Stadfestinga tek lenger enn venta. Ikkje last inn sida på nytt.",
|
|
"js_success": "Vellukka!",
|
|
"js_done_took": "Ferdig! Tok",
|
|
"js_iterations": "oppattakingar",
|
|
"js_finished_reading": "Eg har lese ferdig, haldt fram →",
|
|
"js_calculation_error": "Reknefeil!",
|
|
"js_calculation_error_msg": "Fekk ikkje rekna ut utfordringa:",
|
|
"script_load_error": "Anubis fekk ikkje lasta inn JavaScriptet sitt. Det kan henda tenaren har for mykje å gjera. Last inn sida på nytt og freist omatt."
|
|
}
|