Commit Graph
59 Commits
Author SHA1 Message Date
Kenneth Skovhede 1d39773126 Updated CloudFiles auth url 2013-10-28 22:42:45 +01:00
Kenneth Skovhede d3f4058057 Fixed various minor issues with backends 2013-05-06 20:36:26 +02:00
Kenneth Skovhede e5b3f0ea93 Rewrote all backends to use the new Uri parser.
Updated the regex to be a little more forgiving.
Does not handle paths with @, like "ftp://server/@folder"
2013-05-05 23:46:00 +02:00
Kenneth Skovhede 62c75d9af9 Removed all informs code (no more 1.3.x UI) 2013-05-05 17:07:24 +02:00
Kenneth Skovhede 9d09cb473d Renamed ftp-password to auth-password and ftp-username to auth-username 2013-05-05 16:40:37 +02:00
Kenneth Skovhede 0014b69ccf Removed unused x86 configurations and fixes som build refrences 2013-05-05 13:45:02 +02:00
kenneth@hexad.dk f8dc5bbafd Added the "Password" type to argument types for simplified handling of password masking.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1509 59da171f-624f-0410-aa54-27559c288bec
2013-01-22 09:28:43 +00:00
kenneth@hexad.dk c74092f8a9 Fixed some timeout/abort issues by implementing everything by hand, on top of the async methods.
Now the WebRequest.Timeout property ONLY affects the GetRequestStream() and GetResponse() methods as the documentation says it SHOULD.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1331 59da171f-624f-0410-aa54-27559c288bec
2012-06-06 12:55:48 +00:00
kenneth@hexad.dk e8eddc1acb Update issue #607
Fixed the 404 error with CloudFiles.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1256 59da171f-624f-0410-aa54-27559c288bec
2012-05-08 18:25:57 +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.skovhede@gmail.com 00c4fc74f2 Update issue #508
Status: Fixed

There is no longer url encoding of the username or API key for CloudFiles

git-svn-id: https://duplicati.googlecode.com/svn/trunk@986 59da171f-624f-0410-aa54-27559c288bec
2011-11-15 22:11:10 +00:00
kenneth.skovhede@gmail.com 8b7d8c0270 Update issue #500
Status: Fixed
The user is no longer asked to verify the password for the connection

git-svn-id: https://duplicati.googlecode.com/svn/trunk@973 59da171f-624f-0410-aa54-27559c288bec
2011-11-05 14:52:18 +00:00
kenneth.skovhede@gmail.com fb7e36636b Update issue #490
Status: Fixed
The UI will now validate the servername to avoid problems with incorrect hostnames.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@956 59da171f-624f-0410-aa54-27559c288bec
2011-10-30 08:49:15 +00:00
kenneth.skovhede@gmail.com 91c4af1400 The UI now sends a special flag to the backend GUI that tells the current mode of operation.
This flag allows the backends to provide better testing and warning messages.

Update issue #407
Status: Fixed

The backends now check for existing files in the target directory,
and specially looks for any "duplicati-*" files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@922 59da171f-624f-0410-aa54-27559c288bec
2011-10-01 14:55:38 +00:00
kenneth.skovhede@gmail.com 7ef7a98918 Update issue #251
Status: Fixed

The backend connections are now re-used.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@913 59da171f-624f-0410-aa54-27559c288bec
2011-09-24 11:39:50 +00:00
kenneth.skovhede@gmail.com 091994c0cb Merged trunk changes into 2.0 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@906 59da171f-624f-0410-aa54-27559c288bec
2011-09-23 06:24:58 +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 d801306e96 Fixes to be case insensitive when parsing destination url, only has effect for commandline usage
git-svn-id: https://duplicati.googlecode.com/svn/trunk@834 59da171f-624f-0410-aa54-27559c288bec
2011-07-23 15:12:36 +00:00
kenneth.skovhede@gmail.com aa63769bce Update issue #150
Status: Fixed

There is now a check to see if there are any duplicati-* files on the remote backend.
This is not done for the file-based backend, because that backend does not have a Test button.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@828 59da171f-624f-0410-aa54-27559c288bec
2011-07-04 17:25:11 +00:00
kenneth.skovhede@gmail.com 40777f951c Update issue #416
Added UI option to set the CloudFiles auth_url.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@814 59da171f-624f-0410-aa54-27559c288bec
2011-06-26 09:46:36 +00:00
kenneth.skovhede@gmail.com bb923bed2b Fixed a clarification for "CloudFiles" -> "CloudFiles (Rackspace)"
git-svn-id: https://duplicati.googlecode.com/svn/trunk@772 59da171f-624f-0410-aa54-27559c288bec
2011-05-09 20:11:09 +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 e1cfc59cfc Update issue #404
Status: Fixed

