- Support for HTTP Range header fields, thus vastly improved performance for video streaming

- Simplified cryptor implementation for partial decryption
This commit is contained in:
Sebastian Stenzel
2014-12-21 16:54:47 +01:00
parent f76091ddc0
commit 1d05e878ab
26 changed files with 293 additions and 393 deletions
@@ -20,7 +20,7 @@ import org.cryptomator.ui.util.MasterKeyFilter;
import org.cryptomator.ui.util.mount.CommandFailedException;
import org.cryptomator.ui.util.mount.WebDavMount;
import org.cryptomator.ui.util.mount.WebDavMounter;
import org.cryptomator.webdav.WebDAVServer;
import org.cryptomator.webdav.WebDavServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -34,7 +34,7 @@ public class Directory implements Serializable {
private static final long serialVersionUID = 3754487289683599469L;
private static final Logger LOG = LoggerFactory.getLogger(Directory.class);
private final WebDAVServer server = new WebDAVServer();
private final WebDavServer server = new WebDavServer();
private final Cryptor cryptor = SamplingDecorator.decorate(new Aes256Cryptor());
private final ObjectProperty<Boolean> unlocked = new SimpleObjectProperty<Boolean>(this, "unlocked", Boolean.FALSE);
private final Path path;
@@ -137,7 +137,7 @@ public class Directory implements Serializable {
this.unlocked.set(unlocked);
}
public WebDAVServer getServer() {
public WebDavServer getServer() {
return server;
}
@@ -33,6 +33,7 @@ final class FallbackWebDavMounter implements WebDavMounterStrategy {
private void displayMountInstructions() {
// TODO display message to user pointing to cryptomator.org/mounting#mount which describes what to do
// Machine-readable mount instructions: http://tools.ietf.org/html/rfc4709#page-5 :-)
}
private void displayUnmountInstructions() {