Commit Graph
9172 Commits
Author SHA1 Message Date
Francois Lafleur 8f47123fb5 Open web interface when click on Windows notification
Fix notification appears like error when they are warning only

#2612
2019-04-06 07:51:05 -04:00
mukut1994 9aee4f0181 Fix Test 2019-04-05 18:19:42 +01:00
Francois Lafleur a2283baf4a Compiled duplicati/localization 2019-04-05 17:07:30 +00:00
Francois Lafleur 25ebf3ee01 Modified (SHA256) to (SHA1) in all .po 2019-04-05 12:58:46 -04:00
Francois Lafleur f161ce3f1f https://github.com/duplicati/duplicati/issues/3675 2019-04-05 12:29:03 -04:00
warwickmmandGitHub d33915eb55 Merge pull request #3714 from drwtsn32x/master
Mask password field for openstack and s3 backends
2019-04-04 20:47:52 -07:00
mukut1994 9101f898c7 Fix code review issues 2019-04-04 23:44:22 +01:00
mukut1994 ed714c20d5 Fix build..... 2019-04-04 23:38:42 +01:00
mukut1994 6f34002aea Add google team drive support 2019-04-04 23:30:59 +01:00
warwickmmandGitHub 838f980fe2 Merge pull request #3713 from flafleur/fixLinuxCache
Added folder .cache for filter group Cache on Linux
2019-04-03 21:04:16 -07:00
drwtsn32x 076050577f Mask password field for openstack and s3 backends 2019-04-03 20:09:04 -07:00
Francois Lafleur f51a3e07d5 Cache Files filter group doesn't exclude Chrome files on Mac/Linux #3633 2019-04-03 23:08:28 -04:00
Kenneth SkovhedeandGitHub 6d73722b0a Merge pull request #3709 from flafleur/localization
Added french canadian localization
2019-04-03 18:07:06 +02:00
Kenneth SkovhedeandGitHub 60e7720cdc Merge pull request #3707 from drwtsn32x/master
Mask password field for local file backends
2019-04-03 18:03:39 +02:00
Francois Lafleur fb8e97e962 Added french canadian, added missing translation for french and pull all tranlation from transifex and recompile 2019-04-03 01:39:21 +00:00
Francois Lafleur 5d04508536 Added french canadian, added missing translation for french and pull all tranlation from transifex and recompile 2019-04-03 01:36:11 +00:00
drwtsn32x e8d185c02f Mask password field for local file backends 2019-04-02 13:35:48 -07:00
Kenneth Hsu e3c16c58fd Set flushed result after all tasks have completed. 2019-03-31 19:41:09 -07:00
Kenneth Hsu be21e09db1 Cancel the FlushBackend task if upload exception occurs.
This should avoid the problem of something awaiting a
FlushBackend.LastWriteSizeAync task that may never complete.
2019-03-31 19:41:09 -07:00
Kenneth Hsu 9a80e422e9 Remove unnecessary try-finally.
The only code in the finally block was to set the result of the
FlushRequest if the completed task was not faulted.  This could be done
without the try-finally.
2019-03-31 19:38:42 -07:00
Kenneth Hsu 19981ae59d Simplify implementation of FlushBackend.
If the uploader throws an exception, we should not set the status of the
flush request and let the exception bubble up.
2019-03-31 19:38:42 -07:00
Kenneth Hsu fdb2c6788c Ensure that failed put operations throw exception.
The FlushBackend method uses Task.WhenAny to await the first completion
of the uploader task or the flush request.  Since the uploader was
setting the status of the flush request in the finally block, the flush
request would complete first when an exception was thrown, causing the
uploader's exception to be unobserved.  To resolve this,  we check that
the uploader's status is not faulted before setting the flush request
status.

This addresses issue #3673.
2019-03-31 19:38:40 -07:00
warwickmmandGitHub e885f214b0 Merge pull request #3704 from seantempleton/missingindex
Fix index files not being created for full dblock files
2019-03-30 20:21:10 -07:00
Sean Templeton 8be3203aa2 Fix index files not being created for full dblock files
As part of the parallel upload changes a bug slipped in where a check was
being made if the index volume writer exists before creating said index
volume writer. Fixed by changing the test to check if the temporary index
volume exists and then creating the writer for the index file.
2019-03-30 19:55:36 -05:00
Rune HenriksenandGitHub fc5249d304 Merge pull request #3699 from warwickmm/rename_async_property
Fix typo in async property name
2019-03-29 17:04:44 +01:00
Kenneth Hsu da4dabe838 Fix typo in async property name. 2019-03-28 20:53:55 -07:00
Kenneth Skovhede a48cc01eca Version bump to v2.0.4.16-2.0.4.16_canary_2019-03-28
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.4.16_canary_2019-03-28.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.16_canary_2019-03-28.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.16_canary_2019-03-28.zip.sig.asc

MD5: d39e182d7da8393d92ab9e0eb7953c90

SHA1: 3b506d77549b32ec6a13d819efbcb63988b6c822

