162 Commits

Author SHA1 Message Date
JustArchi
df218074ad Gigantic code cleanup
Time to enforce some common file layout, as general mess started to annoying me. Sorry in advance for people using custom forks and having merge conflicts, this will help everybody in long-run
2016-11-24 07:32:16 +01:00
JustArchi
cba64531fa Make it possible to combine --server --client 2016-11-13 15:51:35 +01:00
JustArchi
10dbec9a67 Misc 2016-11-13 15:36:52 +01:00
JustArchi
c3cc743b03 Closes #359 2016-11-13 15:35:34 +01:00
JustArchi
7cec546749 Misc 2016-11-09 09:26:07 +01:00
JustArchi
6b744ea0d9 Fix WCF 2016-11-06 17:08:44 +01:00
JustArchi
8b3b822938 Rewrite entire ASF logging, as preparation for #354 2016-11-06 12:06:02 +01:00
JustArchi
e428a7a4f9 Misc 2016-11-02 13:12:26 +01:00
JustArchi
57be7cf237 Misc 2016-11-02 13:11:16 +01:00
JustArchi
549284d988 Fix ASF restart 2016-10-31 06:29:48 +01:00
JustArchi
fcfbd2453d Misc 2016-10-27 22:51:44 +02:00
JustArchi
b341bc453e Misc 2016-10-14 22:57:57 +02:00
JustArchi
fc9ae8dd7b Add support for creating new files
Now it's complete, bug-hunting begins
2016-10-07 01:36:02 +02:00
JustArchi
f108829129 Decent work on config reload ability
It was always annoying to restart whole ASF process just to issue a small config update for one of the bots, with this commit - auto reload has been implemented. ASF will automatically restart given bot instance if it's config file gets changed. With introduction of this commit, we also ditch StartOnLaunch property (because it no longer means sense, any disabled bot can be started through config edit), and we also ditch auto-shutdown of ASF process, because it's possible to edit bot config file to start it.
Some further work might be needed, this is pretty much work in progress. It would be super if ASF was also able to automatically decent new bot configs, and create new bots for them, but this is initial step.
2016-10-07 00:04:08 +02:00
JustArchi
bed87c4c80 Integrate DebugListener with Logger 2016-08-31 13:56:09 +02:00
JustArchi
e675a3a488 Enhance startup sequence a bit 2016-08-06 22:16:46 +02:00
JustArchi
eb886e8ca8 Move logging module initialization after setting home directory 2016-08-04 22:44:17 +02:00
JustArchi
4481fb3a86 Work work 2016-08-02 22:51:09 +02:00
JustArchi
7025659151 Refactoring for upcoming GUI app 2016-08-02 06:04:44 +02:00
JustArchi
6977343906 Refactoring 2016-08-01 17:23:40 +02:00
JustArchi
3934a3fdbc Add runtime check 2016-08-01 17:10:37 +02:00
JustArchi
82cbcecb6b Misc 2016-07-31 17:38:14 +02:00
JustArchi
fda3b1ac31 Misc 2016-07-31 15:39:46 +02:00
stackia
914936acdc Revert "Make WCF interface async"
This reverts commit fbb24506e2.
2016-07-30 12:17:01 +08:00
stackia
fbb24506e2 Make WCF interface async 2016-07-30 11:51:00 +08:00
JustArchi
4f01dc39fc Code review 2016-07-25 06:08:45 +02:00
JustArchi
0714c4e575 Add support for specifying --path= 2016-07-24 00:36:15 +02:00
JustArchi
3e8ef399dc Fix broken restart, closes #300 2016-07-19 22:18:00 +02:00
JustArchi
bfd37b4c06 Slightly modify Restart()
This fixes potential ultra-rare race condition of new process WCF being unable to bind to listening socket due to old process stil occupying it
2016-07-18 11:03:13 +02:00
JustArchi
39bc1fe719 Initialize AutoUpdatesTimer earlier
This fixes the potential issue of not initializing timer if first version check fails due to e.g. network failure
2016-07-18 10:51:25 +02:00
JustArchi
feb3fbfe59 Get used to null propagation 2016-07-10 20:17:35 +02:00
JustArchi
7e9844edab Implement and use persistent ServerList
Initial idea was suggested back in #66, but recently made possible in clean and nice way, thanks to @azuisleet and @Netshroud
2016-07-08 09:02:53 +02:00
JustArchi
69d6d6e10b Use ASF instead of Main for global logging routines, closes #280 2016-07-04 22:46:08 +02:00
JustArchi
38eb130217 Add support for logging/catching also very early messages 2016-07-04 22:30:29 +02:00
JustArchi
49c4f94bba But don't commit my tests 2016-07-04 19:35:50 +02:00
JustArchi
58cc203577 Use fatal level for unhandled exceptions 2016-07-04 19:33:54 +02:00
JustArchi
6ada40fc2f Implement NLog for ASF logging, closes #274, #279 2016-07-04 19:22:46 +02:00
JustArchi
ab4630c191 Add CodeStyle settings
In case somebody would like to stick with mine
2016-07-02 05:50:22 +02:00
JustArchi
e1e68d2d6a Enable greed mode
Barely anybody donates 😢
2016-07-02 05:46:23 +02:00
JustArchi
1fe5cfff49 Fix broken Mono after #268 2016-06-28 10:36:28 +02:00
JustArchi
57014aab6d Warn also on empty (invalid) cryptkey 2016-06-28 09:26:11 +02:00
JustArchi
4a5bff1b84 Add --cryptkey, #267 2016-06-28 09:24:43 +02:00
JustArchi
25094592c9 Misc 2016-06-28 07:50:44 +02:00
JustArchi
7351d07518 Improve ArchiService
- Correct DisplayName
- Implement proper Shutdown sequence instead of 20 seconds timeout-kill
- Misc
2016-06-28 07:14:51 +02:00
JustArchi
5a8701444a Formatting + code review 2016-06-28 06:58:59 +02:00
Justin Gerhardt
056b793262 adding ability to run as a windows service 2016-06-28 00:09:42 -04:00
JustArchi
951d58161f Use SharedInfo + Add ConfigGenerator version check 2016-06-27 02:07:27 +02:00
JustArchi
03ee96057f Add GiftsLimiterDelay 2016-06-24 22:26:52 +02:00
JustArchi
e658ae33b1 Misc 2016-06-24 03:17:11 +02:00
JustArchi
53d59ce2a9 Add !version 2016-06-06 05:27:11 +02:00