Commit Graph

57 Commits

Author SHA1 Message Date
Sebastian Stenzel
30dc8eecb1 - Refactored WebDavMounter (using Guice)
- implemented warm start for windows mounts
2015-02-22 13:21:08 +01:00
Sebastian Stenzel
4d979c26f6 (hopefully) fixed NPE in FXMLLoader.
see http://stackoverflow.com/questions/26434758/npe-in-fxmlloader/26436265#26436265
2015-02-22 12:36:17 +01:00
Sebastian Stenzel
8ba89a3bf5 Injecting Cryptor using Guice 2015-02-20 21:30:33 +01:00
Sebastian Stenzel
b68cf71494 - always check HMAC before decryption
- separating AES and CMAC key during SIV mode
2015-02-20 19:47:45 +01:00
Sebastian Stenzel
5569ecbfc7 fixes #23 2015-02-19 19:50:03 +01:00
Sebastian Stenzel
3187520797 - fixed special chars in folder names
- fixed IndexOutOfBoundsException
- removal of no longer existing vault directories (at runtime)
2015-02-15 00:48:03 +01:00
Sebastian Stenzel
9fdd2f339c - changed file name encryption to SIV mode
- vastly improved exception handling, if decryption of a path name fails
2015-02-14 18:55:33 +01:00
Tillmann Gaida
def70c5891 Removed static resources in WebDavServer, FXThreads and Settings with
dependency injection. Replaced static references to MainApplication in
the context of closing resources with an injected DeferredCloser. Using
controller factory for dependency injection into FX controllers.
2015-02-14 14:11:55 +01:00
Sebastian Stenzel
efac770915 allow adding *.cryptomator files to vault list 2015-02-13 21:22:26 +01:00
Sebastian Stenzel
5e0ebab587 refactored "add vault" functionality, which fixes #14
removed some dependencies
refactored Main/MainApplication, which fixes #16
2015-02-13 19:46:07 +01:00
Tillmann Gaida
a72f8ba8ab Added the new mount name to the web dav mounter interface. Under OSX, we
can now use the name, which fixes #5
2015-01-25 12:42:16 +01:00
Sebastian Stenzel
999285617d Merge pull request #28 from Tillerino/windowsNames
Pretty network drive names on Windows
2015-01-25 12:05:04 +01:00
Tillmann Gaida
cd5e878a26 Bugfix (magic file open handler broke context class loader for event
thread)
2015-01-23 16:25:54 +01:00
Tillmann Gaida
0a671aa9bc Addition of a name to the context path of the WebDAV servlet. The name
will then appear as the name of the network drive on Windows.
The name is "normalized" down to characters, which are certain to be
accepted. I added a field to the unlock controller, which normalizes the
name as you type.
2015-01-23 14:28:22 +01:00
Sebastian Stenzel
8cc445a12a New application icon by Thomas Pähler 2015-01-23 00:20:40 +01:00
Sebastian Stenzel
9fd271ad7b fixed NPE 2015-01-22 21:42:45 +01:00
Tillmann Gaida
edfd264e47 Changes proposed by @totalvoidness in code review 2015-01-21 19:54:10 +01:00
Tillmann Gaida
0cfc3fb7f7 Prevents starting a second instance of the GUI and forwards
main-method-arguments to the running instance. Command line arguments
are treated by showing the corresponding folder in the GUI.

If an argument is a folder, it is shown directly. If an argument is a
.masterkey.json file, the parent directory is shown. If an argument does
not exist, but the folder can be created, the newly created folder is
shown.

It was necessary to move the main function away from the MainApplication
class because running the main method of a class, which extends the
javafx Application class, will start a non-daemon thread. This prevents
the VM from exiting naturally.

