Sebastian Stenzel
57b40675ac
WebDAV range request support is back!
2016-02-17 17:35:05 +01:00
Sebastian Stenzel
50e8a9e429
a few more webdav frontend tests
2016-02-17 13:33:31 +01:00
Sebastian Stenzel
f93d32c6fb
faster directory moving (no recursive iteration on filesystem needed any longer)
2016-02-17 12:05:16 +01:00
Sebastian Stenzel
a909095a1c
Fixed reuse of directory-IDs after moving encrypted directories but keeping references to the old locations.
...
This caused an illegal state where two different directories share the same directory id, making further file operations on these directories virtually impossible.
2016-02-15 23:31:09 +01:00
Sebastian Stenzel
03208ebc5e
fixed CryptoFolder (damn partial commits...)
2016-02-15 22:39:52 +01:00
Sebastian Stenzel
c41225eab6
Code simplification
2016-02-15 22:34:11 +01:00
Sebastian Stenzel
2725b6b920
not spawning new threadpools for each individual encryption/decryption job anymore
2016-02-15 16:35:30 +01:00
Sebastian Stenzel
ed0540e78f
Using Runnable instead of Consumer for InMemoryWritableFile's reference to InMemoryFile's delete function [ci skip]
2016-02-15 15:55:54 +01:00
Markus Kreusch
8cdb6d0eab
Fixed CryptoFileSystem
...
* avoid creation of a file and folder with equal names
2016-02-14 23:07:55 +01:00
Markus Kreusch
932e26f6a6
Added further invariant tests
2016-02-14 23:06:16 +01:00
Sebastian Stenzel
53a9b08dd6
fixed unit test
2016-02-14 21:00:12 +01:00
Sebastian Stenzel
752601f4da
further crypto layer optimizations for WebDAV compliance
2016-02-14 20:50:42 +01:00
Sebastian Stenzel
cf64a6c425
fixed webdav copy/move [ci skip]
2016-02-14 00:26:47 +01:00
Sebastian Stenzel
f0cb91b22f
- separated crypto filesystem and nameshortening filesystem for easier invariant testing
...
- creation of crypto filesystem only via DI in all integration tests (package-private constructor)
- new Maven module "filesystem-crypto-integration-tests" for tests as well as to provide a ready-to-use Dagger Component for integration tests in other modules.
2016-02-13 14:33:16 +01:00
Sebastian Stenzel
0d82e7dcc7
code simplicifaction + lockmanager unit tests
2016-02-12 14:31:47 +01:00
Sebastian Stenzel
bf5988f5fe
renamed packages
2016-02-12 13:01:03 +01:00
Sebastian Stenzel
3d24bc74b1
only one token must match, see http://www.webdav.org/specs/rfc2518.html#rfc.section.9.4.2 [ci skip]
2016-02-12 12:57:36 +01:00
Sebastian Stenzel
6f15ea0e1e
passing litmus cond_put_corrupt_token test [ci skip]
2016-02-12 12:38:24 +01:00
Sebastian Stenzel
93ef366125
now passing 94.6% of litmus lock tests
2016-02-12 01:01:26 +01:00
Sebastian Stenzel
cbcefc4eb5
- check locks, even when no if-header is present
...
- updated Jackrabbit
2016-02-11 00:24:13 +01:00
Sebastian Stenzel
42b852b622
removed logging [ci skip]
2016-02-10 22:46:39 +01:00
Sebastian Stenzel
12fcf5aeaf
several WebDAV compliance fixes
2016-02-10 19:23:43 +01:00
Sebastian Stenzel
a1a81cc0ba
ROOT directory file no longer needed. root directory id is now "" by convention.
2016-02-08 21:53:24 +01:00
Sebastian Stenzel
853744002c
prohibiting block swapping by adding file-IV and blocknumber to MAC
2016-02-08 18:47:02 +01:00
Sebastian Stenzel
4d2a786504
new vault-internal file extensions (no extension at all for files, "_" suffix for directories)
2016-02-08 15:17:50 +01:00
Sebastian Stenzel
bb185c3170
fixed bug causing directories to disappear immediately after renaming to a long name.
2016-02-08 15:16:43 +01:00
Sebastian Stenzel
e5d095606f
chunk layout version 3 (random nonce per block)
2016-02-08 13:57:19 +01:00
Sebastian Stenzel
4a60e94183
version 3 header (no nonce, CTR mode)
2016-02-08 13:14:20 +01:00
Sebastian Stenzel
1d6f4284c8
determine file size of all files during directory listing [ci skip]
2016-02-08 12:40:54 +01:00
Sebastian Stenzel
eb1b4a9fe3
updated license header
2016-01-29 02:09:10 +01:00
Sebastian Stenzel
64775a7d19
using Guavas ByteStreams.copy where possible
2016-01-29 02:06:52 +01:00
Sebastian Stenzel
8784115c75
report client version in user agent header during update checks [ci skip]
2016-01-29 01:11:13 +01:00
Markus Kreusch
56fcb99248
Test filesystem api
...
* Invariant tests for the File interface
* Invariant tests for reading / writing files
** Due to missing features currently ignoring CryptoFileSystem
2016-01-28 23:26:49 +01:00
Markus Kreusch
bfe0a50205
Fixed ShorteningFileSystem/Folder
...
* ShorteningFileSystem now exists after instantiation
* Creation of ShorteningFolder does no longer fail
2016-01-28 23:25:51 +01:00
Sebastian Stenzel
26aa18de77
Restored I/O graph
2016-01-28 21:21:21 +01:00
Sebastian Stenzel
6af4ee08f7
I/O statistics filesystem layer
2016-01-28 20:49:32 +01:00
Sebastian Stenzel
4059f99fd5
restored DelegatingReadableFile and DelegatingWritableFile for I/O stats
2016-01-28 20:33:16 +01:00
Sebastian Stenzel
0dc30c27d9
added crypto file system tests
2016-01-28 19:49:20 +01:00
Sebastian Stenzel
3696fea3ee
fixed invalid string formatter pattern
2016-01-28 19:07:10 +01:00
Sebastian Stenzel
bb34f5c17d
nameshortening tests
2016-01-28 19:05:34 +01:00
Sebastian Stenzel
b2a37c4b95
- read XOR write during BlockAlignedWritableFile (not r+w at the same time)
...
- simplified DelegatingFileSystem
2016-01-27 20:14:51 +01:00
Sebastian Stenzel
a972480e72
supporting change password again - now via CryptoFileSystemFactory
2016-01-27 18:21:47 +01:00
Sebastian Stenzel
091a44e65d
exception handling during mount/unmount/reveal operations
2016-01-27 14:46:48 +01:00
Sebastian Stenzel
c56d0b7d4a
first compile-clean attempt to integrate the layered I/O subsystem with the existing UI
2016-01-26 20:17:33 +01:00
Sebastian Stenzel
e4d626eef5
added some basic integration tests for the WebDavServer
2016-01-25 16:48:11 +01:00
Sebastian Stenzel
9052e7995f
added WebDavServer class to webdav frontend
2016-01-25 16:13:21 +01:00
Sebastian Stenzel
e23baa33f9
updated copyrights
2016-01-25 14:32:15 +01:00
Sebastian Stenzel
8d7c3a8f7b
renamed module
2016-01-25 14:30:51 +01:00
Markus Kreusch
56b061206a
Deleting temporary directories created in tests on shutdown
...
* Deleting using a shutdown hook (other approaches didn't work)
2016-01-25 00:03:22 +01:00
Markus Kreusch
f081e7d3ea
Removed SharedFileChannel transferTo and corresponding methods
...
* Removed from SharedFileChannel and Test
* Refactored Copier#copy(File,File) to sequence of truncated, followed
by looping read and write till EOF
* Changed tests accordingly
* Implemented CryptoWritableFile#truncate to make things work
2016-01-24 22:14:06 +01:00