Commit Graph
74 Commits
Author SHA1 Message Date
verhoek 30cd41585b Corrected spelling function name. 2018-05-16 20:08:40 +02:00
Tyler Gill 0f9be9e440 Remove code related to the --default-filters parameter.
The UI work to change over from the initial default filters UI still needs to be done.
2018-03-21 16:18:14 -06:00
Tyler Gill 03df606a80 Merge branch 'feature/filter_groups' of https://github.com/duplicati/duplicati into feature/filter-groups 2018-03-21 12:23:03 -06:00
Kenneth SkovhedeandGitHub 3ec2b78828 Merge pull request #3086 from warwickmm/feature/disable_on_battery
Add option to disable backup when on battery power
2018-03-20 09:19:01 +01:00
Kenneth Hsu c00c6fd19b Make fields containing lock objects readonly.
If one of these fields is accidentally reassigned, it's possible for
threads to be oblivious to an existing lock.  By making the fields
readonly, we will be notified at compile-time if we inadvertently
redefine one of these fields.
2018-03-17 19:59:23 -07:00
Kenneth Hsu e2aa98fbca Add option to disable backup when on battery power.
This addresses issue #2666.
2018-03-16 19:32:50 -07:00
Kenneth Skovhede e124329f1e Merge branch 'feature/improved-logging' 2018-03-16 08:38:14 +01:00
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Hsu 1f8b542604 Use nameof operator when constructing ArgumentNullException.
This will make rename refactorings easier in the future.
2018-03-07 17:53:08 -08:00
Kenneth Skovhede 022b2087c0 Renamed DefaultFilters to FilterGroups 2018-03-05 22:27:16 +01:00
Kenneth Skovhede 64789858de Merge branch 'master' of github.com:duplicati/duplicati 2018-02-11 17:54:54 +01:00
Kenneth Skovhede be7cde4e6e Fixed the problem where the UI reports a warning but "got 0 warning(s)" 2018-02-11 17:54:44 +01:00
Tyler Gill 8190eb8d9c When running a backup via the GUI, filters are loaded from the database instead of from the options, which means that the default filters aren't taken into account.
This change updates the ApplyFilter method used by the Server's Runner method to search for the default filters option, and append those filters to the list if they are found.
This should support both global and per-backup settings for default filters, as it checks the options after the two are merged.
2018-02-09 11:29:00 -07:00
Kenneth Hsu 8810e0130d Make string comparisons use ordinal (binary) sort rules.
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth Skovhede 514a90b11f Updated the GUI commandline generation to use the new methods 2017-11-21 23:41:31 +01:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Kenneth Skovhede 11f7660939 Implemented logic to report if the backend is blocking the operation. 2017-09-04 12:15:47 +02:00
Dan Stahr 8c2280c86c Issue #2578: Removed all direct calls to VACUUM and added a command to run VACUUM manually 2017-08-04 11:24:18 +01:00
Kenneth Skovhede da0de9983b Implemented the live throttle control.
This fixes #1730
This fixes #1261
2017-06-20 13:00:52 +02:00
Kenneth Skovhede 62dc8e2178 Updated the UI commandline interface to work correctly with the status bar 2017-04-06 10:10:22 +02:00
Kenneth Skovhede e4f1d4106a Implemented a basic UI for running commandline from the WebUI 2017-04-04 16:58:29 +02:00
Kenneth Skovhede 8e9acddab8 Work on commandline 2017-03-29 09:53:28 +02:00
Kenneth Skovhede 077521719a Updated the runner to use the new result code 2017-01-23 20:47:35 +01:00
Kenneth Skovhede e692be5c92 Reworked the way log messages are handled, to include call-context setup.
This enables modules to report messages to the message-sink, and thus to the commandline through the normal interface.
This simplifies handling multiple logging systems, and supports reporting logging from multiple concurrent controller instances.

This fixes #2225
This fixes #1575
2017-01-09 23:27:56 +01:00
Kenneth Skovhede 1a004f75e5 Fixed exporting commandline if values contain double quotes.
This fixes #2090
2016-11-06 22:33:34 +01:00
Kenneth SkovhedeandGitHub 17e2a3dab4 Feature/add delete dialog (#2008)
Added a delete page with options to delete the local database, as well as the remote files.
Added a captcha to protect against automated attacks that would attempt to delete the remote files.

This fixes #1201
2016-10-13 21:45:31 +02:00
Kenneth Skovhede 53a7459f29 Fixed problem with UI saving global options in ApplicationSettings/ServerSettings.
This fixes #1720.
This fixes #1830
2016-09-23 23:23:44 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede e15d41654e Added compact feature to the UI.
This fixes #1867
2016-08-04 14:31:49 +02:00
Kenneth Skovhede cab7d0b839 Expanding filter strings using sourcefolder placeholders as well as environment variables.
This fixes #1645
2016-06-22 00:42:48 +02:00
Kenneth Skovhede 147f55e1c6 Added usage reporter to keep track of most-wanted features and to get an overview of how and why Duplicati crashes 2015-12-22 00:35:00 +01:00
Kenneth Skovhede 1dba4db17d Merge branch 'master' into angular_ui 2015-11-28 21:59:57 +01:00
Kenneth Skovhede 0b442ecdc6 Implemented escaping expanded environment variables when they are used inside regular expressions.
This fixes #1500.
2015-11-28 21:55:22 +01:00
Kenneth Skovhede 5f7ce4f244 Fixed minor issues with the restore process 2015-11-22 00:58:53 +01:00
Kenneth Skovhede 60bd9693d0 Imporved handling of the ~ character in paths 2015-09-05 09:14:21 +02:00
Kenneth Skovhede 5bc424437a Added options to do partial repairs of a temporary local database, to allow faster restore/searching with no local database 2015-04-08 21:01:36 +02:00
Kenneth Skovhede 166e98c7ab Bugfix for exporting filters to commandline.
This closes #1236.
2015-03-06 14:56:02 +01:00
Kenneth Skovhede 56aedbed50 Fixed the warnings from #1287 2015-02-15 22:32:50 +01:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede 8283a42335 Added options to control metadata during the restore process 2014-12-31 15:10:07 +01:00
Kenneth Skovhede c2fc930411 Implemented storing backup task info in the backup data 2014-10-14 14:45:49 +02:00
Kenneth Skovhede 877d89c7aa Fixed issue #1093
Added more quotes and escaping trailing backslashes.
2014-08-26 12:49:09 +02:00
Kenneth Skovhede b162e0d1bd Fixed a crash issue with temporary backups 2014-08-25 18:22:56 +02:00
Kenneth Skovhede 4c7878a27b Implemented method for downloading the bug-report after it has been created. 2014-08-05 23:04:00 +02:00
Kenneth Skovhede ef1cb1a3dc Added the action field to notifications 2014-08-04 09:06:12 +02:00
Kenneth Skovhede 9223de7df9 Implemented a notification system.
The system works with the tray-icon, but the tray icon does not yet post notifications.
Some work is required to provide meaningful interaction when clicking the notifications.

Implemented a key/value store that allows the UI to save settings and other items.
2014-08-04 01:06:29 +02:00
Kenneth Skovhede bf1acead25 Added import/export methods 2014-08-02 01:10:39 +02:00
Kenneth Skovhede 0e9e33344b Removed compile warning 2014-08-01 11:19:41 +02:00
Kenneth Skovhede ddbd689089 Implemented live monitor of the logs 2014-08-01 11:18:10 +02:00
Kenneth Skovhede 44a15ee6cf Implemented persistent error/warning states 2014-07-31 22:08:54 +02:00