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/routers
Zettat123 15a1c2d7ef
Fix panic when getting notes by ref (#23372)
Fix #23357 .

Now the `/repos/{owner}/{repo}/git/notes/{sha}` API supports getting
notes by a ref or sha
(https://try.gitea.io/api/swagger#/repository/repoGetNote). But the
`GetNote` func can only accept commit ID.

a12f575737/modules/git/notes_nogogit.go (L18)

So we need to convert the query parameter to commit ID before calling
`GetNote`.
1 year ago
..
api Fix panic when getting notes by ref (#23372) 1 year ago
common Support sanitising the URL by removing extra slashes in the URL (#21333) 1 year ago
install Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
private Use context parameter in services/repository (#23186) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Use CleanPath instead of path.Clean (#23371) 1 year ago
init.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago