Commit Graph
116 Commits
Author SHA1 Message Date
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Dean Ferreyra 78555241c1 Address review comments from @warwickmm 2020-09-07 14:45:08 -07:00
Dean Ferreyra 536ce69668 Address review comments from @warwickmm 2020-09-06 21:30:46 -07:00
Dean Ferreyra 5c2fb96f5f Support globbing for "@" filters in "find" and "restore"
Change some comments.
2020-09-04 09:54:33 -07:00
Dean Ferreyra 3a66668e6a Support globbing for "@" filters in "find" and "restore"
Remove unneeded calls to `ToList()`.
2020-09-04 07:25:31 -07:00
Dean Ferreyra f6e79da78d Support globbing for "@" filters in "find" and "restore"
For `@` filters, support normal behavior of "find" and "restore" where
they automatically prefix or suffix some file name arguments with `*`.
2020-09-04 02:01:37 -07:00
Dean Ferreyra b8501dfd77 Add additional handling for @ filters
Change "find" and "restore" commands to not prefix `@` file filters
with `*` and to not suffix `@` folder filters with `*` since wildcards
cannot be used with `@` filters.
2020-09-01 23:56:00 -07:00
Kenneth Hsu 3551238000 Remove redundant calls to String.Format. 2020-01-25 17:07:02 -08:00
Kenneth Hsu 457254d9e1 Remove unused local variables. 2019-04-17 20:10:53 -07:00
Mikael Mello 965bd6d761 result-classes: rename properties of RestoreResults to be consistent with BackupResults 2018-12-12 12:14:11 -02:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek 9fb38ebe9a Continuation of Util.DirectorySeparatorString replacements. 2018-11-02 17:48:17 +01:00
verhoek 1275f14405 Replaced DirectorySeparatorChar.ToString() calls. 2018-11-02 17:45:00 +01:00
Rune HenriksenandGitHub be7edb580d Merge pull request #3410 from warwickmm/simplify_enumerating_collections
Simplify enumeration of collections
2018-10-07 19:06:28 +02:00
Kenneth Hsu b824c86c7e Avoid unnecessary enumeration of collections.
This improves performance by using Any() to avoid unnecessary
enumeration of collections.
2018-10-06 16:20:18 -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 d72128ec83 Remove unused method parameters. 2018-10-06 15:09:43 -07:00
Rune HenriksenandGitHub b9efd3a3a7 Merge pull request #3400 from warwickmm/fix_potential_null_reference
Check for null reference before accessing property
2018-10-01 23:20:24 +02:00
Kenneth Hsu cd538de4b9 Check for null reference before accessing property. 2018-09-29 16:49:05 -07:00
Kenneth Hsu 9ce1e807c7 Remove unused variables and fields. 2018-09-29 10:41:27 -07:00
Kenneth Hsu 25e2b40384 Use existing local variable to improve readability. 2018-09-18 21:52:31 -07:00
Kenneth Skovhede a077808246 Fixed a few cases where the commandline tool would not write to the redirected output 2018-06-20 10:57:11 +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 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 e4398d3b68 Fixed broken help output in commandline.
E.g. "help find" works again.
2018-05-20 16:51:53 +02: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
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
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
Kenneth Hsu 8810e0130d Make string comparisons use ordinal (binary) sort rules.
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth SkovhedeandGitHub 18d4aaae4e Merge pull request #2853 from duplicati/Bitcoin-address-change
Bitcoin address change
2017-10-30 10:36:55 +01:00
René StachandGitHub 8f660bae22 Switch address to same as restore dialog in UI 2017-10-28 10:27:09 +02:00
René StachandGitHub db0a81736c Update Bitcoin address in CLI 2017-10-28 10:23:48 +02:00
Kenneth Hsu 4673fe8eee Convert if statement to switch statement.
When the comparison is performed on an enum, using a switch statement
can allow for additional compiler optimizations.
2017-09-26 21:32:58 -07:00
Kenneth Hsu bd98273067 Convert if statement to switch statement.
When the comparison is performed on an enum, using a switch statement
can allow for additional compiler optimizations.
2017-09-26 21:01:33 -07:00
Tyler Gill 1498941052 Update command line message. 2017-09-22 00:31:15 -06:00
Tyler Gill 7c3ce32ee2 Add support for the quota reporting and renaming interfaces to the OneDrive backend.
To test the quota support, quota information is reported on the command line if it is available.
However, the rename support hasn't been tested, since I don't see anything using that functionality yet.
2017-09-22 00:30:10 -06: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
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 4fa6cfe6cf Merge branch 'feature/improved_verify_output' into feature/commandline_ui
# Conflicts:
#	Duplicati/CommandLine/Commands.cs
2017-04-04 23:56:11 +02:00
Kenneth Skovhede 5bbb484cd3 Rewrote ListAffected and ListChanges to support a callback, such that the entire lists are not required to be materialized 2017-04-04 23:53:36 +02:00
Kenneth Skovhede d1746ca38c Added a --full-result commandline option to allow getting full file listings, without verbose output 2017-04-04 23:51:40 +02:00
Kenneth Skovhede fc8a2cb4b9 Improved the output from the verify option with both --verbose and without 2017-04-04 17:26:26 +02:00
Kenneth Skovhede 6855824285 Rewrote the commandline to support plug-able output 2017-04-04 16:57:30 +02:00
Kenneth Skovhede 7349d73e80 Fixed returning non-zero status codes when verification fails 2017-03-07 23:09:04 +01:00
Kenneth Skovhede 81e8ef92da Added a new result code to simplify reporting the same backup result from all modules. 2017-01-23 20:47:01 +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 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 06534fd57b Renamed testresults "changes" to "verifications" 2016-12-02 11:52:40 +01:00