Commit Graph
104 Commits
Author SHA1 Message Date
Kenneth Skovhede 00e6554842 Allowed detection of URI with no hostname component 2014-07-25 15:48:10 +02:00
Kenneth Skovhede 8286eb27a0 Implemented filters for jobs created with the GUI 2014-07-16 00:57:13 +02:00
Kenneth Skovhede a8db09d366 Changed the way the source-folder filters are applied so they are treated as separate entities to avoid messing with the logic in the filter handler. 2014-07-15 20:59:49 +02:00
Kenneth Skovhede cbeb54900a Added helper functions and a sanity check for the filters 2014-07-15 19:50:48 +02:00
Kenneth Skovhede 5096112d7f Fixed a typo error 2014-07-15 19:50:34 +02:00
Kenneth Skovhede f935af9968 Reworked the ReadWriteTimeout usage to avoid premature timeouts on Mono 2014-07-11 01:07:48 +02:00
Kenneth Skovhede ba29ecd880 Moved the browser-detection code to the utility library 2014-06-23 11:22:06 +02:00
Kenneth Skovhede 69bd080aa5 Updated the version number in all projects to 2.0.0.7 2014-06-13 15:08:51 +02:00
Kenneth Skovhede e70ba0a477 Updated product-number in the project files 2014-06-13 15:00:12 +02:00
Kenneth Skovhede d0ea1de01a Added UrlPathEncode i utility 2014-06-09 09:13:17 +02:00
Kenneth Skovhede e00f22938e Implemented the stop and abort logic in the UI and fixed some minor issues with handling this robustly 2014-05-21 14:06:33 +02:00
Kenneth Skovhede ae40de105c Fixed allowing --include and --exclude to the help command 2014-05-12 09:34:10 +02:00
Kenneth Skovhede 4414c2f0dd Moved SQLite related items into a separate project to avoid pulling in the extra content files when using the utility library for mini projects 2014-04-07 11:59:33 +02:00
Kenneth Skovhede 260c18c503 Fixed permission issue where opening a file for reading requested write permissions. 2014-04-07 11:35:20 +02:00
Kenneth Skovhede a544be5a5f Adedd option to use the OS dirsep char to supply multiple non-regexp filters in a single option 2014-04-05 14:04:41 +02:00
Kenneth Skovhede 5f9881a3df Added option to supply the browser command and improved browser detection on Linux with xdg-open 2014-03-27 15:24:38 +01:00
Kenneth Skovhede 5f5c309cec Fixed parsing windows paths with file:// prefix 2014-03-20 15:07:47 +01:00
Kenneth Skovhede 3650786764 Fixed a bug that would crash the app if the database needs upgrading 2014-03-18 13:16:40 +01:00
Kenneth Skovhede 377b1dfc4f Minor optimization to the database upgrader so it does not set the version on each run 2014-03-18 13:16:11 +01:00
Kenneth Skovhede 8d36f07955 Better handling of the time being passed from the web GUI 2014-03-17 15:47:53 +01:00
Kenneth Skovhede 4dafb85ec9 Exposed the url encode/decode functions 2014-03-12 01:42:16 +01:00
Kenneth Skovhede f82f2b3b0e Updated URI regexp to be even more flexible 2014-02-28 14:02:51 +01:00
Kenneth Skovhede add5534c50 Don't depend on System.Web because it is broken on Mono
Update issue #940
Status: Fixed

