Commit Graph

497 Commits

Author SHA1 Message Date
Markus Kreusch
c93e4e462b Added dagger to filesystem-invariants-tests
* Added dependencies to pom
* Moved dagger version in parent pom to variable
2016-02-20 19:58:30 +01:00
Markus Kreusch
6950ad496a Removed /foo from server path 2016-02-20 19:58:30 +01:00
Sebastian Stenzel
8a7fca7a95 amendment to previously committed unit test [ci skip] 2016-02-20 18:10:26 +01:00
Sebastian Stenzel
a5e6c9fb9b added concurrent read invariant test 2016-02-20 17:43:32 +01:00
Sebastian Stenzel
382c3a0258 correct answer to well-formed but still unsatisfiable range request 2016-02-20 14:34:11 +01:00
Sebastian Stenzel
7f313772e5 fixed random access positioning 2016-02-20 14:10:46 +01:00
Sebastian Stenzel
3a82dfb23f - fixed return value of readBlockAligend
- adjusted loglevel of BlockAlignedWritableFile
[ci skip]
2016-02-20 12:34:14 +01:00
Sebastian Stenzel
b85a110a24 - report authentication error on the UI
- reduced visibility of some classes
2016-02-18 16:39:34 +01:00
Sebastian Stenzel
5a84228678 removed duplicate test case [ci skip] 2016-02-17 17:37:38 +01:00
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