Commit Graph
71 Commits
Author SHA1 Message Date
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 SkovhedeandGitHub 4f5d09f93d Merge pull request #3096 from Pectojin/system_info_add_username_and_startedby_variables
added 'UserName' and 'StartedBy' variables to the system info page
2018-03-16 08:41:55 +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
Rune Henriksen f414b2fdf2 added 'UserName' and 'StartedBy' variables to the system info page to help troubleshooting 2018-03-09 21:24:57 +01:00
Kenneth Skovhede 243830225e Rewrote the parameter file check for the server as it caused crashes in some cases 2018-02-01 09:48:00 +01:00
Pectojin c5236612bf Added --parameters-file as an argument option for the Duplicati server. Implementation based on the commandline implementation. 2018-01-28 20:03:06 +01:00
Kenneth Hsu 5fb1958ceb Remove redundant calls to ToString. 2017-11-26 15:44:34 -08:00
Kenneth Skovhede 6ad0fa649e Re-wrote the auto-updater to use process spawning instead of AppDomain loading to execute updates. 2017-10-11 12:49:14 +02: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
Rune Henriksen 2c394a5e64 Fix for duplicati/duplicati#2617
I moved the "delete log file on service start" functionality into DEBUG mode so that release versions of duplicati won't wipe out it's logs on service restart.

I wanted to retain the functionality for testing (no point having gigantic debug logs when debugging).
2017-09-17 04:07:37 +02:00
Kenneth Skovhede 57b3effeeb Fixed the server to use %LOCALAPPDATA% on Windows, unless it is already using %APPDATA%, in which case we just continue to use that. 2017-06-27 21:35:23 +02:00
Kenneth Skovhede 5cea95bb54 Merge branch 'tray_readpassword' of https://github.com/mnaiman/duplicati into tray_readpassword
# Conflicts:
#	Duplicati/Server/Database/ServerSettings.cs
2017-06-21 08:43:04 +02:00
Kenneth Skovhede ad0f58da17 Fixed startup crash 2017-06-20 14:17:52 +02:00
Kenneth Skovhede da0de9983b Implemented the live throttle control.
This fixes #1730
This fixes #1261
2017-06-20 13:00:52 +02:00
Max 0c97194cf7 Move GetDatabaseConnection to Server 2017-05-21 19:25:39 +02:00
Max c387de0e1b GetDatabaseConnection unification 2017-05-21 16:56:48 +02:00
Max 91f4f79559 added posibility to read server password from database 2017-05-02 21:14:28 +02:00
Kenneth Skovhede 7f4c9383c3 Merge branch 'feature/set_tempdir_for_sqlite' 2017-01-25 21:16:45 +01:00
Kenneth Skovhede 1424be05f9 Fixed a bunch of typos.
This fixes #2278.
2017-01-23 22:12:24 +01:00
Kenneth Skovhede 3b4cd3c9c2 Experiment to set the SQLite temp folder, both through the environment variable and the deprecated pragma statement 2017-01-15 23:09:47 +01:00
Kenneth Skovhede 2c5d95385f Added shutdown of the usage reporter.
This should fix #1892
2016-12-01 23:15:49 +01:00
Kenneth Skovhede bbb7f08614 Add an event listener to re-schedule backup tasks after saving a backup, to avoid waiting for the timed refresh 2016-11-26 14:58:05 +01:00
Kenneth SkovhedeandGitHub 480bc2dfbd Merge pull request #2002 from mnaiman/fix_logging
Fixed setting working dir
2016-10-14 21:06:04 +02:00
Max 60496cd393 fix path 2016-10-14 16:13:13 +02:00
Max 041c2c66e3 small fix
set current directory to allow .\path\ expansion
2016-10-11 20:00:50 +02:00
agrajaghh a86fee7900 remove old code and strings from 1.3 2016-10-09 21:42:24 +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
Max 775c635c22 support for specify ssl via command line 2016-06-26 13:47:24 +02:00
Kenneth Skovhede 020471bb2a Added a windows service 2016-04-13 11:44:21 +02:00
Kenneth Skovhede 41f20301a3 Implemented settings for controlling what data is sent with the usage reporter 2016-03-12 00:29:51 +01: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 73ddca0907 Various bug-fixes for the REST API + a new cache for querying completed task status 2015-10-04 17:14:51 +02:00
Kenneth Skovhede 60bd9693d0 Imporved handling of the ~ character in paths 2015-09-05 09:14:21 +02:00
Kenneth Skovhede a24615a1b6 Added option to set then datafolder with a commandline switch instead of only with an environment variable.
This fixes #1440.
2015-08-24 08:04:22 +01:00
Kenneth Skovhede 1f35824317 Converted to REST based API, with a wrapper layer for control.cgi so the current UI still works. 2015-07-30 14:31:27 +02:00
Kenneth Skovhede 3972211757 Added automatic log cleanup
This fixes #1298
2015-02-15 23:44:20 +01:00
Kenneth Skovhede 3ab1632f43 Cleanup broken database.
This fixes #1295.
This fixes #1287.
2015-02-15 22:54:49 +01:00
Kenneth Skovhede 6a916ff4e2 Moved usage og LC.L into the strings class 2015-01-20 21:11:14 +01:00
Kenneth Skovhede 16c791f0b5 Removed all resx files, now using Duplicati.Library.Localization exclusively 2015-01-20 21:07:24 +01:00
Kenneth Skovhede f27b1ba77d Fix for older versions of Mono, fixes issue #1136. 2014-10-13 13:25: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 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 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 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
Kenneth Skovhede 66f6e3a7ac Added the ping-pong handler 2014-07-25 14:26:33 +02:00
Kenneth Skovhede c85be90a96 Updated detection of encrypted/unencrypted database to follow the new logic in SQLite, where open always succeeds and a failed db is not detected until a query is made. 2014-07-20 09:15:33 +02:00
Kenneth Skovhede dab3d42acf Bugfix for release build 2014-07-18 22:58:56 +02:00
Kenneth Skovhede 9841dbc7ac Updated the autoupdater to use a static instance and fixed a number of paths to use the base dir.
Added a current pointer-file to allow running with a version that is not the newest.
Updater is now working except for OSX, where the bundle setup is causing issues when running the loaded instance.
2014-07-03 11:01:49 +02:00