gitea/routers/api/v1
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444)
The LastCommitCache code is a little complex and there is unnecessary
duplication between the gogit and nogogit variants.

This PR adds the LastCommitCache as a field to the git.Repository and
pre-creates it in the ReferencesGit helpers etc. There has been some
simplification and unification of the variant code.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-07-25 16:39:42 +01:00
..
activitypub Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
admin Add option to purge users (#18064) 2022-07-14 08:22:09 +01:00
misc Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
notify Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
org Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
packages Hide private repositories in packages (#19584) 2022-05-07 18:21:15 +02:00
repo Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
user Only show Followers that current user can access (#20220) 2022-07-05 16:47:45 +01:00
utils Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
api.go Add write check for creating Commit status (#20332) 2022-07-12 14:51:06 +02:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00