28 Commits (main)

Author SHA1 Message Date
Lunny Xiao ebf9b4dc6b
Use a migration test instead of a wrong test which populated the meta test repositories and fix a migration bug (#36160) 1 week ago
Lunny Xiao 69700f9cdd
Fix possible bug when migrating issues/pull requests (#33487) 3 weeks ago
TheFox0x7 aa9d86745a
enforce explanation for necessary nolints and fix bugs (#34883) 6 months ago
TheFox0x7 eb36a4554e
enforce nolint scope (#34851) 6 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
TheFox0x7 5d65b9060b
remove context from retry downloader (#33871) 10 months ago
TheFox0x7 1ec8d80fa3
refactor: decouple context from migration structs (#33399) 11 months ago
Lunny Xiao 751fe8b714
Move some errors to their own sub packages (#32880) 1 year ago
Jason Song 125679f2e1
Support allowed hosts for migrations to work with proxy (#32025) 1 year ago
silverwind 816222243a
Add `lint-go-gopls` (#30729) 2 years ago
yp05327 274bc00ca2
Fix duplicate migrated milestones (#30102) 2 years ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 2 years ago
Sybren 25f4b7d7cd
Prevent duplicate labels when importing more than 99 (#22591) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 3 years ago
zeripath e6b3be4608
Add more checks in migration code (#21011) 3 years ago
zeripath 6d3181406d
Double check CloneURL is acceptable (#20869) 3 years ago
Lunny Xiao a4e91c4197
Add proxy host into allow list (#20798) 3 years ago
wxiaoguang f67a1030b3
Add tests for the host checking logic, clarify the behaviors (#20328) 4 years ago
Gusted edf14202fe
Unify repo settings & show better error (#19828) 4 years ago
wxiaoguang 71bafa0263
ignore DNS error when doing migration allow/block check (#19566) 4 years ago
Aravinth Manivannan fa73cbf5a7
Store the foreign ID of issues during migration (#18446) 4 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 4 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 4 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 4 years ago
wxiaoguang 599ff1c054
Only allow webhook to send requests to allowed hosts (#17482) 4 years ago
6543 cf6d398485
Resolve TODO: Enable pagination on GiteaDownloader.GetComments() & update another TODO (#16963) 4 years ago
KN4CK3R cee5f7c5e2
Add migrate from OneDev (#16356) 4 years ago
Lunny Xiao 0966349354
Make the github migration less rate limit waiting to get comment per page from repository but not per issue (#16070) 5 years ago
zeripath 6d69df2804
Add Status Updates whilst Gitea migrations are occurring (#15076) 5 years ago
Lunny Xiao 7979c3654e
Copy git data from disk when restore repository (#16066) 5 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 5 years ago
KN4CK3R e8ad6c1ff3
Do not convert file path to lowercase (#15023) 5 years ago
zeripath 6e423d5573
Ensure validation occurs on clone addresses too (#14994) 5 years ago
zeripath eb576269d4
Re-enable import local paths after reversion from #13610 (#14925) 5 years ago
6543 81c833d92d
Add support to migrate from gogs (#14342) 5 years ago
Lunny Xiao dd08853b10
Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 5 years ago
6543 b2435af9be
Add Allow-/Block-List for Migrate & Mirrors (#13610) 5 years ago
zeripath 4b33afcd5b
Migration failure during reaction migration from gitea (#13344) 5 years ago
6543 49b1948cb1
Gitea 2 Gitea migration (#12657) 5 years ago
zeripath 714ab71ddc
Ensure that all migration requests are cancellable (#12669) 5 years ago
John Olheiser 211321fb93
Git migration UX (#12619) 5 years ago
6543 5bfb9bc2b6
When migrating from Gitlab map Approvals to approving Reviews (#11147) 6 years ago
Lunny Xiao f6067a8465 Migrate reviews when migrating repository from github (#9463) 6 years ago
mrsdizzie d644934956 Use OriginalURL insead of CloneAddr in migration logging (#9418) 6 years ago
Lunny Xiao ffc904b1e0 Sleep longer if request speed is over github limitation (#9335) 6 years ago
John Olheiser 382936a668 Add SyncTags to uploader interface (#9326) 6 years ago