Commit Graph
10149 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 3b55cfb570 Merge pull request #3170 from epol/master
Solved some codacy warnings on OpenStackStorage
2018-04-12 09:47:43 +02:00
Kenneth Skovhede c30cca6a46 Updated cleanup script to also enforce Windows-style line endings 2018-04-12 09:38:26 +02:00
Kenneth SkovhedeandGitHub 31bdc161fb Merge pull request #3168 from tygill/fix/ms-graph-authtoken-hide
Fix auth-id hiding in MS Graph backends.
2018-04-12 08:59:51 +02:00
Stephen Gregory b53e62ddfc Ignore non-meaningful result properties when serializing to JSON 2018-04-11 22:42:03 -02:30
Stephen Gregory b7bda1d1c4 Add result serializers 2018-04-11 22:40:44 -02:30
Stephen Gregory 5a59930ed6 Clean up serializing result to custom Duplicati format 2018-04-11 22:40:44 -02:30
Stephen Gregory 637e5a4a48 Change method signature of ResultSerializer 2018-04-11 22:40:43 -02:30
Stephen Gregory 46170de84e Extract result serialization to file 2018-04-11 22:40:42 -02:30
Kenneth Skovhede 9eef035924 Fixed a case where the counter process would eat the output from the backup operation 2018-04-11 23:34:51 +02:00
Kenneth Skovhede 79f7b22e0f Merge branch 'master' into concurrent_processing
Changed a few things on the way, removing the log process

# Conflicts:
#	Duplicati/Library/Main/Controller.cs
#	Duplicati/Library/Main/Database/ExtensionMethods.cs
#	Duplicati/Library/Main/Database/LocalBackupDatabase.cs
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
#	Duplicati/Library/Main/Operation/BackupHandler.cs
#	Duplicati/Library/Main/Operation/FilelistProcessor.cs
#	Duplicati/Library/Main/Operation/PurgeBrokenFilesHandler.cs
#	Duplicati/Library/Main/Operation/TestFilterHandler.cs
#	Duplicati/Library/Main/Options.cs
#	Duplicati/Library/Main/ResultClasses.cs
#	Duplicati/UnitTest/BasicSetupHelper.cs
2018-04-11 23:02:47 +02:00
Enrico Polesel 904616aff5 Solved some codacy warnings on Duplicati/Library/Backend/OpenStack/OpenStackStorage.cs 2018-04-11 11:44:05 +02:00
Fish 03fe3729cf Cache IsFSCaseSensitive to speed up file counting.
"IsFSCaseSensitive" used to call GetEnvironmentVariable() every time it
was accessed, which unnecessarily slows down the file counting procedure.
Caching the value of this environment variable speeds up things quite a
bit.
2018-04-10 20:46:03 -07:00
Tyler Gill a3a98c644a Merge branch 'master' of https://github.com/duplicati/duplicati into feature/filter-groups 2018-04-10 10:48:46 -06:00
Tyler Gill e7e1ccdec2 Fix auth-id hiding in MS Graph backends. 2018-04-10 10:10:19 -06:00
Kenneth Skovhede 3361e27e77 Merge branch 'feature/fix_log_spam' 2018-04-10 13:44:26 +02:00
Kenneth Skovhede 9f46a77bc1 Merge branch 'master' of github.com:duplicati/duplicati 2018-04-10 13:43:43 +02:00
Kenneth Skovhede b1615bceef Removed the repeating log scope for now 2018-04-10 13:08:17 +02:00
Kenneth Skovhede 731ecfc47d Rewrote the report modules to use a shared base class with all the non-sending specific code.
Change the logic for how the log data is included. It is now added as log lines _after_ the normal messages.
Added support for limiting the number of log lines sent.
Added support for setting the log levels on the modules.
Added support for setting a log filter on the modules.
Added support for sending log data as JSON from the http module.
2018-04-10 12:58:06 +02:00
Rune HenriksenandGitHub 4b487c8db6 Merge pull request #3164 from Pectojin/dismiss-all-notifications-update
made dismiss all option only show up with 2 or more notifications
2018-04-09 18:09:48 +02:00
Kenneth Skovhede e0c3168f13 Merge branch 'feature/fix_log_spam' into feature/filters-for-sendmail 2018-04-09 14:31:50 +02:00
Kenneth Skovhede 917cc63cde Changed the repeating log scope to be better at detecting its own messages 2018-04-09 14:28:50 +02:00
Kenneth Skovhede 682159623c Split out the Tag and FilterTag properties to allow re-entering a log message without adding chaining strings to the message 2018-04-09 14:28:30 +02:00
Kenneth Skovhede 04c7218a08 Added some extra logging and error checking for the IO priority handler 2018-04-09 14:26:53 +02:00
Kenneth Hsu c15e4b17b6 Fix retrieval of SERVER_PORT_CHANGED setting.
The previous implementation returned true for null, empty or whitespace,
or unparsable values.  A default value of false seems more appropriate
for this setting.

Since the ServerSettings constructor initializes the m_values Dictionary
with keys from the CONST class, we can assume that the
SERVER_PORT_CHANGED key exists.
2018-04-08 19:36:41 -07:00
Kenneth Hsu b50b02a59b Fix retrieval of UNACKED_ERROR and UNACKED_WARNING settings.
The previous implementation returned true for null, empty or whitespace,
or unparsable values.  A default value of false seems more appropriate
for these settings.  In particular, if no warning or error has occurred
yet (e.g., upon first installation), these properties should return
false.

