Commit Graph

5 Commits (ba4d0b8ffbd78473273800f586ae8bde55cda6c5)

Author SHA1 Message Date
wxiaoguang e743570f65
Refactor timeutil package ()
1. make names more readable
2. remove unused FormatLong/FormatShort
3. use `FormatDate` instead of `Format "2006-01-02"`
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor ()
Part of 

---------

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Brecht Van Lommel f4920c9c7f
Add pagination for dashboard and user activity feeds ()
Previously only the last few activities where available. This works for
all activity and for activity on a date chosen on the heatmap.
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>
Lunny Xiao 1d8543e7db
Move some files into models' sub packages ()
* Move some files into models' sub packages

* Move functions

* merge main branch

* Fix check

* fix check

* Fix some tests

* Fix lint

* Fix lint

* Revert lint changes

* Fix error comments

* Fix lint

Co-authored-by: 6543 <6543@obermui.de>