Commit Graph

55 Commits (e79a10793f30d8f22a314f62534ae5c3ae3f5626)

Author SHA1 Message Date
wxiaoguang 20c135cd46
Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239) 2 years ago
zeripath 3aba72c613
Add more checks in migration code (#21011) (#21050) 2 years ago
zeripath 9e8b1c6630
Double check CloneURL is acceptable (#20869) (#20892) 2 years ago
Lunny Xiao 78dabdd9ae
fix merge (#20819) 2 years ago
zeripath 26f4fe2b44
Correctly handle draft releases without a tag (#20314) (#20335) 2 years ago
wxiaoguang bf43db10a9
Fix cli command restore-repo: "units" should be parsed as cli.String (#20183) (#20187) 2 years ago
zeripath 1e9ad8eb21
Write Commit-Graphs in RepositoryDumper (#20004) 2 years ago
wxiaoguang 9f87b60b46
Fix cli command restore-repo: "units" should be parsed as StringSlice (#19953) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Gusted edf14202fe
Unify repo settings & show better error (#19828) 2 years ago
zeripath 7948cb3149
Prevent NPE whilst migrating if there is a team request review (#19855) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
silverwind 318f360252
Update go tool dependencies (#19676) 3 years ago
wxiaoguang 71bafa0263
ignore DNS error when doing migration allow/block check (#19566) 3 years ago
Lunny Xiao 2728f0c213
Fix migrate release from github (#19510) 3 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search (#19475) 3 years ago
6543 fe274c148b
Add notags to fetch (#19487) 3 years ago
chavacava deffe9e525
Fix datarace in gitea_uploader.go (#19409) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
Lunny Xiao d4f84f1c93
Move reaction to models/issues/ (#19264) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
zeripath 2d21d2af9e
Make migrations SKIP_TLS_VERIFY apply to git too (#19132) 3 years ago
Aravinth Manivannan fa73cbf5a7
Store the foreign ID of issues during migration (#18446) 3 years ago
singuliere cc643284de
Add Index to comment for migrations and mirroring (#18806) 3 years ago
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader (#18752) 3 years ago
singuliere 54dd0fc88b
migrations: remove dead code in gitea uploader (#18725) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
singuliere 8bd89ca294
preserve users if restoring a repository on the same Gitea instance (#18604) 3 years ago
Gusted cafd19c1a3
Replace `sync.Map` with normal maps (#18584) 3 years ago
singuliere 367894adc8
add test coverage for original author conversion during migrations (#18506) 3 years ago
Aravinth Manivannan e19b9653ea
GitLab reviews may not have the updated_at field set (#18450) 3 years ago
Aravinth Manivannan 3bb028cc46
Validate migration files (#18203) 3 years ago
Lunny Xiao a717265e47
Fix restore without topic failure (#18387) 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
Aravinth Manivannan 076cead40d
Fix CheckRepoStats and reuse it during migration (#18264) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
6543 0572c78938
refactoring nits (#18188) 3 years ago
zeripath ffc08c1914
Do not read or write git reference files directly (#18079) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 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
KN4CK3R 87be76213a
Add migrate from Codebase (#16768) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
KN4CK3R 429ef43793
Use new OneDev /milestones endpoint (#17782) 3 years ago