SHA256: 7d09e1922b41944568ff503e00d567e3f52fc744b0c6990295ba584aa522b7d1
v2.0.4.16-2.0.4.16_canary_2019-03-28
2019-03-28 10:14:18 +01:00
warwickmmandGitHub 5b54c26571 Merge pull request #3691 from nescafe2002/master
Implement Jottacloud multithreaded downloading support
2019-03-26 18:59:59 -07:00
Kenneth SkovhedeandGitHub 762cc8e555 Merge pull request #3695 from warwickmm/unwrap_reflection_exceptions
Unwrap TargetInvocationExceptions while preserving stack trace
2019-03-26 09:33:48 +01:00
Joris d1161f9872 Codacy recommendation 2019-03-25 10:47:18 +01:00
Joris 5bffd23879 Commented on chunk size limiting 2019-03-25 10:46:58 +01:00
Joris 6440bf7c90 Fixed: The file X was downloaded and had size 0 but the size was expected to be N 2019-03-22 09:35:09 +01:00
Kenneth Hsu 81b9e75a29 Preserve stack trace while unwrapping TargetInvocationExceptions.
If we simply throw the inner exception, the stack trace is lost.  If we
throw a new exception with the originating exception as the inner
exception, the user is not provided with any meaningful information.
2019-03-21 19:26:14 -07:00
Joris c93e0eed4d Processed code review findings 2019-03-21 10:14:57 +01:00
Joris eeab3ced58 Removed unnecessary GetResponse calls 2019-03-20 09:12:19 +01:00
JorisandGitHub 38968d03eb Removing Codacy recommendation 2019-03-19 21:44:22 +01:00
JorisandGitHub 719360a899 Merge branch 'master' into master 2019-03-19 21:40:46 +01:00
Joris c46e07b1e5 Implemented Jottacloud multithreaded downloading support 2019-03-19 19:32:00 +01:00
Kenneth SkovhedeandGitHub 57b28182cb Merge pull request #3684 from seantempleton/parallelupload
Implement parallel uploads to a single backend
2019-03-19 08:41:33 +01:00
Sean Templeton 1f388f4d03 Fix MegaBackend null reference exception
null was being passed to UploadAsync instead of an instance of an IProgress class.
MegaApiClient does not check if IProgress is null before using it.
2019-03-17 22:14:00 -05:00
Sean Templeton b02b19e683 Change Put method name to PutAsync 2019-03-17 18:28:45 -05:00
Kenneth SkovhedeandGitHub 38dfdffb90 Merge pull request #3681 from verhoek/epic/keyring/1-refactor-server-program
Epic/keyring/1 refactor server program
2019-03-17 21:33:40 +01:00
HendrikandGitHub 9816cfa0c0 Merge pull request #3687 from warwickmm/dispose_enumerator
Dispose of manually iterated enumerator
2019-03-14 20:06:03 +01:00
Sean Templeton 19c1c908df Check upload throttle speed every 2 seconds
The upload throttle speed was being checked on average once every
5 milliseconds.

Changed a few variable names.
2019-03-13 21:51:06 -05:00
Sean Templeton cc3e94fece Fix code review comments and other minor changes
- Rename indexVolume to indexVolumeWriter in DataBlockProcessor to reduce
confusion.

- When flushing the remaining uploads, check the tasks for exceptions in
completion order rather than waiting for them all at once. If there is an
exception all other uploads are cancelled anyway.

- Remove setting the operation progress as Backup_WaitForUpload in the
BackendUploader since the BackupHandler sets it.

- Use an exception filter in BackendUploader.

- Use Options property MaxUploadPrSecond instead of getting the raw value.
2019-03-13 21:51:06 -05:00
Sean Templeton 8bd4b825c8 Fix several Codacy issues 2019-03-13 21:51:05 -05:00
Sean Templeton 61f511c087 Properly catch exceptions from an upload and cancel all other uploads
If a backend throws an exception while uploading, cancel other uploads and
throw an exception from the BackendUploader. Exceptions from cancelled
uploads are caught and not thrown so as to not spam the user with useless
information.
2019-03-13 21:51:02 -05:00
Kenneth Hsu a1d8637c3a Fix typo in comment. 2019-03-11 21:37:42 -07:00
Kenneth Hsu e57c714ee8 Dispose of manually enumerated enumerator.
The IEnumerator<T> interface implements IDisposable, so the enumerator
should be disposed of after its use.
2019-03-11 21:15:00 -07:00
Sean Templeton ac08aa2fb1 Dynamically throttle and track the progress of concurrent uploads
Changed AddBackendEvent() in ResultClasses to allow the option to not update
the backend progress. This allows the  BackendUploader to log the act of starting
an upload without changing the backend progress. The backend progress is now
handled by a new class, FileProgressThrottler, which will determine the transfer
rate of all uploads currently in progress.

This class also handles throttling the upload streams. The algorithm will try
to decrease or increase the streams throttle rates as appropriate by changing
the value based on the over/under amount or based on a percentage to prevent
throttling one stream directly to zero.
2019-03-05 21:25:35 -06:00