Commit Graph

37 Commits (pr/issue-template-next)

Author SHA1 Message Date
Jason Song 04347eb810
Use context parameter in services/repository () 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions () 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
Wim cb50375e2b
Add more linters to improve code readability () 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context () 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access () 3 years ago
6543 06e4687cec
more context for models () 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push () 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context () 3 years ago
zeripath 4b4884ce88
Return nicer error if trying to pull from non-existent user () 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey () 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo () 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm () 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user () 3 years ago
zeripath 1dbc58f742
More pleasantly handle broken or missing git repositories () 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ () 3 years ago
zeripath 849356deaf
Prevent panic in serv.go with Deploy Keys () 3 years ago
zeripath c1110b8671
Ensure correct SSH permissions check for private and restricted users () 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form () 4 years ago
a1012112796 3705168837
Add agit flow support in gitea () 4 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private () 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi () 4 years ago
Eric Lesiuta abb9cffe4a
Log IP on SSH authentication failure for Built-in SSH server () 4 years ago
Lunny Xiao 5a991ec519
Fix a bug when check if owner is active () 4 years ago
Lunny Xiao ff7341b994
Prevent git operations for inactive users () 4 years ago
Wim 9066d09c57
Add ssh certificate support () 4 years ago
zeripath d257485bc0
Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set () 4 years ago
Gjergji Ramku 0c9eb468e9
Fix typos () 4 years ago
zeripath 41f05588ed
Prevent clones and pushes to disabled wiki () 5 years ago
John Olheiser 95013fde60
Fix push-create SSH bugs () 5 years ago
Lunny Xiao b9309e52f0 Move wiki related funtions from models to services/wiki () 5 years ago
John Olheiser 6715677b2b Push to create repo () 5 years ago
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend () 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron () 6 years ago
kolaente f9ec2f89f2 Add golangci () 6 years ago
zeripath 356854fc5f Move serv hook functionality & drop GitLogger () 6 years ago