mirror of
1
Fork 0
forgejo/options/locale
wxiaoguang 1ae3b127fc
Refactor CSRF protector (#32057)
Remove unused CSRF options, decouple "new csrf protector" and "prepare"
logic, do not redirect to home page if CSRF validation falis (it
shouldn't happen in daily usage, if it happens, redirecting to home
doesn't help either but just makes the problem more complex for "fetch")

(cherry picked from commit 1fede04b83288d8a91304a83b7601699bb5cba04)

Conflicts:
	options/locale/locale_en-US.ini
	tests/integration/repo_branch_test.go
  trivial context conflicts
2024-09-27 08:42:48 +02:00
..
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00
locale_ar.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_be.ini [I18N] Translations update from Weblate (#2521) 2024-03-04 01:58:49 +00:00
locale_bg.ini i18n: update of translations from Codeberg Translate (#5309) 2024-09-19 06:08:33 +00:00
locale_bn.ini [I18N] Translations update from Weblate (#2350) 2024-02-17 22:18:04 +00:00
locale_bs.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_ca.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_cs-CZ.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_de-DE.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_el-GR.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_en-US.ini Refactor CSRF protector (#32057) 2024-09-27 08:42:48 +02:00
locale_eo.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_es-ES.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_et.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_fa-IR.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_fi-FI.ini i18n: update of translations from Codeberg Translate (#5309) 2024-09-19 06:08:33 +00:00
locale_fil.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_fr-FR.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_gl.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_hi.ini [I18N] Translations update from Weblate (#3508) 2024-05-04 18:36:49 +00:00
locale_hu-HU.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_id-ID.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_is-IS.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_it-IT.ini i18n: update of translations from Codeberg Translate (#5309) 2024-09-19 06:08:33 +00:00
locale_ja-JP.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_ko-KR.ini Remove HTML tags from create branch and tag translations 2024-09-12 17:29:52 +05:00
locale_lt.ini i18n: update of translations from Codeberg Translate (#5309) 2024-09-19 06:08:33 +00:00
locale_lv-LV.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_ml-IN.ini [I18N] Add `common` section to new translation files 2024-07-22 20:14:24 +02:00
locale_nb_NO.ini i18n: update of translations from Codeberg Translate (#4889) 2024-08-16 07:19:03 +00:00
locale_nl-NL.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_pl-PL.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_pt-BR.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_pt-PT.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_ru-RU.ini i18n: update of translations from Codeberg Translate (#5309) 2024-09-19 06:08:33 +00:00
locale_si-LK.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_sk-SK.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_sl.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_sr-SP.ini [I18N] Add `common` section to new translation files 2024-07-22 20:14:24 +02:00
locale_sv-SE.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_tr-TR.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00
locale_uk-UA.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_vi.ini i18n: update of translations from Codeberg Translate (#4984) 2024-08-22 06:23:28 +00:00
locale_yi.ini i18n: update of translations from Weblate (#4451) 2024-07-18 05:14:01 +00:00
locale_zh-CN.ini i18n: update of translations from Codeberg Translate (#5309) 2024-09-19 06:08:33 +00:00
locale_zh-HK.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_zh-TW.ini i18n(*): fix placeholders in dashboard.new_version_hint 2024-09-12 17:52:46 +05:00