There is now a "UK Account" option, I will put a preview release soon.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@754 59da171f-624f-0410-aa54-27559c288bec
2011-04-27 19:46:35 +00:00
morten@momi.dk b6dc8981aa Update solution to .NET 4.0 and added new SSH backend based on SSH.NET.
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@709 59da171f-624f-0410-aa54-27559c288bec
2011-03-07 20:15:29 +00:00
kenneth.skovhede@gmail.com e2f7c2afac Update issue #346
Status: Fixed
I have now added password verification dialogs to all password fields.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@674 59da171f-624f-0410-aa54-27559c288bec
2011-01-15 15:40:33 +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 6ebc712bf4 Fixed a CloudFiles help string that mentions buckets
git-svn-id: https://duplicati.googlecode.com/svn/trunk@629 59da171f-624f-0410-aa54-27559c288bec
2010-12-11 17:15:49 +00:00
kenneth.skovhede@gmail.com 7270d2721c Fixed some strings for CloudFiles that mentioned AWS.
Fixed some strings for SSH help.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@627 59da171f-624f-0410-aa54-27559c288bec
2010-12-11 17:10:54 +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 6cbe503d28 The logic for missing folders on the backends have changed.
Previously some backends autocreated a missing folder, and some threw an exception.

The new standard is that all backends throw the FolderMissingException on all access (except delete).
This means that the Test() and List() methods are now the same for all stock backends.
Third-party applications that use the backends should implement custom logic to auto-create the folders,
when the FolderMissingException is encountered.

Duplicati auto-creates missing folders, but this can be toggled through the new flag --disable-autocreate-folders.
In case the auto-create fails to detect a missing folder, there is now a "create-folder" action in the commandline version.

Update issue #102
Status: Fixed
The IBackend_v2 interface has the CreateFolder and Test methods.
The CreateFolder is exposed to the commandline interface with the action create-folder.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@558 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 11:40:43 +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 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 1153d097fc Fixed various version information
git-svn-id: https://duplicati.googlecode.com/svn/trunk@460 59da171f-624f-0410-aa54-27559c288bec
2010-08-11 07:23:34 +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 5b6283995d Fixed an issue with cloudfiles and names with spaces (similar to issue #127).
Also changed the default url behavior to use api.mosso.com as the hostname to avoid problems with container names that are not valid hostnames.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@405 59da171f-624f-0410-aa54-27559c288bec
2010-05-13 18:10:09 +00:00
kenneth.skovhede@gmail.com 66ea524105 Fixed issue #202.
This was a timeout bug that was triggered after 100 seconds.
Also added a timeout control to the WEBDAV and FTP backends, in case they have the same bug.
Made a few string localizable in the CloudFiles backend.
Added the code to do local MD5 generation, but commented it out as there are issues with this.
Added Duplicati version string to the WEBDAV backend user agent identification.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@394 59da171f-624f-0410-aa54-27559c288bec
2010-04-23 16:34:22 +00:00
kenneth.skovhede@gmail.com 21f503318c Added option to compile as x86, to support 64bit debugging, see:
http://www.slickit.ca/2009/06/fixing-visual-studios-edit-and-continue.html

git-svn-id: https://duplicati.googlecode.com/svn/trunk@387 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 15:09:28 +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 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 5a75ae0ef6 Fixed issue #43, CloudFiles backend is now added and has a GUI.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@297 59da171f-624f-0410-aa54-27559c288bec
2009-09-23 16:49:56 +00:00
kenneth.skovhede@gmail.com f64e7ad8d7 Build r276
git-svn-id: https://duplicati.googlecode.com/svn/trunk@276 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:23:46 +00:00
kenneth.skovhede@gmail.com 0b82b67d38 Adjusted install build procedure to work with a clean checkout and a release build.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@272 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 21:18:18 +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 36ff6e736d Updated license texts and bumped version numbers
git-svn-id: https://duplicati.googlecode.com/svn/trunk@261 59da171f-624f-0410-aa54-27559c288bec
2009-08-20 20:54:43 +00:00
kenneth.skovhede@gmail.com c6fe80a805 Added option to switch temp folder for the backend tester
git-svn-id: https://duplicati.googlecode.com/svn/trunk@256 59da171f-624f-0410-aa54-27559c288bec
2009-08-10 20:54:13 +00:00
kenneth.skovhede@gmail.com 178d567ed8 Issue #43, the CloudFiles backend is now complete and can be used from the CommandLine.
Still needs to create a UI for it before it is avalible in the Wizard.
Added a non-seekable stream class to further improve on the reliability of the backendtester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@245 59da171f-624f-0410-aa54-27559c288bec
2009-08-01 12:26:28 +00:00
kenneth.skovhede@gmail.com a7414e0f23 Work on the CloudFiles backend. Unfortunately the official API is for .Net 3.5 and requires seekable streams.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@244 59da171f-624f-0410-aa54-27559c288bec
2009-07-26 21:39:26 +00:00
kenneth.skovhede@gmail.com 1e9268ac6f Fixes to the CloudFiles backend.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@243 59da171f-624f-0410-aa54-27559c288bec
2009-07-26 15:02:27 +00:00