Commit Graph
65 Commits
Author SHA1 Message Date
kenneth@hexad.dk 79679d5098 Update issue #782
Status: Fixed

Disabled file browser checks, so the user can "open" locked files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1521 59da171f-624f-0410-aa54-27559c288bec
2013-02-06 21:29:57 +00:00
kenneth@hexad.dk ca53afe000 Merged r1464 and r1465 into trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1466 59da171f-624f-0410-aa54-27559c288bec
2012-10-08 18:48:36 +00:00
kenneth@hexad.dk b277f6325d Fairly large rewrite of how files and paths are handled.
This fixes issues #144, #577 and #320.

This update introduces a new options called "symlink-policy" that can be set to "store", "ignore" or "follow".
The default setting "store" means all symlinks are recorded as symlinks and recreated as symlinks on restore. This is chosen as default because it is the best replication of the actual disk contents.
Setting it to "ignore" simply means that no information is recorded about any symlinks.
And lastly, setting it to "follow" reverts to the previous default of treating symlinks as if they are normal files/folders.
Caveat: On Windows, you need Administrator privileges to create symlinks (when restoring), but not for reading them (on backup).

Since this change meant that the file attributes must be read, I also added support for the option "exclude-files-attributes", that can be used to ignore/exclude files with certain attributes, such as "hidden", "archive" or "encrypted".

Since I had to much about so much with getting the symlinks supported on Windows, I also added some extra logic to the Windows file handler, so it can now handle files and folders with up to 32k chars in the path. The logic is done so that the normal System.IO operations are used for paths with less than 260 characters (MAX_PATH), and on error or longer paths, the Win32 Unicode API is invoked. This should give maximal backwards compatibility and still allow backup and restore of files with long paths.

This commit also includes a BlockingQueue implementation that is supposed to make file/folder enumeration faster, but this has not been implemented because Duplicati depends on having a "whole world" view of the files and folders before running the backup (i.e. deeper changes required for this).


git-svn-id: https://duplicati.googlecode.com/svn/trunk@1381 59da171f-624f-0410-aa54-27559c288bec
2012-07-29 20:07:10 +00:00
kenneth@hexad.dk a60bd9511f Large refactoring, removing duplicate code in the former Duplicati gui, because it is now hosted in the server.
Not 100% tested, because it is supposed to go away soon, but right now it is the only way to create a new backup.
Also moved database schema and upgrade information/code into the data model project.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1275 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 18:53:07 +00:00
kenneth@hexad.dk 51c8f03c51 Update issue #526
Status: Fixed

Long overdue fix of a simple spelling error.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1182 59da171f-624f-0410-aa54-27559c288bec
2012-03-22 19:27:47 +00:00
kenneth@hexad.dk e4c107b51f Update issue #548
Status: Fixed

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1109 59da171f-624f-0410-aa54-27559c288bec
2012-01-29 16:02:35 +00:00
kenneth@hexad.dk 43f0705762 Fixed a crash in Linux/OSX caused by an update to the DataGrid in some version of Mono.
Strangely enough the error only occurs if the code is compiled with the MS compiler and then executed with Mono.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1061 59da171f-624f-0410-aa54-27559c288bec
2011-12-13 20:12:09 +00:00
kenneth.skovhede@gmail.com 1030577a8e Update issue #231
Status: Fixed

The globbing expressions are now saved and used.
This includes the new filter test dialog that generates globbing rather than regexps.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@904 59da171f-624f-0410-aa54-27559c288bec
2011-09-21 20:13:07 +00:00
kenneth.skovhede@gmail.com 93aa22b34c Merged in changes from DanielH, there is now a filter evaluator in Duplicati
git-svn-id: https://duplicati.googlecode.com/svn/trunk@901 59da171f-624f-0410-aa54-27559c288bec
2011-09-16 17:30:32 +00:00
kenneth.skovhede@gmail.com c85deda4c4 Updated project files to VS2010 instead of the rather outdated VS2008, this should make things easier for new people joining in.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@874 59da171f-624f-0410-aa54-27559c288bec
2011-09-09 17:10:35 +00:00
kenneth.skovhede@gmail.com b0a359fd27 Updated license text
git-svn-id: https://duplicati.googlecode.com/svn/trunk@770 59da171f-624f-0410-aa54-27559c288bec
2011-05-09 19:52:28 +00:00
kenneth.skovhede@gmail.com c753e7c622 Changed the default filesize to be -1 to differentiate files with length = 0 from those with no reported length.
Now also stores the filename+size of signature/content files to ensure that the parsed filenames match the expected ones.
The filesize and filenames are used to verify that the remote file is complete, without downloading it.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@716 59da171f-624f-0410-aa54-27559c288bec
2011-03-11 18:42:20 +00:00
kenneth.skovhede@gmail.com 677e95a08b Update issue #377
Status: Fixed

