Commit Graph

32 Commits (5a3b9ac875b06e0810aa2100ee0caae4efe0b4ce)

Author SHA1 Message Date
Peter Gardfjäll 4562d40fce
fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2 years ago
KN4CK3R dc0253b063
Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Gusted 076eaad743
Improve dashboard's repo list performance (#18963) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang e61b390d54
Unify and simplify TrN for i18n (#18141) 3 years ago
Gusted 88da7a7174
Use correct user when determining max repo limits for error messages (#18153) 3 years ago
Gusted 7eb380baa4
Use correct translation key (#18135) 3 years ago
zeripath bef93abd49
Ensure that git repository is closed before transfer (#18049) 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 dcdb4873c8
Move repo archiver to models/repo (#17913) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 81a4fc7528
Return 400 but not 500 when request archive with wrong format (#17691) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 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 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
KN4CK3R c80d7f33b6
Unified link creation. (#15619) 4 years ago
John Olheiser 426ebbfc3b
Fix CanCreateRepo check (#15311) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
EV3R4 af7054511e
Add TrN for repository limit (#12492) 4 years ago
Kyle Evans e461f0854f
[RFC] Make archival asynchronous (#11296) 4 years ago
zeripath f40a2a4404
Store task errors following migrations and display them (#13246) 4 years ago
zeripath 965861043a
Return the full rejection message and errors in flash errors (#13221) 4 years ago
赵智超 3c360801b3
Add IsTemplate option in create repo ui and api (#12942) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
赵智超 ec5677b7a2
Simplify CheckUnitUser logic (#12854) 4 years ago
Lunny Xiao e153cf07c3
Add a migrate service type switch page (#12697) 4 years ago
zeripath eb1bf2377b
Set context for running CreateArchive in to that of the request (#12555) 4 years ago
John Olheiser 211321fb93
Git migration UX (#12619) 4 years ago
techknowlogick 6bf78d2b57
Global default branch setting (#11918) 4 years ago