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
6.0 KiB
JSON
65 lines
6.0 KiB
JSON
{
|
|
"loading": "ロード中...",
|
|
"why_am_i_seeing": "なぜこれが表示されるのですか?",
|
|
"protected_by": "Protected by",
|
|
"protected_from": "From",
|
|
"made_with": "Made with ❤️ 🇨🇦",
|
|
"mascot_design": "Mascot design by",
|
|
"jshelter_note": "Anubisは、JShelterのようなプラグインが無効化する最新のJavaScript機能を必要とします。このドメインではJShelterや同様のプラグインを無効にしてください。",
|
|
"version_info": "このウェブサイトはAnubisで動作しています バージョン",
|
|
"try_again": "再試行",
|
|
"go_home": "ホームに戻る",
|
|
"contact_webmaster": "もしブロックされるべきでないと思われる場合は、ウェブマスターにご連絡ください:",
|
|
"connection_security": "接続の安全性を確認しています。しばらくお待ちください。",
|
|
"javascript_required": "申し訳ありませんが、このチャレンジを通過するにはJavaScriptを有効にする必要があります。これはAI企業がウェブホスティングの社会的契約を変えてしまったためです。JavaScriptなしの解決策は現在開発中です。",
|
|
"benchmark_requires_js": "ベンチマークツールを実行するにはJavaScriptを有効にする必要があります。",
|
|
"difficulty": "難易度:",
|
|
"algorithm": "アルゴリズム:",
|
|
"compare": "比較:",
|
|
"time": "時間",
|
|
"iters": "イテレーション数",
|
|
"time_a": "時間A",
|
|
"iters_a": "イテレーションA",
|
|
"time_b": "時間B",
|
|
"iters_b": "イテレーションB",
|
|
"static_check_endpoint": "これはリバースプロキシ用のチェックエンドポイントです。",
|
|
"authorization_required": "認証が必要です",
|
|
"cookies_disabled": "お使いのブラウザはCookieを無効にしています。Anubisは、あなたが正当なクライアントであることを確認するためにCookieを必要とします。このドメインでCookieを有効にしてください。",
|
|
"access_denied": "アクセス拒否: エラーコード",
|
|
"dronebl_entry": "DroneBLにエントリーが報告されました",
|
|
"see_dronebl_lookup": "参照",
|
|
"internal_server_error": "内部サーバーエラー: 管理者がAnubisの設定を誤っています。管理者に連絡し、次のログを確認するよう依頼してください:",
|
|
"invalid_redirect": "無効なリダイレクト",
|
|
"redirect_not_parseable": "リダイレクトURLを解析できません",
|
|
"redirect_domain_not_allowed": "リダイレクトドメインは許可されていません",
|
|
"failed_to_sign_jwt": "JWTの署名に失敗しました",
|
|
"invalid_invocation": "MakeChallengeの無効な呼び出し",
|
|
"client_error_browser": "クライアントエラー: ブラウザが最新であることを確認し、後でもう一度お試しください。",
|
|
"oh_noes": "Oh noes!",
|
|
"benchmarking_anubis": "Anubisのベンチマーク中!",
|
|
"you_are_not_a_bot": "あなたはボットではありません!",
|
|
"making_sure_not_bot": "あなたがボットでないことを確認しています!",
|
|
"celphase": "CELPHASE",
|
|
"js_web_crypto_error": "お使いのブラウザには正常に動作するweb.crypto要素がありません。安全なコンテキストで閲覧していますか?",
|
|
"js_web_workers_error": "お使いのブラウザはWebワーカーをサポートしていません(Anubisはこれでブラウザのフリーズを防ぎます)。JShelterのようなプラグインを使用していませんか?",
|
|
"js_cookies_error": "お使いのブラウザはCookieを保存しません。Anubisは、チャレンジを通過したクライアントを判別するために署名付きトークンをCookieに保存します。このドメインでCookieの保存を有効にしてください。Anubisが保存するCookie名は予告なく変更される場合があります。Cookie名や値は公開APIの一部ではありません。",
|
|
"js_context_not_secure": "お使いのコンテキストは安全ではありません!",
|
|
"js_context_not_secure_msg": "HTTPSで接続するか、管理者にHTTPSの設定を依頼してください。詳細は<a href=\"https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#when_is_a_context_considered_secure\">MDN</a>をご覧ください。",
|
|
"js_calculating": "計算中...",
|
|
"js_missing_feature": "機能がありません",
|
|
"js_challenge_error": "チャレンジエラー!",
|
|
"js_challenge_error_msg": "チェックアルゴリズムの解決に失敗しました。ページを再読み込みしてください。",
|
|
"js_calculating_difficulty": "計算中...<br/>難易度:",
|
|
"js_speed": "速度:",
|
|
"js_verification_longer": "検証に予想以上の時間がかかっています。ページをリフレッシュしないでください。",
|
|
"js_success": "成功!",
|
|
"js_done_took": "完了!所要時間",
|
|
"js_iterations": "イテレーション数",
|
|
"js_finished_reading": "読み終わりました。続行 →",
|
|
"js_calculation_error": "計算エラー!",
|
|
"js_calculation_error_msg": "チャレンジの計算に失敗しました:",
|
|
"missing_required_forwarded_headers": "必要な X-Forwarded-* ヘッダーがありません",
|
|
"simplified_explanation": "これは、CAPTCHAと同様の、ボットや悪意のあるリクエストに対する対策です。ただし、自分で作業する代わりに、ブラウザに計算タスクが与えられ、それを解決して有効なクライアントであることを確認する必要があります。この概念は<a href=\"https://en.wikipedia.org/wiki/Proof_of_work\">Proof of Work</a>と呼ばれます。タスクは数秒で計算され、ウェブサイトへのアクセスが許可されます。ご理解とご協力をお願いいたします。",
|
|
"script_load_error": "AnubisのJavaScriptを読み込めませんでした。サーバーが混雑している可能性があります。ページを再読み込みして、もう一度お試しください。"
|
|
}
|