Commit Graph

48 Commits (e9b13732f3d3b5536e43bdfdb5757dbbf484d694)

Author SHA1 Message Date
Lunny Xiao 3a66762130
Revert "Speed up loading the dashboard on mysql/mariadb (#28546)" (#29006) 10 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao fa8c3beb26
Speed up loading the dashboard on mysql/mariadb (#28546) 10 months ago
wxiaoguang e743570f65
Refactor timeutil package (#28623) 11 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 12 months ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 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
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
KN4CK3R bcb78e70ca
Quote table `release` in sql queries (#27205) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 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 12c249c5ca
Fix bug with sqlite load read (#26305) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
wxiaoguang 520eb57d76
Use a separate admin page to show global stats, remove `actions` stat (#25062) 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
Yarden Shoham f045e58cc7
Localize activity heatmap (except tooltip) (#24131) 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 bd820aa9c5
Add context cache as a request level cache (#22294) 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
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
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
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
KN4CK3R f52fe82add
Use absolute links in feeds (#21229) 2 years ago
luzpaz cb3b3e519f
Fix various typos (#21103) 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