Commit Graph

43 Commits (d9a7748cdc3f13392acbde87edd18602b566c216)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 7 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
wxiaoguang 1ef87773b1
Refactor modules/git global variables (#29376) 9 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
wxiaoguang f4538791f5
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
Wim cb50375e2b
Add more linters to improve code readability (#19989) 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
6543 06e4687cec
more context for models (#19511) 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 4b4884ce88
Return nicer error if trying to pull from non-existent user (#18288) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 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
zeripath 1dbc58f742
More pleasantly handle broken or missing git repositories (#17747) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 849356deaf
Prevent panic in serv.go with Deploy Keys (#17434) 3 years ago
zeripath c1110b8671
Ensure correct SSH permissions check for private and restricted users (#17370) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private (#15947) 3 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Eric Lesiuta abb9cffe4a
Log IP on SSH authentication failure for Built-in SSH server (#13150) 4 years ago
Lunny Xiao 5a991ec519
Fix a bug when check if owner is active (#13612) 4 years ago
Lunny Xiao ff7341b994
Prevent git operations for inactive users (#13527) 4 years ago
Wim 9066d09c57
Add ssh certificate support (#12281) 4 years ago
zeripath d257485bc0
Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 4 years ago
Gjergji Ramku 0c9eb468e9
Fix typos (#12542) 4 years ago
zeripath 41f05588ed
Prevent clones and pushes to disabled wiki (#11131) 5 years ago
John Olheiser 95013fde60
Fix push-create SSH bugs (#10145) 5 years ago
Lunny Xiao b9309e52f0 Move wiki related funtions from models to services/wiki (#9355) 5 years ago
John Olheiser 6715677b2b Push to create repo (#8419) 5 years ago
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
zeripath 356854fc5f Move serv hook functionality & drop GitLogger (#6993) 6 years ago