Imports code.gitea.io/git code.gitea.io/gitea/modules/log code.gitea.io/gitea/modules/setting code.gitea.io/gitea/modules/util github.com/Unknwon/com github.com/gogits/chardet github.com/Unknwon/i18n Standard library imports bytes crypto/md5 crypto/rand encoding/base64 encoding/hex fmt html/template io math math/big net/http net/url path strconv strings time unicode unicode/utf8 crypto/sha1