OSX needs its own mechanism, which is implemented in OS-specific code.
It is vital that the required handler is added in the main thread of the
application, not the Java FX thread, which is a bit awkward to
implement. Since it is possible to open .cryptomator packages on OSX,
this extension is now hidden in the folder list.
2015-01-21 17:35:25 +01:00
Sebastian Stenzel
0aef60efc4 - Single Jetty instnace (fixes #19) 2015-01-15 12:27:10 +01:00
Sebastian Stenzel
523f38c69e - Updated L&F for Mac OS X: Greyed out controls, if window is inactive. 2015-01-10 19:40:20 +01:00
Sebastian Stenzel
3ff8d6bc19 - fixed error during exception handling, if trying to decrypt vault with unsupported key length 2015-01-10 15:51:46 +01:00
Sebastian Stenzel
7ce6ed6abb - shows application icon in notification center 2015-01-10 15:23:49 +01:00
Sebastian Stenzel
be0b4859e3 - Adjusted win L&F of checkbox 2015-01-09 15:45:45 +01:00
Sebastian Stenzel
deb10c1256 - Allows the user to configure optional MAC verification before decrypting content (Fixes #17) 2015-01-07 20:00:09 +01:00
Sebastian Stenzel
b6b3360325 - Bugfix broken settings file 2015-01-07 19:59:00 +01:00
Sebastian Stenzel
4f91adb822 - allow reordering of directories via drag'n'drop 2014-12-28 16:46:14 +01:00
Sebastian Stenzel
cc35430dee - fixes #4 2014-12-28 14:25:53 +01:00
Sebastian Stenzel
f4c7dc1bbd - fixed requestFocus of password field when entering wrong password 2014-12-24 15:12:54 +01:00
Sebastian Stenzel
3f32e4ee4b - Fixed initial encryption of vaults, that already contain files
- Disabled some UI controls during background tasks
- Simplified background vs UI thread switches using https://github.com/totalvoidness/FXThreads
2014-12-24 14:10:30 +01:00
Sebastian Stenzel
be5cf287c8 - win7/8 theme 2014-12-23 22:28:51 +01:00
Sebastian Stenzel
71892108b3 - L&F improvements on OS X 2014-12-22 22:39:22 +01:00
Sebastian Stenzel
1d05e878ab - Support for HTTP Range header fields, thus vastly improved performance for video streaming
- Simplified cryptor implementation for partial decryption
2014-12-21 16:54:47 +01:00
Sebastian Stenzel
3cdda99c67 - closing _all_ process streams
- allowing multiple accesses to stdout / stderr in O(1)
2014-12-16 20:46:48 +01:00
Sebastian Stenzel
6b45d62aa1 - reduced visibility 2014-12-16 17:18:20 +01:00
Sebastian Stenzel
b7f3f00ce2 - Further simplification by using Futures :) 2014-12-16 16:56:42 +01:00
Sebastian Stenzel
dbadf54893 - General Simplification
- Refactoring: Using Concurrency API now.
- TODO: Use Futures instead of blocking methods
2014-12-16 12:14:54 +01:00
Sebastian Stenzel
38a0cfb2eb - faster unit test using insecure PRNG - test only ;) 2014-12-16 12:13:01 +01:00
Sebastian Stenzel
c743fa8bdc - fixed clean unmounting
- fixed correct subprocess status codes (not using status code of parent shell)
2014-12-16 01:35:00 +01:00
Sebastian Stenzel
8c2fe14e41 - bugfix: slow webdav on windows (http://support.microsoft.com/kb/2445570)
- bugfix: windows mount on non-german installations
- bugfix: system-dependent implementation of mount commands now done in specific strategy. no linux-specific URI outside of mount package, thus working on OS X again and simplified windows code
- change: now using ipv6
2014-12-15 23:46:06 +01:00
Markus Kreusch
c1f4ab6ada Refactored script execution 2014-12-15 22:50:53 +01:00
Markus Kreusch
a2c3b38a75 refactored WebDavMounter, now using strategy pattern 2014-12-14 21:54:10 +01:00
Sebastian Stenzel
2fb35c59d4 - remove vaults using context menu
- locked/unlocked indicator
2014-12-13 21:24:48 +01:00
Sebastian Stenzel
afc62656bf - learning mathematics 2014-12-13 15:08:26 +01:00
Sebastian Stenzel
863b2ec423 - Added throuput statistics 2014-12-11 19:46:57 +01:00
Sebastian Stenzel
51e2e94ca9 - All modules use Java 8 now
- Fixed incorrect "last modified" date
- Simpler warning dialog when using non-empty directory as new vault location
2014-12-11 17:03:19 +01:00
Sebastian Stenzel
b6546f24d5 - minimizes to tray when vaults are still unlocked (i.e. webdav shares still mounted) 2014-12-11 00:27:44 +01:00
Sebastian Stenzel
5fe54634a9 - cleanup
- fix: now showing correct view, when selecting an already mounted directory
2014-12-10 12:47:35 +01:00
Sebastian Stenzel
2fdf9be017 - Encrypt existing directory content on vault initialization 2014-12-09 18:25:59 +01:00
Sebastian Stenzel
1de2d9d2da linux mount with gvfs 2014-12-09 11:36:29 +01:00
Sebastian Stenzel
d0f0c09585 - Improved shutdown hooks
- Redesigned UI, now a single-window application (todo: minimize to tray)
2014-12-09 10:50:09 +01:00