forgejo-federation/options/locale
Denys Konovalov 63ab92d797
Pre-register OAuth2 applications for git credential helpers (#26291)
This PR is an extended implementation of #25189 and builds upon the
proposal by @hickford in #25653, utilizing some ideas proposed
internally by @wxiaoguang.

Mainly, this PR consists of a mechanism to pre-register OAuth2
applications on startup, which can be enabled or disabled by modifying
the `[oauth2].DEFAULT_APPLICATIONS` parameter in app.ini. The OAuth2
applications registered this way are being marked as "locked" and
neither be deleted nor edited over UI to prevent confusing/unexpected
behavior. Instead, they're being removed if no longer enabled in config.


![grafik](https://github.com/go-gitea/gitea/assets/47871822/81a78b1c-4b68-40a7-9e99-c272ebb8f62e)

The implemented mechanism can also be used to pre-register other OAuth2
applications in the future, if wanted.

Co-authored-by: hickford <mirth.hickford@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

---------

Co-authored-by: M Hickford <mirth.hickford@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-08-09 14:24:07 +02:00
..
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2023-07-20 00:27:21 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2023-08-09 00:26:05 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2023-07-07 00:30:02 +00:00
locale_en-US.ini Pre-register OAuth2 applications for git credential helpers (#26291) 2023-08-09 14:24:07 +02:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2023-07-03 20:02:34 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2023-07-19 00:46:27 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_is-IS.ini [skip ci] Updated translations via Crowdin 2023-07-03 20:02:34 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2023-07-06 00:31:13 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2023-07-19 00:46:27 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2023-07-03 20:02:34 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2023-07-03 20:02:34 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2023-07-21 00:26:46 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2023-07-24 00:27:48 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2023-07-03 20:02:34 +00:00
locale_si-LK.ini [skip ci] Updated translations via Crowdin 2023-07-05 00:31:02 +00:00
locale_sk-SK.ini [skip ci] Updated translations via Crowdin 2023-07-03 20:02:34 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2023-07-25 00:27:42 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2023-07-03 20:02:34 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2023-07-06 00:31:13 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2023-06-08 00:28:45 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2023-07-06 00:31:13 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00