Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
gpatel-fr and GitHub
11d6364b4a
remove agsXmpp, replace it with Sharp.Xmpp ( #5046 )
...
also add a missing space in default body (fixes a small bug under Windows)
2023-12-10 00:26:26 +01:00
gpatel-fr and GitHub
729a84fdc1
update mail libraries ( #5014 )
...
known side effect: the mail server user password will no longer be displayed in the verbose log
2023-08-28 11:50:37 +02:00
gpatel-fr
cf17f488d1
update Newtonsoft lib to 13.02
2023-03-24 23:17:11 +01:00
David Gileadi
6f0ae31cd1
Make Xamarin-based CocoaRunner the default on Mac
2022-08-03 12:35:43 -07:00
Max
bfdeae06d8
Fix server certificate on Linux
2021-07-27 12:48:03 +02:00
Kenneth Hsu
2d5d300234
Fix typo in example scripts.
2021-05-06 14:03:00 -07:00
Kenneth Hsu
18893e8e20
Fix URL to curl in CheckMonoSSL error message.
...
Starting in November 2020, curl.se is the new official home site for the
curl project. By default, curl does not follow redirects, so this fixes
the URL in the error message and includes the option to follow redirects
in case the URL changes again in the future.
2021-03-07 16:39:41 -08:00
Kenneth Skovhede and GitHub
713b0b0746
Merge pull request #4417 from warwickmm/handle_unsupported_run_script_exit_codes
...
Abort with error if run-script-before script returns unsupported code
2021-03-06 14:12:33 +01:00
Kenneth Hsu
7d5b51482c
Make DUPLICATI__PARSED_RESULT consistent with OperationAbortReason.
...
Previously, any exception, including OperationAbortExceptions thrown due
to run-script-before exit codes, would result in a Fatal parsed result.
This fixes #4222 .
2021-01-14 19:38:55 -08:00
Kenneth Hsu
312c88e7e4
Abort with error if script exits with unsupported code.
...
This makes the code more consistent with the documentation in the
example scripts.
2021-01-10 10:44:58 -08:00
Kenneth Hsu
49e026ee92
Fix issue where remote URL defined using run-script-before was ignored.
...
Previously, we were declaring that the m_remoteurl field be passed by
reference to the Execute method. However, the OnStart method declared
that the remoteurl variable was to be passed by reference. As a result,
the caller (Controller.SetupCommonOptions) method never received the
updated value.
Now, the variables being passed by reference are made consistent.
This fixes #3651 .
2020-11-01 13:13:54 -08:00
Kenneth Hsu
e964072690
Target .NET Framework 4.7.1.
...
This updates all projects to target .NET Framework 4.7.1. The
TencentCOS and Tardigrade backends depend on .NET Standard 2.0. When a
.NET Framework prior to 4.7.1 is targeted, the system cannot be sure
that all the dependencies exist, so it copies all dependent assemblies
to the output directory. This causes many assemblies from the System
namespace to become bundled in the release.
https://stackoverflow.com/a/48875007
We had previously attempted to make individual projects target 4.7.1
(see pull request #4242 ), but this can cause compatibility issues when
4.6.2 projects depend on 4.7.1. projects.
This will require Mono 5.10.0 or greater (previously, we required 5.0.0
or greater).
https://www.mono-project.com/docs/about-mono/releases/5.10.0/#class-libraries
This fixes issue #4234 .
2020-07-26 19:46:01 -07:00
Kenneth Hsu
1037f2dcfc
Remove unused members from Builtin.Strings.
2020-06-14 12:25:41 -07:00
Kenneth Skovhede
5f2925c2fb
Suppres SSL certificate warnings on sufficiently recent Mono versions, as the x509 store returns zero, but the SSL connections seems to work anyway
2020-05-28 09:52:13 +02:00
Kenneth Skovhede
b3b5d5642a
Fixed the defunct __MonoCS__ code chunk
2020-05-28 09:51:33 +02:00
Kenneth Skovhede
e240b4b267
Switched to a self-compiled version of agsxmpp as it has been pulled from NuGet.
...
The source is also provided in the bundle.
2020-05-10 21:44:12 +02:00
Kenneth Hsu
83ac03843d
Fix spelling errors in comments.
...
In doing so, we also normalized some line endings.
2019-12-14 09:52:55 -08:00
Kenneth Skovhede
fc93134550
Added support for forcing the passphrase input to be read from stdin instead of attempting to use a TTY first
2019-10-31 11:48:35 +01:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
BlueBlock
f57a9d8a73
nuget updates
...
aws,azure,fluentftp,mailkit,cocol
2019-09-14 07:36:22 -04:00
BlueBlock
28074a4d4e
update nuget packages
...
includes update to FluentFTP
2019-08-31 16:42:12 -04:00
BlueBlock
c0fa8641ad
Merge remote-tracking branch 'upstream/master' into update-framework-to-462
2019-08-16 23:53:27 -04:00
BlueBlock
815e30b63b
update csproj toolverion and nuget packages
2019-07-31 13:20:03 -04:00
BlueBlock
08a1e9998a
initial upgrade to framework 4.6.2
...
- no code changes except those noted below
- projects upgrade to 4.6.2
- wixinstaller project upgraded automatically by VisualStudio
- wixinstaller updated to require 4.6.2
- Library.Encryption changed to Standard2.0 so accommodate update to SharpAesCrypt
2019-07-26 09:18:16 -04:00
Daniel Gloger
50b0e2ad03
run-script-example.*: correction of change of environment variable
...
Correction of the last commit: Change DUPLICATI__dblock-_size to
DUPLICATI__dblock_size.
2019-07-23 09:21:58 +02:00
Daniel Gloger
2ef30fed30
run-script-example.*: change environment variable DUPLICATI__volsize
...
... to DUPLICATI__volsize, analogous to the previous commit.
Compare RunScript.cs, line 214.
2019-07-22 13:24:41 +02:00
Daniel Gloger
0b40693cd9
Modules/Builtin/run-script-example.*: change option --volsize to --dblock-size
...
The option --volsize is changed to --dblock-size to fix the examples.
2019-07-19 17:07:00 +02:00
Rune Henriksen
155123d22a
added boolean check to make the json output use the subject template instead of always returning the result as a json payload
2019-05-05 23:33:50 +02:00
Kenneth Hsu
457254d9e1
Remove unused local variables.
2019-04-17 20:10:53 -07:00
Francois Lafleur
f161ce3f1f
https://github.com/duplicati/duplicati/issues/3675
2019-04-05 12:29:03 -04:00
Kenneth Hsu
577154df00
Remove unused local variables.
2018-12-31 15:02:59 -08:00
Mikael Mello
ff2f89f00b
Merge branch 'master' of github.com:duplicati/duplicati into improve-backup-logs-ui
...
# Conflicts:
# Duplicati/Library/Main/ResultClasses.cs
2018-11-27 10:50:12 -02:00
Kenneth Hsu
dca78f51a4
Remove redundant interface implementation.
2018-11-23 12:03:48 -08:00
Mikael Mello
1c94decf6c
Serialize backup results in JSON format
2018-11-14 08:47:01 -02:00
Kenneth Skovhede and GitHub
1b54cd6107
Merge pull request #3456 from verhoek/issue/3311
...
Refactor the way paths are handled.
This fixes #3311 PathTooLongException when using USNJournal
2018-11-08 12:50:09 +01:00
verhoek
72b1f6b6f8
Updated project files.
2018-11-02 22:45:07 +01:00
verhoek
8bb406cd15
Migrated to use the platform class.
2018-11-02 22:17:16 +01:00
Kenneth Skovhede
9bc1fe636a
Updated argument description to match the docs
2018-11-02 14:58:59 +01:00
Kenneth Hsu
22d5328e75
Remove extra XML documentation tag.
2018-10-13 20:43:38 -07:00
Kenneth Hsu
05d8fd425e
Add comments to explain empty methods.
2018-10-10 21:28:00 -07:00
Kenneth Hsu
0c1ac9c489
Replace chained LINQ calls with call to overload with predicate.
...
This simplifies the code by reducing the number of enumerators created
while also making the code slightly more readable.
2018-10-06 16:20:18 -07:00
Kenneth Hsu
9ce1e807c7
Remove unused variables and fields.
2018-09-29 10:41:27 -07:00
Kenneth Skovhede
494fccd931
Added support for multiple exit codes, and added a unittest to verify that the exit codes are handled correctly
2018-08-14 11:09:16 +02:00
Kenneth Skovhede
2ec203cabe
Removed Task types and the TaskReader property from serialized results, as they have no usable serialized format
2018-08-08 11:59:20 +02:00
JonMikelV and GitHub
5efe9a5857
Shift wget to curl
...
Found some Mac's that didn't have wget but DID have curl
2018-08-06 10:42:03 -05:00
JonMikelV and GitHub
6442a0a18c
Add --user parameter
...
Apparently running cert-sync for the system-wide store doesn't resolve the issue.
2018-07-17 13:03:14 -05:00
JonMikelV and GitHub
93df1f5402
Add missing wget
...
Accidentally left `wget` out of command to fetch latest certs
2018-07-17 10:53:04 -05:00
JonMikelV and GitHub
b46c936ae1
Add cert update command for MacOS
2018-07-17 10:32:56 -05:00
Kenneth Skovhede
6fcec63dea
Workaround to support output redirect on Windows, and also allow passphrase input when running under the updater
2018-06-20 12:15:18 +02:00