You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
branch Fix button in branch list, avoid unexpected page jump before restore branch actually done (#21562) 2 years ago
cite Copy citation file content, in APA and BibTex format, on repo home page (#19999) 2 years ago
diff Change ID pattern of raw content container for issue (#21966) 1 year ago
editor Rename almost all Ctx functions (#22071) 1 year ago
find Refactor `i18n` to `locale` (#20153) 2 years ago
graph Rename almost all Ctx functions (#22071) 1 year ago
issue Rename almost all Ctx functions (#22071) 1 year ago
migrate Remove useless "Cancel" buttons (#21872) 1 year ago
projects Optimize html templates (#22080) 1 year ago
pulls Remove useless "Cancel" buttons (#21872) 1 year ago
release Optimize html templates (#22080) 1 year ago
settings Secrets storage with SecretKey encrypted (#22142) 1 year ago
wiki Webhook for Wiki changes (#20219) 2 years ago
activity.tmpl Respect user's locale when rendering the date range in the repo activity page (#21410) 2 years ago
blame.tmpl Show syntax lexer name in file view/blame (#21814) 2 years ago
branch_dropdown.tmpl Fix branch dropdown shifting on page load (#21428) 2 years ago
clone_buttons.tmpl Rework repo buttons (#20602) 2 years ago
clone_script.tmpl Make the vscode clone link respect transport protocol (#20557) 2 years ago
commit_page.tmpl Rename actions to operations on UI (#22067) 1 year ago
commit_status.tmpl Change commit status icons to SVG (#20736) 2 years ago
commit_statuses.tmpl Improve commit status icons (#21124) 2 years ago
commits.tmpl Rework repo buttons (#20602) 2 years ago
commits_list.tmpl Change `commits-table` column width (#21564) 2 years ago
commits_list_small.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
commits_table.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
create.tmpl Remove cancel button in repo creation page (#21381) 2 years ago
empty.tmpl Add default value for clone URLs (#20600) 2 years ago
file_info.tmpl Show syntax lexer name in file view/blame (#21814) 2 years ago
forks.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
graph.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
header.tmpl Rename almost all Ctx functions (#22071) 1 year ago
home.tmpl Rename actions to operations on UI (#22067) 1 year ago
icon.tmpl Do not display org avatar near icon for internal repos (#13957) 3 years ago
packages.tmpl Add Package Registry (#16510) 2 years ago
search.tmpl Add user/organization code search (#19977) 2 years ago
shabox_badge.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
sub_menu.tmpl Render number of commits in repo page in a user friendly way (#21786) 2 years ago
unicode_escape_prompt.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
upload.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
user_cards.tmpl Localize all timestamps (#21440) 2 years ago
view_file.tmpl Ensure that plain files are rendered correctly even when containing ambiguous characters (#22017) 1 year ago
view_list.tmpl Add whitespace removal inside template curly brackes (#20853) 2 years ago
watchers.tmpl Add class to page content to unify top margin (#13766) 4 years ago