Commit Graph

4 Commits (c385dcc26b0da7fc1c245a1da316551cb6585ad3)

Author SHA1 Message Date
Lunny Xiao 09fb036ad6 fix upload attachments ()
* fix upload attachments

* add migration for new column uploader_id on table attachment

* fix imports sequence
Mahmoud Al-Qudsi 171914e9a7 Log attachment blocked events ()
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.
Thomas Boerger 78535fb08e Allow custom public files ()
* Allow custom public files

* Gofmt code, lots of places not related to this pr
Philip Couling 1610b9f547 Spun attachments into seperate go file ()
Moved attachments into seperate go file