Commit Graph

8870 Commits

Author SHA1 Message Date
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
Renovate Bot
a662d517a2 Update ASF-ui commit hash to 2a3fd2e 2021-06-14 03:12:35 +00:00
ArchiBot
e23cfb3a9c Automatic translations update 2021-06-14 02:16:34 +00:00
Renovate Bot
083c527b42 Update ASF-ui commit hash to e2c7a7b 2021-06-13 23:35:57 +00:00
Archi
05d45bb8cd Misc 2021-06-14 00:32:23 +02:00
Renovate Bot
74d834cd40 Update ASF-ui commit hash to d40bb84 2021-06-13 18:43:45 +00:00
Renovate Bot
1defef4fd3 Update wiki commit hash to f8c404e 2021-06-13 11:45:44 +00:00
Renovate Bot
81bbfaadc2 Update ASF-ui commit hash to 511b0f9 2021-06-13 09:12:01 +00:00
Renovate Bot
c6ff4cf5db Update ASF-ui commit hash to 41888bc 2021-06-13 02:59:22 +00:00
ArchiBot
d71a40fbf3 Automatic translations update 2021-06-13 02:15:49 +00:00
Renovate Bot
772b87ca18 Update ASF-ui commit hash to 01132bc 2021-06-12 23:39:35 +00:00
Renovate Bot
eb732e30ee Update ASF-ui commit hash to 9af2714 2021-06-12 02:44:37 +00:00
ArchiBot
eefc5a2b07 Automatic translations update 2021-06-12 02:11:17 +00:00
Renovate Bot
1cd32a88d8 Update ASF-ui commit hash to b11f603 2021-06-11 08:56:29 +00:00