Commit Graph

22 Commits (597b04fe2f4f032af3c2a4db30bbdf1437a19f34)

Author SHA1 Message Date
CaiCandong 30cea70dd8
Refactor dashboard/feed.tmpl (#26956) 1 year ago
wxiaoguang e4b1ea6f15
Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
Zettat123 29637b03b2
Fix commits pushed with deploy keys not shown in dashboard (#24521) 2 years ago
Zettat123 6b0df6d8da
Add activity feeds API (#23494) 2 years ago
Zettat123 b958dba1a0
Improve indices for `action` table (#23532) 2 years ago
Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
Brecht Van Lommel f4920c9c7f
Add pagination for dashboard and user activity feeds (#22937) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years 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
Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 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
kolaente 085f717529
feat: notify doers of a merge when automerging (#21553) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R f52fe82add
Use absolute links in feeds (#21229) 2 years ago
zeripath e6b3be4608
Add more checks in migration code (#21011) 2 years ago
zeripath 58a80ba69c
Add another index for Action table on postgres (#21033) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath 5c9c0b8c1e
Refix indices on actions table (#20158) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
zeripath 5d653cc10d
Improve action table indices (#19472) 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 12c742f8dc
Fix order by parameter (#19849) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao e435283c0f
Don't select join table's columns (#19660) 3 years ago
singuliere b536b65189
GetFeeds must always discard actions with dangling repo_id (#19598) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
6543 bc0d2c8ada
RSS/Atom support for Repos (#19055) 3 years ago
6543 cc98737ca8
RSS/Atom support for Orgs (#17714) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 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 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao d9e237e3f2
Fix problem when database id is not increment as expected (#17124) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Jimmy Praet 17030ced75
Improve notifications for WIP draft PR's (#14663) 3 years ago
a1012112796 ae6d7860be
add cron job to delete old actions from database (#15688) 4 years ago
mayswind 9b316a327e
Fix timezone bug when clicking heatmap (#15141) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago