1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-05 04:15:07 -04:00
gitea/routers/api/v1/repo
Kemal Zebari 872caa17c0
Catch and handle unallowed file type errors in issue attachment API (#30791)
Before, we would just throw 500 if a user passes an attachment that is
not an allowed type. This commit catches this error and throws a 422
instead since this should be considered a validation error.
2024-05-02 16:33:31 +00:00
..
action.go feat(api): enhance Actions Secrets Management API for repository (#30656) 2024-04-26 21:11:49 +08:00
actions.go Add API endpoints for getting action jobs status (#26673) 2024-05-01 09:40:23 +08:00
avatar.go
blob.go
branch.go Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-17 15:24:07 +02:00
collaborators.go
commits.go
compare.go Fix compare api swagger (#30648) 2024-04-23 02:22:43 +00:00
file.go
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_attachment.go Catch and handle unallowed file type errors in issue attachment API (#30791) 2024-05-02 16:33:31 +00:00
issue_comment_attachment.go Catch and handle unallowed file type errors in issue attachment API (#30791) 2024-05-02 16:33:31 +00:00
issue_comment.go
issue_dependency.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_label.go
issue_pin.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
key.go
label.go
language.go
main_test.go
migrate.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
milestone.go
mirror.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
notes.go
patch.go
pull_review.go Prevent allow/reject reviews on merged/closed PRs (#30686) 2024-04-27 11:55:03 +00:00
pull.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
release_attachment.go
release_tags.go
release.go
repo_test.go
repo.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go Refactor topic Find functions and add more tests for pagination (#30127) 2024-03-29 11:38:16 +08:00
transfer.go
tree.go
wiki.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00