Commit Graph
6169 Commits
Author SHA1 Message Date
HendrikandGitHub 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 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
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
drwtsn32x 34d86bb104 Fix Duplicati shutdown issue on Synology 2018-12-27 10:11:10 -08: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
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
Mikael Mello a65828e5f8 eslint: add comments to avoid empty catch block and add semicolon 2018-12-13 10:15:34 -02:00
Mikael Mello b09b2a8023 log-service-script: fix wrong variable name being used on callback 2018-12-13 10:12:17 -02:00
Mikael Mello e1f042cc0d backup-log-view: add display of test and restore specific items when they are the main operation 2018-12-12 12:23:38 -02:00
Mikael Mello 965bd6d761 result-classes: rename properties of RestoreResults to be consistent with BackupResults 2018-12-12 12:14:11 -02:00
Mikael Mello 71ac8e8bd2 backup-log-view: fix localization issues, missing signs that a string should be translated 2018-12-12 11:50:28 -02:00
Mikael Mello 526fb0305d web-ui: rewriting of JS to support IE browsers 2018-12-12 11:46:43 -02:00
Mikael Mello a021993157 backup-log-view: add parameter on catch block to avoid crashing on Edge 2018-12-12 11:42:29 -02:00
Mikael Mello 30b167ad59 backup-log-view: fix bug when copying complete log to clipboard
All complete logs had the same id property since item.Result.ID did not exist

Changing it to $index which is unique fixes the problem, each complete log div
has its own id according to its position in the array of resutls
2018-12-12 11:42:14 -02:00
Rune HenriksenandGitHub 668b8385b1 Merge pull request #3537 from warwickmm/change_case_culture_invariant
Use invariant culture in calls to ToLower and ToUpper
2018-12-12 09:42:59 +01:00