Commit Graph
5127 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub c2fbb88be2 Merge pull request #3138 from dbddhkpde/master
Scheduled Jobs now have a separate icon next to "manual" jobs (backup.png)
2018-04-04 09:18:38 +02:00
Kenneth SkovhedeandGitHub 75d49fb6c4 Merge pull request #3146 from SanduRajapakse/GUI-ProgressBarVerticalAlignment
GUI - Progress bar vertical alignment issue fix
2018-04-04 09:16:56 +02:00
Kenneth SkovhedeandGitHub c322754d72 Merge pull request #3147 from SanduRajapakse/GUI-VerboseStatusMessages
GUI - Added detail to the status messages
2018-04-04 09:15:44 +02:00
Sandu Rajapakse 072228d735 GUI - Added detail to the status messages
Added to the amount of detail on the status messages to give a clear idea of Duplicati's present status. (In response for UI Issue #3141)
2018-04-03 19:08:12 -04:00
Sandu Rajapakse b1add6496d GUI - Progress bar vertical alignment issue fix
The progress bar in the restore screen appears offset from the top. This fix corrects that issue. 

Changes made to LESS file and need to be compiled into CSS file.

Screenshot of problem: https://i.imgur.com/nmcHFTH.png 
Screenshot of solution: https://i.imgur.com/H0tbPmP.png
2018-04-03 18:59:14 -04:00
Stefan 0e7049bd11 GUI-icon-update: scheduled jobs now with separate icon compared to manual jobs 2018-04-02 14:31:32 +02:00
Stefan cc6ba33b99 Merge branch 'master' of git://github.com/duplicati/duplicati 2018-04-02 13:46:28 +02:00
Kenneth Skovhede 46f776766e Version bump to v2.0.3.3-2.0.3.3_beta_2018-04-02
You can download this build from:

Binaries: https://updates.duplicati.com/beta/duplicati-2.0.3.3_beta_2018-04-02.zip

Signature file: https://updates.duplicati.com/beta/duplicati-2.0.3.3_beta_2018-04-02.zip.sig

ASCII signature file: https://updates.duplicati.com/beta/duplicati-2.0.3.3_beta_2018-04-02.zip.sig.asc

MD5: a33c78e3e50d41ab59dcb0b7ae0891db

SHA1: de23e09ff3afcabb210393f235cc8662aaf7932c

SHA256: 492635c8669e7c1538a35460f2c1f5e2739244c2e8ceff22a3e5f72997d66a7e
2018-04-02 11:53:12 +02:00
Kenneth Skovhede b4c4667c6a Merged changelog 2018-04-02 11:53:00 +02:00
Stefan 1f4b2b492c Merge branch 'release/2.0.3.1_experimental' of github.com:dbddhkpde/duplicati 2018-03-31 00:14:56 +02:00
Kenneth SkovhedeandGitHub c60e32b459 Merge pull request #3129 from dbddhkpde/master
GUI-Extension for Backup-Job
2018-03-27 14:38:49 +02:00
Kenneth SkovhedeandGitHub e0656a22d4 Merge pull request #3118 from tygill/feature/ms-graph-backends
Add new backends for OneDrive + OneDrive for Business, SharePoint, and Microsoft Groups based on the Microsoft Graph API
2018-03-27 14:32:01 +02:00
Kenneth SkovhedeandGitHub bce3267e25 Merge pull request #3120 from tygill/fix/log-level-help
Fix LogfilelogfiltersLong help parameter
2018-03-27 08:26:09 +02:00
Kenneth SkovhedeandGitHub 9acfe956c2 Merge pull request #3130 from warwickmm/feature/appveyor_yaml
Use YAML file to manage AppVeyor build configuration
2018-03-27 08:25:41 +02:00
Kenneth Hsu 28da943376 Use YAML file to manage AppVeyor build configuration.
This was exported from the AppVeyor UI, with a few modifications made to
upload the test results and throw an exception in the case of a test
failure.

