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/templates
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"` ``
2 years ago
..
admin Enable H014 and H023 djlint rules (#25786) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Enable H014 and H023 djlint rules (#25786) 2 years ago
code Fix inconsistent user profile layout across tabs (#25625) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Make "cancel" buttons have proper type in modal forms (#25618) 2 years ago
explore Fix inconsistent user profile layout across tabs (#25625) 2 years ago
mail Add template linting via djlint (#25212) 2 years ago
org Following up fixes for "Fix inconsistent user profile layout across tabs" (#25739) 2 years ago
package Restructure issue list template, styles (#25750) 2 years ago
projects Fix margin on the new/edit project page. (#25885) 2 years ago
repo Make pending commit status yellow again (#25935) 2 years ago
shared Restructure issue list template, styles (#25750) 2 years ago
status Replace fomantic divider module with our own (#25539) 2 years ago
swagger Refactor "Content" for file uploading (#25851) 2 years ago
user Enable H014 and H023 djlint rules (#25786) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Show correct SSL Mode on "install page" (#25818) 2 years ago
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2 years ago