Commit Graph

61 Commits (571822b6eca07832f6b5ff633bec8ab8fdb32624)

Author SHA1 Message Date
Giteabot fc7d3f7315
Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
CaiCandong a78c2eae24
Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
merlleu a7d9a70552
allow "latest" to be used in release vTag when downloading file (#26748) 1 year ago
yp05327 f6e7798405
Add link to job details and tooltip to commit status in repo list in dashboard (#26326) 1 year ago
HesterG 2f0e79e639
Use frontend fetch for branch dropdown component (#25719) 1 year ago
Lunny Xiao 037c9895a7
Support copy protected branch from template repository (#25889) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao 807c9712ef
Get latest commit statuses from database instead of git data on dashboard for repositories (#25605) 1 year ago
Lunny Xiao d6dd6d641b
Fix all possible setting error related storages and added some tests (#23911) 1 year ago
wxiaoguang 3af2c8e4ab
Remove the parallelizing when loading repo for dashboard (#24705) 2 years ago
Yarden Shoham 4810fe55e3
Add status indicator on main home screen for each repo (#24638) 2 years ago
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569) 2 years ago
wxiaoguang 92fd3fc4fd
Refactor "route" related code, fix Safari cookie bug (#24330) 2 years ago
JakobDev 42919ccb7c
Make Release Download URLs predictable (#23891) 2 years ago
wxiaoguang 4e33481357
Make label templates have consistent behavior and priority (#23749) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 2 years ago
wxiaoguang e9288c2477
Fix improper HTMLURL usages in Go code (#22839) 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
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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 fc7a2d5a95
Add support for HEAD requests in Maven registry (#21834) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Peter Gardfjäll 4562d40fce
fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2 years ago
KN4CK3R dc0253b063
Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 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
Gusted 076eaad743
Improve dashboard's repo list performance (#18963) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang e61b390d54
Unify and simplify TrN for i18n (#18141) 3 years ago
Gusted 88da7a7174
Use correct user when determining max repo limits for error messages (#18153) 3 years ago
Gusted 7eb380baa4
Use correct translation key (#18135) 3 years ago
zeripath bef93abd49
Ensure that git repository is closed before transfer (#18049) 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 dcdb4873c8
Move repo archiver to models/repo (#17913) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago