0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 21:24:34 +01:00
gitea/routers
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856)
* USER APIFormat -> ToUser

* Migrate more and mark APIFormat deprecated

* models.Comment APIFormat() -> convert.ToComment

* models.Release APIFormat() -> convert.ToRelease

* models.Attachments APIFormat() -> convert.ToReleaseAttachments

* models.CommitStatus APIFormat() -> convert.ToCommitStatus

* finish migration to convert.ToUser

* Move Test

* Imprufe Test

* fix test

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-10-17 00:23:08 -04:00
..
admin Hide sync ssh keys button on admin dashboard if ssh disabled or builtin-ssh enabled (#13072) 2020-10-08 12:43:15 -04:00
api/v1 [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
dev
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Set opengraph attributes on org pages (#12803) 2020-09-11 07:41:43 +01:00
private [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
repo [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
routes Prevent panics with missing storage (#13164) 2020-10-15 23:51:06 -04:00
user Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
utils Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Move all push update operations to a queue (#10133) 2020-09-11 10:14:48 -04:00
install.go Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
metrics.go
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00