Sebastian Stenzel
12fcf5aeaf
several WebDAV compliance fixes
2016-02-10 19:23:43 +01:00
Sebastian Stenzel
eb1b4a9fe3
updated license header
2016-01-29 02:09:10 +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
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
Markus Kreusch
406a9970ba
Fixed InMemoryFile#copyTo
...
* Does always copy the full contents
* Does always overwrite all contents in the target file
* Added file invariant test to test write after read returns written
bytes
2016-01-24 00:42:59 +01:00
Sebastian Stenzel
a6bbc0ed44
- CryptoFS + InMemory Benchmark test
...
- faster growing in-memory files
2016-01-23 02:07:13 +01:00
Markus Kreusch
51f5b6661f
Adjusted fix for issue in CryptoFileSystem when deleting a file
...
* CryptoWritableFile now only invokes writeTaks.get if not already
closed
* CryptoWritableFile now cancels writeTask before delete
2016-01-16 00:47:13 +01:00
Markus Kreusch
20e7f4a548
Added FolderChildrenTests and FolderTests
...
* implemented some testcases
* fixed some issues
2016-01-15 19:13:46 +01:00
Sebastian Stenzel
3b178030c7
- Fixes #128 and #119 by using unique directory id as associated data during filename encryption/decryption
...
- Using WeakValuedCache in all filesystem layers to prevent "twin" instances of the same folder
- Merge branch 'layered-io' of https://github.com/cryptomator/cryptomator into layered-io
2016-01-10 16:27:56 +01:00
Markus Kreusch
5ff4f4c9c7
Changed handling of creation time
...
* creationTime now creates an Optional
* Removed FileSystem#supports and FileSystemFeature
2016-01-09 19:15:07 +01:00
Sebastian Stenzel
fcf4476ae3
Added ReadableFile#size()
2016-01-09 16:39:14 +01:00
Markus Kreusch
415423abd7
Added creation time
...
* Getter and setter for files and folders
* A way to determine if a file system supports creation dates
* WebDav compliant implementation in jackrabbit-adapter
* Tests
2016-01-09 00:51:25 +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
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
Sebastian Stenzel
282fd5ecee
added copyright header [ci skip]
2015-12-29 22:09:12 +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
Sebastian Stenzel
9385c3bf6d
separated filename shortening layer from metadata hiding layer
2015-12-29 16:24:42 +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
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
Sebastian Stenzel
0254569826
webdav move/copy/delete
2015-12-28 14:06:40 +01:00
Sebastian Stenzel
951a02a9a5
cleanup
2015-12-19 11:26:35 +01:00
Sebastian Stenzel
a879ed2237
Preparations for file content encryption (no partial support yet)
2015-12-18 22:07:12 +01:00
Sebastian Stenzel
9711314080
removed unused code [ci skip]
2015-12-18 00:09:48 +01:00
Sebastian Stenzel
b22ac719f2
renamed filesystem layer maven modules
2015-12-18 00:06:31 +01:00
Markus Kreusch
25eed3dc4a
Changes to filesystem API and nio implementation
...
* Partial implementation of nio filesystem
* Removed timeouts from openReadable and openWritable
* Added convenience methods for copying
* Added utility to support deadlock safe opening of multiple files
2015-12-17 23:46:58 +01:00
Sebastian Stenzel
92e9fc5871
Merge code coverage metrics from branch 'master' into layered-io
2015-12-15 21:35:01 +01:00
Sebastian Stenzel
70eb0c99e4
implemented encryption/decryption of masterkey file in crypto layer
2015-12-15 19:50:42 +01:00
Sebastian Stenzel
35bb042430
moved CryptoFolder.contains(Node) to Folder.isAncestorOf(Node), clarified a few javadocs
2015-12-15 13:50:50 +01:00
Sebastian Stenzel
762f362784
adjusted to updated API, restored Folder.copy and Folder.move
2015-12-15 02:27:41 +01:00
Sebastian Stenzel
99015680b1
began implementation of new filesystem api based encryption layer
2015-12-14 19:20:00 +01:00