Commit Graph
564 Commits
Author SHA1 Message Date
Kenneth Skovhede 87c1c2c6f2 Simplified filter logic 2014-08-25 15:21:58 +02:00
Kenneth Skovhede c000cb3ae4 Implemented caching and tweaked the logic for default filter results 2014-08-24 16:31:42 +02:00
Kenneth Skovhede 3e04e1afec Fixed logic for deleting old temp files 2014-08-17 22:54:14 +02:00
Kenneth Skovhede 63987d2369 Fixed an escape char that did not work well with Windows 2014-08-16 14:19:32 +02:00
Kenneth Skovhede b8199ad1c4 Fixed handling of multi-byte characters in both HttpServer and Duplicati.
This fixes issue #1085 and issue #1063.
2014-08-13 23:42:26 +02:00
Kenneth Skovhede b5de1b56ce Updated copyright year on all assemblies.
Also removed the copyright microsoft statement that was erroneously applied to some assemblies.
This fixes issue #1083.
2014-08-12 13:31:30 +02:00
Kenneth Skovhede 0cea847139 Fixed the crash that occurs on windows after running a task (introduced in 2.0.0.56) 2014-08-12 11:03:52 +02:00
Kenneth Skovhede 01c64e1b9d Improved the worker thread to prevent crashes of the worker on Windows. 2014-08-11 20:59:00 +02:00
Kenneth Skovhede fec4336414 Removed a few compile warnings 2014-08-06 10:31:01 +02:00
Kenneth Skovhede 9b6cf144d8 Added automatic removal of old temp files on startup in the commandline.
Added a timer to periodically purge temp files from the server.
2014-08-06 10:30:46 +02:00
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