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.
forgejo/modules
Norwin cb940c4312
Encrypt migration credentials at rest (#15895)
* encrypt migration credentials in task persistence

Not sure this is the best approach, we could encrypt the entire
`PayloadContent` instead. Also instead of clearing individual fields in
payload content, we could just delete the task once it has
(successfully) finished..?

* remove credentials of past migrations

* only run DB migration for completed tasks

* fix binding

* add omitempty

* never serialize unencrypted credentials

* fix import order

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
..
analyze Speed up `enry.IsVendor` (#15213) 3 years ago
auth Fix bug in reverse proxy (#16026) 3 years ago
avatar Use single shared random string generation function (#15741) 3 years ago
base fix truncate utf8 string (#15828) 3 years ago
cache [Vendor] Update go-redis to v8.5.0 (#13749) 3 years ago
charset Refactor renders (#15175) 3 years ago
context Make modules/context.Context a context.Context (#16031) 3 years ago
convert Fix individual tests (addition to #15802) (#15818) 3 years ago
cron add cron job to delete old actions from database (#15688) 3 years ago
csv Refactor renders (#15175) 3 years ago
doctor Add err to log (#15813) 3 years ago
emoji Fix several render issues (#14986) 3 years ago
eventsource Hold the event source when there are no listeners (#15725) 3 years ago
generate Use single shared random string generation function (#15741) 3 years ago
git git migration: don't prompt interactively for clone credentials (#15902) 3 years ago
gitgraph Fix bug on commit graph (#15517) 3 years ago
graceful Make modules/context.Context a context.Context (#16031) 3 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight Allow custom highlight mapping beyond file extensions (#15808) 3 years ago
httpcache Add ETag header (#15370) 3 years ago
httplib fix webhook timeout bug (#15613) 3 years ago
indexer Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 3 years ago
lfs Fix lfs management find (#15537) 3 years ago
log Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
markup Make tasklist checkboxes clickable (#15791) 3 years ago
matchlist Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations Encrypt migration credentials at rest (#15895) 3 years ago
nosql Fix setting redis db path (#15698) 3 years ago
notification Don't manipulate input params in email notification (#16011) 3 years ago
options Add StatDir and replace com.StatDir (#14099) 4 years ago
password Check passwords against HaveIBeenPwned (#12716) 4 years ago
pprof Add golangci (#6418) 5 years ago
private add a new internal hook to save ssh log (#15787) 3 years ago
process Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
public Improve assets handler middleware (#15961) 3 years ago
queue Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 3 years ago
recaptcha Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
references Respect default merge message syntax when parsing item references (#15772) 3 years ago
repofiles Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
repository Double the avatar size factor (#15941) 3 years ago
secret Use single shared random string generation function (#15741) 3 years ago
session Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
setting Unified custom config creation (#16012) 3 years ago
ssh Make internal SSH server host key path configurable (#14918) 3 years ago
storage Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
structs Add Active and ProhibitLogin to API (#15689) 3 years ago
svg Fix filepath basename on Windows for SVG bindata (#12241) 4 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
task Encrypt migration credentials at rest (#15895) 3 years ago
templates Fix incorrect asset URL (#15805) 3 years ago
test Move middlewares to web/middleware (#14480) 3 years ago
timeutil Fix display since time round (#14226) 3 years ago
translation Use index of the supported tags to choose user lang (#15452) 3 years ago
upload Update golangci-lint to version 1.31.0 (#13102) 4 years ago
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
user Add gitea-vet (#10948) 4 years ago
util Use single shared random string generation function (#15741) 3 years ago
validation Move macaron to chi (#14293) 3 years ago
web Fix setting of SameSite on cookies (#15989) 3 years ago