1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/modules
zeripath 88da50674f
Add finalizers to ensure that repos are closed and blobreaders are closed () ()
It may be prudent to add runtime finalizers to the git.Repository and
git.blobReader objects to absolutely ensure that these are both properly
cancelled, cleaned and closed out.

This commit is a backport of an extract from 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-05-02 20:44:45 +08:00
..
activitypub Create pub/priv keypair for federation () 2021-09-28 15:19:22 -04:00
analyze Use git attributes to determine generated and vendored status for language stats and diffs () 2021-09-09 21:13:36 +01:00
appstate Decouple unit test code from business code () 2021-11-12 22:36:47 +08:00
auth fix pam authorization () () 2022-03-10 08:15:35 +00:00
avatar Fix various typos () 2022-01-10 17:32:37 +08:00
base Simplify parameter types () 2021-12-20 04:41:31 +00:00
cache Test cache during init () 2021-12-06 00:24:57 +08:00
charset Don't treat BOM escape sequence as hidden character. () () 2022-02-26 23:15:04 +01:00
context RepoAssignment ensure to close before overwrite () () 2022-04-21 18:55:44 +02:00
convert Set correct PR status on 3way on conflict checking () () 2022-04-22 09:11:42 +08:00
csv Fix various typos () 2022-01-10 17:32:37 +08:00
doctor [doctor] authorized-keys: fix displayed check name (backport ) () 2022-04-25 13:45:18 +02:00
emoji Run processors on whole of text () 2021-06-17 11:35:05 +01:00
eventsource Simplify parameter types () 2021-12-20 04:41:31 +00:00
generate Support webauthn () 2022-01-14 16:03:31 +01:00
git Add finalizers to ensure that repos are closed and blobreaders are closed () () 2022-05-02 20:44:45 +08:00
gitgraph Collaborator trust model should trust collaborators () () 2022-02-03 11:20:37 -05:00
graceful Immediately Hammer if second kill is sent () () 2022-02-20 01:37:52 +08:00
hcaptcha hCaptcha Support () 2020-10-02 23:37:53 -04:00
highlight Bump to build with go1.18 ( et al) () 2022-03-19 18:46:47 +01:00
hostmatcher Support hostname:port to pass host matcher's check () () 2022-04-29 01:41:58 +08:00
httpcache Use a variable but a function for IsProd because of a slight performance increment () 2021-10-20 16:37:19 +02:00
httplib refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
indexer Prevent dangling archiver goroutine () () 2022-04-27 16:05:52 +08:00
json Move repository model into models/repo () 2021-12-10 09:27:50 +08:00
lfs Improve SyncMirrors logging () () 2022-03-10 16:06:35 +01:00
log Simplify parameter types () 2021-12-20 04:41:31 +00:00
markup Bump goldmark to v1.4.11 () () 2022-03-24 11:47:40 -04:00
metrics Refactor auth package () 2022-01-02 21:12:35 +08:00
migration Fix various typos () 2022-01-10 17:32:37 +08:00
nosql Adjust error for already locked db and prevent level db lock on malformed connstr () () 2022-02-28 15:45:38 +00:00
notification Fix problem when self-assign notification () () 2022-03-02 20:11:55 +00:00
options Remove golang vendored directory () 2022-01-14 18:16:05 -05:00
password Fixed assert statements. () 2021-06-07 07:27:09 +02:00
pprof refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
private Fix the bug: deploy key with write access can not push () () 2022-03-23 13:44:41 +00:00
process Fix various typos () 2022-01-10 17:32:37 +08:00
proxy Return nil proxy function if proxy not enabled () 2021-08-19 16:41:20 -04:00
public Fix mime-type detection for HTTP server () 2022-01-23 21:17:20 +08:00
queue Fix 64-bit atomic operations on 32-bit machines () () 2022-04-27 10:32:28 -05:00
recaptcha refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
references Add API to get issue/pull comments and events (timeline) () 2022-01-01 22:12:25 +08:00
repository Migration: only write commit-graph if wiki clone was successfull () () 2022-05-01 00:22:42 +02:00
secret Simplify parameter types () 2021-12-20 04:41:31 +00:00
session Refactor auth package () 2022-01-02 21:12:35 +08:00
setting Only request write when necessary () () 2022-04-19 12:10:24 -04:00
ssh Update golang.org/x/crypto () () 2022-03-19 12:16:15 +00:00
storage Clean paths when looking in Storage () () 2022-03-23 09:23:00 +00:00
structs Respect DefaultUserIsRestricted system default when creating new user ( ) () 2022-04-30 15:00:14 +02:00
svg refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
sync Fix missing unlock in uniquequeue () 2020-01-15 23:58:33 +02:00
templates Prevent start panic due to missing DotEscape function 2022-03-23 16:09:57 +00:00
test Unify and simplify TrN for i18n () 2022-01-02 04:33:57 +01:00
timeutil Don't store assets modified time into generated files () 2022-01-06 21:33:17 -05:00
translation Sort locales according to their names () 2022-01-08 12:18:39 +00:00
typesniffer Read expected buffer size () 2021-10-24 22:12:43 +01:00
updatechecker Fix various typos () 2022-01-10 17:32:37 +08:00
upload Simplify parameter types () 2021-12-20 04:41:31 +00:00
uri Prevent NPE if gitea uploader fails to open url () 2021-12-23 16:27:33 +00:00
user Add gitea-vet () 2020-04-05 07:20:50 +01:00
util Revert the minimal golang version requirement from 1.17 to 1.16 and add a warning in Makefile () 2022-04-05 13:32:24 -04:00
validation Upgrade chi to v5 () 2021-10-13 22:50:23 -04:00
web Simplify parameter types () 2021-12-20 04:41:31 +00:00