Commit Graph

4334 Commits

Author SHA1 Message Date
JustArchi
13ff7983d9 Revert "crowdin-cli 2.0.13"
This reverts commit fe16d4e75b.

https://github.com/crowdin/crowdin-cli-2/issues/34
2017-04-08 21:32:05 +02:00
JustArchi
ad27eade56 Further enhance remaining TimeSpan-based strings 2017-04-08 21:12:44 +02:00
JustArchi
c990c57036 Misc 2017-04-08 20:34:17 +02:00
JustArchi
4e9bbdff68 Bump 2017-04-08 05:36:21 +02:00
JustArchi
1d3fb2a340 Translation updates 2.3.0.9 2017-04-08 05:20:03 +02:00
JustArchi
fe16d4e75b crowdin-cli 2.0.13 2017-04-08 05:18:20 +02:00
JustArchi
d06a47a2be Correct outdated localization context 2017-04-08 05:16:31 +02:00
Łukasz Domeradzki
444ebe22c9 Merge pull request #526 from JustArchi/humanize
Humanize TimeSpans, get rid of dirty manual TimeSpan translations
2017-04-08 05:14:20 +02:00
JustArchi
92bb7d0927 Humanize TimeSpans, get rid of dirty manual TimeSpan translations 2017-04-08 05:05:09 +02:00
JustArchi
8c0a100ae8 Enhance InventoryLimiterDelay
Gifts/Login limiter is actually working decent, because response is nearly instant and fast enough to not worry about it in long-run.
With inventory things are entirely different, as inventory fetching might take even a very long time, and while fetching one inventory, we might already run out of our delay and start fetching another one.
This is not a big functionality-wise, as it's nothing new for ASF to parse multiple inventories concurrently, but Steam Community actually counts number of requests, and our inventory function might ask for multiple pages during execution, which could quickly lead to a situation of 10+ ongoing inventory requests being sent concurrently for too many accounts at once, as we can't predict not only how long the request will be handled, but also how many sub-requests we will do across one.
This means that for optimal performance in terms of rate-limiting, we must limit ASF to one inventory request at a time, with mandatory InventoryLimiterDelay before asking for another one.
This can degrade performance of previously fast !loot requests on multiple accounts at once (especially with bigger inventories), but it will also decrease significantly a chance of getting rate-limited and requests failing.
2017-04-08 04:47:38 +02:00
JustArchi
4e1a03222b Fix potential STM logic exploit
Previously we calculated amounts (and therefore, differences) based on cards only, which means that user could earn some extra 'points' in our calculation for giving us many trash cards that we miss, and in exchange for that swap cards from some other game that would normally results in non-neutral difference on that game basis, but neutral+ in overall basis (that we operated on).
This would not cause any serious problem, because ASF ensures that trade is fair before calculating actual neutrality, but it could result in accepting a trade that is neutral+ only at first sight, and non-neutral+ when we take a closer look what we're actually swapping.
The logic was enhanced to handle differences on per-game basis now, and taking minimum in account, so all swaps on per-game basis have to be neutral+ now
2017-04-08 04:33:01 +02:00
JustArchi
721e96bb98 Closes #525
We're fine with 5.0+
2017-04-07 21:05:14 +02:00
JustArchi
68d49c8ec1 Fix sort -V to work on OS X 2017-04-06 00:23:48 +02:00
JustArchi
18800b0436 Misc 2017-04-05 18:08:26 +02:00
JustArchi
5b713dc5a9 Misc 2017-04-05 18:07:14 +02:00
JustArchi
995f34a5c2 Bugfix 2017-04-05 18:04:31 +02:00
JustArchi
7526f1e510 Add recently-introduced Mono facades APIs to envsetup 2017-04-05 18:02:10 +02:00
JustArchi
5feda9f751 Misc 2017-04-05 17:30:56 +02:00
JustArchi
64845e3d0f Add back accidentally removed comments 2017-04-05 17:29:25 +02:00
JustArchi
adfc992f26 Resharper Cleanup v2 2017-04-05 17:23:18 +02:00
JustArchi
fcf9686a79 Revert "Resharper cleanup"
This reverts commit 7c8d7b5ada.

Bad cleanup.
2017-04-05 17:01:18 +02:00
JustArchi
7c8d7b5ada Resharper cleanup 2017-04-05 16:59:48 +02:00
JustArchi
2199172244 Kill false warnings 2017-04-05 16:25:55 +02:00
JustArchi
c7515f9024 Post-merge Resharper fixes #501 2017-04-05 16:17:34 +02:00
Łukasz Domeradzki
7d7a1c9900 Merge pull request #501 from Logerfo/master
C# 7.0 syntax sugars
2017-04-05 15:54:21 +02:00
Bruno Logerfo
ce84e3845b new use cases 2017-04-05 10:43:16 -03:00
Logerfo
e4da0c05d5 Merge branch 'master' into master 2017-04-05 10:33:13 -03:00
JustArchi
be164ad726 Fix JSON failures with wallet code redeem 2017-04-05 15:03:27 +02:00
JustArchi
4b7906aab4 Code cleanup 2017-04-05 14:30:14 +02:00
JustArchi
0210be146e Bump 2017-04-05 14:19:34 +02:00
JustArchi
ae1d71f5af Packages update 2.3.0.8 2017-04-05 14:18:44 +02:00
JustArchi
275f7d03f8 Log unexpected json content when debugging 2017-04-05 14:16:47 +02:00
JustArchi
b510c8f28e Travis: Bump OS X 2017-04-03 04:16:53 +02:00
JustArchi
d3518fe827 Lower permission for accepting friend invite 2017-04-01 17:57:54 +02:00
JustArchi
8b987f58cf Misc 2017-04-01 16:53:17 +02:00
JustArchi
e00badcf43 Misc 2017-04-01 16:47:20 +02:00
JustArchi
97c1d136c7 Improve global config events handling, #520 2017-04-01 16:41:01 +02:00
JustArchi
16509b9958 Packages update #514 2017-03-30 20:44:03 +02:00
JustArchi
682f85224a Bump 2017-03-30 01:33:35 +02:00
JustArchi
a1b0dd5e1a Translations update 2.3.0.7 2017-03-30 01:27:23 +02:00
JustArchi
4fc3787cc0 Don't announce if we have less than 100 cards in inventory 2017-03-30 01:26:15 +02:00
JustArchi
8a54f1b355 Revert "EXPERIMENTAL: Packages update [1/2] #514"
This reverts commit 588af12d0b.

Not ready yet.
2017-03-29 13:01:36 +02:00
JustArchi
588af12d0b EXPERIMENTAL: Packages update [1/2] #514 2017-03-29 12:57:19 +02:00
JustArchi
4f5d46b422 Closes #515 2017-03-28 21:27:01 +02:00
JustArchi
31c3f2bc77 Support !owns and !nickname with spaces
Only in form including bot name
2017-03-27 20:20:10 +02:00
JustArchi
7c13fde5a1 Lower default limit of conc connections 2017-03-27 04:13:35 +02:00
JustArchi
85a7a5ddc9 Bump 2017-03-25 18:11:22 +01:00
JustArchi
71de3c958a Rewrite previous commit in a better way
Also change sticky pause to owner permission
2.3.0.6
2017-03-25 18:07:23 +01:00
JustArchi
86acec9b32 Closes #512 2017-03-25 18:02:46 +01:00
JustArchi
133e0768c3 Bump 2017-03-24 21:46:16 +01:00