Commit Graph

9133 Commits

Author SHA1 Message Date
Archi
d5a10ca7eb Misc 2021-06-25 14:43:46 +02:00
Renovate Bot
ee5874159d Update ASF-ui commit hash to 20310e6 2021-06-25 12:35:20 +00:00
Renovate Bot
b5850bc463 Update ASF-ui commit hash to 726b867 2021-06-25 02:57:02 +00:00
ArchiBot
3a1b404cdf Automatic translations update 2021-06-25 02:12:38 +00:00
Renovate Bot
4a0e0808ee Update ASF-ui commit hash to 664b71d 2021-06-24 02:36:20 +00:00
ArchiBot
ab92da5a15 Automatic translations update 2021-06-24 02:07:04 +00:00
Archi
2b41fd5983 Unify idling -> farming
We should use farm when we mean automatically playing games in order to receive card drops.
2021-06-23 23:48:48 +02:00
Archi
897e7150e2 Make reset command return back to GamesPlayedWhileIdle 2021-06-23 23:39:21 +02:00
Renovate Bot
b01d25fb28 Update ASF-ui commit hash to 8f2698f 2021-06-23 14:00:21 +00:00
Archi
abd8d41d06 Closes #2342 2021-06-23 12:51:24 +02:00
Vitaliya
f316bf7b49 Add controllers as services (#2343) 2021-06-23 12:21:01 +02:00
Renovate Bot
817d3da1b6 Update ASF-ui commit hash to 6593eb0 2021-06-23 02:07:43 +00:00
Renovate Bot
b79a87463f Update ASF-ui commit hash to 49c42b6 2021-06-22 02:35:18 +00:00
Renovate Bot
8fb0cbc5bf Update ASF-ui commit hash to f7f71e2 2021-06-21 23:42:13 +00:00
Archi
165d8622df Update .gitignore 2021-06-22 00:28:00 +02:00
Archi
ff4e9aa22a Use more appropriate exception 2021-06-21 23:58:03 +02:00
Archi
2c9d131ceb Actually throw on invalid input
Handling duplicates is fine, but this is userspace error
2021-06-21 23:56:49 +02:00
Archi
2cee5e442f Add extra bulltetproofing to AH's PlayGames()
We don't want to ever have duplicates there, even if userspace supplies them (which should never happen)
2021-06-21 23:51:26 +02:00
Archi
db3d4e465d Include more helpful output for Play() Bot action 2021-06-21 23:38:02 +02:00
Archi
6a8e48fd38 Optimize UrlGetToBinary() method 2021-06-21 23:20:32 +02:00
Archi
ed10eee974 Improve ASF codebase 2021-06-21 22:45:18 +02:00
Archi
c76decda35 Improve ASF codebase 2021-06-21 22:07:35 +02:00
Archi
b083587d46 Bump 2021-06-21 20:48:23 +02:00
Archi
6320657aee Correct MaxMessageBytesForLimitedAccounts
Thanks @Ryzhehvost
5.1.1.1
2021-06-21 20:06:55 +02:00
Renovate Bot
cb0cf03739 Update ASF-ui commit hash to 8f1aa00 2021-06-21 16:32:28 +00:00
Archi
d01a26e48a OS: Add FreeBSD support inside ASF code
#2129
2021-06-21 11:47:20 +02:00
Renovate Bot
a355c1a4ba Update ASF-ui commit hash to d8a29d4 2021-06-21 03:07:19 +00:00
ArchiBot
e5c69a7786 Automatic translations update 2021-06-21 02:17:15 +00:00
Renovate Bot
38e164e41a Update ASF-ui commit hash to c2fb776 2021-06-20 17:49:23 +00:00
Archi
38dc1730ab Misc 2021-06-20 13:44:04 +02:00
Renovate Bot
97c99da204 Update ASF-ui commit hash to b0fee5a 2021-06-20 03:03:30 +00:00
Archi
7f3ddcddcc Remove debugging leftovers 2021-06-19 17:18:00 +02:00
Renovate Bot
7bc584c520 Update ASF-ui commit hash to 2d88de2 2021-06-19 02:46:23 +00:00
ArchiBot
f9dd40c2c6 Automatic translations update 2021-06-19 02:16:40 +00:00
Renovate Bot
747f3cbd90 Update ASF-ui commit hash to e200206 2021-06-18 23:58:30 +00:00
Archi
cca2ab4174 Misc 2021-06-18 23:29:27 +02:00
Archi
346ed72fc7 Enable new storage functionality for plugins usage 2021-06-18 23:27:51 +02:00
Archi
398c93e9b7 Closes #2337 2021-06-18 20:56:32 +02:00
Łukasz Domeradzki
2aab56b775 Rewrite SendMessage() functions to account for new rate-limits (#2335)
* Rewrite SendMessage() functions to account for new rate-limits

* Refactor new message splitting logic into SteamChatMessage.cs

This makes it ready for unit tests

* Change the concept into UTF8-oriented logic

* Misc

* Add fix for another unit test

* Update

* Fix failing test

I SPENT HOURS ON THIS

* Misc

* Misc

* Add additional unit tests ensuring this works as designed

* Misc

* Misc

* Add one more unit test

* Rework the logic to account for new findings

* Misc

* Add unit test verifying exception on too long prefix

* Address first @Abrynos concern

Because we can

* Throw also on too long prefix in regards to newlines

* Correct wrong bytesRead calculation

This worked previously only because we actually never had enough of room for escaped chars anyway and skipped over (2 + 2 missing bytes was smaller than 5 required to make a line)

* Add unit test verifying if calculation was done properly

* Address @Ryzhehvost concern

* Handle empty newlines in the message properly

* Misc

No reason to even calculate utf8 bytes for empty lines

* Misc

* Add unit test verifying the reserved escape message bytes count

* Correct calculation of lines by taking into account \r

* Update ArchiSteamFarm/Steam/Bot.cs

Co-authored-by: Sebastian Göls <6608231+Abrynos@users.noreply.github.com>

* @Abrynos next time check if it compiles without warnings

* Update SteamChatMessage.cs

* Apply @Abrynos idea in a different way

* Rewrite bot part to remove unnecessary delegate

* Add @Ryzhehvost test

* Add debug output

* Extend @Ryzhehvost test for prefix

* Misc

* Misc refactor

* Misc

* Misc

* Add logic for limited accounts, correct for unlimited

Thanks @Ryzhehvost

* Misc

Co-authored-by: Sebastian Göls <6608231+Abrynos@users.noreply.github.com>
2021-06-18 19:50:14 +02:00
Archi
4367134380 Bump 2021-06-18 12:20:14 +02:00
Archi
0a0497ccaf Add Steam Summer Sale 2021 to SalesBlacklist 5.1.1.0 2021-06-17 20:03:43 +02:00
Renovate Bot
49faa357a9 Update ASF-ui commit hash to 0d3ed86 2021-06-17 12:17:56 +00:00
ArchiBot
640f7be017 Automatic translations update 2021-06-17 02:13:47 +00:00
ArchiBot
e089d1692e Automatic translations update 2021-06-16 02:15:56 +00:00
Renovate Bot
c52483f66c Update ASF-ui commit hash to 80c3516 2021-06-15 23:54:49 +00:00
Archi
b64eec8def Misc for netf
Doesn't make sense to check further if index points to the end of the string, this also handles previous check
2021-06-16 00:48:28 +02:00
Archi
47813a0eb6 Misc
In very unlikely situation where something other than our executable would reference our code, version and module of SharedInfo should refer to ASF code, not that executable.
2021-06-15 13:11:27 +02:00
Archi
edf46c0ff4 Misc: copyright notice on program startup 2021-06-15 13:10:45 +02:00
Renovate Bot
dcb0ec8c7b Update ASF-ui commit hash to fb1ad2f 2021-06-15 04:19:42 +00:00
Renovate Bot
0303b7e4f2 Update ASF-ui commit hash to f1bd804 2021-06-15 02:48:46 +00:00