gitea/routers/api/v1/repo
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745)
* Remove unnecessary functions of User struct

* Move more database methods out of user struct

* Move more database methods out of user struct

* Fix template failure

* Fix bug

* Remove finished FIXME

* remove unnecessary code
2021-11-22 23:21:55 +08:00
..
blob.go
branch.go Move some functions into services/repository (#17677) 2021-11-17 23:17:31 +08:00
collaborators.go
commits.go
file.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
fork.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
git_hook.go
git_ref.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
hook.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
hook_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 2021-11-16 16:53:21 +08:00
issue.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go Fix close issue but time watcher still running (#17643) 2021-11-21 17:11:48 +08:00
issue_subscription.go
issue_tracked_time.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
key.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
label.go
language.go
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
migrate.go Use `hostmatcher` to replace `matchlist`, improve security (#17605) 2021-11-20 17:34:05 +08:00
milestone.go
mirror.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
notes.go
pull.go Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
pull_review.go
release.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
release_attachment.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
release_tags.go
repo.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
repo_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 2021-11-16 16:53:21 +08:00
star.go Remove unnecessary attributes of User struct (#17745) 2021-11-22 23:21:55 +08:00
status.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
subscriber.go
tag.go
teams.go
topic.go
transfer.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
tree.go
wiki.go