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 | |
---|---|---|
.. | ||
branch | 4 years ago | |
diff | 4 years ago | |
editor | 4 years ago | |
issue | 4 years ago | |
migrate | 4 years ago | |
projects | 4 years ago | |
pulls | 4 years ago | |
release | 4 years ago | |
settings | 4 years ago | |
wiki | 4 years ago | |
activity.tmpl | 4 years ago | |
blame.tmpl | 5 years ago | |
branch_dropdown.tmpl | 4 years ago | |
commit_page.tmpl | 4 years ago | |
commit_status.tmpl | 6 years ago | |
commits.tmpl | 4 years ago | |
commits_list.tmpl | 5 years ago | |
commits_list_small.tmpl | 4 years ago | |
commits_table.tmpl | 4 years ago | |
create.tmpl | 4 years ago | |
empty.tmpl | 4 years ago | |
forks.tmpl | 9 years ago | |
graph.tmpl | 4 years ago | |
header.tmpl | 4 years ago | |
header_icon.tmpl | 5 years ago | |
home.tmpl | 4 years ago | |
search.tmpl | 5 years ago | |
shabox_badge.tmpl | 4 years ago | |
sub_menu.tmpl | 4 years ago | |
upload.tmpl | 4 years ago | |
user_cards.tmpl | 4 years ago | |
view_file.tmpl | 4 years ago | |
view_list.tmpl | 4 years ago | |
watchers.tmpl | 9 years ago |