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.
wxiaoguang 236c645bf1
Refactor "Content" for file uploading (#25851)
Before: the concept "Content string" is used everywhere. It has some
problems:

1. Sometimes it means "base64 encoded content", sometimes it means "raw
binary content"
2. It doesn't work with large files, eg: uploading a 1G LFS file would
make Gitea process OOM

This PR does the refactoring: use "ContentReader" / "ContentBase64"
instead of "Content"

This PR is not breaking because the key in API JSON is still "content":
`` ContentBase64 string `json:"content"` ``
12 months ago
..
admin Replace `interface{}` with `any` (#25686) 1 year ago
auth Less naked returns (#25713) 1 year ago
devtest Make "cancel" buttons have proper type in modal forms (#25618) 1 year ago
events Implement FSFE REUSE for golang files (#21840) 2 years ago
explore Replace `interface{}` with `any` (#25686) 1 year ago
feed Pass 'not' to commit count (#24473) 1 year ago
healthcheck Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
misc Decouple the different contexts from each other (#24786) 1 year ago
org fix incorrect repo url when changed the case of ownername (#25733) 12 months ago
repo Refactor "Content" for file uploading (#25851) 12 months ago
shared Fix inconsistent user profile layout across tabs (#25625) 1 year ago
user Fix notification list bugs (#25781) 1 year ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Fix all possible setting error related storages and added some tests (#23911) 1 year ago
goget.go Support SSH for go get (#24664) 1 year ago
home.go Refactor cookie (#24107) 1 year ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger_json.go Group template helper functions, remove `Printf`, improve template error messages (#23982) 1 year ago
web.go Less naked returns (#25713) 1 year ago
webfinger.go Replace `interface{}` with `any` (#25686) 1 year ago