Commit Graph

76 Commits (pr/swagger-title)

Author SHA1 Message Date
Sybren 25f4b7d7cd
Prevent duplicate labels when importing more than 99 () 2 years ago
Sybren b383652e02
Fix assignment to `cm.AssigneeID` when importing comments () 2 years ago
Sybren 151b1a9508
Support importing comment types () 2 years ago
Haruo Kinoshita 9edf80f472
Fix migration from gitbucket (repost) () 2 years ago
techknowlogick b36854df37
Update golang deps () 2 years ago
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference () 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
Jason Song e4eaa68a2b
Replace yaml.v2 with yaml.v3 () 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods () 2 years ago
Gary Moon 40229a7dd8
Skip GitHub migration tests if the API token is undefined () 2 years ago
Chongyi Zheng 81ea4f95a0
Handle branch name with prefix in GitHub migration () 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used () 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting () 2 years ago
techknowlogick 9e2f37404c
Foreign ID conflicts if ID is 0 for each item () 2 years ago
zeripath 8080e23c9b
Move go-licenses to generate and separate generate into a frontend and backend component () 2 years ago
zeripath e6b3be4608
Add more checks in migration code () 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format () 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages () 2 years ago
zeripath 6d3181406d
Double check CloneURL is acceptable () 2 years ago
Lunny Xiao a4e91c4197
Add proxy host into allow list () 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics () 2 years ago
wxiaoguang f67a1030b3
Add tests for the host checking logic, clarify the behaviors () 3 years ago
Chongyi Zheng 966e7bdc9b
Correctly handle draft releases without a tag () 3 years ago
wxiaoguang 7c1f18a2bb
Fix cli command restore-repo: "units" should be splitted to string slice, to match the old behavior and match the dump-repo's behavior () 3 years ago
Wim cb50375e2b
Add more linters to improve code readability () 3 years ago
zeripath 1e9ad8eb21
Write Commit-Graphs in RepositoryDumper () 3 years ago
wxiaoguang 9f87b60b46
Fix cli command restore-repo: "units" should be parsed as StringSlice () 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues () 3 years ago
Gusted edf14202fe
Unify repo settings & show better error () 3 years ago
zeripath 7948cb3149
Prevent NPE whilst migrating if there is a team request review () 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context () 3 years ago
silverwind 318f360252
Update go tool dependencies () 3 years ago
wxiaoguang 71bafa0263
ignore DNS error when doing migration allow/block check () 3 years ago
Lunny Xiao 2728f0c213
Fix migrate release from github () 3 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search () 3 years ago
6543 fe274c148b
Add notags to fetch () 3 years ago
chavacava deffe9e525
Fix datarace in gitea_uploader.go () 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options () 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ () 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` () 3 years ago
Lunny Xiao d4f84f1c93
Move reaction to models/issues/ () 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context () 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes () 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) () 3 years ago
zeripath 2d21d2af9e
Make migrations SKIP_TLS_VERIFY apply to git too () 3 years ago
Aravinth Manivannan fa73cbf5a7
Store the foreign ID of issues during migration () 3 years ago
singuliere cc643284de
Add Index to comment for migrations and mirroring () 3 years ago
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader () 3 years ago