Commit Graph
54 Commits
Author SHA1 Message Date
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 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 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 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 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 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.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@hexad.dk 6add824f64 Fixed single instance support for Linux
git-svn-id: https://duplicati.googlecode.com/svn/trunk@980 59da171f-624f-0410-aa54-27559c288bec
2011-11-10 16:30:25 +00:00
kenneth.skovhede@gmail.com a37e2d3527 Update issue #358
Status: Fixed

Duplicati now detects situations where a backup was in progress and Duplicati terminated.
Such backups will now appear with a red question mark in the status window.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@929 59da171f-624f-0410-aa54-27559c288bec
2011-10-07 18:09:15 +00:00
kenneth.skovhede@gmail.com 1d6235f998 Fixup for r917
git-svn-id: https://duplicati.googlecode.com/svn/trunk@919 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 06:59:17 +00:00
kenneth.skovhede@gmail.com 0b8b0d44ea Update issue #392
Status: Fixed

There is now a more consistent parsing of boolean commandline parameters.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@918 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 05:35:49 +00:00
kenneth.skovhede@gmail.com f5ab77fdcb Update issue #405
Status: Fixed


git-svn-id: https://duplicati.googlecode.com/svn/trunk@829 59da171f-624f-0410-aa54-27559c288bec
2011-07-04 17:31:25 +00:00
kenneth.skovhede@gmail.com 97aeda0a2b Update issue #408
Status: Fixed

It should now use system data-time formating, unless the language is customized in the UI.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@774 59da171f-624f-0410-aa54-27559c288bec
2011-05-09 20:42:49 +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 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 23ff55f957 Added better logging options to the GUI and Commandline
git-svn-id: https://duplicati.googlecode.com/svn/trunk@537 59da171f-624f-0410-aa54-27559c288bec
2010-10-09 15:43:03 +00:00
kenneth.skovhede@gmail.com 3834adb927 Update issue #91
Status: Fixed
Updated the GUI options to use the -- notation, but they are still backwards compatible.
Also added the --help, --pause and --resume options to the GUI.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@534 59da171f-624f-0410-aa54-27559c288bec
2010-10-04 17:27:02 +00:00
kenneth.skovhede@gmail.com 08656992f0 Update issue #149
Status: Fixed
Now correctly upgrades and retains database encryption after a restore without requiring a program restart.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@524 59da171f-624f-0410-aa54-27559c288bec
2010-09-26 20:41:33 +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 de984f76ab Fixed an issue with the "Restore Setup" feature and the Database Encryption feature.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@506 59da171f-624f-0410-aa54-27559c288bec
2010-09-11 12:28:45 +00:00
kenneth.skovhede@gmail.com effdba0558 Update issue #134
Status: Fixed

I have now implemented a password protection control.
You can now only view passwords when you enter them.
After this, you may reset the passwords, by entering a
new one, but you cannot read the existing passwords.

To protect against people reading the database,
which contains the passwords in clear text, the
database is now encrypted by using the standard 
SQLite encryption method. This is different
than what I proposed, but is a much stronger
protection than merely scrambling the passwords,
and also protects all information (servername, etc).

It works by setting an environment variable
called DUPLICATI_DB_KEY. When no password
is set, Duplicati will use the key "Duplicati_Key_42",
ensuring that all databases are encrypted by default.

Using a pre-defined publicly known key is obviously
not a strong protection, but it protects from casual
users attempting to browse the database, and it also
protects from string scanners that scan a harddisk
for possible passwords.

On the first startup, Duplicati will encrypt the database,
using the mentioned key. You may want to delete any backup
databases that are placed in the same folder as the database.

Should you wish to decrypt the database, you can start 
Duplicati.exe with the commandline option "--unencrypted-database".
This will use the current key to decrypt the database, and save it
without encryption.

Should you wish to change the database password, simply decrypt the
database, then change the password via the environment variable,
and start Duplicati.exe as normal.

The SQLite documentation for the feature is here:
http://www.hwaci.com/sw/sqlite/see.html

Unfortunately, it does not seem as if any
of the free SQLite tools supports this.

The SQLite library found on Ubuntu
does not support encryption, so I have disabled 
this feature by default on Linux.

If a user has a special compiled version
of SQLite, they may use the environment
variables as mentioned above.

