Kenneth Hsu
7cf04ea5d0
Remove unused format string argument.
...
The location of the assembly is already being reported as the "Current
Version folder".
2017-12-16 09:42:45 -08:00
Kenneth Hsu
ab489d9a28
Make parameter names in XML documentation match code.
2017-12-09 18:42:30 -08:00
Kenneth Hsu
1c7391399d
Remove XML documentation for unmatched parameters.
2017-12-09 18:30:01 -08:00
Kenneth Skovhede and GitHub
36aadc4ad1
Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
...
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu
5fb1958ceb
Remove redundant calls to ToString.
2017-11-26 15:44:34 -08: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 Skovhede
813e9c3140
Merge branch 'master' of github.com:duplicati/duplicati
2017-11-17 13:05:18 +01:00
Roberto Ribeiro
1ce4ccd61f
Changed subqueries to improve folder browsing in restore
2017-11-15 15:16:25 -02:00
Kenneth Skovhede
f4511d0bbb
Updated the affected command to check if the local database is found, and to return an error if not.
...
Also updated the help text to indicate that a database is required.
2017-11-09 17:59:36 +01:00
Kenneth Skovhede and GitHub
20877ce833
Merge pull request #2861 from jesjimher/added-dv-extension
...
Added dv extension
2017-11-06 20:48:14 +01:00
davegold24 and GitHub
8ed6aac68b
Spelling mistake loose changed to lose
2017-11-05 13:32:01 -05:00
Jesus Jimenez and GitHub
6a30d27782
Added dv extension
2017-11-02 10:12:08 +01:00
Kenneth Skovhede
8bbe04f623
Fixed a case where entering an invalid value for the --number-of-retries or --retry-delay options would crash the uploader thread and bring down the server.
...
This fixes #2834
2017-10-30 16:12:44 +01:00
Kenneth Skovhede
efc06b7210
Refactored the source path expansion/filtering into its own method.
...
Changed the check for subfolders to only work if the shortest path is a folder itself.
Changed the backup and test-filters method to use the same expansion logic so the filter test is more reliable.
This fixes #2778
2017-10-30 15:30:43 +01:00
Kenneth Hsu
3d51e9153b
Avoid signing assemblies.
...
Using strong-named assemblies can cause difficulties with the GNU LGPL
license, which allows for one to recombine or relink their application
with modified versions of the code. While one solution is to share the
private key so that people can sign the assemblies themselves, this
would break the trust that is expected from signed assemblies. For now,
the easiest fix is to simply not sign the assemblies. Note that by
doing so, we prevent the code from being referenced from other signed
assemblies.
This also fixes an issue introduced in revision ba94d36a80 ("Added
auto-update for WindowsService and Service."), where the WindowsService
project (signed) referenced the AutoUpdater project (not signed).
We also removed instances of <SignAssembly>false</SignAssembly> to be
consistent with newly created .csproj files that do not contain the
SignAssembly element.
This was motivated by the discussion in issue #2814 .
2017-10-15 22:00:23 -07:00
Kenneth Skovhede and GitHub
202a6641e5
Merge pull request #2818 from warwickmm/fix_out_of_range_arguments
...
Fix arguments to ArgumentOutOfRangeException constructor
2017-10-15 16:32:17 +02:00
Kenneth Hsu
8fdbbaa255
Avoid premature declaration of backup completion.
...
This addresses issue #2803 .
2017-10-14 12:00:52 -07:00
Kenneth Hsu
f95b5861f5
Fix parameter name in ArgumentOutOfRangeException.
2017-10-14 11:43:31 -07:00
Kenneth Hsu
07bfc4a5da
Use nameof operator instead of string literal.
2017-10-14 11:43:31 -07:00
Kenneth Hsu
1846c67aae
Rename variable to be consistent with exception message.
2017-10-13 19:28:06 -07:00
Kenneth Skovhede
f03965eb65
Fixed compile error after refactor
2017-10-11 08:58:58 +02:00
Kenneth Skovhede
451c71ccb1
Changed remote-file delete logic to only delete files that look like Duplicati files and have the correct prefix.
...
This fixes #2678
2017-10-10 16:44:06 +02:00
Kenneth Skovhede and GitHub
b907aa607a
Merge pull request #2802 from warwickmm/fix_line_endings
...
Fix line-ending characters
2017-10-10 13:43:37 +02:00
Kenneth Hsu
8bac875311
Fix line-ending characters.
2017-10-07 13:59:46 -07:00
Kenneth Hsu
604b6e4337
Dispose enumerators after manually iterating over elements.
...
Since the IEnumerator<T> interface implements IDisposable, we should
make sure to dispose of the enumerator when manually iterating over the
elements.
2017-10-07 12:27:11 -07:00
Kenneth Skovhede and GitHub
38a8d11266
Merge pull request #2781 from TekkiWuff/retention-policy
...
Retention Policy
2017-10-04 15:12:19 +02:00
Kenneth Skovhede and GitHub
b4ef0e0f77
Merge pull request #2780 from warwickmm/feature/get_unique_items
...
Add method to get unique items and duplicates from collection
2017-10-04 14:56:41 +02:00
Kenneth Skovhede and GitHub
1df44989d2
Update LocalListChangesDatabase.cs
...
Fixed issue with filters and ListCchanges / Compare
2017-10-03 11:08:43 +02:00
Daniel Radünz
ed5daa60b5
Simplified code by removing one loop
2017-09-30 22:05:54 +02:00
Daniel Radünz
4e3d5d3e81
Fixed typo in option name
2017-09-30 22:05:54 +02:00
Daniel Radünz
28ad1e1bbd
Better example in option description
2017-09-30 22:05:30 +02:00
Daniel Radünz
0a4a6edca1
Renamed all occurrences of "staggered version" to "retention policy"
2017-09-30 22:05:30 +02:00
Daniel Radünz
7b176e4dc2
Check validity of keep-staggered-versions option value
2017-09-30 22:05:30 +02:00
Daniel Radünz
be19329d7f
Compact if new the option is used
2017-09-30 22:05:29 +02:00
Daniel Radünz
04b7bf38c3
Reworded option description and added example
2017-09-30 22:05:29 +02:00
Daniel Radünz
40db42b29b
Moved code related to deciding which backups to delete from Options into the DeleteHandler
...
Added logging
2017-09-30 22:05:29 +02:00
Daniel Radünz
3ec1fabc57
initial commit of staggered versioning feature
2017-09-30 12:07:02 +02:00
Kenneth Hsu
6abe087c18
Use helper method to get unique items and duplicates.
2017-09-28 21:55:15 -07:00
Kenneth Hsu
146f4aaa5b
Use helper method to get unique items and duplicates.
2017-09-28 21:48:38 -07:00
Kenneth Skovhede and GitHub
33314ce7c9
Merge pull request #2763 from tygill/fix/list-ienumerable
...
Change IBackend.List() to return IEnumerable instead of List
2017-09-28 11:06:41 +02:00
Kenneth Skovhede and GitHub
1f0f73da6f
Merge pull request #2772 from warwickmm/refactor/remove_string_format
...
Remove unnecessary call to String.Format
2017-09-28 11:00:02 +02:00
Kenneth Skovhede and GitHub
3411d46474
Merge pull request #2773 from warwickmm/refactor/convert_if_to_switch
...
Convert if statements to switch statements for enums
2017-09-28 10:59:15 +02:00
Kenneth Skovhede
3ceb1087a7
Merge branch 'master' of github.com:duplicati/duplicati
2017-09-27 09:55:49 +02:00
Kenneth Hsu
0738c5b624
Remove unnecessary call to String.Format.
2017-09-26 20:43:27 -07:00
Kenneth Hsu
79e0f69506
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 20:20:14 -07:00
Kenneth Hsu
5da12a704d
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 20:13:40 -07:00
Kenneth Hsu
c082b18389
Declare variable outside of if statement.
...
This will allow us to more easily convert the if statement to a switch
statement.
2017-09-26 20:10:19 -07:00
Kenneth Hsu
4edf8536da
Remove unused argument in string formatting.
2017-09-26 19:56:29 -07:00
Kenneth Skovhede
37e42b718d
Fix not shutting down backendmanager if it is required for something else.
...
This fixes #2759
2017-09-26 22:45:24 +02:00
Kenneth Skovhede and GitHub
436dd7f017
Merge pull request #2761 from warwickmm/refactor/simplify_duplicate_file_check
...
Use simpler data structures when detecting duplicate filenames
2017-09-26 15:42:46 +02:00