Kenneth Hsu
52790cc7a9
Throw exception if backup-test-percentage is out of range.
2019-01-04 12:21:37 -08:00
Hendrik and GitHub
bb5ec8253d
Merge pull request #3580 from warwickmm/simplify_if_condition
...
Remove condition that is always true
2019-01-03 22:34:36 +01:00
Kenneth Hsu
edfa7096f6
Add option to specify percentage of samples for verification.
...
This addresses issue #3296 .
2019-01-02 15:51:19 -08:00
Kenneth Hsu
9c7f71a63d
Remove unnecessary newline.
2019-01-02 15:45:53 -08:00
Kenneth Hsu
ca6bbdc37a
Remove unnecessary line breaks.
2019-01-02 15:45:53 -08:00
Kenneth Hsu
16da136a6a
Avoid redundant addition of trailing slashes to folder names.
...
The trailing slash is added when the folder name is pushed onto the
stack.
2019-01-02 15:45:53 -08:00
Kenneth Hsu
7dc240d447
Avoid redundant addition of trailing slashes to folder names.
...
The Utility.EnumerateFilesAndFolders method will append the trailing
slash as needed.
2019-01-02 15:45:53 -08:00
Kenneth Hsu
1ea1c58e58
Remove condition that is always true.
2019-01-02 15:44:40 -08:00
Hendrik and GitHub
0c53219958
Merge pull request #3573 from warwickmm/remove_empty_finally
...
Remove empty finally blocks
2019-01-02 22:12:36 +01:00
Hendrik and GitHub
edbc7cd732
Merge pull request #3574 from warwickmm/first_or_default_delegate
...
Simplify enumeration of collection
2019-01-01 18:49:39 +01:00
Hendrik and GitHub
ac61adfabc
Merge pull request #3575 from warwickmm/remove_unused_format_arguments
...
Use string interpolation and remove unused String.Format arguments
2019-01-01 18:48:37 +01:00
Hendrik and GitHub
d34ca9ad4a
Merge pull request #3576 from warwickmm/dont_explicitly_rethrow
...
Do not explicitly rethrow exceptions
2019-01-01 18:41:51 +01:00
Kenneth Hsu
036a0ee8b0
Remove unused variable.
2018-12-31 19:31:03 -08:00
Kenneth Hsu
a6153c3cd8
Do not explicitly rethrow exception.
...
When rethrowing an exception, we should do it by simply calling throw;
and not throw exc;, because the stack trace is reset with the second
syntax, making debugging a lot harder.
2018-12-31 15:25:57 -08:00
Kenneth Hsu
e9f0c11f0c
Mark field as readonly.
...
This makes it explicit at compile-time that the field should not be
reassigned.
2018-12-31 15:09:53 -08:00
Kenneth Hsu
577154df00
Remove unused local variables.
2018-12-31 15:02:59 -08:00
Kenneth Hsu
a179a535c8
Rename local variables to better indicate that they are unused.
2018-12-31 14:59:47 -08:00
Kenneth Hsu
fcf89764c3
Remove unnecessary calls to ToString.
2018-12-31 14:29:44 -08:00
Kenneth Hsu
e65bf19221
Remove unused String.Format arguments.
...
We also make use of string interpolation to improve readability.
2018-12-31 14:24:14 -08:00
Kenneth Hsu
0b2036a3fb
Simplify enumeration of collection.
...
This reduces the number of enumerators that need to be created while
also making the code slightly easier to read.
2018-12-31 14:06:27 -08:00
Kenneth Hsu
b7f28aa9f9
Remove empty finally blocks.
...
Empty finally blocks serve no purpose. In cases where no exceptions are
caught, we removed the try as well.
2018-12-31 14:00:43 -08:00
Kenneth Skovhede
72a1556da5
Version bump to v2.0.4.10-2.0.4.10_canary_2018-12-29
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/duplicati-2.0.4.10_canary_2018-12-29.zip
Signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.10_canary_2018-12-29.zip.sig
ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.10_canary_2018-12-29.zip.sig.asc
MD5: 5d5443e04a4a4fe462f24fb2f989ac08
SHA1: 089409d73288d2e46122c35e49a4edce0d4d0622
SHA256: e1b2024b13ec865b0ca9feb7e27b3b2a1266a11bc2db6f5f3bba4d7a68d90fcb
v2.0.4.10-2.0.4.10_canary_2018-12-29
2018-12-29 09:26:45 +01:00
Kenneth Skovhede and GitHub
f8cbd206e0
Merge pull request #3568 from warwickmm/default_excludes_performance
...
Improve performance of default excludes filters
2018-12-29 09:11:45 +01:00
Kenneth Skovhede and GitHub
8fcaf4a089
Merge pull request #3562 from warwickmm/wildcard_filter_performance
...
Improve performance of wildcard filters
2018-12-29 09:10:24 +01:00
Kenneth Hsu
7a106df094
Improve performance of default excludes filters.
...
Previously, the FilterExpression.Expand method would forward the filter
group name to the FilterEntry constructor, which would combine the
group's patterns into one large regex filter. This would result in a
significant decrease in performance, as the regex filters are much
slower than the wildcard filters.
Instead, we can first expand the filter group into its constituent
patterns before presenting them to the FilterEntry constructor. This
preserves their wildcard nature and allows us to take advantage of
faster filtering matching algorithms.
This addresses issue #3395 .
2018-12-28 22:07:59 -08:00
Kenneth Hsu
139420a664
Improve performance of wildcard filters.
...
The mono profiler indicated that a large percentage of the time was
spent allocating the inputPosStack and patternPosStack arrays. By
replacing these with Stacks, we can avoid this unnecessary overhead.
2018-12-28 17:33:46 -08:00
verhoek
0e39997f9e
Modified legacy building logic to use gnupgsigningtool.
2018-12-28 19:56:43 +01:00
verhoek
7df6403a4c
Changed location of project files of gnupg signing tool.
2018-12-28 19:56:14 +01:00
verhoek
1486399a97
Extracted gpg signing from autoupdate builder.
2018-12-28 19:31:40 +01:00
Rune Henriksen and GitHub
487e1de4aa
Merge pull request #3555 from Pectojin/fix_missing_live_logs
...
added back watchers for live logs
2018-12-28 13:23:10 +01:00
Rune Henriksen and GitHub
98932139b0
Merge pull request #3556 from Pectojin/display_fewer_backup_logs
...
reduce backup logs page_size
2018-12-28 13:22:37 +01:00
Rune Henriksen and GitHub
de580b6a84
Merge pull request #3561 from verhoek/fix/fedora_build
...
Fix to allow creation of fedora installer.
2018-12-28 13:20:53 +01:00
Rune Henriksen and GitHub
b0aeddd68f
Merge pull request #3564 from verhoek/fix/gui_test
...
Allow headless testing in container.
2018-12-28 13:17:39 +01:00
Rune Henriksen and GitHub
9dae926d5a
Merge pull request #3567 from drwtsn32x/master
...
Fix Duplicati shutdown issue on Synology
2018-12-28 13:16:51 +01:00
drwtsn32x
4e841ba8fd
Fix Duplicati shutdown issue on Synology
2018-12-27 12:54:08 -08:00
verhoek
6a10cf0c11
Fixed string format options and fixed stdin commandline parsing for gpg2.
2018-12-27 21:34:26 +01:00
drwtsn32x
34d86bb104
Fix Duplicati shutdown issue on Synology
2018-12-27 10:11:10 -08:00
verhoek
8f3915fcab
Removed duplicated gpg code.
2018-12-27 18:48:03 +01:00
verhoek
06fe22f581
Allow headless testing in container.
2018-12-26 09:58:02 +01:00
Hendrik and GitHub
0306b3dd53
Merge pull request #3563 from warwickmm/fix_restore_password
...
Only create passphrase option if passphrase is provided
2018-12-25 09:56:32 +01:00
Kenneth Hsu
b1d5dcc3dd
Only create passphrase option if passphrase is provided.
...
This fixes an issue introduced in revision f7800e8a2b where restores
from the UI would result in the following exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Empty passphrase not allowed
Parameter name: passphrase
This addresses issue #3542 .
2018-12-24 21:28:40 -08:00
Kenneth Hsu
738a36092d
Add test for wildcard filter patterns.
2018-12-24 18:47:46 -08:00
verhoek
1cac8bf668
Fix to allow creation of fedora installer.
2018-12-24 15:32:43 +01:00
Hendrik and GitHub
d73700a508
Merge pull request #3557 from Pectojin/confirm_export_encryption_passphrase
...
added passphrase confirmation
2018-12-24 15:05:16 +01:00
verhoek
f8ce5239f2
Pulled out loadkey method.
2018-12-24 12:01:10 +01:00
verhoek
14133457c6
Merge remote-tracking branch 'origin/master' into auto_updater/allow_for_new_key
2018-12-23 20:36:53 +01:00
verhoek
ae5d6ffcc7
Added option to generate new priv/pub key pair without verifying the manifest.
2018-12-23 20:32:21 +01:00
Rune Henriksen
ce66368997
codacy compliance
2018-12-22 19:17:49 +01:00
Rune Henriksen
bb736f113a
added passphrase confirmation
2018-12-22 18:41:36 +01:00
Rune Henriksen
d94edd3d6f
reduce backup logs page_size
2018-12-22 17:21:26 +01:00