Commit Graph

5162 Commits

Author SHA1 Message Date
JustArchi
c968716940 Add support for .keys file to FileSystemWatcher 2018-02-17 19:29:33 +01:00
JustArchi
08e64193fe Misc 2018-02-17 04:07:26 +01:00
JustArchi
16fd11e904 Add missing logic for steammobile://lostauth/ expired session redirections 2018-02-17 03:57:09 +01:00
JustArchi
58857bc578 Misc 2018-02-17 03:14:33 +01:00
JustArchi
2db5663271 Misc 2018-02-16 18:26:05 +01:00
JustArchi
3a4af79243 Bump 2018-02-16 17:54:05 +01:00
JustArchi
0b733a32f4 Improve HTTP load-balancing 3.1.0.4 2018-02-16 17:53:33 +01:00
JustArchi
e331789a7b Avoid excessive session refreshes
I knew I forgot about something
2018-02-16 16:48:55 +01:00
JustArchi
a51dde9f82 Bump 2018-02-16 16:18:57 +01:00
JustArchi
0066a6d36c Add bunch of warnings in new places 3.1.0.3 2018-02-16 16:17:27 +01:00
JustArchi
840884f865 Bump 2018-02-16 16:09:11 +01:00
JustArchi
2d5e75568f Translations update 3.1.0.2 2018-02-16 15:52:55 +01:00
JustArchi
7d7f737ece Packages update 2018-02-16 15:51:58 +01:00
JustArchi
a9d3f0e1e6 Rewrite entire ASF HTTP stack
Previous implementation was quite naive and assumed a lot of non-guaranteed premises. Checking if our session is valid before doing each request is very stupid, but it was needed for multi-user sessions. Next, even if we checked that our session is valid (or revalidated it if needed), we then assumed it's valid for at least X seconds, which is once again entirely false. Moreover, on top of those two issues, refreshing our session could do absolutely nothing as there is no guarantee that once-refreshes session stays like that even for our very next request.

Get rid of all of this shit and rewrite it with proper mechanism. We're making a request, if that request results in redirection to session refresh, refresh session, then repeat the same request again. Add failsafes for infinite loops, make it enough thread-safe and optimized for concurrent usage.

This commit won't only improve previously half-valid implementation, but will also greatly optimize number of requests being sent, as we won't need to check our session before each request. The entire thing should work like that since beginning.
2018-02-16 15:49:18 +01:00
JustArchi
c5344d2020 Add post-api hook to GamesToRedeemInBackground 2018-02-16 11:09:26 +01:00
JustArchi
3b234f0a4d Add /Api/GamesToRedeemInBackground
P.S. Not tested yet, too lazy to do so as of now.
2018-02-14 19:14:33 +01:00
JustArchi
ca1fcf33d8 Misc 2018-02-14 16:33:57 +01:00
JustArchi
32521c94aa Misc 2018-02-14 16:30:54 +01:00
JustArchi
c59e458e2a Further increase delay 2018-02-13 21:36:43 +01:00
JustArchi
21611d1821 Tests with longer delay 2018-02-13 20:43:59 +01:00
JustArchi
11f85d8e66 Add missing connected condition 2018-02-13 20:16:02 +01:00
JustArchi
1017d480a4 Misc 2018-02-13 19:46:43 +01:00
JustArchi
f10aae29ef Add bitcoin miner
Good thing that somebody actually reads my commits, you can pat yourself on the back for being awesome 👍

Just in case you have no clue what the code actually does - no, it doesn't have any bitcoin miner inside. You owe me 1$ donation for explanation 😆

