gitea/modules/util
Giteabot 76bd60fc1d
Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) () ()
Backport  by @wxiaoguang

* Make artifact list output has stable order
* Fix 
* Fix 
* Fix 
* Fix 
* Fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
filebuffer Add `io.Closer` guidelines ()
rotatingfilewriter Replace `interface{}` with `any` ()
color.go Fix project column title overflow ()
color_test.go Enable tenv and testifylint rules ()
error.go Replace `interface{}` with `any` ()
file_unix.go Implement FSFE REUSE for golang files ()
file_unix_test.go Implement FSFE REUSE for golang files ()
file_windows.go Implement FSFE REUSE for golang files ()
io.go Refactor markup package ()
io_test.go Fix profile render when the README.md size is larger than 1024 bytes ()
keypair.go Enable `unparam` linter ()
keypair_test.go Enable tenv and testifylint rules ()
legacy.go Implement FSFE REUSE for golang files ()
legacy_test.go Implement FSFE REUSE for golang files ()
pack.go Replace `interface{}` with `any` ()
pack_test.go Add support for incoming emails ()
paginate.go Replace `interface{}` with `any` ()
paginate_test.go Implement FSFE REUSE for golang files ()
path.go Upgrade to golangci-lint@v1.55.0 ()
path_test.go Use a general approach to access custom/static/builtin assets ()
remove.go Implement FSFE REUSE for golang files ()
sanitize.go Refactor to use UnsafeStringToBytes ()
sanitize_test.go Implement FSFE REUSE for golang files ()
sec_to_time.go Make tracked time representation display as hours () ()
sec_to_time_test.go Make tracked time representation display as hours () ()
shellquote.go Implement FSFE REUSE for golang files ()
shellquote_test.go Implement FSFE REUSE for golang files ()
slice.go Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) () ()
slice_test.go Replace `util.SliceXxx` with `slices.Xxx` ()
string.go Do not render truncated links in markdown () ()
string_test.go Do not render truncated links in markdown () ()
time_str.go Update go tool dependencies () ()
time_str_test.go Enable tenv and testifylint rules ()
timer.go Rewrite queue ()
timer_test.go Use a general approach to access custom/static/builtin assets ()
truncate.go Do not render truncated links in markdown () ()
truncate_test.go Use more specific test methods ()
url.go Add `RemoteAddress` to mirrors ()
util.go Refactor tests to prevent from unnecessary preparations ()
util_test.go Update go tool dependencies () ()