The preview box now includes the root folder, as the backup itself does.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@708 59da171f-624f-0410-aa54-27559c288bec
2011-03-02 19:38:30 +00:00
kenneth.skovhede@gmail.com 38a654c7e0 Fixed a problem with direct partial restore and multiple source folders
git-svn-id: https://duplicati.googlecode.com/svn/trunk@696 59da171f-624f-0410-aa54-27559c288bec
2011-02-15 19:13:34 +00:00
kenneth.skovhede@gmail.com 1327957b3d Added a check to display a warning if the restore path is larger than 245 characters on windows
git-svn-id: https://duplicati.googlecode.com/svn/trunk@693 59da171f-624f-0410-aa54-27559c288bec
2011-02-09 18:14:15 +00:00
kenneth.skovhede@gmail.com efd1e2a4b7 Fixed a speed issue and a translation issue when restoring files.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@692 59da171f-624f-0410-aa54-27559c288bec
2011-02-09 16:15:57 +00:00
kenneth.skovhede@gmail.com 75000e64eb Update issue #321
Status: Fixed

There were some issues with namespaces and signing of the files,
which caused the translations to not load.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@649 59da171f-624f-0410-aa54-27559c288bec
2010-12-28 14:27:34 +00:00
kenneth.skovhede@gmail.com 52af0476ab Update issue #317
Status: Fixed

Turns out it was a more generic problem than I first assumed.
The problem was that there are two similar controls on the page (the duration editors),
and their internal controls are named the same, so it applied the setting from the top control to the lower,
and the top control was set to "each day".

The other problem "system is slow" is also fixed, although I'm unsure why it happened in the first place.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@630 59da171f-624f-0410-aa54-27559c288bec
2010-12-12 12:15:19 +00:00
kenneth.skovhede@gmail.com e7dc268fad Renamed the Duplicati.Library.Core dll to Duplicati.Library.Utility as the "Core" name was misleading.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@591 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 11:08:15 +00:00
kenneth.skovhede@gmail.com 525d80a594 Made the restore more friendly.
Also fixed a bug where the suggested target path shown in the tree was not used, rather the previous \0 and \1 style was used.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@573 59da171f-624f-0410-aa54-27559c288bec
2010-11-02 19:51:22 +00:00
kenneth.skovhede@gmail.com 7e43ff655d Update issue #294
Status: Fixed
It turns out that the "autocheck" feature was also broken because of the sorting.
Now the sorting works for all columns, and the text and autocheck follows the item.
I also added a feature where boolean columns get the value "true" inserted if the checkbox is clicked.
The grid is now sorted by the option name. 