This addresses issue #3126.
2018-04-08 19:36:41 -07:00
Kenneth Hsu 6953ffe710 Simplify retrieval of HAS_ASKED_FOR_PASSWORD_PROTECTION setting.
The previous implementation:

	1. Assumes that the relevant key exists in the Dictionary.
 	2. Returns true if the value is null, empty or whitespace, or
	   unparsable.  Otherwise, it returns the parsed value.

 This simplifies the code while capturing the same logic.
2018-04-08 19:36:41 -07:00
Kenneth Hsu 7c55df81e2 Simplify retrieval of IS_FIRST_RUN setting.
The previous implementation:

	1. Assumes that the relevant key exists in the Dictionary.
	2. Returns true if the value is null, empty or whitespace, or
	   unparsable.  Otherwise, it returns the parsed value.

This simplifies the code while capturing the same logic.
2018-04-08 19:36:41 -07:00
Rune Henriksen db31209216 made dismiss all option only show up with 2 or more notifications 2018-04-08 22:01:40 +02:00
Kenneth Skovhede 6089fa4368 Updated all strings 2018-04-08 13:23:09 +02:00
Kenneth Skovhede 04b35f847b Compiled all strings 2018-04-08 13:21:57 +02:00
Kenneth Skovhede 3032a6c9e4 Updated strings from Transifex 2018-04-08 13:21:09 +02:00
Kenneth SkovhedeandGitHub 6c66ab2d13 Merge pull request #3152 from SanduRajapakse/GUI-SettingsMenuUpdateText
GUI - Improved update channel selection descriptions
2018-04-08 13:19:53 +02:00
Kenneth SkovhedeandGitHub 91efdcc4f7 Merge pull request #3154 from epol/master
Openstack keystone v3 support
2018-04-08 13:15:22 +02:00
Kenneth Skovhede e928622214 Updated style.css 2018-04-08 12:37:04 +02:00
Kenneth SkovhedeandGitHub 8125abb22d Merge pull request #3162 from SanduRajapakse/GUI-StateDisplayBarFix
GUI - State Display Bar Improvements
2018-04-08 12:36:16 +02:00
Kenneth SkovhedeandGitHub e802aa53ef Merge pull request #3158 from Pectojin/dismiss-all-notifications
added a dismiss-all button to the notification area
2018-04-08 12:33:51 +02:00
Kenneth SkovhedeandGitHub 2b9c67ec08 Merge pull request #3157 from Pectojin/noscript-warning
Added noscript warning to UI
2018-04-08 12:32:58 +02:00
Kenneth SkovhedeandGitHub 54536108db Merge pull request #3161 from warwickmm/abstract_constructor_access
Make constructors for abstract classes protected
2018-04-08 12:32:17 +02:00
Kenneth SkovhedeandGitHub c9a4eaa83e Merge pull request #3156 from Bruceforce/master
rclone backend should honor advanced options (Fixes #3142)
2018-04-08 12:31:43 +02:00
Sandu Rajapakse 2c5fdce6aa GUI - State Display Bar Improvements
This is to address a few issues with the state display bar including an issue that makes it difficult to see the current status due to the length of the backup name as backup names lengths are not limited.

This will:
1) Truncate the length of the name (in the state bar) to keep the state fully visible
2) Show the full name (as a title) if user hovers over name

This addresses issue: #3106
and implementation was discussed here: 
https://forum.duplicati.com/t/proposal-for-a-modification-to-the-state-display-bar-green-info-bar-at-the-top/3133/6
2018-04-08 02:09:12 -04:00
Kenneth Hsu cb0a3ed2a1 Make constructors for abstract classes protected.
While this does not affect any behavior, it more accurately describes
the accessibility.  Since abstract classes can only be instantiated by
an instance of a derived type, the constructors should at most have
protected access.
2018-04-07 18:04:41 -07:00
Enrico Polesel e257cf569a Improved code quality for the PR 2018-04-06 10:13:15 +02:00
Sandu Rajapakse 0354c167a5 Merge remote-tracking branch 'origin/GUI-VerboseStatusMessages' 2018-04-05 22:32:35 -04:00
Sandu Rajapakse 4abbf6d68a Merge remote-tracking branch 'origin/GUI-ProgressBarVerticalAlignment' 2018-04-05 22:32:14 -04:00
Rune Henriksen f209a5d38b added a dismiss-all button to the notification area 2018-04-05 20:32:13 +02:00
Rune Henriksen 8a8af39107 added noscript warning to help users with scripting disabled identify the problem 2018-04-05 20:03:22 +02:00
Bruceforce c3f94ec6cb rclone backend should honor advanced options (see #3142) 2018-04-05 17:43:19 +02:00
Enrico Polesel 6a8776f7f5 Openstack keystone v3 support
Added support for the new keystone v3 API, the old v2.0 APIs are still
available, the v3 can be selected with a version option.

Only password login is implemented here for API v3, so token login is
still missing.
2018-04-05 15:14:22 +02:00
Sandu Rajapakse 28a9541788 GUI - Improved update channel selection descriptions
Added to the update channel selection descriptions to better outline the fact that BETA is the current stable build (In response for UI Issue #3139)
2018-04-04 22:05:33 -04:00
Kenneth Skovhede e738d9286a Rebuilt the style file 2018-04-04 09:48:48 +02:00