Commit Graph

17 Commits (276500c314db1c0ef360088753861ffc010a99da)

Author SHA1 Message Date
kiatt210 6a96deb589
Fix web notification icon not updated once you read all notifications (#31447) 5 months ago
Lunny Xiao b25eec41eb
Move notifications to a standalone file (#29930) 8 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
Lunny Xiao 12c249c5ca
Fix bug with sqlite load read (#26305) 1 year ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2 years ago
Gusted 1b53a9e914
Don't return duplicated users who can create org repo (#22560) 2 years ago
Jason Song 6135359a04
Always reuse transaction (#22362) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years 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 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
Lunny Xiao d4f84f1c93
Move reaction to models/issues/ (#19264) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
eladyn 7a893dab39
ignore missing comment for user notifications (#18954) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 43bbc54783
Fix 500 when a comment was deleted which has a notification (#17550) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 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
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Jimmy Praet 17030ced75
Improve notifications for WIP draft PR's (#14663) 3 years ago
6543 9273601064
Add subject-type filter to list notification API endpoints (#16177) 3 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
zeripath aa4f9180e4
Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 4 years ago
6543 4f5ff1ef08
move notification APIFormat (#13783) 4 years ago
6543 2dbca92a0f
API: NotificationSubject show Issue/Pull State (#12901) 4 years ago
赵智超 ec5677b7a2
Simplify CheckUnitUser logic (#12854) 4 years ago
zeripath 63591016b3
Extend Notifications API and return pinned notifications by default (#12164) 4 years ago