Fix missing apostrophes in contractions across multiple source files. Changes: - `doesnt` -> `doesn't` in `routers/api/v1/repo/git_ref.go` (2 occurrences) - `dont` -> `don't` in `models/activities/notification_list.go`, `modules/indexer/code/bleve/token/path/path.go`, `routers/api/v1/repo/release.go`, `services/migrations/gitea_downloader.go`, `services/repository/contributors_graph.go` - `wont` -> `won't` in `routers/api/v1/repo/issue_subscription.go`, `models/issues/label_test.go` Ref: #35015 (good first issues - improve English) --------- Co-authored-by: majianhan <majianhan@kylinos.cn> Co-authored-by: silverwind <me@silverwind.io>
gopls modernize
Recent modernize fixes: https://github.com/golang/tools/commits/master/gopls/internal/analysis/modernize
This PR will avoid load pullrequest.Issue twice in pull request list page. It will reduce x times database queries for those WIP pull requests. Partially fix #29585 --------- Co-authored-by: Giteabot <teabot@gitea.io>
There is no code change. Just move notification list related structs/functions from one file to another.