101 Commits (0e916c67cc19d27d8c9db8d95c7b548e7df2d9d0)

Author SHA1 Message Date
Dawid Góra 0e916c67cc
Automatic generation of release notes (#35977) 17 hours ago
Lunny Xiao 64960a18f9
Move commit related functions to gitrepo package (#35600) 2 weeks ago
Lunny Xiao 62d750eadb
Fix various permission & login related bugs (#36002) 4 weeks ago
Lunny Xiao b148bef471
Remove unnecessary function parameter (#35765) 2 months ago
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543) 2 months ago
Lunny Xiao 9332ff291b
Move git command to git/gitcmd (#35483) 3 months ago
Lunny Xiao e35e724e42
Use db.WithTx/WithTx2 instead of TxContext when possible (#35428) 3 months ago
wxiaoguang 0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 4 months ago
wxiaoguang 60246730b5
Remove wrong "git.DefaultContext" (#35364) 4 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
Lunny Xiao 0056fdb942
Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 9 months ago
TheFox0x7 ae3a18e01a
Remove context from git struct (#33793) 10 months ago
wxiaoguang 216243eee2
Refactor error system (#33771) 10 months ago
wxiaoguang 9bfa9f450d
Refactor "string truncate" (#32984) 12 months ago
Lunny Xiao 751fe8b714
Move some errors to their own sub packages (#32880) 1 year ago
wxiaoguang 52b319bc00
Refactor pprof labels and process desc (#32909) 1 year ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 1 year ago
Lunny Xiao 98d9a71ffe
Trim title before insert/update to database to match the size requirements of database (#32498) 1 year ago
Kemal Zebari f05d9c98c4
Handle invalid target when creating releases using API (#31841) 1 year ago
Zettat123 fc89363832
Check if the release is converted from the tag when updating the release (#30984) 2 years ago
Lunny Xiao 3c6fc25a77
Use repo object format name instead of detecting from git repository (#29702) 2 years ago
Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 2 years ago
yp05327 b9f8d75e27
Avoid sending update/delete release notice when it is draft (#29008) 2 years ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 2 years ago
JakobDev 4567a3a1ad
Allow to sync tags from admin dashboard (#28045) 2 years ago
delvh 778ad795fd
Refactor deletion (#28610) 2 years ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 2 years ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 2 years ago
Lunny Xiao 882e502327
Fix comment permissions (#28213) 2 years ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 2 years ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 2 years ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 2 years ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 2 years ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 2 years ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 2 years ago
6543 8995046110
Less naked returns (#25713) 2 years ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 3 years ago
Lunny Xiao e5dcd6aada
Delete deleted release attachments immediately from storage (#23913) 3 years ago
Peter c6f5029708
Preserve file size when creating attachments (#23406) 3 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 3 years ago
KN4CK3R 3c59d31bc6
Add API management for issue/pull and comment attachments (#21783) 3 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 3 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 3 years ago
techknowlogick 3f7cab42dc
Revert "Do not send notifications for draft releases (#21451)" (#21594) 3 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 3 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 3 years ago
KN4CK3R a37e8b275d
Do not send notifications for draft releases (#21451) 3 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 3 years ago