Commit Graph
120 Commits
Author SHA1 Message Date
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Kenneth Hsu 6876d765b0 Remove unreachable code. 2020-11-21 13:41:57 -08:00
Kenneth Hsu 83ac03843d Fix spelling errors in comments.
In doing so, we also normalized some line endings.
2019-12-14 09:52:55 -08:00
Kenneth Hsu 2aa76881a5 Mark fields that don't need to be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
BlueBlock d81deae8d6 when debug, on startup run after 10 seconds then run every 1 hour 2019-08-31 13:22:45 -04:00
Kenneth Hsu 6c28db687c Fix issue reading configuration from parameters file.
This fixes issue #3761.
2019-05-11 11:02:37 -07:00
verhoek b8875f0559 Removed duplicate string. 2019-03-03 18:40:30 +01:00
verhoek a62c2f3db4 Small fixes. 2019-02-28 20:34:19 +01:00
verhoek 59d3ceb91a null propagation. 2019-02-28 17:56:32 +01:00
verhoek 26f42a3ea8 Extracted worker thread and webserver methods. 2019-02-28 17:51:52 +01:00
verhoek e1e29962e3 Moved livecontrol to own method. 2019-02-25 12:34:32 +01:00
verhoek 0bea4e0289 Extract purge temp files timer logic to method. 2019-02-25 11:35:43 +01:00
verhoek 57c9805848 Extract method. 2019-02-25 11:35:43 +01:00
verhoek 8330d7bdb9 Call GenerateWebserverPasswordTrayIcon from one place only. 2019-02-25 11:35:43 +01:00
verhoek b57f679899 Extracted method. 2019-02-25 11:35:43 +01:00
verhoek d4de82b070 Renamed instance. 2019-02-25 11:35:43 +01:00
verhoek d9bba6ccc3 Conver static consts to lowercase. Extract logging config to private function. 2019-02-25 11:35:43 +01:00
verhoek 38ddcf765f Refactored parameterfile option. 2019-02-25 11:35:43 +01:00
verhoek c352b9f117 Make alternative help commands more compact. 2019-02-25 11:35:43 +01:00
verhoek baad3e2c95 Simplify show help. 2019-02-25 11:35:43 +01:00
verhoek 9e498a2548 Use more readable local function. 2019-02-25 11:35:43 +01:00
verhoek 5969cb07d2 Extract purge temp files timer logic to method. 2019-02-14 21:50:28 +01:00
verhoek 13fec7b253 Extract method. 2019-02-13 22:10:00 +01:00
verhoek 5a7fd7183d Call GenerateWebserverPasswordTrayIcon from one place only. 2019-02-13 22:06:21 +01:00
verhoek f89e60033b Extracted method. 2019-02-12 21:59:43 +01:00
verhoek c5f1198752 Renamed instance. 2019-02-10 19:58:56 +01:00
verhoek 571e8ef989 Conver static consts to lowercase. Extract logging config to private function. 2019-02-09 16:39:40 +01:00
verhoek bcf7df2de3 Refactored parameterfile option. 2019-02-09 16:09:32 +01:00
verhoek 1967eabd6f Make alternative help commands more compact. 2019-02-09 16:09:32 +01:00
verhoek e57475d972 Simplify show help. 2019-02-09 16:09:32 +01:00
verhoek eb36915045 Use more readable local function. 2019-02-09 16:09:32 +01:00
Rune HenriksenandGitHub a951987dcd Merge pull request #3577 from warwickmm/remove_unused_local_variables
Remove unused local variables
2019-01-05 00:13:55 +01:00
Kenneth Hsu a6153c3cd8 Do not explicitly rethrow exception.
When rethrowing an exception, we should do it by simply calling throw;
and not throw exc;, because the stack trace is reset with the second
syntax, making debugging a lot harder.
2018-12-31 15:25:57 -08:00
Kenneth Hsu 577154df00 Remove unused local variables. 2018-12-31 15:02:59 -08:00
Kenneth Hsu 8dd3aeaf26 Use invariant culture in calls to ToLower and ToUpper. 2018-12-11 21:21:07 -08:00
verhoek ab12be6bbd Renamed IsClientLinux to IsClientPosix . 2018-11-03 09:26:04 +01:00
verhoek 8bb406cd15 Migrated to use the platform class. 2018-11-02 22:17:16 +01:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
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