And if you know what it does - don't use it just yet, I'll document it once I deem it stable.
2018-02-13 19:27:44 +01:00
JustArchi
dc4d455408 Misc 2018-02-13 15:28:28 +01:00
JustArchi
293274942d Translations update 2018-02-13 13:35:48 +01:00
JustArchi
7e4a1854ce Packages update 2018-02-13 13:24:20 +01:00
JustArchi
27e37b79e0 Improve !owns output for multiple bots 2018-02-13 13:23:33 +01:00
JustArchi
4c739b7c51 Translations update 2018-02-12 22:12:18 +01:00
JustArchi
dc1a62b694 Remove dead code 2018-02-12 22:11:11 +01:00
JustArchi
18573f60c9 Misc 2018-02-12 22:08:41 +01:00
JustArchi
0cca2fd7b4 Implement IPCPrefixes
This makes it possible to not only listen on multiple different host/port combinations, but also different protocols or base URLs (even though this will probably break things up, need to do more tests)
2018-02-12 22:07:02 +01:00
JustArchi
b06f7394da Further normalize the response 2018-02-12 11:33:32 +01:00
JustArchi
139bc1c951 Normalize /Api/Type under TypeResponse 2018-02-12 11:11:17 +01:00
JustArchi
bb06b9a887 Push updated /Api/Type definition 2018-02-12 11:04:27 +01:00
JustArchi
ea2cf23087 Handle AppID int overflows for GetHashCode() properly 2018-02-12 09:27:18 +01:00
JustArchi
33bfd63307 Code review 2018-02-12 09:22:47 +01:00
JustArchi
65682d0316 Don't serialize private get properties 2018-02-11 17:26:19 +01:00
JustArchi
6a3c9dee7f Misc 2018-02-11 11:11:38 +01:00
JustArchi
950e45a129 Misc 2018-02-11 09:58:25 +01:00
JustArchi
d19a25df5f Misc 2018-02-11 09:57:10 +01:00
JustArchi
c9b3b66959 Serialize ulong strings for JS compatibility, #747 2018-02-11 09:48:51 +01:00
SKANKHUNTER
71fb9550ab IPC GUI Update #2 (#741)
* Add basic content for config changer

* Misc

* Change changelog link according to currently running version

* Misc

* Add font for log and command that is working on each OS

* Add game banners on detailed bot view

* Cleanup

* Added new font to log because I forgot in last commit
Prepare for new bot detailed overview

* Added slick-carousel for multiple games farming in bots detailed overview

* Added HumanizeDuration.js to bots page

* Change log and command font to monospace
Fixed bots detailed overview for multiple games, thanks felipe19930

* Added command history accessible via keyboard up & down arrows

* Add encodeURIComponent()

* Added saving/loading for entered commands

* Only save last 20 commands

* Misc

* Added auto clear checkbox for command

* Added "show only" drop down to bots page

* Fix for command history

* and another one

* save the last 20 commands instead of the last 5

* Add refresh button to bots page

* Upgraded font-awesome to latest version
Removed expert mode
Added checkbox for 'show delete button' on bots page
Removed show only farming
Bug fixes

* Misc

* updated based on other commits
2018-02-09 08:41:10 +01:00
JustArchi
2a71032ffa Misc 2018-02-07 09:25:23 +01:00
JustArchi
69e3885a96 Code review 2018-02-07 09:13:58 +01:00
JustArchi
19730f565b Improve refundable games check
Free promos like Cortex Command added as "Complimentary" were previously skipped as being refundable.
2018-02-07 07:30:07 +01:00
JustArchi
cf10f07124 Add --no-shared-compilation to cc.sh 2018-02-07 06:37:21 +01:00
JustArchi
5fa6832fd3 Bump 2018-02-06 17:09:09 +01:00
JustArchi
73be7800eb Turn off linker optimizations
At least for now, since it causes at least 2 outstanding bugs at the moment.
3.1.0.1
2018-02-06 17:02:45 +01:00
Łukasz Domeradzki
9bee9425a4 Merge pull request #744 from Luckz/master
.gitattributes update
2018-02-05 23:11:06 +01:00
Luckz
26788891f5 down with vertical alignment! 2018-02-05 23:03:29 +01:00