Jan-Peter Klein
fac72ca24a
undo remove settings port
2023-12-06 09:44:05 +01:00
Jan-Peter Klein
e7e88f13e3
improved code quality
2023-11-17 14:51:13 +01:00
Jan-Peter Klein
49769f986a
remove port from settings
2023-11-03 10:47:43 +01:00
Sebastian Stenzel
6ce34efb52
Merge branch 'develop' into feature/new-hub-keyloading
2023-07-28 15:23:00 +02:00
JaniruTEC
ae392b4014
Refactored "handleMountPointFolder" (now: "getMountPointState")
...
See: https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1273277804
2023-07-25 13:34:39 +02:00
JaniruTEC
1c34402c87
Applied minor corrections
...
See:
https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1273277251
https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1273280687
https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1273287847
2023-07-25 13:17:21 +02:00
JaniruTEC
587cff9518
Added more tests
2023-07-24 19:22:47 +02:00
JaniruTEC
ea8e850aa9
Moved check for dir/emptiness to "handleMountPointFolder"
2023-07-24 19:15:22 +02:00
JaniruTEC
9bb24320bf
Stopped user from mounting to vaults to the same path
2023-07-24 18:53:19 +02:00
JaniruTEC
59d89faf38
Turned calls to "assumeTrue" into guard functions
...
See: https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1270734307
2023-07-21 16:48:33 +02:00
JaniruTEC
8f67404766
Fixed method violating API contract
...
See: https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1269458822
2023-07-21 15:35:56 +02:00
JaniruTEC
1942850888
Replaced OS-Check with Assumptions
...
See: https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1269461956
2023-07-20 16:44:49 +02:00
JaniruTEC
821cc0940d
Stopped wrapping IOEs as UncheckedIOEs
...
See:
https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1269444937
https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1269445672
https://github.com/cryptomator/cryptomator/pull/2996#discussion_r1269445894
2023-07-20 16:34:51 +02:00
JaniruTEC
419a7ab245
Fixed faulty unit test
2023-07-19 23:53:58 +02:00
JaniruTEC
f9f8a6b357
Added unit tests for MountWithinParentUtil
2023-07-19 15:39:14 +02:00
Sebastian Stenzel
e358ffd666
added tests
2023-07-04 16:47:54 +02:00
Armin Schrenk
2c984ad405
use system property path.separator and fix failing unit test on windows
2023-07-04 16:31:28 +02:00
Sebastian Stenzel
746c8f54eb
Merge branch 'develop' into feature/new-hub-keyloading
...
# Conflicts:
# src/main/java/org/cryptomator/ui/keyloading/hub/CreateDeviceDto.java
# src/main/java/org/cryptomator/ui/keyloading/hub/RegisterDeviceController.java
2023-06-30 16:20:59 +02:00
Sebastian Stenzel
ed8457ff36
remove dead test
2023-06-30 13:53:25 +02:00
Sebastian Stenzel
e382a3bab9
make settings' fields public, remove accessor methods
2023-06-30 13:52:15 +02:00
Sebastian Stenzel
9cd50e8ae4
Merge pull request #2974 from cryptomator/feature/replace-gson
...
Replace GSON with Jackson
2023-06-30 13:48:19 +02:00
Armin Schrenk
29d63a0a83
final clean up
2023-06-30 11:57:09 +02:00
Armin Schrenk
8c3ede0d2a
clean up
2023-06-30 11:20:28 +02:00
Armin Schrenk
ee82965ef5
adding "integration tests"
2023-06-30 11:20:07 +02:00
Armin Schrenk
ab048508a8
change getProperty(key, default) and add unit test
2023-06-30 10:57:36 +02:00
Sebastian Stenzel
b1ff94bdd6
replace GSON from settings
2023-06-29 22:41:19 +02:00
Armin Schrenk
79eea4814e
renamed class
2023-06-29 18:56:32 +02:00
Armin Schrenk
cee0486d71
adding unit tests for getProperty
2023-06-29 18:55:49 +02:00
Armin Schrenk
24fc2888ef
more unit tests
2023-06-29 18:20:25 +02:00
Armin Schrenk
9b0c940195
readd unit tests for Environment.java
2023-06-29 18:13:54 +02:00
Armin Schrenk
c0368f2a50
Merge branch 'develop' into feature/preprocess-properties
2023-06-29 12:39:31 +02:00
Armin Schrenk
ebc60c4fb3
make process function reliable testable and adjust unit test
2023-06-29 12:35:59 +02:00
Sebastian Stenzel
b2a184bdf0
ignore unknown fields during JWT deserialization
2023-06-29 12:02:33 +02:00
Armin Schrenk
01da51e6e7
Refactor properties preprocessing:
...
* decorate Properties class
* set the system properties to decorator
* for logging setup, skip enviroment and access props over decorator
2023-06-29 11:37:35 +02:00
Sebastian Stenzel
5a18d086e0
register device using a setup code
2023-06-22 17:16:00 +02:00
Armin Schrenk
5e52f715ce
Merge branch 'develop' into feature/preprocess-properties
2023-06-21 10:31:43 +02:00
Armin Schrenk
ec645a4bb9
replace ~ by @{userhome} on unix systems
2023-06-20 16:37:32 +02:00
Armin Schrenk
2c0474ec46
add test
2023-06-20 12:37:07 +02:00
Jan-Peter Klein
3bf4473f9d
implemented changes mentioned by overheadhunter
2023-06-16 11:13:24 +02:00
Jan-Peter Klein
f92c436339
reformat code and optimize imports
2023-06-15 13:12:10 +02:00
Jan-Peter Klein
f054a1af03
optimized tests and some code docu
2023-06-15 10:54:44 +02:00
Jan-Peter Klein
d680c5812d
cleaned up code and using parameterized tests
2023-06-14 16:10:11 +02:00
Jan-Peter Klein
3120751d3e
resolved sonarclouds mentioned issues
2023-06-13 12:48:35 +02:00
Jan-Peter Klein
3c623b7ed1
cleaned up code
2023-06-12 21:04:54 +02:00
Jan-Peter Klein
8f3f23939c
created some tests for ErrorController
2023-06-12 13:50:43 +02:00
Sebastian Stenzel
59f5c0cb12
started new unlock workflow using user-specific private key
2023-05-09 17:09:49 +02:00
Jürgen Kleer
10c60d7492
https://github.com/cryptomator/cryptomator/issues/2813
...
> List of languages should have system default, English and then all other languages in alphabetic order.
> That is, in alphabetic order with respect to the language the list is localized in (seems to be English always)
2023-04-26 15:24:50 +02:00
Armin Schrenk
2e0908ab15
replace config manually instead of using CryptoFileSystem.init()
2023-04-21 09:40:34 +02:00
Armin Schrenk
d9f945e70a
Apply suggestions from code review
...
more renaming
Co-authored-by: Tobias Hagemann <tobias.hagemann@skymatic.de >
2023-04-18 15:34:20 +02:00
Armin Schrenk
dc9b39202f
rename classes
2023-04-18 14:34:48 +02:00