Commit Graph

36 Commits (83f37f630246e381eefd650fc2d4b1f3976ea882)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 8 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 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
Zettat123 defd807073
Fix bugs related to notification endpoints (#25548) 1 year ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 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 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 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
Gusted c8ec2261a9
Fix sending empty notifications (#19589) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
eladyn 7a893dab39
ignore missing comment for user notifications (#18954) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
Lunny Xiao 43bbc54783
Fix 500 when a comment was deleted which has a notification (#17550) 3 years ago
Norwin 0ffad31b92
Notifications API: respond with updated notifications (#17064) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 f1a810e090
Related refactors to ctx.FormX functions (#16567) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
6543 b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 3 years ago
6543 9273601064
Add subject-type filter to list notification API endpoints (#16177) 3 years ago
6543 4f5ff1ef08
move notification APIFormat (#13783) 4 years ago
6543 3f3447a1ea
API: Fix GetQueryBeforeSince (#13559) 4 years ago
zeripath 63591016b3
Extend Notifications API and return pinned notifications by default (#12164) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
6543 0dadea19bc
[Api] Check Notify (always return json) (#10059) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 44de66bf50 [API] add endpoint to check notifications [Extend #9488] (#9595) 5 years ago
6543 6baa5d7588 [API] Add notification endpoint (#9488) 5 years ago