Closed eelucio closed 1 month ago
Okey,
With the last commit 8970ad3efb770320bc11140f4aadc7cf9e6a4118 we tried to exploit get_history()
to the fullest.
Until now it used to be passed with user=None
from _history
always, now it can be:
user=User()
when we want to search own historyuser=None
to search history of everyone (including self).Thanks for your patience and interest @MoSHad91 :)
for what we checked it should not break regular functionalitiy.
NOTE: limited to all or self, cannot pinpoint specific users. For that we would need to figure out how to pass the user object of the username because the username string itself does not work
this fix solves this bug. I added
GIF
to theIMAGE_RESIZE_EXCEPTIONS = ["PDF", "HDF5", "GRIB", "GIF"]
so the files with this extension will be copied instead of resized.E.g.
.mp4
files were copied because they were neither in that list nor they were recognised byImage.registered_extensions()
everything else are minor typo/punctuation fixes.
To be merged after the history flag branch has been merged.