forgejo/routers
qwerty287 8430f738e2
Fix 500 on PR files API (#21602)
Fixes an 500 error/panic if using the changed PR files API with pages
that should return empty lists because there are no items anymore.
`start-end` is then < 0 which ends in panic.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: delvh <dev.lh@web.de>
2022-10-26 23:46:11 +08:00
..
api Fix 500 on PR files API (#21602) 2022-10-26 23:46:11 +08:00
common Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
install Fix read system configuration bug when installing (#21489) 2022-10-18 23:16:58 +08:00
private Refactor git command arguments and make all arguments to be safe to be used (#21535) 2022-10-23 22:44:45 +08:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
web Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
init.go Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00