mirror of https://github.com/go-gitea/gitea.git
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.
cda44750cb
* Attachments: Add extension support, allow all types for releases - Add support for file extensions, matching the `accept` attribute of `<input type="file">` - Add support for type wildcard mime types, e.g. `image/*` - Create repository.release.ALLOWED_TYPES setting (default unrestricted) - Change default for attachment.ALLOWED_TYPES to a list of extensions - Split out POST /attachments into two endpoints for issue/pr and releases to prevent circumvention of allowed types check Fixes: https://github.com/go-gitea/gitea/pull/10172 Fixes: https://github.com/go-gitea/gitea/issues/7266 Fixes: https://github.com/go-gitea/gitea/pull/12460 Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers * rename function * extract GET routes out of RepoMustNotBeArchived Co-authored-by: Lauris BH <lauris@nix.lv> |
4 years ago | |
---|---|---|
.. | ||
analyze | 5 years ago | |
auth | 4 years ago | |
avatar | 4 years ago | |
base | 4 years ago | |
cache | 4 years ago | |
charset | 5 years ago | |
context | 4 years ago | |
convert | 4 years ago | |
cron | 5 years ago | |
emoji | 5 years ago | |
eventsource | 5 years ago | |
generate | 5 years ago | |
git | 4 years ago | |
gitgraph | 5 years ago | |
graceful | 4 years ago | |
hcaptcha | 4 years ago | |
highlight | 4 years ago | |
httplib | 6 years ago | |
indexer | 4 years ago | |
lfs | 4 years ago | |
log | 5 years ago | |
markup | 4 years ago | |
metrics | 6 years ago | |
migrations | 4 years ago | |
nosql | 4 years ago | |
notification | 4 years ago | |
options | 5 years ago | |
password | 4 years ago | |
pprof | 6 years ago | |
private | 4 years ago | |
process | 5 years ago | |
public | 4 years ago | |
queue | 4 years ago | |
recaptcha | 4 years ago | |
references | 4 years ago | |
repofiles | 4 years ago | |
repository | 4 years ago | |
secret | 4 years ago | |
session | 4 years ago | |
setting | 4 years ago | |
ssh | 5 years ago | |
storage | 4 years ago | |
structs | 4 years ago | |
svg | 5 years ago | |
sync | 5 years ago | |
task | 4 years ago | |
templates | 4 years ago | |
test | 4 years ago | |
timeutil | 5 years ago | |
upload | 4 years ago | |
user | 5 years ago | |
util | 4 years ago | |
validation | 5 years ago | |
webhook | 4 years ago |