Commit Graph
163 Commits
Author SHA1 Message Date
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Kenneth Hsu 3551238000 Remove redundant calls to String.Format. 2020-01-25 17:07:02 -08:00
Kenneth Hsu afab61a05b Use pattern matching to simplify casts. 2019-10-19 10:15:38 -07:00
Kenneth SkovhedeandGitHub 0e75611b34 Merge pull request #3931 from warwickmm/fix_parameter_file_alias
Fix parameter file alias
2019-10-19 14:09:11 +02:00
drwtsn32x fa82263865 read tempdir command line option 2019-10-05 06:20:57 -07:00
Kenneth Hsu df2904b781 Fix parameter file alias.
The code that parsed the parameter file aliases was improved in pull
request #3229.  In doing so, we accidentally omitted one of the
previously accepted aliases.
2019-09-29 19:17:38 -07:00
BlueBlock 689e9fad4d Fix codacy issues 2019-07-25 11:29:17 -04:00
BlueBlock 2aad1ca558 Refactored code for getting gpg path 2019-07-25 11:14:45 -04:00
BlueBlock 4884fda0c6 Add ability for gpg encryption to use the Windows gpg4win installed gpg.exe if it exists 2019-07-20 15:04:07 -04:00
verhoek 1df0ffdd53 Remove unused imports. 2019-02-25 11:35:43 +01:00
verhoek 8bb406cd15 Migrated to use the platform class. 2018-11-02 22:17:16 +01:00
Kenneth Skovhede 68d2f10475 Merge branch 'master' of github.com:duplicati/duplicati 2018-10-17 14:37:52 +02:00
Kenneth Skovhede 975baf2579 Reporting the error id to the WebUI 2018-10-17 14:37:43 +02:00
Kenneth Hsu d72128ec83 Remove unused method parameters. 2018-10-06 15:09:43 -07:00
Kenneth Hsu d4692e2d35 Use built-in method to expand environment variables.
After we removed the tilde expansion in revision c9aa6cf5fb ("Avoid
performing tilde expansion"), the Utility.ExpandEnvironmentVariables
method simply called System.Environment.ExpandEnvironmentVariables.  We
can simplify the code by just referencing the built-in method directly.
2018-09-22 19:59:46 -07:00
Kenneth Skovhede f13dbfbdde Re-added the input debug code that apparently got lost somewhere 2018-06-30 18:48:07 +02:00
verhoek 3fb7175931 Merge remote-tracking branch 'origin/master' into feature/tempdir
# Conflicts:
#	Duplicati/Server/Runner.cs (copied readonly prop)
2018-06-07 16:37:40 +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
verhoek ea4302e45d Rewrote parsing aliases of parameter file option in a loop. 2018-05-23 21:28:41 +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 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
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 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 Hsu 5fb1958ceb Remove redundant calls to ToString. 2017-11-26 15:44:34 -08:00
Tyler Gill 811acac073 Fix warning that the default-filters parameter isn't supported. 2017-09-21 23:44:24 -06:00
Kenneth SkovhedeandGitHub c386da0b33 Merge pull request #2741 from tygill/fix/string-compare-ordinal-ignore-case
Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase
2017-09-19 11:07:20 +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
Tyler Gill 1da75e8859 Remove the Platform and Common filter sets. They aren't really very useful.
Common is now always included with default filters.
The Platform behavior (of using the set corresponding to the current operating system) is available by using the flag without giving it a value.
2017-09-18 23:03:15 -06:00
Tyler Gill d4865eb4cd Add default filters parameter, and some built-in default filter sets.
These sets are essentially blacklists for many common files and paths on different platforms that don't need to be backed up.
2017-09-13 22:21:12 -07:00
Dan Stahr 8c2280c86c Issue #2578: Removed all direct calls to VACUUM and added a command to run VACUUM manually 2017-08-04 11:24:18 +01:00
Kenneth Skovhede 6855824285 Rewrote the commandline to support plug-able output 2017-04-04 16:57:30 +02:00
frelis 7d081d1628 Remove sencod call
Removed second call of the IgnoreWebrootFolder because the calls is
shared
2017-03-09 08:47:02 +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 e79cfa4d6f Merge branch 'feature/fix_send_mail' 2017-01-12 09:28:12 +01:00
Kenneth Skovhede 6bb1579aa9 Updated MailKit, fixed a bug with DnsLite, added backward compatible tls support from MailKit.
This fixes #1540.
This fixes #1948.
This fixes #2060
This fixes #2225
2017-01-09 23:21:00 +01:00
Kenneth Skovhede a029890409 Implemented better default error messsages 2017-01-09 11:35:38 +01:00
Kenneth Skovhede 1108d51d7f Implemented a new new list-broken-files and purge-broken-files command for the commandline to assist with handling remote file loss. 2017-01-05 16:46:01 +01:00
Kenneth Skovhede 4bf4871427 Added commandline operation to purge select files from filesets.
This fixes #1009.
This paves the way for #1337.
2016-12-29 22:41:13 +01:00
Kenneth Skovhede b4c9fa65af Formatting and White-space fix 2016-12-01 23:16:15 +01:00
Kenneth Skovhede 2c5d95385f Added shutdown of the usage reporter.
This should fix #1892
2016-12-01 23:15:49 +01:00
Max 041c2c66e3 small fix
set current directory to allow .\path\ expansion
2016-10-11 20:00:50 +02:00
Kenneth Skovhede 9d4c808995 Minor fixes to the help-text layout 2016-09-27 20:41:19 +02:00
Kenneth Skovhede 3441bdb1c5 Tabs-to-spaces fix 2016-09-23 14:11:53 +02:00
Kenneth Skovhede 9eb0d6f782 Added example commands, this fixes #1927 2016-09-23 10:47:59 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00