Sebastian Stenzel
f75cf48d7b
fixed that test...
2016-01-04 21:03:09 +01:00
Sebastian Stenzel
578f52f4ba
cleanup, attempt to fix test
2016-01-04 20:46:10 +01:00
Sebastian Stenzel
ae55874709
Random Access Decryption
2016-01-04 20:31:49 +01:00
Sebastian Stenzel
f46a79fa63
Added test for AuthenticationFailedException during filename decryption
2016-01-02 14:40:17 +01:00
Markus Kreusch
ff4448bac0
Tests for filesystem-nio
...
* Renamed tests from ...IntegrationTest back to ...Test
** to allow better integration with moreunit
** because some methods of the classes can only be integration tested
some not which lead to a strange splitting of the tests
* Added more tests
2016-01-02 02:05:18 +01:00
Sebastian Stenzel
e9f5593e33
fixed InMemoryFileSystem: Only one volatile file/folder for a given name at a time.
2016-01-01 23:09:48 +01:00
Sebastian Stenzel
a9744167c1
new filesystem-aware WebDAV LocatorFactory
2016-01-01 22:48:16 +01:00
Sebastian Stenzel
4e7f3503d9
adjusted in-memory filesystem to comply with API (return files/folders when requested, even though the oposite kind exists for the given name)
2016-01-01 22:44:46 +01:00
Markus Kreusch
71face8091
Tests for filesystem-nio
...
* Renamed existing tests to ...IntegrationTest
* Created Unit-Tests for Readable- and WritableNioFile (incomplete)
2016-01-01 19:00:39 +01:00
Sebastian Stenzel
0c2caf4469
Even more FifoParallelDataProcessor simplification + test
2016-01-01 16:15:36 +01:00
Sebastian Stenzel
9665ca8dff
Simplified FifoParallelDataProcessor
2016-01-01 16:06:19 +01:00
Sebastian Stenzel
c3652a22a0
reject execution when shut down
2016-01-01 14:10:15 +01:00
Sebastian Stenzel
3043aa29c2
added enc/dec benchmark test
2016-01-01 13:49:20 +01:00
Sebastian Stenzel
a388acfce4
added test
2016-01-01 12:50:25 +01:00
Markus Kreusch
64dec64e95
Created NioWebDavServer
...
* Extracted Server-logic from InMemoryWebDavServer to
FileSystemBasedWebdavServer
* Made InMemoryWebdavServer and NioWebdavvServer use
FileSystemBasedWebdavServer
2015-12-31 17:46:24 +01:00
Markus Kreusch
39535d08e7
Implemented NioFile
...
* Implementation of NioFile methods
* Extracted Readable/WritableNioFile into separate classes
** Created SharedFileChannel to allow Readable/WritableNioFile for the
same NioFile to use a single, shared FileChannel
* Added tests for NioFile
* Tests for Readable/WritableNioFile pending
2015-12-31 16:49:54 +01:00
Markus Kreusch
806e366a72
Added test for Copier
...
* Created Test covering all lines and mutations
* Added HierachicalContextRunner dependency to allow more structured
tests
2015-12-30 20:53:27 +01:00
Markus Kreusch
db4b8955f4
Implemented missing tests for NioFolder
2015-12-30 17:05:02 +01:00
Markus Kreusch
1bf0c76918
Added tests for NioFolder
...
* Completed testcases
* Implemented most of them (2 missing)
* Added OptionalMatcher
2015-12-30 00:43:02 +01:00
Sebastian Stenzel
282fd5ecee
added copyright header [ci skip]
2015-12-29 22:09:12 +01:00
Sebastian Stenzel
634f176cf9
Added block-aligned read/write
2015-12-29 22:05:19 +01:00
Sebastian Stenzel
c86068d7bb
updated InMemoryFile to support distinct read and write access without mixing up positions and stuff
2015-12-29 21:58:47 +01:00
Markus Kreusch
6acbba476b
Fixed weak valued cache test
...
* Test should no longer fails when JVM memory is more than
Integer.MAX_VALUE
2015-12-29 21:48:00 +01:00
Sebastian Stenzel
9385c3bf6d
separated filename shortening layer from metadata hiding layer
2015-12-29 16:24:42 +01:00
Sebastian Stenzel
aa89f60c2f
package name org.cryptomator.webdav.jackrabbit was ambiguous
2015-12-29 14:29:25 +01:00
Sebastian Stenzel
44d1250986
Added new filesystem layer for read/write alignment with boundary of encrypted chunks.
2015-12-29 13:41:47 +01:00
Sebastian Stenzel
c21654eac1
DelegatingFileSystem: Use factories for Files, Folders, ReadableFiles and WritableFiles
2015-12-29 11:46:37 +01:00
Sebastian Stenzel
c466c7e3ba
New base class for filesystem decorators, which basically just delegate work to the underlying file system
2015-12-29 10:50:23 +01:00
Sebastian Stenzel
3317babe6b
renamed package org.cryptomator.crypto.fs to org.cryptomator.filesystem.crypto (same as all other org.cryptomator.filesystem.* filesystems) [ci skip]
2015-12-29 07:50:31 +01:00
Sebastian Stenzel
3998a7cd58
typo [ci skip]
2015-12-29 07:47:03 +01:00
Markus Kreusch
260303127e
Replaced DirectoryWalker by FileSystemVisitor
2015-12-28 23:07:09 +01:00
Markus Kreusch
d073bdfad9
Removed FolderCreateMode from filesystem api
...
* Folder#create now always creates the parents
2015-12-28 21:29:34 +01:00
Markus Kreusch
62d8cdfe4f
Added commons project
2015-12-28 20:58:38 +01:00
Markus Kreusch
356ea5c319
Refactored filesystem api
...
* Removed Readable- and WritableBytes
** Replaced with Readable-/WritableByteChannel
** Methods now integrated in Readable- and WritableFile
** Replaced positioned read/write by method to set the position
2015-12-28 20:54:18 +01:00
Markus Kreusch
1804a52740
Restructured test dependencies
...
* All modules now have commons-test as test dependency.
* commons-test has dependencies to junit, hamcrest and mockito
2015-12-28 19:30:40 +01:00
Markus Kreusch
3dd9c623f0
Fixed typo
2015-12-28 19:29:35 +01:00
Markus Kreusch
157839c32f
Changes to filesystem API and nio implementation
...
* Partial implementation of nio filesystem
* Addded some tests
* Added project for common test dependencies
* Removed default implementation of Folder#delete
** reason: didn't work because empty folders were not deleted and this
cannot be done in the default implementation
2015-12-28 16:32:09 +01:00
Sebastian Stenzel
0254569826
webdav move/copy/delete
2015-12-28 14:06:40 +01:00
Sebastian Stenzel
389c49d846
PUT and MKCOL support. Simplified paths (utilizing a servlet filter to make sure, directory paths always end on "/" while file paths don't).
2015-12-27 21:53:50 +01:00
Sebastian Stenzel
d3000da2e9
added javax.servlet-api dependency needed by jackrabbit
2015-12-24 00:40:39 +01:00
Sebastian Stenzel
c4eee58f72
moved debug log4j config to correct directory [ci skip]
2015-12-24 00:33:38 +01:00
Sebastian Stenzel
e67c8f2816
first experiments with jackrabbit-filesystem-adapter
2015-12-24 00:32:07 +01:00
Sebastian Stenzel
dc5d3e21f3
Externalized FileHeader encryption/decryption to separate class
2015-12-20 14:51:53 +01:00
Sebastian Stenzel
80e1185325
Adding blocking behaviour when appending data to be en/decrypted.
...
Using composite instead of inheritance for FileContentDecryptorImpl and FileContentEncryptorImpl
2015-12-20 12:42:02 +01:00
Sebastian Stenzel
49c70c03fe
now also testing MAC against openssl-computed result.
...
also we're testing encryption of "hello world" instead of "hello world " now :D
[ci skip]
2015-12-20 11:13:08 +01:00
Sebastian Stenzel
3045805751
File content encryption and decryption (still without padding, no partial support)
2015-12-20 00:38:14 +01:00
Sebastian Stenzel
4e0143eb05
started implementation of FileContentEncryptorImpl
2015-12-19 18:22:03 +01:00
Sebastian Stenzel
951a02a9a5
cleanup
2015-12-19 11:26:35 +01:00
Sebastian Stenzel
69b192fe82
shutting down file reader when closing the readablefile
2015-12-19 01:15:54 +01:00
Sebastian Stenzel
a055066f72
added timeouts to crypto fs tests
2015-12-19 00:54:51 +01:00