Patrick Kranzlmueller
Patrick Kranzlmueller
besides, it's much easier to clean up the temp dir. and since we need a versions-dir anyway, why not add a temp dir as well.
you are right ... we used a signal for moving the file. I think that a scenario where upload_to doesn't exist is pretty common (maybe it's just me, but we...
I can't think of another solution besides using signals. But I'm open for any suggestions. Here's what we currently use with our projects ... https://gist.github.com/sehmaschine/8ec052d7423dbd307fce Please note that this is...
upload_to should definitely accept callables.
agreed, `contribute_to_class` is probably better than using signals.
Very nice ... we'll consider this with the next major release. I don't think it's a good idea to implement this with a minor version update.
@AntonioAngelino sorry for the delay, but I have one more question. If we add the permissions, what about existing setups? One needs to assign the permissions to every existing editor,...
@AntonioAngelino What about adding a setting like `FILEBROWSER_USE_PERMISSIONS` which is `False` by default? This would be backwards compatible. If someone sets it to `True`, he needs to assign the permissions...
@orlra Did you target branch dev/2.7.x by purpose? Because it´s pretty outdated — the development branch for the current version is stable/2.9.x.
@parsch please take a look at this.