Files/Download Manager For Discourse

I think that your best bet for that is to host the files somewhere with access control, ACLs and stuff. Google Docs/Drive is a good example of that.

「いいね!」 3

Hmm. Or possibly OwnCloud. At least an idea to explore!

「いいね!」 3

any new idea for media/file manager ??

My «Restrict Files» plugin solves the problem of access control to forum digital content (downloads).
The forum owner can grant the download permissions only to a particular forum groups / or to users with specified trust level and withdraw download permissions from other groups / users.
An example of restricted file: http://discourse.pro/file/113
You can not download it neither anonymously nor by just registering on the forum.
You must be a member of permitted user group to download the file.
You can test it yourself:
A test account without download permissions: login: test_bob, password: 123456
A test account with download permissions: login: test_john, password: 654321
A file is always permitted to be downloaded by its uploader.

ここに提供された例が大好きです。

アップロードされた画像について、一点気になることがあります。

よく画像をアップロードして、後で考え直して削除し、別の画像をアップロードすることがあります。

そのように使われなくなったアップロードファイルは、どこかインスタンス内に保存されていると推測しています。

実際にはどこにも表示されていない、あるいはトピックに添付されていないファイルを自動的に削除する機能はありますか?おそらくないのでしょうが。

@tobiaseigen さんが示された例のように、インスタンスで使用されているファイルの一覧を表示し、さらにそのアセットがどこで使用・表示されているか、あるいは使用・表示されていないかを確認できると助かります。

もしかすると、このようなユースケースは非常に稀で、このような機能を開発する価値がないのかもしれません。2MB 程度ではストレージへの影響は大きくありませんが、大規模なフォーラムで長期間にわたってこのようなことが頻繁に起これば、問題になるかもしれません ¯\_(ツ)_/¯

更新: この機能は実装されました。

「いいね!」 4

はい、削除されていない投稿に含まれていないファイルは、(7?) 日後に「トームストーン化」され、さらに (14?) 日後に削除されます。

「いいね!」 5