You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
yp05327 22a39bb961
Fix profile render when the README.md size is larger than 1024 bytes (#25131)
Fixes https://github.com/go-gitea/gitea/issues/25094

`GetBlobContent` will only get the first 1024 bytes, if the README.md
size is larger than 1024 bytes,
We can not render the rest of them.
After this fix, we should provide the limited size to read when call
`GetBlobContent`.

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/22a42936-4cf8-40b4-a5c7-e384082beb0d)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
actions Fix compatible for webhook ref type (#25195) 2 years ago
agit Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
asymkey Add context cache as a request level cache (#22294) 2 years ago
attachment Preserve file size when creating attachments (#23406) 2 years ago
auth Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2 years ago
automerge Improve queue and logger context (#24924) 2 years ago
context Decouple the different contexts from each other (#24786) 2 years ago
convert Add the ability to pin Issues (#24406) 2 years ago
cron Add Cargo package registry (#21888) 2 years ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Add ability to set multiple redirect URIs in OAuth application UI (#25072) 2 years ago
gitdiff Display file mode for new file and file mode changes (#24966) 2 years ago
issue Add codeowners feature (#24910) 2 years ago
lfs Redesign Scoped Access Tokens (#24767) 2 years ago
mailer Improve queue and logger context (#24924) 2 years ago
markup Decouple the different contexts from each other (#24786) 2 years ago
migrations Update github.com/google/go-github to v53 (#25157) 2 years ago
mirror Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
org Refactor rename user and rename organization (#24052) 2 years ago
packages Add CRAN package registry (#22331) 2 years ago
pull Add codeowners feature (#24910) 2 years ago
release Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
repository Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2 years ago
task Improve queue and logger context (#24924) 2 years ago
user Refactor rename user and rename organization (#24052) 2 years ago
webhook Fix compatible for webhook ref type (#25195) 2 years ago
wiki Improve wiki user title test (#24559) 2 years ago