Commit Graph
309 Commits
Author SHA1 Message Date
kenneth@hexad.dk ec34606aed Updated robustness of server startup as hosted instance
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1532 59da171f-624f-0410-aa54-27559c288bec
2013-02-27 14:23:17 +00:00
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 f2ae426a52 Update issue #789
Status: Fixed

Update from 
Environment.SpecialFolder.Desktop
to
Environment.SpecialFolder.DesktopDirectory

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1520 59da171f-624f-0410-aa54-27559c288bec
2013-02-06 20:52:09 +00:00
kenneth@hexad.dk 6a0c6b583e Merged r1500 into trunk, reintegrated branch sandboxes/Aaron/issue331
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1512 59da171f-624f-0410-aa54-27559c288bec
2013-01-22 19:20:19 +00:00
kenneth@hexad.dk 781cf132d9 Update issue #236
Updated the reporting of options to use the data type to correctly handle case-sensitivity information.
Updated to use the Password type to apply password masking.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1510 59da171f-624f-0410-aa54-27559c288bec
2013-01-22 09:30:48 +00:00
kenneth@hexad.dk 4a5a1dec41 Update issue #236
Updated to fix incorrect reporting of default options --tempdir and --volsize

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1508 59da171f-624f-0410-aa54-27559c288bec
2013-01-21 11:43:41 +00:00
kenneth@hexad.dk 487bbdf6b2 Update issue #236
This is a reworked version of the patch in issue #236.
I have masked the passphrase, and added the cleanup commands as well.

Let me know if this works for you.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1507 59da171f-624f-0410-aa54-27559c288bec
2013-01-19 14:08:38 +00:00
kenneth@hexad.dk f256d2cfa8 Reintegrated sandbox Andreas/webui into trunk, as that is what we will be using onwards
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1482 59da171f-624f-0410-aa54-27559c288bec
2012-11-18 16:24:32 +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 c1e7978ce8 Manually merged r1452 into trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1453 59da171f-624f-0410-aa54-27559c288bec
2012-09-08 11:08:44 +00:00
kenneth@hexad.dk 27adbc2c16 Fixed a missing Localizable property
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1429 59da171f-624f-0410-aa54-27559c288bec
2012-08-16 20:03:49 +00:00
kenneth@hexad.dk a19fba6d95 Merged r1388 into trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1389 59da171f-624f-0410-aa54-27559c288bec
2012-07-31 19:40:19 +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 af41a7e3a3 Update issue #672
Status: Fixed

The TrayIcon now builds in release mode without being signed.
Thanks for reporting!

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1380 59da171f-624f-0410-aa54-27559c288bec
2012-07-29 19:42:29 +00:00
kenneth@hexad.dk 7b1906237c Added options to change port and url for the tray icon
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1361 59da171f-624f-0410-aa54-27559c288bec
2012-07-14 10:42:48 +00:00
kenneth@hexad.dk a4b40763c8 Simplified the TrayIcon
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1352 59da171f-624f-0410-aa54-27559c288bec
2012-07-02 18:07:36 +00:00
kenneth@hexad.dk 11c8f232b7 Fixed a quit problem.
Changed the status reporting method to not include status for the current running backup.
That will be implemented with a separate call so the tray icon can reduce the number of requests.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1332 59da171f-624f-0410-aa54-27559c288bec
2012-06-06 12:58:27 +00:00
kenneth@hexad.dk 151db71f4a Merged r1324 into trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1328 59da171f-624f-0410-aa54-27559c288bec
2012-05-31 20:44:53 +00:00
kenneth@hexad.dk 48d5729f83 Updated service/webserver to implement long poll and updated the tray icon to use the long poll update methods.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1323 59da171f-624f-0410-aa54-27559c288bec
2012-05-31 15:30:52 +00:00
kenneth@hexad.dk a93c66555b Added logging and reporting of metadata to UI
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1280 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 20:15:27 +00:00
kenneth@hexad.dk 881ce60756 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@1276 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 18:55:12 +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 60a8e7d148 Fixed a minor problem with the project file
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1254 59da171f-624f-0410-aa54-27559c288bec
2012-05-08 18:23:58 +00:00
kenneth@hexad.dk 72dc6065aa Updated project file with new names for the TrayIcon implementation
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1249 59da171f-624f-0410-aa54-27559c288bec
2012-05-06 20:12:22 +00:00
kenneth@hexad.dk 9c901a2eda Committed temporary work on the edit dialogs
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1244 59da171f-624f-0410-aa54-27559c288bec
2012-05-05 20:13:33 +00:00
kenneth@hexad.dk fbf72b93ba Added run-backup-group to help display for GUI
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1219 59da171f-624f-0410-aa54-27559c288bec
2012-04-30 18:38:04 +00:00
kenneth@hexad.dk 428cd7b0a5 Update issue #609
Status: Fixed
Applied attached patch

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1214 59da171f-624f-0410-aa54-27559c288bec
2012-04-30 18:17:25 +00:00
kenneth@hexad.dk 3202381762 Update issue #596
Status: Fixed

