gitea/routers/api/v1
6543 4160bd6ef1
Remove Unused Functions ()
* remove ReplaceLeft

* remove GetRepositoryByOwnerAndName chainload to models.GetRepositoryByOwnerAndName

* remove CheckUnitUser chainload to models.CheckUnitUser

* remove MakeAssigneeList

* remove DownloadDiff & DownloadPatch -> DownloadDiffOrPatch

* remove GetRandomBytesAsBase64

* remove PushUpdateDeleteTags

* remove GetUserByKeyID
(you still can resolve user by "k, err := GetPublicKeyByID; userID := k.OwnerID")

* remove BasicAuthEncode from struct package -> same function in modules/base/tools !

* remove UserID from api.utils

* remove unused func from structs package
..
admin Various fixes in login sources ()
misc Change markdown rendering from blackfriday to goldmark ()
notify API add/generalize pagination ()
org Various fixes in login sources ()
repo [Refactor] move APIFormat() of Issue and Label to convert package ()
swagger adds API endpoints to manage OAuth2 Application (list/create/delete) ()
user adds API endpoints to manage OAuth2 Application (list/create/delete) ()
utils Remove Unused Functions ()
api.go adds API endpoints to manage OAuth2 Application (list/create/delete) ()