forgejo/modules
wxiaoguang b231d0deab
Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath, fix the hang of git cat-file ()
* Ignore Sync errors on pipes when doing `CheckAttributeReader.CheckPath`

* apply env patch

* Drop the Sync and fix a number of issues with the Close function

Signed-off-by: Andrew Thornton <art27@cantab.net>

* add logs for DBIndexer and CheckPath

* Fix some more closing bugs

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add test case for language_stats

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update modules/indexer/stats/db.go

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
2021-09-20 20:46:51 +01:00
..
analyze Use git attributes to determine generated and vendored status for language stats and diffs () 2021-09-09 21:13:36 +01:00
auth Add bundle download for repository () 2021-08-24 11:47:09 -05:00
avatar Add Image Diff for SVG files () 2021-06-05 15:32:19 +03:00
base Fixed assert statements. () 2021-06-07 07:27:09 +02:00
cache Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
charset Refactor renders () 2021-04-19 18:25:08 -04:00
context Make LDAP be able to skip local 2FA () 2021-09-17 12:43:47 +01:00
convert Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
cron Refactor: Move login out of models () 2021-07-24 11:16:34 +01:00
csv Fixes - duplicate csv import () 2021-08-05 17:56:11 +01:00
doctor Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
emoji Run processors on whole of text () 2021-06-17 11:35:05 +01:00
eventsource Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
generate switch to maintained lib () 2021-07-24 13:00:41 +02:00
git Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath, fix the hang of git cat-file () 2021-09-20 20:46:51 +01:00
gitgraph Fix bug on commit graph () 2021-04-17 10:27:25 +01:00
graceful Add bundle download for repository () 2021-08-24 11:47:09 -05:00
hcaptcha hCaptcha Support () 2020-10-02 23:37:53 -04:00
highlight Just use a slice when rendering file () 2021-08-23 22:23:39 +01:00
httpcache Add ETag header () 2021-04-12 10:49:26 -04:00
httplib Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
indexer Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath, fix the hang of git cat-file () 2021-09-20 20:46:51 +01:00
json Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
lfs Add bundle download for repository () 2021-08-24 11:47:09 -05:00
log Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
markup Do not show issue context popup on external issues () 2021-09-15 09:45:27 +01:00
matchlist Add Allow-/Block-List for Migrate & Mirrors () 2020-11-28 19:37:58 -05:00
metrics Separate open and closed issue in metrics () 2021-08-07 12:43:50 +03:00
migrations Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
nosql Fix setting redis db path () 2021-05-03 13:24:24 -04:00
notification Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
options Add bundle download for repository () 2021-08-24 11:47:09 -05:00
password Fixed assert statements. () 2021-06-07 07:27:09 +02:00
pprof Add golangci () 2019-06-12 15:41:28 -04:00
private Fix dump and restore respository () 2021-08-30 21:18:15 -04:00
process Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
proxy Return nil proxy function if proxy not enabled () 2021-08-19 16:41:20 -04:00
public Add bundle download for repository () 2021-08-24 11:47:09 -05:00
queue Use immediate queues in integration tests and ensure that immediate () 2021-09-03 11:20:57 +01:00
recaptcha Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
references Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
repofiles Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
repository Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
secret Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
session Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
setting Enable Malayalam, Greek, Persian, Hungarian & Indonesian by default () 2021-09-09 14:16:42 +08:00
ssh Second attempt at preventing zombies () 2021-07-14 10:43:13 -04:00
storage Fix storage Iterate bug and Add storage doctor to delete garbage attachments () 2021-09-06 16:46:20 +02:00
structs Support unprotected file patterns () 2021-09-11 16:21:17 +02:00
svg Add bundle download for repository () 2021-08-24 11:47:09 -05:00
sync Fix missing unlock in uniquequeue () 2020-01-15 23:58:33 +02:00
task Fix bug of migrated repository not index () 2021-09-08 18:43:19 +01:00
templates Switch migration icon to svg () 2021-09-18 17:22:51 +01:00
test Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
timeutil Fix display since time round () 2021-01-28 13:29:22 +01:00
translation Use index of the supported tags to choose user lang () 2021-04-14 19:52:01 +01:00
typesniffer Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
upload Update golangci-lint to version 1.31.0 () 2020-10-11 21:27:20 +01:00
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea () 2020-12-27 11:34:19 +08:00
user Add gitea-vet () 2020-04-05 07:20:50 +01:00
util Handle too long PR titles correctly () 2021-07-25 03:59:27 +01:00
validation Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
web Clean-up HookPreReceive and restore functionality for pushing non-standard refs () 2021-09-16 15:34:54 +02:00