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