verhoek
bc053df294
Moved basic IO helper functions to Library.IO.
2018-10-27 12:17:07 +02:00
Mikael Mello
c72d5ce236
Revert hunk from 9ce1e80. Log redirect needs to be setup
2018-10-11 11:09:06 -03:00
Kenneth Hsu
d72128ec83
Remove unused method parameters.
2018-10-06 15:09:43 -07:00
Kenneth Hsu
9ce1e807c7
Remove unused variables and fields.
2018-09-29 10:41:27 -07:00
Kenneth Hsu
d4692e2d35
Use built-in method to expand environment variables.
...
After we removed the tilde expansion in revision c9aa6cf5fb ("Avoid
performing tilde expansion"), the Utility.ExpandEnvironmentVariables
method simply called System.Environment.ExpandEnvironmentVariables. We
can simplify the code by just referencing the built-in method directly.
2018-09-22 19:59:46 -07:00
Kenneth Skovhede
9ba03a3358
Added option to limit the number of allowed hostnames for the webserver
2018-08-07 00:36:12 +02:00
verhoek
05b2483b4c
Added chmoding of sqlite files after opening by sqlite. Removal of some duplication.
2018-06-21 18:58:55 +02:00
verhoek
772eb1f187
Moved method to sqlite loader.
2018-06-21 18:08:52 +02:00
verhoek
d6171a76fd
Readded parameter file option aliases similar as in commandline.
2018-05-23 21:36:46 +02:00
verhoek
67c8929759
wip
2018-05-23 19:37:49 +02:00
verhoek
7bf1768f80
Implemented default tempdir for backend server.
2018-05-22 21:51:29 +02: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 Skovhede and GitHub
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 Skovhede and GitHub
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