Commit Graph

135 Commits (edfba99f11e78f189cc483a5f07292d9e6384526)

Author SHA1 Message Date
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
Gusted 253d9e4158
Remove unnecassary calls to `filepath.Join` (#17608) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
wxiaoguang 83df0caf15
Sync gitea app path for git hooks and authorized keys when starting (#17335) 3 years ago
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 0a542dd59f
Decrement Fork Num when converting from Fork (#17035) 3 years ago
zeripath 26ef180f46
Correctly rollback in ForkRepository (#17034) 3 years ago
6543 77f604a928
Add skip and limit to git.GetTags (#16897) 3 years ago
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
zeripath ba6baff696
Report the correct number of pushes on the feeds (#16811) 3 years ago
Lunny Xiao f9acad82ca
Add proxy settings and support for migration and webhook (#16704) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Lunny Xiao 67f135ca5d
Fix archive error when rename repo or user (#16399) 4 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
KN4CK3R aac663e0da
Implemented head_commit for webhooks (#16282) 4 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 4 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 4 years ago
zeripath 51775f65bc
Make commit info cancelable (#16032) 4 years ago
silverwind be745be0a4
Double the avatar size factor (#15941) 4 years ago
zeripath 8f0539c235
Set GIT_DIR correctly if it is not set (#15751) 4 years ago
zeripath 114c85e6ef
Fix bug where repositories appear unadopted (#15757) 4 years ago
Lunny Xiao dc5a1d617d
Fix potential copy lfs records failure when fork a repository (#15441) 4 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
zeripath 82d1a7fb17
Update repository size on cron gc task (#15177) 4 years ago
zeripath 30f7ddb833
Ensure memcache TTL cannot be over 30 days (#14592) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
6543 2686e6bbbe
Check if label template exist first (#14384) 4 years ago
Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163) 4 years ago
Chester Liu 632800eda7
Check for 'main' as potential default branch name (#14193) 4 years ago
zeripath 511f6138d4
Use native git variants by default with go-git variants as build tag (#13673) 4 years ago
zeripath 8e0548ed4a
Ensure that HEAD is updated to match default branch in template generation (#13948) 4 years ago
silverwind c05701dd7d
Fix frontpage avatars (#13853) 4 years ago
silverwind 9269a038a4
Direct avatar rendering (#13649) 4 years ago
6543 2b4a08e962
Migrations: Use Process Manager to create own Context (#13792) 4 years ago
zeripath 911d370dad
Push HEAD instead of master when initialising repositories (#13719) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
Lunny Xiao a420beda2a
Fix a bug on refactoring (#13373) 4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363) 4 years ago
zeripath de6e427a01
go-version constraints ignore pre-releases (#13234) 4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102) 4 years ago
Lunny Xiao 9b81193166
Cache last commit when pushing for big repository (#10109) 4 years ago
zeripath 4c6ac08182
Completely quote AppPath and CustomConf paths (#12955) 4 years ago
赵智超 3c360801b3
Add IsTemplate option in create repo ui and api (#12942) 4 years ago