Commit Graph
8782 Commits
Author SHA1 Message Date
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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 HenriksenandGitHub 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 HenriksenandGitHub 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 HenriksenandGitHub 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 HenriksenandGitHub b0aeddd68f Merge pull request #3564 from verhoek/fix/gui_test
Allow headless testing in container.
2018-12-28 13:17:39 +01:00
Rune HenriksenandGitHub 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
HendrikandGitHub 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
HendrikandGitHub 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
Rune Henriksen 1ac051af53 added back watchers for live logs 2018-12-22 17:03:47 +01:00
Kenneth Skovhede 898dbf30db Version bump to v2.0.4.9-2.0.4.9_canary_2018-12-22
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.4.9_canary_2018-12-22.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.9_canary_2018-12-22.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.9_canary_2018-12-22.zip.sig.asc

MD5: 21c8560945bafc60e2eb98a453aeb0a6

SHA1: e593c23143c7ac9aca978933fb5a0fd3c2f83dbd

SHA256: bc6bfdef1bf6927eec657cf9310a1354c5b02d1868cdc1709709cf3a6e978faf
v2.0.4.9-2.0.4.9_canary_2018-12-22
2018-12-22 16:15:53 +01:00
Kenneth SkovhedeandGitHub 56a614f1d9 Merge pull request #3552 from warwickmm/debug/rumps_runner
Add back properties required by RUMPS (Mac status bar)
2018-12-22 15:36:11 +01:00
Rune HenriksenandGitHub cc447de28a Merge pull request #3545 from warwickmm/slow_default_excludes_workaround
Convert regex pattern to wildcard in default excludes group
2018-12-21 07:04:11 +01:00
Kenneth Hsu faf2b0df47 Remove helper method that creates regex filter.
This will discourage the creation of default regex filters, which
exhibit poor performance.
2018-12-20 19:37:36 -08:00
JonMikelVandRune Henriksen fff5145e2f Fix typo in QuotaWarningThresholdLong (#3549)
"quota is less that this" -> "quota is less than this"
2018-12-20 22:07:34 +01:00
Kenneth Hsu da9b46e37e Use auto-properties to avoid explicit backing fields. 2018-12-19 21:33:26 -08:00
Kenneth Hsu 5c72b03343 Add back properties required by RUMPS (Mac status bar).
This addresses issue #3550.
2018-12-19 21:31:23 -08:00
Kenneth Hsu 340d7803cb Convert regex pattern to wildcard in default excludes group.
This provides a workaround for the poor performance of the default
excludes group exhibited by regex filters.  While this wildcard pattern
will potentially exclude more files than the previous regex pattern, in
practice this should not often be the case.

This does not resolve the performance issue of the regex filters.
However, I think in general we should try to avoid expensive
application-specific filters since these will affect the performance for
all users that use the default excludes group, whether the application
is present or not.

This concerns issue #3395.
2018-12-17 18:14:43 -08:00
Rune HenriksenandGitHub 3ab913a707 Merge pull request #3543 from warwickmm/remove_always_true_condition
Remove condition that always evaluates to true
2018-12-17 19:11:46 +01:00
Kenneth Hsu 0a37b9075d Remove condition that always evaluates to true. 2018-12-15 14:23:02 -08:00
Kenneth Skovhede a0af8d00c6 Updated build script to automatically issue git pull before building and git push afterwards. 2018-12-13 15:14:29 +01:00
Kenneth Skovhede 92fa5f3499 Version bump to v2.0.4.8-2.0.4.8_canary_2018-12-13
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.4.8_canary_2018-12-13.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.8_canary_2018-12-13.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.8_canary_2018-12-13.zip.sig.asc

MD5: 12b7d6b4ab3265bf9dba1947c51b7ef8

SHA1: cd4b2a5849952a7f21f6c36ff7e0efeb5ed0aeb2

SHA256: b3b0daac6aa4ad4fbabc642184abddda581aaab32846aba25f0db96764db940f
v2.0.4.8-2.0.4.8_canary_2018-12-13
2018-12-13 15:11:32 +01:00
Kenneth Skovhede a026ead049 Merge branch 'master' of github.com:duplicati/duplicati 2018-12-13 15:07:35 +01:00
Kenneth Skovhede f5e8b25125 Version bump to v2.0.4.7-2.0.4.7_canary_2018-12-13
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.4.7_canary_2018-12-13.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.7_canary_2018-12-13.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.7_canary_2018-12-13.zip.sig.asc

MD5: 1fc1b1af03e7e698663f15bf4e92f23f

SHA1: b6d423dbeb718f3063126ae15352fe761ac45c68

SHA256: 62a2c4060278d73cbe6b5e51698bbd554e7843238cc92e5f1e81f8e9fccfef9b
v2.0.4.7-2.0.4.7_canary_2018-12-13
2018-12-13 15:06:13 +01:00
Kenneth SkovhedeandGitHub 8d3ed27ac9 Merge pull request #3538 from LacunaSoftware/improve-backup-logs-ui
New improvements on Backup Logs UI
2018-12-13 15:01:16 +01:00
Kenneth Skovhede 154e8aafd8 Merge branch 'master' of github.com:duplicati/duplicati 2018-12-13 14:22:34 +01:00