Commit Graph

5 Commits (9ff9f5ad1d8d2680c9c146831458afdbd4e641df)

Author SHA1 Message Date
Antoine GIRARD f369788347 Refactor filetype is not allowed errors ()
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