gitea/modules/util
delvh 8dbf13b1cb
Follow file symlinks in the UI to their target (#28835)
Symlinks are followed when you click on a link next to an entry, either
until a file has been found or until we know that the link is dead.
When the link cannot be accessed, we fall back to the current behavior
of showing the document containing the target.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-01 06:55:36 +08:00
..
filebuffer Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
rotatingfilewriter Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
color.go Fix project column title overflow (#31011) 2024-05-20 05:21:01 +00:00
color_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
error.go Follow file symlinks in the UI to their target (#28835) 2025-07-01 06:55:36 +08:00
file_unix.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
file_unix_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
file_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
io.go Refactor markup package (#32399) 2024-11-04 10:59:50 +00:00
io_test.go Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2023-06-13 09:02:25 +00:00
keypair.go Enable `unparam` linter (#31277) 2024-06-11 18:47:45 +00:00
keypair_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
legacy.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
legacy_test.go Upgrade golangci-lint to v1.64.5 (#33654) 2025-02-21 00:05:40 +08:00
map.go Fix possible panic (#34508) 2025-05-22 12:59:42 +00:00
map_test.go Fix possible panic (#34508) 2025-05-22 12:59:42 +00:00
pack.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
pack_test.go Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
paginate.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
paginate_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
path.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
path_test.go Fix unittest and repo create bug (#33061) 2024-12-31 18:45:05 +08:00
remove.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
runtime.go Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
runtime_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
sanitize.go Refactor to use UnsafeStringToBytes (#31358) 2024-06-14 01:26:33 +00:00
sanitize_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
sec_to_time.go Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00
sec_to_time_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
shellquote.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
shellquote_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
slice.go Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) (#33569) 2025-02-13 03:26:27 +08:00
slice_test.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 2023-09-07 09:37:47 +00:00
string.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
string_test.go Do not render truncated links in markdown (#32980) 2024-12-26 00:33:55 +08:00
time_str.go Update go tool dependencies (#32916) 2024-12-19 19:17:55 +01:00
time_str_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
timer.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
timer_test.go Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
truncate.go Improve "ellipsis string" (#32989) 2024-12-26 14:19:35 +08:00
truncate_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
url.go Add `RemoteAddress` to mirrors (#26952) 2023-09-16 16:03:02 +00:00
util.go Fix markdown render behaviors (#34122) 2025-04-05 11:56:48 +08:00
util_test.go Move ParseBool to optional (#33979) 2025-03-24 03:53:30 +00:00