Commit Graph

102 Commits (e47b31c691c64581b9f3644f6fc32338ef67f8b3)

Author SHA1 Message Date
Giteabot 8d0a4d7e9d
Fix DownloadFunc when migrating releases (#27887) (#27890) 1 year ago
Giteabot f13a294b47
More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
Giteabot fc7d3f7315
Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
KN4CK3R 5315153059
Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Jason Song 6348823eab
Fix panic when migrating a repo from GitHub with issues (#25246) 1 year ago
Yevhen Pavlov 5fa4415bbb
Update github.com/google/go-github to v53 (#25157) 1 year ago
6543 af3deb0b30
GitLab migration: Sanitize response for reaction list (#25054) 2 years ago
6543 4c81dae297
Update github.com/google/go-github to v52 (#24004) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
Lunny Xiao 38cf43d060
Some refactors for issues stats (#24793) 2 years ago
wxiaoguang f6e029e6c7
Make repo migration cancelable and fix various bugs (#24605) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
wxiaoguang 911975059a
Improve test logger (#24235) 2 years ago
harryzcy 1ee45305e0
Update github.com/google/go-github to v51 (#23946) 2 years ago
wxiaoguang ce9dee5a1e
Introduce path Clean/Join helper functions (#23495) 2 years ago
Lunny Xiao b116418f05
Use CleanPath instead of path.Clean (#23371) 2 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 2 years ago
Brecht Van Lommel 6221a6fd54
Scoped labels (#22585) 2 years ago
Sybren 25f4b7d7cd
Prevent duplicate labels when importing more than 99 (#22591) 2 years ago
Sybren b383652e02
Fix assignment to `cm.AssigneeID` when importing comments (#22528) 2 years ago
Sybren 151b1a9508
Support importing comment types (#22510) 2 years ago
Haruo Kinoshita 9edf80f472
Fix migration from gitbucket (repost) (#22477) 2 years ago
techknowlogick b36854df37
Update golang deps (#22410) 2 years ago
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference (#21721) 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
Jason Song e4eaa68a2b
Replace yaml.v2 with yaml.v3 (#21832) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Gary Moon 40229a7dd8
Skip GitHub migration tests if the API token is undefined (#21824) 2 years ago
Chongyi Zheng 81ea4f95a0
Handle branch name with prefix in GitHub migration (#20357) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
techknowlogick 9e2f37404c
Foreign ID conflicts if ID is 0 for each item (#21271) 2 years ago
zeripath 8080e23c9b
Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2 years ago
zeripath e6b3be4608
Add more checks in migration code (#21011) 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath 6d3181406d
Double check CloneURL is acceptable (#20869) 2 years ago
Lunny Xiao a4e91c4197
Add proxy host into allow list (#20798) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
wxiaoguang f67a1030b3
Add tests for the host checking logic, clarify the behaviors (#20328) 2 years ago