gitea/templates
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
..
admin Fix sorting admin user list by last login (#22081) 2022-12-11 18:00:17 -06:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Optimize html templates (#22080) 2022-12-09 21:34:51 +08:00
code Run make fmt (#21437) 2022-10-13 21:33:54 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Optimize html templates (#22080) 2022-12-09 21:34:51 +08:00
mail Add team member invite by email (#20307) 2022-10-19 14:40:28 +02:00
org Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
package Add package registry cleanup rules (#21658) 2022-11-20 16:08:38 +02:00
repo Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
shared Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
status Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
swagger Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
user Fix margin and alignment in dashboard repolist (#22120) 2022-12-17 09:58:57 +08:00
home.tmpl fix(web): add alt for logo in home page (#21887) 2022-11-21 15:09:55 -05:00
install.tmpl Clean up formatting on install page (#21668) 2022-11-03 20:41:01 +00:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00