Commit Graph

158 Commits (e9b13732f3d3b5536e43bdfdb5757dbbf484d694)

Author SHA1 Message Date
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 11 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
Jason Song 0a2b93d411
Fix typo "GetLatestRunnerToken" (#27680) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
Lunny Xiao 3b2da7e4ae
Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
CaiCandong 815d267c80
Fix verifyCommits error when push a new branch (#26664) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Earl Warren ad4c09b59f
parseScope with owner/repo always sets owner to zero (#25987) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
wxiaoguang 979f08053f
Fix logger refactoring regression: manager logging add (#24847) 2 years ago
Brecht Van Lommel 3588edbb08
Add gitea manager reload-templates command (#24843) 2 years ago
wxiaoguang ec2a01d1e2
Fix regression: access log template, gitea manager cli command (#24838) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
wxiaoguang b9a97ccd0e
Refactor web route (#24080) 2 years ago
techknowlogick 4014200021
add CLI command to register runner tokens (#23762) 2 years 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 c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Brecht Van Lommel 3ff5a6a365
Fix missing message in git hook when pull requests disabled on fork (#22625) 2 years ago
KN4CK3R 21dd4a252a
Prevent multiple `To` recipients (#22566) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
Lunny Xiao 6398ca745a
refactor bind functions based on generics (#22055) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 9a70a12a34
Merge db.Iterate and IterateObjects (#21641) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Lunny Xiao 1428877c37
log real ip of requests from ssh (#21216) 2 years ago
Clar Fon 3d10193be2
Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2 years ago
Lunny Xiao 1f146090ec
Add migrate repo archiver and packages storage support on command line (#20757) 2 years ago
Gusted 9eb6c4a0df
Add missing parameter for error in log message (#20144) 2 years ago
zeripath 4909493a9f
Allow manager logging to set SQL (#20064) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 27ba86d283
move agit dependcy (#19998) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
zeripath d002e3da00
Fix spelling mistake in ProcReceive (#19853) 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 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago