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.
gitea/services/convert
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>
2 years ago
..
activity.go For API attachments, use API URL (#25639) 2 years ago
attachment.go For API attachments, use API URL (#25639) 2 years ago
convert.go Allow Organisations to have a E-Mail (#25082) 2 years ago
git_commit.go Add file status for API "Get a single commit from a repository" (#16205) (#25831) 2 years ago
git_commit_test.go Move `convert` package to services (#22264) 2 years ago
issue.go For API attachments, use API URL (#25639) 2 years ago
issue_comment.go Add context parameter to some database functions (#26055) 2 years ago
issue_test.go Move `convert` package to services (#22264) 2 years ago
main_test.go Move `convert` package to services (#22264) 2 years ago
mirror.go Fix SyncOnCommit always return false in API of push_mirrors (#23088) 2 years ago
notification.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
package.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
pull.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
pull_review.go Add context cache as a request level cache (#22294) 2 years ago
pull_test.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
release.go For API attachments, use API URL (#25639) 2 years ago
repository.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
status.go refactor improve NoBetterThan (#26126) 2 years ago
user.go Add context cache as a request level cache (#22294) 2 years ago
user_test.go Add context cache as a request level cache (#22294) 2 years ago
utils.go Move `convert` package to services (#22264) 2 years ago
utils_test.go Rewrite queue (#24505) 2 years ago
wiki.go Make wiki title supports dashes and improve wiki name related features (#24143) 2 years ago