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
Michal Naiman
f4eef557ee
upstream
2019-05-07 11:48:40 +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
Michal Naiman
c01210a443
mozroots remove 2
2019-05-01 10:11:02 +02:00
Michal Naiman
ad2105aeb2
NuGet packages update
2019-05-01 09:28:46 +02:00
Michal Naiman
0cb6e4a1bf
nuget upgrade
2019-05-01 08:37:22 +02:00
Michal Naiman
1bc1e58737
upstream
2019-04-28 13:45:26 +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
Max
30fab22340
unsinged whole solution
2018-09-09 14:21:55 +02:00
Max
b11f4d7cdd
Merge branch 'master' into netstandard
2018-09-09 12:24:31 +02: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
Max
9e930acec5
modules.builtin
2018-06-30 00:01:50 +02:00
Max
e2e1ddc151
upstream
2018-06-29 17:26:53 +02:00
Max
e4997f1efc
upstream
2018-06-24 12:49:51 +02: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
verhoek
07ae90f325
Simplified plus made defaults explicit.
2018-06-12 09:41:40 +02:00
Kenneth Skovhede
2c44cce136
Merge branch 'feature/remove-console-writeline'
2018-05-15 12:12:07 +02:00
Kenneth Skovhede
ee64517f7d
Removed calls to Console.WriteLine as we may run somewhere without a console.
2018-05-15 11:29:08 +02:00
Kenneth Hsu
de4004f0af
Move result serialization tests to UnitTest project.
...
This will make it simpler to configure AppVeyor and Travis to run these
tests.
2018-05-05 13:47:28 -07:00
Kenneth Skovhede
e9f01b61bd
Removed the messages/warnings/errors data from the output, so it only shows up in the log area, instead of showing up twice
2018-04-15 22:47:11 +02:00
Kenneth Skovhede
de84650eae
Rewrote the logic for reporting JSON to avoid reporting JSON inside a text blob, but instead use an extra tag in the JSON.
...
The logic is currently that the template is scanned for potential values, and those that are found are reported in the extra tag for the JSON.
A bit clumsy, but allows the user to choose specific fields to include in the reported data.
2018-04-12 11:46:54 +02:00
Kenneth Skovhede
4e5f4a12bf
Merge branch 'master' into feature/filters-for-sendmail
...
Integrated changes to support log-lines and to have a common shared module for reporters
# Conflicts:
# Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
# Duplicati/Library/Modules/Builtin/RunScript.cs
# Duplicati/Library/Modules/Builtin/SendHttpMessage.cs
# Duplicati/Library/Modules/Builtin/SendJabberMessage.cs
# Duplicati/Library/Modules/Builtin/SendMail.cs
2018-04-12 11:16:57 +02:00
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
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
Kenneth Skovhede
bceed2ffbe
Work on adding filters to send-mail
2018-04-02 11:20:46 +02:00
Max
f5672f69d9
upgrade .net to 4.6.2
2018-03-25 22:00:45 +02:00
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