I experimented a little with the sorting, and if the "Enabled" column is sorted, things tend to flip around
when checking/unchecking items, so I discarded that idea, and went with sorted by "Name" only.
If desired, the user can sort by clicking the "Enabled" column.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@566 59da171f-624f-0410-aa54-27559c288bec
2010-10-28 18:51:08 +00:00
kenneth.skovhede@gmail.com 229f790ea3 Update issue #284
Status: Fixed
Removed error message when user cancels the file content listing.
Also fixed a similar error in other places where the operation can be canceled.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@546 59da171f-624f-0410-aa54-27559c288bec
2010-10-15 16:50:38 +00:00
kenneth.skovhede@gmail.com cf8e7c4890 Better support for restoring a backup with multiple source folders.
Added name support in GUI and commandline version.
When restoring from commandline, subfolders will now be named like the source folders, if only one source folder is given.
When restoring from GUI, the names will be suggested like in the commandline.
It is no longer required that the unused folders exists when restoring a multi-source backup from the GUI.
Added size tooltips to the restore GUI window with the list of backup chains.
Now correctly deletes old signature cache files, even if they use the old names.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@542 59da171f-624f-0410-aa54-27559c288bec
2010-10-12 22:22:29 +00:00
kenneth.skovhede@gmail.com f129f77453 Fixed minor issues with the display when editing durations.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@532 59da171f-624f-0410-aa54-27559c288bec
2010-10-03 12:06:35 +00:00
kenneth.skovhede@gmail.com dc1576ce64 Update issue #269
Status: Fixed
The tab order for the mentioned pages is now corrected, except for the generated filename page,
as that page was removed due to issue #210 and r523.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@526 59da171f-624f-0410-aa54-27559c288bec
2010-09-26 20:47:45 +00:00
kenneth.skovhede@gmail.com b81d63ea73 Fixed a bug with async uploads that caused some files to no be uploaded.
Fixed a protential race condition with warning messages and file counts (cosmetic only) when using async transfers.
Spelling correction, Seperator -> Separator.
Changed so a restore operation can also supply advanced options.
Changed the format of timestamps in filenames to follow the Duplicity convention, which removes the need for --time-separator and --use-short-filenames.
Moved the URL utility into Core, to avoid compilation errors with Monodevelop.
Reorganized the runner to better support the LiveControls on all operations rather than only for backup/restore.

Update issue #210
Status: Fixed
I have now changed the time format to follow the Duplicity naming convention.
This means that all filenames are now generated with the time set as "yyyyMMddTHHmmssZ".
This format is more portable across all platforms, and easily sortable/readable.
The drawback is that the Z indicates UTC time, so if one looks at the filenames, 
the times are not local. The motivation for this is to avoid trouble
with daylight savings time offsets.

There is full backwards compatibility as long as backups have not used more than
one character for --time-separator (only possible via commandline).
This new format means that the options --time-separator and --use-short-filenames
are now deprecated and removed from the user interface. It is possible to
access them from the advanced options page, along with the --use-old-filenames option.

If anyone needs these options for some reason, let me know, otherwise they will be removed
in a later version.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@523 59da171f-624f-0410-aa54-27559c288bec
2010-09-25 12:02:14 +00:00
kenneth.skovhede@gmail.com 85dfb95d79 Update issue #257
Status: Fixed

I have now put in the textbox with a scrollbar instead,
so the long texts can be viewed too.

I also added the display of valid values for the options that report it.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@489 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 21:44:49 +00:00
kenneth.skovhede@gmail.com 7269f66f5b Added validation to the values entered in the CommandLineOptionGrid
git-svn-id: https://duplicati.googlecode.com/svn/trunk@472 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 15:41:17 +00:00
kenneth.skovhede@gmail.com ddd7b038b1 Merged the MacOS branch into trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@465 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 19:02:16 +00:00
kenneth.skovhede@gmail.com 92829fa393 Fixed issue #242.
Corrected a lot of avalible -> available and recieve -> receive spelling errors.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@462 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:37:15 +00:00
kenneth.skovhede@gmail.com ae86443873 Filter editor work.
Fixed issue #172.
Fixed issue #218.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@450 59da171f-624f-0410-aa54-27559c288bec
2010-07-12 15:52:44 +00:00
kenneth.skovhede@gmail.com d46706337c Updated copyright headers.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@428 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:17:33 +00:00
kenneth.skovhede@gmail.com a40f6acf37 A fairly large refactoring of the code.
This was based on the idea that the interfaces should remain static.
I hope this change is enough to ensure stable interfaces until release 1.2.

Overview of changes:
Moved all interfaces into the same dll.
Encryption and compression is now plugable modules, just as the backends.
Encryption/compression can now register an UI.
Encryption now uses AESCrypt as a default.
GPG does not default to using the --armor option.
Added support for generic modules, but none are written yet.
Added support for plugable settings pages in the "Options" dialog.

Fixed issue #148.
Duplicati now uses AESCrypt as the default encryption format.

Fixed issue #199.
GPG now supports custom commandline options.

Fixed issue #207.
Encryption modules are now plugable.

Fixed issue #118.
S3 credentials are now stored.

