Commit Graph
8782 Commits
Author SHA1 Message Date
TopperDEL ed45ab1535 feat: Enhance input-validation 2021-04-29 15:25:07 +02:00
TopperDEL 7e07cf5b6a feat: Verify encryption passphrase 2021-04-29 15:02:00 +02:00
TopperDEL d923cfaa6e feat: Further rename 2021-04-29 14:10:46 +02:00
TopperDEL 96c28e8e32 feat: Rename Tardigrade to Storj DCS 2021-04-29 14:09:05 +02:00
TopperDEL 9bb892ef04 feat: Update satellites-list 2021-04-29 14:06:16 +02:00
TopperDEL d9a4b939b1 build: Update to latest uplink.NET 2021-04-29 13:58:11 +02:00
Kenneth Hsu c14ace0d68 Make File backend truncate existing files when overwriting.
The implementations of ISystemIO.FileOpenWrite call File.OpenWrite,
which does not truncate the existing file.  As such, if we overwrite a
larger file with a smaller one, tail remnants of the existing file will
remain.

Since most of the put operations involve unique filenames, this is only
a problem when overwriting existing files (e.g.,
duplicati-verification.json).

This fixes a regression introduced in revision 71c6aca8a7 ("Fixed IO
calls in Filebackend") from pull request #3456.  The previous
implementation called File.Open with FileMode.Create, which truncates
existing files.

This fixes #4486.
2021-04-20 16:16:00 -07:00
Thomas Suckow 1e64788a6b Change console logs to Logger 2021-04-13 07:48:27 -07:00
Thomas Suckow 7b90ed3c5a Fix loading backup defaults after assembly rename 2021-04-11 13:37:54 -07:00
Thomas Suckow 6f3d293364 Fix trayicons opening terminal 2021-04-11 13:37:21 -07:00
Thomas Suckow 6fd696a661 Missed a thread abort 2021-04-10 13:43:19 -07:00
Thomas Suckow 1b72212533 Dnslite doesn't work on mac/linux in .net5 2021-04-10 13:39:53 -07:00
Kenneth Skovhede 259ca9e3d0 Update version number before build 2021-04-09 18:18:01 +02:00
Kenneth SkovhedeandGitHub e3c96d0ee0 Merge pull request #4478 from tsuckow/net5-split/fixups
Net5 split/fixups
2021-04-09 18:10:20 +02:00
Thomas Suckow ecb0249259 dotnet no longer provides a method for a string to hashalgorithm
* Also fix up not diposing of hashers
2021-04-04 11:17:13 -07:00
Thomas Suckow d8ddd6982c Refactor VolumeHash 2021-04-04 08:28:44 -07:00
Thomas Suckow 7b760ce237 Fix accidental revert from when master was merged into the netstandard branch 2021-04-03 20:58:34 -07:00
Thomas Suckow 898193fcef For now, just interrupt since its better than NOP. 2021-04-03 20:54:47 -07:00
Thomas Suckow 0f675bc4a9 Include html in output 2021-04-03 20:47:40 -07:00
Thomas Suckow 5a034f7b6d Fix mono.posix to the netstandard version and make it a first class citizen 2021-04-03 20:38:29 -07:00
Kenneth Skovhede 4911cfdaa4 Reworked AlphaFS and AlphaVSS to use pre-built versions targeting netstandard2.0 to avoid excessive warnings on build.
Still needs to include he native files.
2021-04-03 21:50:52 +02:00
Kenneth Skovhede b550e61d9b Re-added compatibility analyzers 2021-04-03 21:49:51 +02:00
Kenneth Skovhede 557415c9ad Changed implementation to target netstandard2.0.
Added builds for .Net 4.8
2021-04-03 14:13:32 +02:00
Kenneth Skovhede 8892ff7df3 Cleaned up all .csproj files.
Moved things around to make cleaner build files.
Implementing everything with `netstandard2.1` and then thin wrapper executables using .net5
2021-04-03 13:57:02 +02:00
Thomas Suckow 425a9d23dc Fix change in sdk location 2021-04-02 18:13:06 -07:00
Thomas Suckow 842fc6dbae More execute bit 2021-04-02 07:15:56 -07:00
Thomas Suckow 11e4d35efb Fix execute bit 2021-04-02 06:54:15 -07:00
Thomas Suckow f73d736f54 Add rpm build 2021-04-02 06:52:55 -07:00
Thomas Suckow 90ac3c1cef it already is unzipped 2021-04-02 06:36:33 -07:00
Thomas Suckow 753f61ee1f Don't stop at the debugger in release builds
* Also don't show a terminal window for the trayicon
2021-04-01 21:03:11 -07:00
Thomas Suckow 6810f410d3 Fix shortcut 2021-04-01 20:31:21 -07:00
Thomas Suckow 4c6439c507 debugging 2021-04-01 20:31:20 -07:00
Thomas Suckow a7eed0a518 MSI work 2021-04-01 20:31:20 -07:00
Thomas Suckow 400fa2a7d1 MSI environment test 2021-04-01 20:31:19 -07:00
Thomas Suckow 70727b9f68 Merge remote-tracking branch 'duplicati/master'
# Conflicts:
#	.appveyor.yml
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SSHv2/packages.config
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Backend/Telegram/Duplicati.Library.Backend.Telegram.csproj
#	Duplicati/Library/Backend/Telegram/Properties/AssemblyInfo.cs
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	Duplicati/UnitTest/PurgeTesting.cs
#	Installer/fedora/duplicati-binary.spec
#	Installer/fedora/duplicati.spec
#	guiTests/guiTest.py
#	pipeline/shared/duplicati.sh
#	pipeline/stage_build/trigger.sh
#	pipeline/stage_integrationtests/job.sh
#	pipeline/stage_integrationtests/trigger.sh
#	pipeline/stage_unittests/trigger.sh
2021-04-01 20:30:19 -07:00
Kenneth Skovhede bd172d39c8 Disabled auto-updater as re-launching does not work the same way with .net5 2021-04-01 22:38:34 +02:00
Kenneth Skovhede 63d8ab7c11 Changed all non-entry methods to use netstandard2.1 2021-04-01 22:37:26 +02:00
Kenneth Skovhede abc361031c Removed unused sln 2021-04-01 15:14:59 +02:00
Kenneth Skovhede 4f565a004f Merge branch 'netstandard' of https://github.com/mnaiman/duplicati into netstandard
# Conflicts:
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SSHv2/packages.config
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Backend/Telegram/Duplicati.Library.Backend.Telegram.csproj
#	Duplicati/Library/Backend/Telegram/Properties/AssemblyInfo.cs
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
2021-04-01 15:08:42 +02:00
Tyler Gill fa33e5f135 Remove CopyStream buffering logic (will try to make a separate pull request for that) 2021-03-28 23:20:20 -06:00
Tyler Gill 3dce0df106 Fix typo 2021-03-23 17:40:34 -06:00
Tyler Gill b64c2f1df0 Move Retry-After logic to RetryAfterHelper to make it easier for other backends to incorporate it. 2021-03-23 17:28:39 -06:00
Tyler Gill dadd30380c Add some logging to Microsoft Graph backends. 2021-03-23 17:08:58 -06:00
Tyler Gill a064d66603 Parse throttle speeds in backend tester as sizes. 2021-03-22 10:47:44 -06:00
Tyler Gill 1ec1e18634 OAuthHttpClient should behave the same as the WebRequest code path and treat no http-operation-timeout override as meaning to use an infinite timeout. 2021-03-22 10:47:25 -06:00
Tyler Gill da71d28422 Allow backend tester to test throttling. 2021-03-22 09:57:56 -06:00
Tyler Gill 3539112cca Store the Utility buffer in a WeakReference so the GC can collect it if necessary. 2021-03-22 09:47:17 -06:00
Thomas Suckow 4d6d671fdc Fix debian 2021-03-20 15:58:36 -07:00
Tyler Gill 06c28387d5 Address some more feedback 2021-03-20 16:09:23 -06:00
Tyler Gill 47dccff835 Fix a few more things. 2021-03-20 13:37:41 -06:00