I took another approach and now manually parse and encode these strings.
This is done to avoid using System.Uri.EscapeUriString because it has some subtle issues:
http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
2014-02-10 14:35:02 +01:00
Kenneth Skovhede 47bc010b3c Added test-filters command 2013-12-07 15:22:51 +01:00
Kenneth Skovhede d14ec9432f Rewrote the storage of backup setups 2013-11-23 14:26:36 +01:00
Kenneth Skovhede 740d8c4fbf Added uname -a command to utility for better diagnosis 2013-09-25 23:31:18 +02:00
Kenneth Skovhede 4e1c188342 Fixed parsing Mono version number 2013-09-25 23:31:00 +02:00
Kenneth Skovhede 95c694dce7 Added application prefix to temp files, so we can see what files Duplicati spams the system with 2013-09-10 20:44:24 +02:00
Kenneth Skovhede c64fce2d18 Added a new wildcard matcher that is much faster at matching wildcards than the generic regex fallback.
Code from:
http://www.c-sharpcorner.com/uploadfile/b81385/efficient-string-matching-algorithm-with-use-of-wildcard-characters/
2013-08-31 22:59:00 +02:00
Kenneth Skovhede 9f4e5b4589 Update to collapse multiple regex filters into a single regex, as that is way faster 2013-08-31 22:57:21 +02:00
Kenneth Skovhede efc17dbd1b Rewrote the strategy for enumerating folders/files to use depth first instead of breadth first, as this seems to consume less memory.
Also updated so the callback is invoked before the item is put into the list, as this also reduces the number of items in the list.
2013-08-30 22:10:43 +02:00
Kenneth Skovhede f3c8cb6cca Possible fix for a crash 2013-08-25 19:26:12 +02:00
Kenneth Skovhede 6f639b02fd Changed how the hashes are re-used, so it is hopefully more compatible with Windows crypto API. 2013-08-21 22:24:36 +02:00
Kenneth Skovhede 25541d9d18 Implemented a new progress reporting system that relies polling for sending progress updates that occur with a high frequency. 2013-08-20 22:16:30 +02:00
Kenneth Skovhede 1e70f32ed3 Added guard against changing passphrase on existing backup 2013-08-17 22:05:40 +02:00
Kenneth Skovhede 84284dc46e Re-format stuff 2013-08-17 22:03:19 +02:00
Kenneth Skovhede e858ef1cf5 Rewrote FileBackedList to use virtual functions instead of functors, because the lambda functors are no longer instance methods in the new Mono compiler 2013-08-17 13:38:10 +02:00
Kenneth Skovhede 2dae70ba87 Fixed EPOCH to be UTC 2013-07-17 13:31:17 +02:00
Kenneth Skovhede b86005f373 Added correct usage of temporary files for disposing without having a using directive 2013-07-10 14:51:25 +02:00
Kenneth Skovhede 8e7806db00 Robustness fix 2013-07-10 14:33:02 +02:00
Kenneth Skovhede 98aa8c9537 Rewrote the file-backed list to use a buffer, and fixed some bugs when falling over to a file 2013-07-09 13:55:31 +02:00
Kenneth Skovhede b69cdcb136 Fixed filters to include everything if empty.
Will now include by default if there are only exclude filters.
If there are any include filters, the files are excluded by default.
2013-06-30 12:42:13 +02:00
Kenneth Skovhede a9ca999962 Updated to allow files as input arguments to backup 2013-06-29 12:17:52 +02:00
Kenneth Skovhede 2bf912a0af Rewrote the filter system to distinguish between match and result, which allows filter combinations 2013-06-29 12:16:30 +02:00
Kenneth Skovhede 8f69fc85c2 Removed a bunch of warnings 2013-06-26 21:29:03 +02:00
Kenneth Skovhede b9114e0125 Removed unused files 2013-06-01 14:59:39 +02:00
Kenneth Skovhede 6dc2864b7c Stray binary cleanup 2013-05-25 22:08:04 +02:00
Kenneth Skovhede d696670598 Reworked the result reporting to support type safe values 2013-05-25 16:40:15 +02:00
Kenneth Skovhede 687e60b847 Added generic version of a file-backed list, to accommodate large datasets without exhausting memory 2013-05-22 21:31:46 +02:00
Kenneth Skovhede 21f8b14da2 Fixed some whitespace issues.
Adde method to serialize an object for printing
2013-05-22 21:19:38 +02:00