Imports github.com/Unknwon/com code.gitea.io/gitea/modules/setting code.gitea.io/gitea/modules/util code.gitea.io/gitea/modules/log github.com/Unknwon/i18n github.com/gogits/chardet 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/sha1 crypto/md5 html/template