Commit Graph

160 Commits

Author SHA1 Message Date
Łukasz Domeradzki
35f4651ed6 .NET 5.0 (#1999)
* Initial work

* Fix CIs

* Fix warnings

* Update .travis.yml

* Update dockerfiles

* Update libraries to .NET 5.0

* Misc

* Remove workaround for #1812

* Update cc.sh

* CI updates

* CI updates

* Update .travis.yml
2020-11-10 23:22:57 +01:00
JustArchi
ba08fe9631 Make it EVEN better! 2020-10-21 00:32:51 +02:00
JustArchi
71174f5978 Slight change of approach 2020-10-21 00:26:43 +02:00
JustArchi
e38887c607 Improve update process by preloading assemblies 2020-10-21 00:22:03 +02:00
JustArchi
b3d476dea4 Round 2 of nullable checks 2020-08-23 20:45:24 +02:00
JustArchi
0ddba57c0d Further improve on IProgress<T> idea
@KamushekDev with IProgress we can start reporting progress with precision to a percentage, and let the caller decide what he wants to display.
2020-08-23 13:51:21 +02:00
JustArchi
717257ec9b Misc
@KamushekDev when you subscribe to things like this, it's always worth having try finally block ensuring that you unsubscribe, even in case of unhandled exception in the middle.
2020-08-23 13:14:17 +02:00
Kamushek
a15a6e6fe7 IProgress (#1945) 2020-08-23 13:07:22 +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
4ead85965a Add another superpower: fetching 2FA deviceID automatically 2020-07-05 00:45:13 +02:00
JustArchi
70bb1e865a Thanks .NET Framework 2020-06-13 15:06:07 +02:00
JustArchi
460689841a Allow update operation to handle official plugins 2020-06-13 14:44:52 +02:00
JustArchi
0fa4d5e2a6 Refactor package info and their access tokens, add ISteamPICSChanges plugin interface 2020-06-09 22:56:04 +02:00
JustArchi
a5d85a211d Add /Api/{Bots}/Input endpoint
Makes https://github.com/JustArchiNET/ASF-ui/issues/888 (and similar actions) possible
2020-06-03 19:26:59 +02:00
JustArchi
e0935f1e70 Update ASF.cs 2020-05-27 10:30:47 +02:00
JustArchi
52c10f2223 When declaring custom process group, use it exclusively 2020-05-26 23:32:54 +02:00
JustArchi
ac8df87e08 Add support for network groups, #1798 2020-05-26 23:24:43 +02:00
JustArchi
4cb91bd46c Update ASF.cs 2020-05-23 15:15:55 +02:00
JustArchi
437417dadd Translations update 2020-05-23 15:15:10 +02:00
JustArchi
9c20956ac5 Use MD5 hashing also for WebProxy 2020-05-22 21:47:59 +02:00
JustArchi
8db90b6c2f Use hexadecimal strings for OS-wide resources
base64 slash character can cause problems with filepaths, besides, it's best to use ASCII only there due to various OS limitations
2020-05-21 23:42:32 +02:00
JustArchi
0f1b3f05f9 Implement CrossProcessFileBasedSemaphore in place of CrossProcessMutexBasedSemaphore
Hopefully this one works better
2020-05-21 23:02:04 +02:00
JustArchi
2b16198f22 Add LoginLimiter to cross-process semaphores 2020-05-20 23:09:27 +02:00
JustArchi
6c22724835 Implement OS-wide, cross-process semaphores for ASF instances
Distinction is preserved on webproxy basis (even for LoginLimiter which shouldn't work like that)

Addresses crucial part of #1798
2020-05-20 22:01:29 +02:00
JustArchi
9259043e6d Load NLog.config when not in AppContext.BaseDirectory instead
This is needed as custom NLog.config no longer gets loaded in single-file scenario, where NLog probes the directory of the unpacked files instead.

For non-single-publishes this doesn't change anything, as home directory is equal to base directory if not using custom path.
2020-05-16 00:54:28 +02:00
JustArchi
7edbe4a82f Misc 2020-05-10 18:53:10 +02:00
JustArchi
a4f88ca928 Misc 2020-05-04 16:00:22 +02:00
JustArchi
8e5735726b Misc 2020-05-04 15:31:35 +02:00
JustArchi
83e6addd94 DON'T LOOK
I warned you.
2020-04-18 18:33:27 +02:00
JustArchi
63c8a6540e Fix some disposable patterns 2020-04-18 14:08:37 +02:00
JustArchi
60a36066e5 Do not start interactive console if input is redirected 2020-04-13 22:25:14 +02:00
JustArchi
0370168b02 Happy new year 2020-02-01 23:33:35 +01:00
JustArchi
40d57e500b Revert "Add checksum"
This reverts commit 1678f5127f.
2019-11-24 23:18:15 +01:00
JustArchi
1678f5127f Add checksum 2019-11-24 23:01:27 +01:00
JustArchi
469f6d0d95 Closes #1513 2019-11-20 17:56:35 +01:00
JustArchi
067293eeb5 Start with .NET Core 3.0 code enhancements 2019-09-27 20:43:11 +02:00
JustArchi
8e036d00ce Misc 2019-08-01 21:24:55 +02:00
JustArchi
6b06b7fb82 Misc code review
@abrynos forgot to add logic for deleted IPC.config file 😁
2019-08-01 21:21:43 +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
1720df27d8 Do not purge archival log files during update 2019-07-27 21:28:09 +02:00
JustArchi
4592a20c89 General code review 2019-06-29 15:59:38 +02:00
JustArchi
448482e499 Use modded identifier for plugins setups 2019-06-25 12:26:55 +02:00
JustArchi
b98268a465 R# cleanup, small code improvements 2019-05-19 15:38:06 +02:00
JustArchi
16cb4320a3 Update routine code review/cleanup 2019-04-30 14:31:24 +02:00
JustArchi
8c105b14d1 Misc 2019-04-24 11:27:09 +02:00
JustArchi
4920e28ac9 Misc string comparison optimizations 2019-04-02 20:43:17 +02:00
JustArchi
19891c3f59 Respect additional config properties in APIs 2019-03-08 16:24:49 +01:00
JustArchi
e6d07f5fd5 Misc 2019-03-03 16:22:25 +01:00
JustArchi
fe6a5140ec Misc 2019-02-23 08:46:10 +01:00
JustArchi
65968b4302 Respect custom BotsComparer when navigating through bot names 2019-02-23 08:40:56 +01:00