Now honors the override for "full-if-older-than"

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1208 59da171f-624f-0410-aa54-27559c288bec
2012-04-21 20:42:46 +00:00
kenneth@hexad.dk ba44c96a0c There is now basic UI functionality for windows, complete with callbacks from the UI to the tray icon, and a connection to the server.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1194 59da171f-624f-0410-aa54-27559c288bec
2012-03-29 18:02:07 +00:00
kenneth@hexad.dk 917f5315c7 Changed 64bit detection to be a common property.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1190 59da171f-624f-0410-aa54-27559c288bec
2012-03-29 05:49: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 eb5583aee1 Update issue #532
Status: Fixed

Changed the included GPG to use gpg4win version 2.1.0 and include all required files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1120 59da171f-624f-0410-aa54-27559c288bec
2012-02-03 07:34:25 +00:00
kenneth@hexad.dk aa3b354a69 Added very rough html UI code
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1113 59da171f-624f-0410-aa54-27559c288bec
2012-02-02 08:39:12 +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 9f4f917a1a Reintegrated 2.0 - trunk is now 2.0
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1076 59da171f-624f-0410-aa54-27559c288bec
2011-12-16 19:40:50 +00:00
kenneth@hexad.dk c05648d32b Fix for easier debugging on OSX
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1073 59da171f-624f-0410-aa54-27559c288bec
2011-12-15 09:38:58 +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@hexad.dk c387c9d9db Fixed some issues with signing that cause problems under MonoDevelop
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1054 59da171f-624f-0410-aa54-27559c288bec
2011-12-06 09:54:38 +00:00
kenneth@hexad.dk 69aff6eb91 Fixup with some missing icons
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1040 59da171f-624f-0410-aa54-27559c288bec
2011-11-28 11:13:27 +00:00
kenneth@hexad.dk eeee931ea0 All tray icons are now working.
This changes all implementations to run off the TrayIconBase, so there is only a single place to maintain the tray icon and menus.
WinForms and Gtk has been updated to use this new implementation.
The ApplicationIndicator has been added so the TrayIcon now shows under Ubuntu Unity as well.
Cocoa support has been added so there is now a NSStatusItem. In order to debug this, a special MonoDevelop-MonoMac project has been added, but this is not used in the solution. The project just loads the regular implementation, but the project builds a .app package and debugs from it. Everything should build on a stock Windows machine with VS, and Ubuntu/OSX with MonoDevelop (needs WinForms to build, but not to run).

The TrayIcon icons are now limited to Idle,Paused,Running and an Error/Warning notifier overlay, giving a total of six icons.
The graphics needs to be updated to reflect this, and the server SuggestedStatusIcon should be changed to only output one of these states.

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1039 59da171f-624f-0410-aa54-27559c288bec
2011-11-28 11:05:42 +00:00
kenneth@hexad.dk 7432401bc1 Fixed a Gtk tray icon running of the http server, simplified some reporting from the server to reduce the amount of logic in each tray icon implementation.
Cocoa -> You are next!

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1032 59da171f-624f-0410-aa54-27559c288bec
2011-11-23 20:52:28 +00:00
kenneth@hexad.dk 1d52e6449a Removed deleted files
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1027 59da171f-624f-0410-aa54-27559c288bec
2011-11-21 22:45:49 +00:00
kenneth@hexad.dk 933a61b954 First version of a Windows TrayIcon working against a http server.
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1026 59da171f-624f-0410-aa54-27559c288bec
2011-11-21 22:28:20 +00:00
kenneth@hexad.dk a571f239fb Fixed some build issues after the merge.
Also fixed the build problems with MonoDevelop (non-signed assemblies)

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1009 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 23:47:27 +00:00
kenneth.skovhede@gmail.com b108e96e8e Temporary checkin for the 2.0 stuff
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1005 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 18:03:18 +00:00
kenneth@hexad.dk 63580c169b Merged trunk into 2.0 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1000 59da171f-624f-0410-aa54-27559c288bec
2011-11-17 22:44:36 +00:00
kenneth@hexad.dk 2e3e0abdff A bit of a hack, but now the main message loop is aborted if the application hangs after closing.
This should not cause any problems because the timer is started at the very last moment, and there should be no work to do after invocation but simply discard the hidden window.
The abort is picked up so the program cleanup-on-exit code is executed as normal.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@999 59da171f-624f-0410-aa54-27559c288bec
2011-11-17 19:56:41 +00:00
kenneth@hexad.dk da0a9f5d75 Fixed a problem with OSX where the "Duplicati Control Window" was not hidden correctly
git-svn-id: https://duplicati.googlecode.com/svn/trunk@994 59da171f-624f-0410-aa54-27559c288bec
2011-11-16 19:50:54 +00:00
kenneth.skovhede@gmail.com 5209275398 Added a --trayless option that is on by default on OSX/Linux (and default off on Windows).
This enables Duplicati to run under Ubuntu w/ Unity and Mac OSX.

If the OS supports showing the tray (such as with Linux Mint), Duplicati can be started with Duplicati.exe --trayless=false.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@989 59da171f-624f-0410-aa54-27559c288bec
2011-11-15 22:17:43 +00:00
kenneth.skovhede@gmail.com e8bc2aea9a Yet another fix for the locking on OSX/Linux (and it finally works)
git-svn-id: https://duplicati.googlecode.com/svn/trunk@988 59da171f-624f-0410-aa54-27559c288bec
2011-11-15 22:13:35 +00:00