Fixed issue #151.
Backends can now register system wide options.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@427 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:08:21 +00:00
kenneth.skovhede@gmail.com 50f06f0f3a Merge Sandbox Issue #5 into trunk.
Fixed issue #5.
Fixed issue #48.
Fixed issue #58.
Fixed issue #194.
Fixed issue #195.
Fixed issue #201.
Fixed issue #137.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@400 59da171f-624f-0410-aa54-27559c288bec
2010-05-12 08:41:54 +00:00
kenneth.skovhede@gmail.com e5379a4f2a Fixed issue #137.
There was a bug in the filter evaluator, which is now fixed.
It meant that .* matched everythin, including the source folder.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@389 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 15:12:24 +00:00
kenneth.skovhede@gmail.com 28c2cf6fae Fixed issue #89.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@363 59da171f-624f-0410-aa54-27559c288bec
2010-02-10 22:22:49 +00:00
kenneth.skovhede@gmail.com 0c81020e47 Fixed an issue when restoring a partial set, introduced by r334.
Fixed cancelling the restore when not using background restore.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@349 59da171f-624f-0410-aa54-27559c288bec
2010-01-20 17:40:58 +00:00
kenneth.skovhede@gmail.com 3156127a41 Fixed a missing upload progress bar from r310.
Added better progress text when restoring.
Added progress reporting when restoring.
Added progress bar for download, if the backend supports reporting sizes.
Also contains a fix for issue #143.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@334 59da171f-624f-0410-aa54-27559c288bec
2010-01-16 16:18:59 +00:00
kenneth.skovhede@gmail.com d8a65236cd Cleanup usage of a BackgroundWorker
git-svn-id: https://duplicati.googlecode.com/svn/trunk@323 59da171f-624f-0410-aa54-27559c288bec
2010-01-15 23:20:33 +00:00
kenneth.skovhede@gmail.com 1ca632088e Fixed issue #140.
Also fixed various UI problems that were found.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@322 59da171f-624f-0410-aa54-27559c288bec
2010-01-15 22:25:26 +00:00
kenneth.skovhede@gmail.com 6cda1b15df Minor fix to display errors when browsing backups to restore
git-svn-id: https://duplicati.googlecode.com/svn/trunk@316 59da171f-624f-0410-aa54-27559c288bec
2010-01-09 17:05:41 +00:00
kenneth.skovhede@gmail.com 05bfadbc41 Updated License notice to 2010
git-svn-id: https://duplicati.googlecode.com/svn/trunk@311 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:57:13 +00:00
kenneth.skovhede@gmail.com e43553f608 Fixed issue #10.
Fixed issue #69.
Fixed issue #142.
I finally got the time to complete the pause and throttle options.
It required a minor rewrite, so I also fixed issue #142.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@310 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:46:58 +00:00
kenneth.skovhede@gmail.com 6167b04e75 Removed unused code, thanks to the warnings given by MonoDevelop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@270 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:40:31 +00:00
kenneth.skovhede@gmail.com 8bc0ad764a Removed unused components, and added some of the translation code.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@185 59da171f-624f-0410-aa54-27559c288bec
2009-06-11 17:22:38 +00:00
kenneth.skovhede@gmail.com 6f3b674deb Fixed issue #45.
Made heavy speedup improvements when restoring a small number of files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@147 59da171f-624f-0410-aa54-27559c288bec
2009-04-07 22:02:51 +00:00
kenneth.skovhede@gmail.com 132a80acf9 Better error messages when listing files fails.
Re-fixed a bug with restore when there are multiple full backups.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@146 59da171f-624f-0410-aa54-27559c288bec
2009-04-07 21:11:53 +00:00
kenneth.skovhede@gmail.com c8e8ec0e47 Added the "View log" option to the status context menu.
Fixed various icons to use the one from resources.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@140 59da171f-624f-0410-aa54-27559c288bec
2009-04-01 13:28:04 +00:00
kenneth.skovhede@gmail.com f087332a55 Fixed issue #35.
Fixed issue #42.
Added tooltips to many items to explain the icons.
The EnumerateFileSystemEntries call now uses a callback method, which reduces the need for storing a temporary filelist in memory when it's not needed.
Fixed a display progress updating bug where the progressbar would jump.
Fixed a bug where the file timestamp checking was disabled by default.
Reduced the number of default retries for cleanup.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@138 59da171f-624f-0410-aa54-27559c288bec
2009-03-30 20:17:54 +00:00
kenneth.skovhede@gmail.com 2627934f43 Fixed issue #33.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@137 59da171f-624f-0410-aa54-27559c288bec
2009-03-29 23:03:54 +00:00