Commit Graph

51 Commits

Author SHA1 Message Date
JustArchi
dd8c1a79e4 Localizing... 2017-01-06 16:29:34 +01:00
JustArchi
28e2cfbc7c Localizing... 2017-01-06 15:32:12 +01:00
JustArchi
ba8d70aebb Copyright update 2017-01-02 20:05:21 +01:00
JustArchi
2f1b6311ac Use HttpTimeout for WCF timeout 2016-12-29 10:40:35 +01:00
JustArchi
9b56734bad Increase WCF timeouts
As @Ryzhehvost pointed on chat, default value of 1 minute can be too short for more expensive ASF commands.
Notice: Setting SendTimeout on server side doesn't really affect anything here, but was added for consistency
2016-12-26 15:59:47 +01:00
JustArchi
30c69cf57c Move main ArchiLogger from ASF to Program
It makes more sense to put it in ASF class due to sharing potential, but I want to unify ArchiBoT logging and this makes it easier for maintenance
2016-12-23 18:49:52 +01:00
JustArchi
00fb1b7c69 Misc 2016-12-16 15:02:41 +01:00
JustArchi
f477b79fa2 Fix cross-OS WCF incompatibility
Mono really struggles with this and can't respond to windows clients
2016-12-16 14:55:33 +01:00
JustArchi
711d573e28 Misc 2016-12-11 18:16:55 +01:00
JustArchi
e90780ddac Fix WCF on Mono
It doesn't support metadata in tcp binding
2016-12-11 17:58:53 +01:00
JustArchi
cf4e9172ee Closes #373 2016-12-11 16:56:33 +01:00
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
b937ba9307 Misc 2016-11-15 15:44:44 +01:00
JustArchi
adbabb5264 Bring back WCF address denied message 2016-11-15 15:43:34 +01:00
JustArchi
cba64531fa Make it possible to combine --server --client 2016-11-13 15:51:35 +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
fcfbd2453d Misc 2016-10-27 22:51:44 +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
9594357d56 Misc code analysis fixes 2016-08-13 04:39:17 +02:00
JustArchi
7025659151 Refactoring for upcoming GUI app 2016-08-02 06:04:44 +02:00
JustArchi
d85d41c215 General improvements 2016-08-01 18:17:51 +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
5611694b90 Misc 2016-07-28 18:27:01 +02:00
JustArchi
efd7fbd3c0 Style fixes + move ServiceHost to try block 2016-07-28 18:07:26 +02:00
stackia
8208e9aa77 Remove the WCFPublishMetadata config option, make it always on 2016-07-28 23:58:25 +08:00
stackia
c13eb02e51 Add an option to switch WCF metadata publishing 2016-07-28 20:34:35 +08:00
JustArchi
feb3fbfe59 Get used to null propagation 2016-07-10 20:17:35 +02:00
JustArchi
561fb66e7a Correct harmless VS code analysis warnings 2016-07-08 07:41:36 +02:00
JustArchi
cdcaa9b06c Code review 2016-05-30 01:57:06 +02:00
JustArchi
b8faca2517 Gigantic code review (with ReSharper) 2016-05-13 06:32:42 +02:00
JustArchi
9d97ca16e8 Misc WCF code review 2016-05-07 15:24:09 +02:00
JustArchi
415ee8cc57 Misc 2016-04-25 11:10:39 +02:00
JustArchi
fa12ffd9d0 Add headlness mode 2016-04-06 16:37:45 +02:00
JustArchi
23d9dcffe7 Enable AccountPlayingDelay of 0, WCFHostname of null and add code for fixing fuckups 2016-03-22 17:26:39 +01:00
JustArchi
c88d9bf123 Implement SteamOwnerID 2016-03-18 09:02:09 +01:00
JustArchi
fccca6a4fc Misc 2016-03-15 07:04:31 +01:00
JustArchi
1de3c5bec0 Code review 2016-03-10 01:20:17 +01:00
JustArchi
bb90dc1c01 Bugfixes 2016-03-06 23:32:17 +01:00
JustArchi
292ec97b1c Work on GlobalConfig, #131 2016-03-06 23:28:56 +01:00
JustArchi
44a595c1df Code review 2016-02-24 06:20:35 +01:00
JustArchi
c5ac0196de Do not shutdown when WCF is active 2016-02-03 05:46:44 +01:00
JustArchi
049b78eb02 Rewrite logging a bit 2016-01-24 18:08:27 +01:00
JustArchi
3d54772da5 Hooray for 2016 2016-01-16 04:21:36 +01:00
JustArchi
aa2cf6dbe4 General: ArchiBoT codebase sync 2016-01-14 02:48:56 +01:00
JustArchi
6a12a26612 WCF: Make it possible to launch also non-targetted commands 2016-01-07 22:29:55 +01:00
JustArchi
ceb641d1fa WCF 2/2 2016-01-04 00:02:18 +01:00
JustArchi
47fdff2993 WCF 1.5/2 2016-01-03 22:23:30 +01:00