[PR #3615] [MERGED] Log attachment blocked events #17018

Closed
opened 2025-11-02 12:24:22 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3615
Author: @mqudsi
Created: 3/3/2018
Status: Merged
Merged: 3/5/2018
Merged by: @lunny

Base: masterHead: log_attachment_failure


📝 Commits (3)

  • c9814b0 Log attachment blocked events
  • e7ea7b3 Merge branch 'master' into log_attachment_failure
  • 13530d4 Merge branch 'master' into log_attachment_failure

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 routers/repo/attachment.go (+1 -0)

📄 Description

Include both a log entry and the blocked mime type in the gitea log when
an attachment upload is blocked.

Chosen log level is info; this may need to be dialed down to trace.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3615 **Author:** [@mqudsi](https://github.com/mqudsi) **Created:** 3/3/2018 **Status:** ✅ Merged **Merged:** 3/5/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `log_attachment_failure` --- ### 📝 Commits (3) - [`c9814b0`](https://github.com/go-gitea/gitea/commit/c9814b0fb5c3dfa8a17dd1d106e8fcf85e4345e9) Log attachment blocked events - [`e7ea7b3`](https://github.com/go-gitea/gitea/commit/e7ea7b38ca44be647958f70dcf9851c45029ac16) Merge branch 'master' into log_attachment_failure - [`13530d4`](https://github.com/go-gitea/gitea/commit/13530d4815fd5095ab8d25b03fc269a39c592bc2) Merge branch 'master' into log_attachment_failure ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `routers/repo/attachment.go` (+1 -0) </details> ### 📄 Description Include both a log entry and the blocked mime type in the gitea log when an attachment upload is blocked. Chosen log level is info; this may need to be dialed down to trace. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:24:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17018