Commit Graph

16 Commits (main)

Author SHA1 Message Date
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
KN4CK3R c766140dad
Add `RemoteAddress` to mirrors (#26952) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
KN4CK3R 3fef47b41c
Use ErrInvalidArgument in packages (#22268) 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
zeripath fc4680ea71
In PushMirrorsIterate and MirrorsIterate if limit is negative do not set it (#20837) 2 years ago
zeripath 68f3aaee80
Remove calls to load Mirrors in user.Dashboard (#20855) 2 years ago
zeripath 03df7d0452
Check Mirror exists before linking its Repo (#20840) 2 years ago
Lunny Xiao ce3dd04c63
Fix some mirror bugs (#18649) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
zeripath d2ca021df0
Touch mirrors on even on fail to update (#19217) 3 years ago
Lunny Xiao b75ad7b87f
Improve mirror iterator (#18928) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 188fd2dd1a
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568) 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
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
Lunny Xiao 7b2ff82d20 Move some repository methods from models to modules/repository (#9353) 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
Lunny Xiao 7ff783b732
Move mirror to a standalone package from models (#7486) 5 years ago
Lunny Xiao 4959bf1c09
Move create release from models to a standalone package (#7539) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
zeripath bee1227b2f
Extract the username and password from the mirror url (#7651) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
Lunny Xiao d2958d9f46 Move status table to cron package (#7370) 5 years ago
Lunny Xiao edc94c7041 Monitor all git commands; move blame to git package and replace git as a variable (#6864) 5 years ago
zeripath 57b2ce03d5
Handle early git version's lack of get-url (#7065) 6 years ago
zeripath 159294f799 When mirroring we should set the remote to mirror (#6824) 6 years ago
zeripath b3e757a06c
Correctly adjust mirror url (#6593) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
Jonas Bröms 599adde1bc Add option to disable automatic mirror syncing. (#5242) 6 years ago
Lauris BH fa4663e61e Add push webhook support for mirrored repositories (#4127) 6 years ago
Lanre Adelowo 33bc2ebdfa Make sure to reset commit count in the cache on mirror syncing (#4720) 6 years ago
Bo-Yi Wu 845ba9d153 fix: if Mirrors repo no content is fetched, updated time should not b… (#3551) 7 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Ethan Koenig 3c1b1ca78e Fix error message sanitiziation (#3082) 7 years ago
Ethan Koenig a0964775ab Sanitize logs for mirror sync (#3057) 7 years ago
Jonas Bröms 847272a70d Only update mirror last update after successful sync (#2730) 7 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655) 7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628) 7 years ago
Lauris BH 7a0297819d Sync releases table with tags on push and for mirrors (#2459) 7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 7 years ago
Ethan Koenig bfb44f8854 Fix status table race condition (#1835) 8 years ago
Jonas be6edaddcb Repo size in admin panel (#1482) 8 years ago
Jonas 54f0293f0a Mirror sync interval specified as duration string (#1407) 8 years ago