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