Commit Graph

6 Commits (064f05204c0539d1f92895776dee7f626a628e3b)

Author SHA1 Message Date
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 12 months ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
Lunny Xiao 12c249c5ca
Fix bug with sqlite load read (#26305) 1 year ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 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 df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Norwin 0ffad31b92
Notifications API: respond with updated notifications (#17064) 3 years ago
赵智超 ef89e75d0e
add request review from specific reviewers feature in pull request (#10756) 5 years ago
6543 6baa5d7588 [API] Add notification endpoint (#9488) 5 years ago
Lunny Xiao bb6879d339
Improve notification (#8835) 5 years ago
Sasha Varlamov 7ec6cddd27 Add 'mark all read' option to notifications (#3097) 7 years ago
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors (#2741) 7 years ago
David Schneiderbauer d766d0c4e0 Prevent sending emails and notifications to inactive users (#2384) 7 years ago
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors (#2381) 7 years ago
Ethan Koenig ceae143e78 Consistency checks for unit tests (#853) 8 years ago
Ethan Koenig 2eb15f4a61 Unit tests and remove unused functions in models/notification (#796) 8 years ago