I will write this information into a wiki
page as soon asap.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@498 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 21:39:22 +00:00
kenneth.skovhede@gmail.com 4aca3e0aee Update issue #47
Status: Fixed
I have now added a 32bit version of gpg.exe and pscp.exe to the
package. On startup, the subfolder "win-tools" is appended to the
PATH environment variable, making them available from within Duplicati,
but preferring any system path items.

This only happens on windows. 
I assume any decent Linux distro has scp, expect and gpg.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@491 59da171f-624f-0410-aa54-27559c288bec
2010-09-01 21:06:33 +00:00
kenneth.skovhede@gmail.com 79fdce5ca6 Update issue #185
Status: Fixed
The code to support this was already in place, but did
not work because Application.Exit() had been invoked,
making all messageboxes return Cancel without showing.

I also improved the logic a bit so a cancel does
not invoke the cleanup afterwards, making the exit
procedure faster.

I also added checks for the stop command to the
code that fetches the signature files, to make
the application respond faster to the stop command.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@490 59da171f-624f-0410-aa54-27559c288bec
2010-09-01 21:04:18 +00:00
kenneth.skovhede@gmail.com 0e8c3162e1 Update issue #165
Status: Fixed
The signature files are now placed in "%DUPLICATI_HOME%/Signature Cache", which defaults to "appdata/duplicati/Signature Cache".

Update issue #128
Status: Fixed
Duplicati now uses an environment variable called %DUPLICATI_HOME% to determine where to place the data files.
As an alternative to setting the environment variable, Duplicati.exe can be invoked with the commandline option
--portable-mode, which will create a folder called "data" in the folder where Duplicati.exe is placed.
For maximum portability you can also set the temporary folder inside Duplicati's options to %DUPLICATI_HOME%\temp.

