Kenneth Hsu
afdae80716
Fix line ending issues.
2018-06-02 13:19:49 -07:00
Kenneth Hsu
e2b671bf9e
Provide missing values to format items.
2018-06-02 12:05:57 -07:00
Kenneth Skovhede and GitHub
e70f15287e
Merge pull request #3233 from warwickmm/make_fields_readonly
...
Mark fields that shouldn't be reassigned as readonly
2018-06-02 10:13:06 +02:00
verhoek
3fd6c3c602
Merge remote-tracking branch 'origin' into feature/tempdir
2018-05-26 22:55:29 +02:00
Kenneth Hsu
f12858e6a5
Mark fields that shouldn't be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Tyler Gill
f94a58d98c
Update 'help logging' to mention --log-file-log-level and --console-log-level rather than the older --log-level
2018-05-25 09:49:53 -06:00
Kenneth Skovhede and GitHub
a7575d6bda
Merge pull request #3229 from verhoek/bugs/commandline
...
Bugfixes commandline
2018-05-24 11:28:40 +02:00
verhoek
ea4302e45d
Rewrote parsing aliases of parameter file option in a loop.
2018-05-23 21:28:41 +02:00
verhoek
7556c3fa63
Merge branch 'master' into feature/tempdir
2018-05-23 20:13:48 +02:00
verhoek
b786da55a6
Adjusted display of help according to common standards,
...
show help on command appearing after "help" and not
on last.
2018-05-23 20:09:03 +02:00
verhoek
29eebaec5b
Rewrote parsing aliases of parameter file option in a loop.
2018-05-23 20:02:24 +02:00
verhoek
7450f498be
Revert "Removed weird mixed up if's."
...
This reverts commit 9f07a09621 .
2018-05-23 19:40:29 +02:00
verhoek
67c8929759
wip
2018-05-23 19:37:49 +02:00
verhoek
7bf1768f80
Implemented default tempdir for backend server.
2018-05-22 21:51:29 +02:00
verhoek
271273c9af
Added escapes, now e.g. help --include works again.
2018-05-20 16:51:56 +02:00
verhoek
e4398d3b68
Fixed broken help output in commandline.
...
E.g. "help find" works again.
2018-05-20 16:51:53 +02:00
verhoek
9f07a09621
Removed weird mixed up if's.
2018-05-20 16:51:47 +02:00
Kenneth Hsu
0b016cea2c
Replace string concatenation with StringBuilder.
...
When appending to a string in a loop, using a StringBuilder should in
general yield better performance.
2018-05-19 15:36:00 -07:00
Kenneth Hsu
8c0128b0f9
Provide missing value to format item.
2018-05-12 17:06:12 -07:00
Hendrik
9dde00b937
Removed unused argument in command line parser.
2018-04-29 19:59:50 +02:00
Hendrik
f4cc059630
Made internal functions private.
2018-04-29 19:53:49 +02:00
Hendrik
2206ea08db
Refactoring of parsing for command line options.
2018-04-29 18:51:22 +02:00
Kenneth Skovhede
f8c25c54a6
Changed some strings in help.txt
2018-04-15 14:31:38 +02:00
Kenneth Skovhede and GitHub
b3d1f19177
Merge pull request #3169 from tygill/feature/filter-groups
...
Add filter groups to replace default filters
2018-04-12 15:09:10 +02:00
Tyler Gill
a3a98c644a
Merge branch 'master' of https://github.com/duplicati/duplicati into feature/filter-groups
2018-04-10 10:48:46 -06:00
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
682159623c
Split out the Tag and FilterTag properties to allow re-entering a log message without adding chaining strings to the message
2018-04-09 14:28:30 +02:00
Max
987086358d
upstream
2018-03-31 17:42:53 +02:00
Max
f5672f69d9
upgrade .net to 4.6.2
2018-03-25 22:00:45 +02:00
Tyler Gill
81a1bf9024
Clean up names of default filter groups.
...
Rename 'DefaultExclude' to 'DefaultExcludes' (and the same for 'DefaultInclude').
Rename 'TemporaryFolders' to 'TemporaryFiles' to align with other groups ('CacheFiles', 'SystemFiles', etc.)
Added some more shorter aliases for groups, 'Sys', 'Tmp', etc.
2018-03-23 10:29:12 -06:00
Tyler Gill
2d429f65a1
Removed the All FilterGroup, since it becomes ambiguous in light of the DefaultExclude and DefaultInclude groups.
2018-03-21 16:52:25 -06:00
Tyler Gill
e6aab76d8d
Update documentation related to filter groups.
...
This removes the documentation for default filters, and replaces it with documentation about filter groups (based in large part on what was already included with the initial filter groups change).
All documentation about the --include and --exclude parameters should now mention (at least in passing) the option to use filter groups.
2018-03-21 16:40:42 -06:00
Tyler Gill
0f9be9e440
Remove code related to the --default-filters parameter.
...
The UI work to change over from the initial default filters UI still needs to be done.
2018-03-21 16:18:14 -06:00
Tyler Gill
03df606a80
Merge branch 'feature/filter_groups' of https://github.com/duplicati/duplicati into feature/filter-groups
2018-03-21 12:23:03 -06:00
Tyler Gill
5646e3de9d
Add a test for the DNSName property to the BackendTester and report the DNS names it returns.
2018-03-20 15:26:17 -06:00
Tyler Gill
4578a5bd91
Merge branch 'master' of https://github.com/duplicati/duplicati into feature/ms-graph-backends
2018-03-20 14:24:48 -06:00
Tyler Gill
4e4b9a56d6
Adds a test to the BackendTester for quota-enabled backends.
...
This test simply loads the quota information and displays it (or displays an error if the backend was unable to get it)
2018-03-20 13:53:32 -06:00
Tyler Gill
dba0b3772e
Add a test to BackendTester for backends which support renaming.
...
This is done by renaming the second file (or first if only one file is being created) and updating the in memory set of expected files,
while keeping track of the original info so it can be reported if it is still present (e.g., if the rename operated as a copy instead).
2018-03-20 13:50:06 -06:00
Tyler Gill
cff8f172fc
Add support for 'trim-filename-spaces' flag to BackendTester.
...
This flag ensures that any randomly generated file names don't have leading or trailing whitespace, which some backends might not support.
2018-03-20 13:48:21 -06:00
Tyler Gill
00c1a296da
BackendTester should explicitly call Test() when performing the initial check to see if the main folder exists.
...
Without this, the auto create folders flag was broken for backends which lazily enumerate List() (as they instead throw after the try block is ended)
Calling Test() dierctly also better matches the IBackend interface contract.
2018-03-20 13:46:49 -06:00
Kenneth Skovhede and GitHub
3ec2b78828
Merge pull request #3086 from warwickmm/feature/disable_on_battery
...
Add option to disable backup when on battery power
2018-03-20 09:19:01 +01:00
Kenneth Hsu
c00c6fd19b
Make fields containing lock objects readonly.
...
If one of these fields is accidentally reassigned, it's possible for
threads to be oblivious to an existing lock. By making the fields
readonly, we will be notified at compile-time if we inadvertently
redefine one of these fields.
2018-03-17 19:59:23 -07:00
Kenneth Hsu
85214aaf9a
Warn that option is ignored by manual or command-line backups.
2018-03-16 19:32:50 -07: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
Kenneth Skovhede
022b2087c0
Renamed DefaultFilters to FilterGroups
2018-03-05 22:27:16 +01:00
Kenneth Skovhede
282c70f75f
Implemented default filter groups as suggested in #3030
2018-03-02 15:26:55 +01:00
Tyler Gill
62351d4b48
Write standard output even when the --verbose flag is specified.
...
Some information about the backup diagnostics doesn't seem to get logged when using the --verbose flag.
So this changes it to log the verbose stuff first, and then also log the regular backup diagnostics.
2018-02-07 10:35:16 -07:00
wjan
687a6b8887
Merge branch 'master' of https://github.com/duplicati/duplicati into rclone
2018-01-19 08:21:05 +01:00
wjan
d8efebfe8a
corrects changes in app.config files and other unnecessary file changes
2018-01-18 21:22:54 +01:00
Kenneth Skovhede
a6df0cf292
Updated the UI to use the new donation page instead of embedding the destination urls/addresses in the program code.
2018-01-18 13:48:40 +01:00