1
0
Fork 0
forgejo/modules
Jason Song 7adc2de464
Use context parameter in models/git (#22367)
After #22362, we can feel free to use transactions without
`db.DefaultContext`.

And there are still lots of models using `db.DefaultContext`, I think we
should refactor them carefully and one by one.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-09 11:50:54 +08:00
..
activitypub
analyze
auth
avatar Unify hashing for avatar (#22289) 2023-01-02 22:46:39 +01:00
base
cache Fix get system setting bug when enabled redis cache (#22295) 2023-01-02 00:06:52 +08:00
charset
container
context Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
csv
doctor
emoji Fix unstable emoji sort (#22346) 2023-01-05 13:58:51 +02:00
eventsource
generate
git Use git command instead of exec.Cmd in blame (#22098) 2023-01-03 16:17:13 +08:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
lfs
log
markup
mcaptcha
metrics
migration
mirror
nosql
notification Always reuse transaction (#22362) 2023-01-08 09:34:58 +08:00
options
packages Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
paginator
password
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
secret
session
setting Reminder for no more logs to console (#22282) 2023-01-01 22:00:33 +08:00
sitemap Fix sitemap (#22272) 2022-12-30 23:31:00 +08:00
ssh
storage
structs Add sync_on_commit option for push mirrors api (#22271) 2022-12-30 19:22:51 +08:00
svg
sync
system
templates Display error log when a modified template has an error so that it could recovery when the error fixed (#22261) 2023-01-03 15:17:36 +08:00
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
validation
watcher
web
webhook Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00