Update issue #70
This just got a whole lot easier after the introduction of the environment variable %DUPLICATI_HOME%.
The implementation can just invoke "Duplicati.exe --portable-mode" and everything should work.
The final package should have a customized default database with the temp folder set to %DUPLICATI_HOME%\temp.
The no auto-start setting can be applied by the "backup defaults.xml" file.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@487 59da171f-624f-0410-aa54-27559c288bec
2010-08-31 20:58:11 +00:00
kenneth.skovhede@gmail.com 74c6ec4a4e Reverted r465, the Gtk TrayIcon fails to work resonably with Windows forms :(
git-svn-id: https://duplicati.googlecode.com/svn/trunk@475 59da171f-624f-0410-aa54-27559c288bec
2010-08-16 18:33:52 +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 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 03a4f0e8b3 Fixes for issue #91.
This possibly also fixes DragDrop registration issues from issues #132 and #145.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@318 59da171f-624f-0410-aa54-27559c288bec
2010-01-13 22:12:44 +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 5010e4f094 Fixed issue #96.
Added a small application to fix future issues with embedded escape codes.
Also fixed some encoding issues with the pt-BR files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@298 59da171f-624f-0410-aa54-27559c288bec
2009-09-26 09:43:02 +00:00
kenneth.skovhede@gmail.com b35bc97757 Fixed issue with LightDataModel not compiling anymore
git-svn-id: https://duplicati.googlecode.com/svn/trunk@268 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:07:39 +00:00
kenneth.skovhede@gmail.com 448cd71fb1 Fixed issue #95 - Prevent zero full backups, as that simply deletes all backups :(
git-svn-id: https://duplicati.googlecode.com/svn/trunk@259 59da171f-624f-0410-aa54-27559c288bec
2009-08-20 19:54:53 +00:00
kenneth.skovhede@gmail.com 27476cf2d8 Work on issue #91 System Shortcut Keys.
Changed code to support a single release build.
The code should now be able to detect the OS and architecture and load the correct SQLite dll.
For future releases, there will only be an MSI and a zip version, both are OS and architecture independant.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@258 59da171f-624f-0410-aa54-27559c288bec
2009-08-20 19:30:41 +00:00
kenneth.skovhede@gmail.com bfc8450488 Improved the LocalizationTool and updated the Localization build script to also include the WizardForm project.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@252 59da171f-624f-0410-aa54-27559c288bec
2009-08-10 17:55:29 +00:00
kenneth.skovhede@gmail.com 084b878a11 Fixed an issue when selecting English language, reported in issue #85.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@238 59da171f-624f-0410-aa54-27559c288bec
2009-07-20 20:28:33 +00:00
kenneth.skovhede@gmail.com f4fe982aef Fixed issue #81, Unicode support, thanks to Colm.
Fixed a debug commit which made the CommandLine version exit immediately.
Added a safeguard for broken language selections in the database.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@224 59da171f-624f-0410-aa54-27559c288bec
2009-07-16 20:01:46 +00:00
kenneth.skovhede@gmail.com 72c92dd78b Made the LocalizationTool more SDK version independant.
Updated some sub-projects to VS 2008, fixed .Net 3.5 dependencies to 2.0.
Added a language selection option to the settings dialog.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@222 59da171f-624f-0410-aa54-27559c288bec
2009-07-14 22:26:22 +00:00
kenneth.skovhede@gmail.com 6100aae809 Improved the debug version of SingleInstance
git-svn-id: https://duplicati.googlecode.com/svn/trunk@191 59da171f-624f-0410-aa54-27559c288bec
2009-06-14 14:42:56 +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 cc6dbb0ef9 Fixes for issue #27. linux compatibility.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@149 59da171f-624f-0410-aa54-27559c288bec
2009-04-08 19:11:42 +00:00
kenneth.skovhede@gmail.com 6124b79774 Fixed the PurgeSignatureCache function to only remove Duplicati files.
Added a button to purge the cache from the settings menu.
Added a size label to show the size of the signature cache.
Made the ListBackupFiles abort the current action when closed.
Made the ListBackupFiles available from the status window.
Fixed a small problem where all folders were marked as deleted in the previous commit (would only result in missing empty folders on restore).
Changed the name of the "Setup" menu to be "Wizard ..." for issue #13, and changed the icon.
Added Mono compatible SQLite dll's.
Updated the SQLite dll's to version 1.0.60.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@139 59da171f-624f-0410-aa54-27559c288bec
2009-04-01 08:30:14 +00:00
kenneth.skovhede@gmail.com acf06ab682 Fixed a minor race condition in the SingleInstance code.
Made more readable error messages if the SingleInstance code blocks.
Semi-fixed the problem with piling of remote invocations.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@125 59da171f-624f-0410-aa54-27559c288bec
2009-03-21 17:06:45 +00:00
kenneth.skovhede@gmail.com df461a5928 Added a SingleInstance class to ensure that only one instance can run, this closes #6.
Updated license texts.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@124 59da171f-624f-0410-aa54-27559c288bec
2009-03-21 16:37:30 +00:00
kenneth.skovhede@gmail.com 829ae5cf59 Removed embedded icons.
Fixed issue #20, now the icons look much better.
Fixed issue #23, an error on "Add group".
Fixed issue #30, GPG Encryption default path is incorrect.
Fixed a bug where sorting was invalid, making the differential backups incorrect, may cause problems on restore.
If you have used an SVN build, you should force a full backup, to ensure backup integrity.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@114 59da171f-624f-0410-aa54-27559c288bec
2009-03-16 22:28:54 +00:00
kenneth.skovhede@gmail.com 5bb75df28d Added passive/active option to the FTP backend.
Added button to create the remote folder, when using FTP.
This closes #2.
Added progressbars and status text to the status window.
This closes #7.
Fixed issues with interrupted uploads, if there were files, but the manifest was incomplete.
The FTP connection now has keep-alive disabled.
This closes #15.
Fixed #12 for now, the fix could have more grace, but works for now.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@112 59da171f-624f-0410-aa54-27559c288bec
2009-03-11 20:56:01 +00:00
kenneth.skovhede@gmail.com 20fc8ffaa6 A bunch of minor fixes for the beta release.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@98 59da171f-624f-0410-aa54-27559c288bec
2009-02-22 21:30:32 +00:00
kenneth.skovhede@gmail.com c361762709 Added option to store Duplicati setup along with each backup.
Added a few copyright notices.
Started implementing the new easy-restore option.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@87 59da171f-624f-0410-aa54-27559c288bec
2009-02-14 17:30:52 +00:00
kenneth.skovhede@gmail.com 8babf1d616 Updated license notices.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@85 59da171f-624f-0410-aa54-27559c288bec
2009-02-10 23:36:15 +00:00
kenneth.skovhede@gmail.com 263de976fb Restructured the database, upgrades are no longer possible.
Fixed many minor issues with the wizard.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@80 59da171f-624f-0410-aa54-27559c288bec
2009-02-05 23:27:46 +00:00