Commit Graph

9 Commits (47bb06236d664d7091a298e17c3dc5cc2cddf396)

Author SHA1 Message Date
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang 7c951fdd4a
In many cases user avatar link should be an absolute URL with http host (#17420) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath eed88dc34d
Fix broken avatars since #15301 (#15731) 4 years ago