Commit Graph
28 Commits
Author SHA1 Message Date
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Skovhede 5e1a260483 Added limits to the number of backlog items the usage reporter will handle.
Older or excessive items are now deleted.
2018-02-11 17:51:55 +01:00
vnau 9b9d9b1297 Fixed compiler warnings. 2017-12-17 01:34:21 +07:00
Kenneth Hsu 8810e0130d Make string comparisons use ordinal (binary) sort rules.
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth Skovhede 2609dcc5dc Fixes after library updates 2017-09-23 14:52:53 +02:00
Kenneth Skovhede 5511627975 Updated CoCoL in UsageReporter 2017-09-23 14:46:29 +02:00
Kenneth Skovhede 5cae6ca60e Additional updates to NewtonSoft.Json 2017-09-23 14:46:14 +02:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Kenneth Skovhede 046b522a8d Updated NewtonSoft.Json 2017-05-17 11:08:51 +02:00
Kenneth Skovhede 360a90b2ce Updated SharpCompress to a build from master to include the zip64 fixes 2017-04-04 17:11:01 +02:00
Kenneth Skovhede 52eb8e8478 Disabled MSBuild for much faster builds on MacOS 2016-12-29 23:12:41 +01:00
Kenneth Skovhede 40d5ddc591 Improved extraction of distro name for Linux system.
This also fixes the "No LSB Modules loaded" message
2016-12-08 10:40:06 +01:00
Kenneth Skovhede 9cba45e44f Added startup delay and checks for exit to stop the usagereporter as soon as possible 2016-12-02 12:05:10 +01:00
Kenneth Skovhede 60f3255ddb Rewrote the way the usage-reporter works, to take advantage of new features in CoCoL, making it more robust and compact. 2016-12-01 23:12:19 +01:00
Kenneth Skovhede 6e8f371e36 Improved handling for extracting OS info 2016-10-17 14:38:38 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede bde606ae60 Updated packages 2016-06-27 15:30:25 +02:00
Kenneth Skovhede 3005594b38 Merge branch 'master' into nuget_setup
# Conflicts:
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj
#	Duplicati/Library/Backend/S3/S3Wrapper.cs
#	thirdparty/CoCoL/CoCoL.dll
#	thirdparty/SSH.NET/Renci.SshNet.dll
2016-06-27 15:25:52 +02:00
Kenneth Skovhede 4a35f95eef Added a fix to prevent uploading empty files to the usage reporter 2016-04-21 13:11:33 +02:00
Kenneth Skovhede 785c4d325f Reverted changes to solution file so it again forces Windows linefeeds.
This also moved stuff around in some project files.
2016-04-13 00:36:22 +02:00
Kenneth Skovhede 2542824361 Merge branch 'master' into nuget_setup
# Conflicts:
#	thirdparty/SharpAESCrypt/SharpAESCrypt.exe
2016-03-13 22:20:57 +01:00
Kenneth Skovhede 648f41fff2 Added reporting of the system default level for usage reporter 2016-03-13 12:28:00 +01:00
Kenneth Skovhede 41f20301a3 Implemented settings for controlling what data is sent with the usage reporter 2016-03-12 00:29:51 +01:00
Kenneth Skovhede 6dabd7aed3 Changed the usage reporter to use a duplicati.com domain to further signal that the connection is intentional. 2016-03-01 21:57:59 +01:00
Kenneth Skovhede 59cc0005a3 Removed unused references and updated most libraries to come from NuGet sources instead of being provided in the thirdparty library 2016-01-29 10:47:39 +01:00
Kenneth Skovhede b30a1f8ecd Added usage report for the size of backups 2015-12-22 02:22:56 +01:00
Kenneth Skovhede 8b6e71376e Added the correct shutdown handling code 2015-12-22 00:54:57 +01:00
Kenneth Skovhede 147f55e1c6 Added usage reporter to keep track of most-wanted features and to get an overview of how and why Duplicati crashes 2015-12-22 00:35:00 +01:00