Commit Graph

45 Commits (14731a34ff4d854b8427fa3ca880f40bcd86e1e3)

Author SHA1 Message Date
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
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 1 year ago
Jason Song 174213530d
Fix `Permission` in API returned repository struct (#25388) 1 year ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
Andrew Tomaka 0206882e8a
Match api migration behavior to web behavior (#23552) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Chongyi Zheng f029b9ae4f
Document 409 error returned by repos/migrate api (#19376) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Hugo Hoitink 5579345549
Update object repo with the migrated repository (#18684) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 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
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
6543 63d7cbcef1
Make mirror feature more configurable (#16957) 3 years ago
zeripath 6d69df2804
Add Status Updates whilst Gitea migrations are occurring (#15076) 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
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
zeripath 6e423d5573
Ensure validation occurs on clone addresses too (#14994) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 81c833d92d
Add support to migrate from gogs (#14342) 4 years ago
Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163) 4 years ago
Lunny Xiao dd08853b10
Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
Paweł Bogusławski 839daa85aa
Added option to disable migrations (#13114) 4 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787) 4 years ago
6543 b2435af9be
Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672) 4 years ago
6543 2c5b3c72e8
Fix bug with globally disabling mirror (#11760) 5 years ago
6543 0cb22121f4
API: Return error when Mirrors globaly disabled and like to create one (#11757) 5 years ago
John Olheiser a6fd2f23f7
Allow site admin to disable mirrors (#11740) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
6543 f29c301040
Refactor api repo dir (#10048) 5 years ago