Commit Graph

90 Commits (a4d6f83b5be6b95f288a5ca02eb1f46d8ac0f992)

Author SHA1 Message Date
silverwind 47748df9b3
Enable forbidigo linter (#24278) 2 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 2 years ago
wxiaoguang 911975059a
Improve test logger (#24235) 2 years ago
silverwind 938b591994
Remove most path-based golangci exclusions (#24214) 2 years ago
zeripath 3c5655ce18
Improve trace logging for pulls and processes (#22633) 2 years ago
Felipe Leopoldo Sologuren Gutiérrez 04c97aa364
Change use of Walk to WalkDir to improve disk performance (#22462) 2 years ago
silverwind 0585ac3ac6
Update go dev dependencies (#22064) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 2 years ago
zeripath 3aa5749d53
Disable doctor logging on panic (#20847) 2 years ago
zeripath 8eefe2af45
Empty log queue on flush and close (#19994) 2 years ago
wxiaoguang 730420b6b3
Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (#19581) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
zeripath 70628bd870
Add auto logging of goroutine pid label (#19212) 3 years ago
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader (#18752) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang 5bf8d5445e
Refactor Router Logger (#17308) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath 147e42239f
Stop printing 03d after escaped characters in logs (#18030) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
zeripath 49bd9a1111
Fix race in log (#16490) 3 years ago
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 3 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Lunny Xiao 0cd87d64ff
Update docs and comments to remove macaron (#14491) 4 years ago
Lunny Xiao a1c9e8f266
Fix windows build error (#14263) 4 years ago
zeripath 47dd1cb7ae
Refactor Logger (#13294) 4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
zeripath d25f44285a
Fix double-indirection bug in logging IDs (#12294) 4 years ago
zeripath c5b08f6d5a
Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 4 years ago
Lars Lehtonen 0754ceca5b
modules/log: remove noop written variables (#10182) 5 years ago
zeripath 95a57394af Log: Ensure FLAGS=none is -1 (#9287) 5 years ago
Mura Li eec997d30a Fix data race (#8204) 5 years ago
Christian Muehlhaeuser 54d96c79b5 Removed unnecessary conversions (#7557) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
zeripath 356854fc5f Move serv hook functionality & drop GitLogger (#6993) 6 years ago
Lunny Xiao 8b36f01f45 Move xorm logger bridge from log to models so that log module could be a standalone package (#6944) 6 years ago
Lunny Xiao 6123840745 Remove macaron dependent on modules/log (#6933) 6 years ago
zeripath c0fc6cd9a8 rotate unusual logs and stop stacktracing (#6935) 6 years ago
zeripath be666b03ee Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
zeripath 5422f23ed8 Quieter Integration Tests (#6513) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
zeripath f286a5abb4 Allow Macaron to be set to log through to gitea.log (#5667) 6 years ago
Lauris BH 8f8ff5a295
Remove maxlines option for file logger (#5282) 6 years ago