Commit Graph

23 Commits (6992e72647d0b19cbaf79451ab810fa2768a8e13)

Author SHA1 Message Date
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 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 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 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
zeripath e8574f2f7d
Nicely handle missing user in collaborations (#17049) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 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
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435) 3 years ago
zeripath 750ac52db2
Fix Migration 176 yet again (#15131) 4 years ago
zeripath dfb3e50dce
Fix the v176 migration (#15110) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
zeripath 42b9b46ad2
Never add labels not from this repository or organisation and remove org labels on transfer (#14928) 4 years ago
Lunny Xiao 7525450232
When transfering repository and database transaction failed, rollback the renames (#14864) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago