Commit Graph

31 Commits

Author SHA1 Message Date
Archi
7e9e90764b Use static lambdas wherever possible
Thanks Rider
2021-09-27 21:33:52 +02:00
Archi
f2d3a2a894 Use string interpolation wherever possible
Majority of cases still need to go through string.Format() due to localization requirements
2021-09-27 19:59:00 +02:00
Łukasz Domeradzki
9f281c6055 Embrace madness (#2394)
* Embrace madness

* Remove unused code

* Misc

* Address Abry's note

* Update for Madness 0.3.0
2021-08-07 14:03:46 +02:00
Archi
74d3efaf4b Misc 2021-06-26 14:43:20 +02:00
JustArchi
d21d2473fe RuntimeCompatibility -> Compatibility 2021-05-08 01:43:08 +02:00
JustArchi
e60b54e402 Refactor EVERYTHING
Directories structure + namespaces relevant to them
2021-05-08 01:37:22 +02:00
JustArchi
ef52e076d3 Cleanup round 2021-05-06 20:28:25 +02:00
JustArchi
b6772b9b1e Resolve CA1034 2021-05-06 20:16:06 +02:00
JustArchi
4102f59f5a Code cleanup 2021-03-16 11:07:45 +01:00
JustArchi
45a5fec95a Happy 2021
And let's hope it'll be better than 2020
2021-01-03 22:24:22 +01:00
JustArchi
e82560259b Final code cleanup 2020-11-14 22:37:00 +01:00
JustArchi
b3d476dea4 Round 2 of nullable checks 2020-08-23 20:45:24 +02:00
Łukasz Domeradzki
9fc1ea65a5 Closes #1543 (#1944)
* Start working on nullable checks

help me

* Update GlobalConfig.cs

* Finish initial fixup round

* nullability code review
2020-08-22 21:41:01 +02:00
JustArchi
0370168b02 Happy new year 2020-02-01 23:33:35 +01:00
JustArchi
92c9cdb4ad Misc 2020-01-19 00:51:59 +01:00
JustArchi
bb2f7d66d8 Print IPC.config when debugging 2020-01-19 00:49:18 +01:00
JustArchi
0fd649fac2 Fix ASF-ui for single-file publishes 2019-12-05 22:13:52 +01:00
Łukasz Domeradzki
5b4867c387 Update ASF to .NET Core 3.0 (#1427)
* Initial bump to .net core 3.0

* Update cc.sh

* Update appveyor.yml

* Update ArchiSteamFarm.csproj

* Update appveyor.yml

* Update .travis.yml

* Build corrections

* Cleanup

* Update .travis.yml

* Don't publish trimmed for now

* Update ArchiSteamFarm.csproj
2019-09-26 20:28:25 +02:00
Sebastian Göls
4cf66478cb Feature handle ipc config changes (#1349)
* Handle changes to IPC.config

* Only restart ArchiKestrel instead of ASF as a whole

* Fix autocomplete mistake https://www.youtube.com/watch?v=s1BDBT9LQJg

* Rename methods as requested and Handle multiple write events correctly

* Revert requested changes
2019-08-01 21:12:48 +02:00
JustArchi
8dd75d5313 Avoid ASF crash in #1283
Won't solve the misconfiguration caused by the user, but ASF crash can be avoided at this stage.
2019-06-14 13:53:28 +02:00
JustArchi
b677ba8202 Code/style cleanup 2019-02-16 17:34:17 +01:00
JustArchi
e1e9a9f457 Rider cleanup 2019-01-14 19:11:17 +01:00
JustArchi
3bbddcf723 Happy new year 🎉 2019-01-02 16:32:53 +01:00
JustArchi
f8aa8babcf R# cleanup 2018-12-15 00:27:15 +01:00
JustArchi
7c3cbc03f8 Remove default config files 2018-10-07 03:21:32 +02:00
Abrynos
2e37c955a3 Make custom UI with --path argument possible (#915)
* make custom UI with --path argument possible

* Move logic from SharedInfo to ArchiKestrel and Fix bug with GET /Api/WWW/Directory

* No lazy instantiation

* Make set of WebsiteDirectory private and add default value

* i think i need to watch this: https://www.youtube.com/watch?v=X4rU02088Xc

* Further remove logic from SharedInfo

* Use relative path in default

* Add comment explaining default value of relative path

* Fix bug coming from relative path as default value

* Revert changes to version that worked
2018-10-07 03:17:32 +02:00
JustArchi
3027f16f4e Rename /Api/Log -> /Api/NLog
Keep compatibility with old endpoint for time being
2018-09-14 23:02:15 +02:00
JustArchi
a110f9d060 Set kestrel logging globally
User is free to override it if he wants to
2018-09-08 02:23:23 +02:00
JustArchi
30ea4e46a5 Misc 2018-09-08 01:11:57 +02:00
JustArchi
a04fb33343 Structure cleanup 2018-09-08 01:03:55 +02:00
Łukasz Domeradzki
e18c8ffa55 Rewrite IPC from HttpListener to KestrelHttpServer (#898)
* Debug tests

* Update

* Add support for IPCPassword

* Misc

* Misc

* Update

* Misc

* Cut dependencies to bare minimum

* Update

* Update

* Update

* Update

* Add support for websockets

* Cleanup and preparation for merge

* Add missing mapping of / -> index.html

* Add support for custom path + misc

* Misc

* Declare latest compatibility version

* Fix harmless error on /Api/Log websocket disconnect
2018-09-08 00:05:23 +02:00