Commit Graph
80 Commits
Author SHA1 Message Date
verhoek 30cd41585b Corrected spelling function name. 2018-05-16 20:08:40 +02:00
Kenneth Skovhede 3a8f76e337 Fixed a problem with writing the wrong (empty) sha256 hash in the autoupdater manifest. 2018-01-18 22:57:20 +01:00
Kenneth Skovhede d9377bab7e Removed TempFileStram and fixed the two places that were using it, as they both had errors in the way it was used. 2018-01-18 14:25:25 +01:00
vnau 2250f5fda1 Fix for AppVeyor. 2017-12-25 23:13:08 +07:00
vnau 62a7901aca Compression modules refactored to work with streams instead of filenames;
Added unit test to check compression reversibility
2017-12-25 04:12:19 +07:00
Kenneth SkovhedeandGitHub 36aadc4ad1 Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu 5fb1958ceb Remove redundant calls to ToString. 2017-11-26 15:44:34 -08: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 b42ab42e57 Fixed the updater to use the argument escaping code from utilities.
This fixes #2891
2017-11-22 10:39:02 +01:00
Kenneth Skovhede d97d1c3215 Re-enabled the options to disable the auto-updater 2017-10-30 16:11:17 +01:00
Kenneth Skovhede 027475f494 Enabling webroot checking for the autoupdater library 2017-10-22 13:15:11 +02:00
Kenneth Skovhede 8f9977889c Fixed a few string compares
Fixed excluding webroot folder from checks
2017-10-22 13:14:36 +02:00
Kenneth Skovhede 7537bb72fc Added options to run the update manager in a "check" mode that shows if it thinks the updated versions are modified or not 2017-10-12 11:40:40 +02:00
Kenneth Skovhede 124a5c4cf5 Added temporary option to allow switching between the auto update invoke methods, in case we need to test something on installed machines 2017-10-12 11:17:45 +02:00
Kenneth Skovhede 6ad0fa649e Re-wrote the auto-updater to use process spawning instead of AppDomain loading to execute updates. 2017-10-11 12:49:14 +02:00
Kenneth Skovhede a06f38442a Updated all Newtonsoft.Json packages 2017-09-23 00:25:50 +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 2b2e495e15 Added the <Prefer32Bit>False</Prefer32Bit> option to all executables.
This fixes #2519
2017-06-02 09:42:29 +02: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 29f67674a5 Comment fix 2017-03-22 23:25:47 +01:00
Kenneth Skovhede 2ee110abb3 Added fix for faster commandline startup to the other commandline tools 2017-03-13 09:26:22 +01:00
frelis 397c769119 Update manager : Ignore webroot Folder
Added a property to ignore, if set, the webroot folder, when checking if
the update packages  are not tampered

fixes duplicati/duplicati#2266
2017-03-08 14:50:59 +01:00
Kenneth Skovhede 52eb8e8478 Disabled MSBuild for much faster builds on MacOS 2016-12-29 23:12:41 +01:00
Kenneth Skovhede 61e18f9b9d Added a check to see if the base version is more recent than the latest installed update.
This fixes #2061
2016-11-03 13:45:41 +01:00
Kenneth Skovhede 07345f6250 Implemented PO file parsing in Localizations 2016-09-27 20:44:19 +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 ce53e292ba Bugfix 2016-04-26 11:29:51 +02:00
Kenneth Skovhede 7486476881 Prettier display name 2016-04-26 11:17:35 +02:00
Kenneth Skovhede e10c94bc03 Fixed displayed version for builds that have no manifest, but a valid license version tag 2016-04-26 10:47:13 +02:00
Kenneth Skovhede c5be6a1652 Added release type to update manager to avoid relying on a valid manifest for the install 2016-04-26 10:32:21 +02:00
Kenneth Skovhede d4257f877d Added overrides to allow OEM provided values for auto-update settings 2016-04-23 08:13:40 +02:00
Kenneth Skovhede 7bbd9f3141 Changed the way the autoupdater probes for potential paths, such that it does not attempt to use ProgramFiles, even if it is write-able.
Added some better choices for storing update data on OSX.
2016-04-21 10:57:46 +02:00
Kenneth Skovhede d0711011a2 Rewrote all WebRequest code to use AsyncHttpRequest, and normalized usage such that WebResponse objects are always correctly disposed. 2016-04-16 11:12:28 +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 e11a59a4fa Fix the mapping for pre-update channel releases 2016-03-13 12:54:30 +01:00
Kenneth Skovhede 045f4caacb Added detection of channel by parsing custom updater urls 2016-03-13 12:27:33 +01:00
Kenneth Skovhede e0237b5309 Implemented two new build channels: beta and canary.
Updated build system to allow building various types of releases.
2016-03-11 22:55:32 +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 4010372545 Fixed the issue with a popup offering to "update" to an older version 2015-12-22 00:41:49 +01:00
Kenneth Skovhede 41dc78c5c4 Exposing the installid for the comming usage reporter module 2015-12-17 11:08:39 +01:00
Kenneth Skovhede 1a024d2df5 Fixed creating spurious folders on non-windows platforms.
This fixes #1508.
2015-12-06 22:02:48 +01:00
Kenneth Skovhede 27c697eec6 Added Amazon Cloud Drive backend as requested in issue #598 2015-12-05 11:25:26 +01:00
Kenneth Skovhede dfc586d9c5 Whitespace fix 2015-12-03 22:47:13 +01:00
Kenneth Skovhede be3fe49a75 Whitespace/newline fix 2015-12-01 13:23:50 +01:00
Kenneth Skovhede 8ff8be8905 Bugfix for build issues with AutoUpdateBuilder. 2015-12-01 13:23:36 +01:00
Kenneth Skovhede 473763fa27 Extended the reported system info, and made it available from the commandline. 2015-09-11 11:21:12 +02:00