Commit Graph

4 Commits

Author SHA1 Message Date
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files ()
Change all license headers to comply with REUSE specification.

Fix 

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-11-27 18:20:29 +00:00
wxiaoguang c18d8d6968
Remove legacy `+build:` constraint ()
Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
2022-05-02 23:22:45 +08:00
techknowlogick 499b05da22
Add user settings key/value DB table () 2021-11-22 04:47:23 -05:00
wxiaoguang a8fd76557b
Better builtin avatar generator ()
This PR fixes the builtin avatar generator.

1. The random background color makes some images very dirty. So now we only use white background for avatars.
2. We use left-right mirror avatars to satisfy 
3. Fix a small padding error in the algorithm
2021-11-20 01:10:41 +08:00