You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
caicandong 13359581df
refactor improve NoBetterThan (#26126)
- The `NoBetterThan` function can only handle comparisons between
"pending," "success," "error," and "failure." For any other comparison,
we directly return false. This prevents logic errors like the one in
#26121.
- The callers of the `NoBetterThan` function should also avoid making
incomparable calls.

---------

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com>
1 year ago
..
actions Implement auto-cancellation of concurrent jobs if the event is push (#25716) 1 year ago
agit Add context parameter to some database functions (#26055) 1 year ago
asymkey Add context cache as a request level cache (#22294) 1 year ago
attachment Preserve file size when creating attachments (#23406) 1 year ago
auth Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
automerge Improve queue and logger context (#24924) 1 year ago
context Replace `interface{}` with `any` (#25686) 1 year ago
convert refactor improve NoBetterThan (#26126) 1 year ago
cron Replace gogs/cron with go-co-op/gocron (#25977) 1 year ago
externalaccount Replace `interface{}` with `any` (#25686) 1 year ago
forms Allow Organisations to have a E-Mail (#25082) 1 year ago
gitdiff Less naked returns (#25713) 1 year ago
issue Add context parameter to some database functions (#26055) 1 year ago
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
mailer Replace `interface{}` with `any` (#25686) 1 year ago
markup Decouple the different contexts from each other (#24786) 1 year ago
migrations Add context parameter to some database functions (#26055) 1 year ago
mirror Sync branches when mirroring (#25722) 1 year ago
org Refactor rename user and rename organization (#24052) 1 year ago
packages Fix version in rpm repodata/primary.xml.gz (#26009) 1 year ago
pull Add context parameter to some database functions (#26055) 1 year ago
release Less naked returns (#25713) 1 year ago
repository Fix bugs in LFS meta garbage collection (#26122) 1 year ago
task Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
user fix incorrect repo url when changed the case of ownername (#25733) 1 year ago
webhook For API attachments, use API URL (#25639) 1 year ago
wiki Improve wiki user title test (#24559) 1 year ago