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.
gitea/routers
zeripath fb5af37b3e
Add Close() method to gogitRepository (#8901) (#8958)
Backport #8901 - Adjusted slightly for 1.9

In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.

This PR adds this Close function and adds the Close functions as necessary.

In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.

Fixes #7947
5 years ago
..
admin Shadow the password on cache and session config on admin panel (#7300) 6 years ago
api/v1 Add Close() method to gogitRepository (#8901) (#8958) 5 years ago
dev Make time diff translatable (#2057) 8 years ago
org backport of #7385 - add missing template variable on organisation settings (#7386) 6 years ago
private Attempt to fix hook problem (#7856) 6 years ago
repo Add Close() method to gogitRepository (#8901) (#8958) 5 years ago
routes Change general form binding to gogs form (#8334) (#8402) 5 years ago
user Revert "[Backport] Fix issues/pr list broken when there are man… (#8425) 5 years ago
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
home.go Use AppSubUrl for more redirections (#8647) (#8652) 5 years ago
init.go Only check and config git on web subcommand but not others (#7236) 6 years ago
install.go Install page - Handle invalid administrator username better (#7060) 6 years ago
metrics.go routers: do not leak secrets via timing side channel (#7364) 6 years ago
swagger_json.go Swagger.v1.json template (#3572) 7 years ago