Commit Graph

23 Commits (92f72d678c9ea42dacbc1b431df501dfe71605bd)

Author SHA1 Message Date
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
Gusted 3114cd30b8
Only check for non-finished migrating task (#19601) 3 years ago
Gusted 982b726b08
Don't fetch Mirror when it's migrating (#19588) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 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
Norwin cb940c4312
Encrypt migration credentials at rest (#15895) 3 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Lunny Xiao dd08853b10
Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
zeripath f40a2a4404
Store task errors following migrations and display them (#13246) 4 years ago
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672) 4 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago
Lunny Xiao 7a3a90aca3
Fix wrong original git service type on a migrated repository (#9693) 5 years ago
Jordan 1615b3c187 Hide given credentials for migrated repos. (#9097) 5 years ago
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200) 5 years ago