Commit Graph

121 Commits

Author SHA1 Message Date
JustArchi
0370168b02 Happy new year 2020-02-01 23:33:35 +01:00
JustArchi
55a0a7cfdb Convert background tasks to async void 2019-10-20 15:12:04 +02:00
JustArchi
514599390f Misc 2019-06-25 12:37:22 +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
7ebfbb6f31 Misc 2019-04-10 20:21:11 +02:00
JustArchi
91e495605b Port ArchiBot's WebBrowser client errors handling
First important change is for all requests sent by ASF. Across those 4 years of development I do not remember a single situation where retrying on 4xx status code brought any improvement, bad request has to be handled by us, access denied and not found won't disappear after retry, all other ones are rather unused. Therefore, it makes sense to skip remaining tries on 4xx errors and do not flood the service with requests that are very unlikely to change anything.
Second change is smaller one and it allows the consumer of WebBrowser to declare that he's interested in handling client error codes himself. This way he can add extra logic and appropriately react to them - ASF uses it in statistics module, where the listing can signal refusal to list due to e.g. outdated ASF version through 403. Previously this was treated on the same level as timeout, which wasn't optimal.
2019-04-05 16:24:02 +02:00
JustArchi
71a9f06e55 Implement interactive command console 2019-02-23 04:31:58 +01:00
JustArchi
b677ba8202 Code/style cleanup 2019-02-16 17:34:17 +01:00
JustArchi
a00782527d Add handling for one more deviceID + misc optimization 2019-02-15 21:20:44 +01:00
JustArchi
92e28ecc5b Open more interfaces for PublicAPI 2019-01-15 12:30:29 +01:00
JustArchi
18d5f1938f Open configs for public API 2019-01-14 21:50:23 +01:00
JustArchi
e1e9a9f457 Rider cleanup 2019-01-14 19:11:17 +01:00
JustArchi
ca74f1f4a7 Open utilities for public API 2019-01-12 17:51:24 +01:00
JustArchi
192656cd02 Implement basic code contracts 2019-01-10 23:44:32 +01:00
JustArchi
3bbddcf723 Happy new year 🎉 2019-01-02 16:32:53 +01:00
JustArchi
214dbaabcd Improve 2FA import process 2018-12-26 16:56:28 +01:00
JustArchi
c5aae8d534 Remove steam awards voting
We do not intend to keep it in mainline as the API is unstable and too sale-specific.
2018-12-26 02:56:38 +01:00
JustArchi
f8aa8babcf R# cleanup 2018-12-15 00:27:15 +01:00
JustArchi
cd0962f14c Another logical fixes 2018-12-09 21:26:22 +01:00
JustArchi
c6c7f35f7e Make MatchActively take into account non-tradable items 2018-12-09 18:08:14 +01:00
JustArchi
dfc8473680 Remove dead code 2018-09-22 01:30:07 +02:00
JustArchi
3b82187824 Add changelog during update
Thanks @Abrynos
2018-09-21 03:29:54 +02:00
Abrynos
18cd620db8 Add Utilities.MarkdownToText() (#903)
* Add Utilities.MarkdownToText()

* Add GET /Api/WWW/MarkdownToText?text={text} and sort usings alphabetically

* Revert sorting usings

* Sort functions

* Remove Log if the user is at fault

* Rename variable and adjust if for errors
2018-09-20 22:20:52 +02:00
JustArchi
5abace39f9 Add new Bot actions + a lot of performance improvements 2018-09-19 18:25:17 +02:00
JustArchi
7ab19aa806 Refactor ASF commands for future actions
Closes #891
2018-09-15 22:34:32 +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
JustArchi
16d002f99b Misc code cleanup 2018-07-27 04:52:14 +02:00
JustArchi
1b5fc78068 Correct WebProxy type for #855 2018-07-17 21:10:18 +02:00
JustArchi
69f768acff Improve command args parsing
Previously ASF joined out-of-range arguments in string commands (input, nickname, owns) using a normal space, now original whitespace is preserved, which is especially useful for including custom whitespace characters in nickname command.
2018-05-16 22:35:32 +02:00
JustArchi
bafdb93a0c Misc 2018-04-23 05:53:58 +02:00
JustArchi
3682eefc02 Code review 2018-03-09 15:43:25 +01:00
JustArchi
1b56c00c7a Misc 2018-02-26 19:48:29 +01:00
JustArchi
457d70b463 Misc 2018-02-26 19:32:53 +01:00
JustArchi
c18964ceef Greatly improve ASF background operations
I hated that Forget() for quite a long time now, finally this code looks much better now.
2018-02-26 18:48:57 +01:00
JustArchi
dc4d455408 Misc 2018-02-13 15:28:28 +01:00
JustArchi
e7f517aecf Follow-up code cleanup after #727 2018-01-08 01:48:57 +01:00
JustArchi
c5e21b02aa Add support for SteamAwards 2018-01-04 19:59:19 +01:00
JustArchi
6bbff6ab4e Happy new year 2018-01-01 02:56:53 +01:00
JustArchi
d632e85309 Add /Api/Type endpoint 2017-12-14 08:12:33 +01:00
JustArchi
4e327cb26e Misc 2017-12-07 08:44:01 +01:00
JustArchi
83821e9994 Make usage of login keys optional 2017-11-28 21:31:45 +01:00
JustArchi
d5f44f8f6c ReSharper: update header 2017-11-18 17:27:06 +01:00
JustArchi
c1e6604876 Code cleanup 2017-11-16 22:30:34 +01:00
JustArchi
15d3f48751 Code cleanup 2017-11-16 22:13:34 +01:00
JustArchi
8019cdcbb4 Code review according to Jeffrey Richter
> The pattern is to take the basest class or interface possible for your arguments and return the most specific class or interface possible for your return types. This gives your callers the most flexibility in passing in types to your methods and the most opportunities to cast/reuse the return values.
2017-11-16 22:10:11 +01:00
JustArchi
e2e22560b7 Make it possible to use extra arguments in commands 2017-09-26 01:04:05 +02:00
JustArchi
aea0f423d9 Misc 2017-09-23 06:44:37 +02:00
JustArchi
10ffd242cd ReSharper ignored warnings review 2017-09-21 03:16:42 +02:00
JustArchi
ad187c0d88 Closes #607 2017-08-05 22:35:03 +02:00