gitea/services/convert
Lunny Xiao 673cf6af76
make writing main test easier ()
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
activity.go For API attachments, use API URL ()
attachment.go For API attachments, use API URL ()
convert.go Another round of `db.DefaultContext` refactor ()
git_commit.go Add file status for API "Get a single commit from a repository" () ()
git_commit_test.go Move `convert` package to services ()
issue.go Allow to archive labels ()
issue_comment.go Add context parameter to some database functions ()
issue_test.go Move `convert` package to services ()
main_test.go make writing main test easier ()
mirror.go Fix push mirror, wrong timestamp format ()
notification.go Fix `Permission` in API returned repository struct ()
package.go Fix `Permission` in API returned repository struct ()
pull.go Fix `Permission` in API returned repository struct ()
pull_review.go Add context cache as a request level cache ()
pull_test.go Fix `Permission` in API returned repository struct ()
release.go add Upload URL to release API ()
release_test.go add Upload URL to release API ()
repository.go Fix PushEvent NullPointerException jenkinsci/github-plugin ()
secret.go feat: implement organization secret creation API ()
status.go refactor improve NoBetterThan ()
user.go Fix API leaking Usermail if not logged in ()
user_test.go Add context cache as a request level cache ()
utils.go Move `convert` package to services ()
utils_test.go Rewrite queue ()
wiki.go Make wiki title supports dashes and improve wiki name related features ()