Commit Graph

32 Commits (13439f119eb9de685460776b3e8b31ae69032c23)

Author SHA1 Message Date
wxiaoguang f4f4e18b14
Filter out duplicate action(activity) items for a repository (#30957) 6 months ago
Lunny Xiao aed3b53abd
Some performance optimization on dashboard and issues page (#29010) 9 months ago
wxiaoguang 1d2548949a
Avoid issue info panic (#29625) 9 months ago
wxiaoguang 3f081d4b54
Rename Action.GetDisplayName to GetActDisplayName (#29540) 9 months ago
Lunny Xiao 3a66762130
Revert "Speed up loading the dashboard on mysql/mariadb (#28546)" (#29006) 10 months ago
Lunny Xiao fa8c3beb26
Speed up loading the dashboard on mysql/mariadb (#28546) 11 months ago
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
JakobDev 4636f56e7b
Add Index to `action.user_id` (#27403) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
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