Note that this overrides the settings specified in the AppVeyor UI.
2018-03-26 21:53:29 -07:00
dbddhkpdeandGitHub a9222e88ae GUI-Extension progress bar, icons and show/hide logic
Extend the GUI with a small progress bar within the backup job "details":
- add current action
- change the icon of the active job (paused, running)
- show / hide the GUI-extension (progress bar, filename, action) only if page-event contains a current filename
2018-03-25 20:49:10 +02:00
dbddhkpdeandGitHub 96c4966693 GUI-Extension less modification progress bar
Extend the GUI with a small progress bar within the backup job "details":
- add current action
- change the icon of the active job (paused, running)
- show / hide the GUI-extension (progress bar, filename, action) only if page-event contains a current filename
2018-03-25 20:45:36 +02:00
dbddhkpdeandGitHub 1f094ca0fe GUI-Extension images
Extend the GUI with a small progress bar within the backup job "details":
- add current action
- change the icon of the active job (paused, running)
- show / hide the GUI-extension (progress bar, filename, action) only if page-event contains a current filename
2018-03-25 20:40:51 +02:00
dbddhkpdeandGitHub 73a46fdf19 was only a test 2018-03-25 20:16:15 +02:00
dbddhkpdeandGitHub fe71c3fd48 Just try if I can add somethin in my fork 2018-03-25 20:15:38 +02:00
Tyler Gill c9e8ee31ab When unwrapping TargetInvocationException, we should still put the inner exception in a new Exception.
Otherwise, the callstack in the exception is overwritten, hiding the original call stack where the exception actually occurred.
2018-03-23 15:10:05 -06:00
Tyler Gill f93f9dcc5a Add new utility class, OAuthHttpClient.
This class extends HttpClient and uses an OAuthHttpMessageHandler under the covers to automatically authenticate requests.
Additionally, it automatically respects the global HttpContextSettings for overall timeout, read/write timeout, and SSL certificate validation.
(BufferRequests isn't currently handled, as HttpClient doesn't seem to easily expose that flag, and as of .NET 4.5, seems to not buffer by default.)
2018-03-23 15:07:51 -06:00
Tyler Gill 407bead9f9 Change some fragment settings.
Default retry delay is now 1000ms, and fragment sizes must be at least the multiple size (320 KiB)
2018-03-23 15:04:23 -06:00
Tyler Gill 5a4d170165 Update strings for Microsoft Group backend. 2018-03-23 15:03:04 -06:00
Tyler Gill df64c32840 Add new MS graph backends to the web UI.
The AuthID link won't work until the graph API definitions are added to the Duplicati OAuth handler site, however.
2018-03-22 16:19:49 -06:00
Tyler Gill 448577f5ff Handle cases where the SharePoint path is given with an 'https' prefix in the UI. 2018-03-22 16:15:09 -06:00
Tyler Gill 7491da2add Add entry for --group-email so it isn't treated as an unknown property. 2018-03-22 16:14:42 -06:00
Tyler Gill 5bec41b665 Update both SharePoint and Office 365 group backends to support more human-discernable methods of specifying the backend destination.
For SharePoint, this means instead of giving the site ID as a parameter (and a relative path as the backup URL), the full URL to the folder in SharePoint (e.g., 'sharepoint://{tenant}.sharepoint.com/{PathToSite}/{DocumentBase}/{subfolder}') can be given, and the site ID will be looked up.
(This should match the existing SharePoint backend, including the convention of using '//' to indicate the document root, though I can't explicitly test that since the SharePoint sites I have access to require 2FA, which the old backend doesn't support.)
I've tested both explicit ID and site path methods of specifying the destination, and they appear to be working.
For Office 365 groups, it now supports looking up a group by its email address.
2018-03-22 15:20:17 -06:00
Tyler Gill 987cda7e1d When uploading large files, MS graph backends need to parse the response inside the try block for retries to work (since that is where errors are thrown) 2018-03-22 14:41:19 -06:00
Tyler Gill 258799266e SharePoint and Group drives appear to report quota info that is all zeros.
In that case, pretend that no quota info was reported instead of causing incorrect quota warnings and errors.
2018-03-22 14:40:37 -06:00
Kenneth Skovhede fa6080faea Fixed the order of arguments for throttling downloads.
This fixes part of #2890
2018-03-22 08:33:20 +01:00
Kenneth Skovhede 9e48de8e01 Merge branch 'master' of github.com:duplicati/duplicati 2018-03-22 08:32:48 +01:00
Kenneth Skovhede e9d477889f Fixed the order of arguments for throttling downloads.
This fixes part of #2890
2018-03-22 08:32:33 +01:00
Tyler Gill 077fcc78b1 Fix LogfilelogfiltersLong help parameter, so that running the main help page doesn't crash. 2018-03-21 17:09:37 -06:00
Kenneth SkovhedeandGitHub e544b871dc Update README.md
Added link to the manual
2018-03-21 21:26:10 +01:00
Tyler Gill 438c84f824 Ensure custom fragment sizes fit the recommended sizes (under 60 MiB and multiple of 320 KiB) 2018-03-21 11:32:41 -06:00
Tyler Gill 97a93a071f Make m_oauth readonly in OAuthHttpMessageHandler. 2018-03-21 11:23:50 -06:00
Tyler Gill 55c182b946 Strip authorization header and access token out of Microsoft Graph exception messages. 2018-03-21 11:16:27 -06:00
Tyler Gill 6c05da925e Explicitly request the 'replace' conflict resolution behavior when uploading large files. 2018-03-20 15:28:57 -06:00
Tyler Gill dbb28c5f62 Make sure DNS names reported by Microsoft Graph backends are unique. 2018-03-20 15:26:52 -06:00
Tyler Gill 5646e3de9d Add a test for the DNSName property to the BackendTester and report the DNS names it returns. 2018-03-20 15:26:17 -06:00
Tyler Gill c57d7e75cd Add helpId parameter to UserInformationExceptions in MicrosoftGraphBackends. 2018-03-20 15:09:06 -06:00
Tyler Gill 94341a640d Implement DNSName method in MicrosoftGraphBackend base class. 2018-03-20 15:08:30 -06:00
Tyler Gill f4c6100873 Add Duplicati + version as the user agent in the MS Graph backends. 2018-03-20 15:07:46 -06:00
Tyler Gill 4578a5bd91 Merge branch 'master' of https://github.com/duplicati/duplicati into feature/ms-graph-backends 2018-03-20 14:24:48 -06:00
Tyler Gill a98c967f70 Add new backends for OneDrive+OneDrive for Business, SharePoint, and Microsoft Groups based on the Microsoft Graph API.
These backends are implemented via the common base class, MicrosoftGraphBackend, with only a few minor tweaks (different id parameters, protocol keys, descriptions, etc.)
All three backends support streaming, quota retrieval, and rename.
2018-03-20 14:18:49 -06:00
Tyler Gill c542d65997 Update service agreement and privacy policy link for OneDrive backend. 2018-03-20 14:01:28 -06:00
Tyler Gill 20fc793dee Add OAuthHttpMessageHandler helper class to OAuthHelper library.
This class implements the abstract HttpMessageHandler class (mostly via the default HttpClientHandler implementation).
This abstract class is used by System.Net.Http.HttpClient as the underlying HTTP mechanism, and in this particular case is used to automatically add an authorization header to each request.
It also provides a method for marking a request as one that should not be authenticated.
2018-03-20 14:00:52 -06:00
Tyler Gill f9a8b30b2f Update JSONWebHelper.PostAndGetJSONData to remove parameters that aren't actually being used (setup and setupreq).
These parameters weren't being used in the method body, or being passed in by any callers (it looks like a copy / paste error when a previous method was converted into this one)
These are replaced with a new optional parameter (method) which allows the caller to request a custom HTTP method to be used.
2018-03-20 13:56:05 -06:00
Tyler Gill 4e4b9a56d6 Adds a test to the BackendTester for quota-enabled backends.
This test simply loads the quota information and displays it (or displays an error if the backend was unable to get it)
2018-03-20 13:53:32 -06:00