gitea/templates/repo/settings
Jason Song 659055138b
Secrets storage with SecretKey encrypted (#22142)
Fork of #14483, but [gave up
MasterKey](https://github.com/go-gitea/gitea/pull/14483#issuecomment-1350728557),
and fixed some problems.

Close #12065.
Needed by #13539.

Featrues:
- Secrets for repo and org, not user yet.
- Use SecretKey to encrypte/encrypt secrets.
- Trim spaces of secret value.
- Add a new locale ini block, to make it easy to support secrets for
user.

Snapshots:

Repo level secrets:

![image](https://user-images.githubusercontent.com/9418365/207823319-b8a4903f-38ca-4af7-9d05-336a5af906f3.png)

Rrg level secrets

![image](https://user-images.githubusercontent.com/9418365/207823371-8bd02e93-1928-40d1-8c76-f48b255ace36.png)

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2022-12-20 17:07:13 +08:00
..
webhook Fix table misalignments and tweak webhook and githook lists (#21917) 2022-11-24 00:43:07 -06:00
branches.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
collaboration.tmpl Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
deploy_keys.tmpl Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
githook_edit.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
githooks.tmpl Fix table misalignments and tweak webhook and githook lists (#21917) 2022-11-24 00:43:07 -06:00
lfs_file_find.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
lfs_file.tmpl Ensure that plain files are rendered correctly even when containing ambiguous characters (#22017) 2022-12-17 22:22:25 +02:00
lfs_locks.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
lfs_pointers.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
lfs.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
nav.tmpl Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
navbar.tmpl Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
options.tmpl Allow disable code tab (#20805) 2022-12-12 13:29:27 +08:00
protected_branch.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
secrets.tmpl Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
tags.tmpl Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00