Commit Graph

25 Commits (3e2bba08035136a43786db47ba69a37d19b06304)

Author SHA1 Message Date
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath 889a8c268c
Use full output of git show-ref --tags to get tags for PushUpdateAddTag (#19235) 3 years ago
zeripath d2ca021df0
Touch mirrors on even on fail to update (#19217) 3 years ago
Lunny Xiao c29fbc6d23
Hide sensitive content on admin panel progress monitor (#19218) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
zeripath 75eb6cc9c1
Improve SyncMirrors logging (#19045) 3 years ago
Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 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
mscherer 34b5436ae1
Refactor various strings (#17784) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
zeripath 053b2f4dce
Handle broken references in mirror sync (#17013) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 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
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 4 years ago
KN4CK3R 2b39357443
Fixed sanitize errors. (#15240) 4 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Chester Liu 632800eda7
Check for 'main' as potential default branch name (#14193) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
manuelluis 8561f26695
Fix branch/tag notifications in mirror sync (#13855) 4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363) 4 years ago
zeripath e2740b32b5
Update Mirror IsEmpty status on synchronize (#13185) 4 years ago
zeripath de6e427a01
go-version constraints ignore pre-releases (#13234) 4 years ago
6543 4a654a8d44
Mirror: Update DB on Address-Update too (#12964) 4 years ago
6543 bc11caff94
[Vendor] Switch go-version lib (#12719) 4 years ago
zeripath c6943cca52
Support Force-update in Mirror and improve Tracing in mirror (#12242) 4 years ago
yisiliang 9fc9c1de98
Update the wiki repository remote origin while update the mirror repository's Clone From URL (#12053) 4 years ago
zeripath 9a2e47b23a
Refactor Cron and merge dashboard tasks (#10745) 5 years ago
zeripath 4a04740daf
Handle panics that percolate up to the graceful module (#11291) 5 years ago
Lunny Xiao 2677d071f9
Move newbranch to standalone package (#9627) 5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago
Lunny Xiao 99d869fa63
Move push commits from models to modules/repository (#9370) 5 years ago
John Olheiser 7bdf17ec29 Use limited commits (#9572) 5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
Lunny Xiao 7b2ff82d20 Move some repository methods from models to modules/repository (#9353) 5 years ago
zeripath 60c5339042 Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
Lunny Xiao 8ab35eefc4 Move mirror sync actions to notification (#9022) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
Lunny Xiao 8edf3d5804 Move sync mirror actions to mirror service package (#8518) 5 years ago