You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
Users (or at least admins) can delete images that have been uploaded using the Imgur integration
Environment
Flarum version: 1.8.8
Extension version: 1.5.5
Possible solution(s)
I don't know the internals of this plugin, but maybe the deleteHash could be stored in the remote_id instead of the id (unless the remote_id is used for some other purpose):
Bug Report
Current Behavior
When using the Imgur image upload, those files cannot be deleted any more
Currently, this is not implemented:
upload/src/Adapters/Imgur.php
Lines 81 to 93 in e8e7f9f
The Imgur deletion API for anonymous image uploads (as used in this plugin) requires the
deleteHash
, which is returned upon image uploadAt the moment, the plugin does not store this value:
upload/src/Adapters/Imgur.php
Lines 64 to 72 in e8e7f9f
Expected Behavior
Users (or at least admins) can delete images that have been uploaded using the Imgur integration
Environment
Possible solution(s)
I don't know the internals of this plugin, but maybe the
deleteHash
could be stored in theremote_id
instead of theid
(unless theremote_id
is used for some other purpose):upload/src/Adapters/Imgur.php
Line 71 in e8e7f9f
Additional Context
Related issue: #290
The text was updated successfully, but these errors were encountered: