Commit Graph

80 Commits

Author SHA1 Message Date
JustArchi
e82560259b Final code cleanup 2020-11-14 22:37:00 +01:00
Łukasz Domeradzki
35f4651ed6 .NET 5.0 (#1999)
* Initial work

* Fix CIs

* Fix warnings

* Update .travis.yml

* Update dockerfiles

* Update libraries to .NET 5.0

* Misc

* Remove workaround for #1812

* Update cc.sh

* CI updates

* CI updates

* Update .travis.yml
2020-11-10 23:22:57 +01:00
JustArchi
b3d476dea4 Round 2 of nullable checks 2020-08-23 20:45:24 +02:00
Łukasz Domeradzki
9fc1ea65a5 Closes #1543 (#1944)
* Start working on nullable checks

help me

* Update GlobalConfig.cs

* Finish initial fixup round

* nullability code review
2020-08-22 21:41:01 +02:00
JustArchi
4ead85965a Add another superpower: fetching 2FA deviceID automatically 2020-07-05 00:45:13 +02:00
JustArchi
e83c468fba Misc 2020-06-07 21:06:41 +02:00
JustArchi
0370168b02 Happy new year 2020-02-01 23:33:35 +01:00
JustArchi
64bd8308ca R# code review 2019-08-10 17:38:49 +02:00
JustArchi
178ca64cfa Implement non-blocking IO saving for databases 2019-07-25 17:09:20 +02:00
JustArchi
3e4a08d81c Misc 2019-04-04 22:34:58 +02:00
JustArchi
44c5bf4ad5 Misc 2019-04-04 17:56:38 +02:00
JustArchi
9b01f7d8bf Bot-oriented misc 2019-04-03 16:41:47 +02:00
JustArchi
d6f122b078 CardsFarmer optimizations
When user has IQ only and no IQ games, return early
2019-03-08 15:39:38 +01:00
JustArchi
36fa2b8b4d Add BGR command + API info
@mrburrburr you might want to somehow make use of it (maybe show next to key icon? I don't know)
2019-02-26 19:59:04 +01:00
JustArchi
b677ba8202 Code/style cleanup 2019-02-16 17:34:17 +01:00
JustArchi
e1e9a9f457 Rider cleanup 2019-01-14 19:11:17 +01:00
JustArchi
192656cd02 Implement basic code contracts 2019-01-10 23:44:32 +01:00
JustArchi
7a3f6ddef9 Avoid serializing default properties in databases
Less data to read/write is always better.
2019-01-02 18:24:25 +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
f8aa8babcf R# cleanup 2018-12-15 00:27:15 +01:00
JustArchi
1202298e01 Misc improvements to ASF API
In bot controller, 3 endpoints:
POST {bot}
POST {bot}/GamesToRedeemInBackground
POST {bot}/Redeem

Now accept botNames (like all other endpoints), GenericResponse included in those responses now include Dictionary that maps previous single response to botName-response.

@JustArchiNET/asf-ui if you're not doing anything with the inner result of generic response, you don't need to do anything. If you do, please map your previous single inner result to dictionary of botName-single result. Functionality remains the same, thanks.
2018-11-07 00:49:39 +01:00
JustArchi
7c3cbc03f8 Remove default config files 2018-10-07 03:21:32 +02:00
JustArchi
a04fb33343 Structure cleanup 2018-09-08 01:03:55 +02:00
JustArchi
16d002f99b Misc code cleanup 2018-07-27 04:52:14 +02:00
Łukasz Domeradzki
a515de5807 Implement support for mono (#806)
* Initial buggy mono support

* Start building generic-netf variant

* Fix CIs

* Disable ILLink.Tasks for generic-netf

* Make generic-netf *special*

* Keep fixing

Don't ask me why reverse order works, this is next-gen msbuild magic

* Mono compat

* Mono compat

* Misc

* Update to .NET Framework 4.7.2

* .NET 4.7.2 compat

* Misc
2018-06-03 07:51:20 +02:00
JustArchi
cbfc7d0e42 Accelerate initial bots startup
Files can be read in parallel after all
2018-05-13 19:19:27 +02:00
JustArchi
3682eefc02 Code review 2018-03-09 15:43:25 +01:00
JustArchi
7957920683 Improve background keys redeemer verbosity 2018-03-08 10:43:39 +01:00
JustArchi
cb981701b2 Misc 2018-02-26 09:10:26 +01:00
JustArchi
1afc8f06af Misc 2018-02-26 09:08:01 +01:00
JustArchi
4a5665c92b Switch to proper OrderedDictionary 2018-02-26 08:53:14 +01:00
JustArchi
ea8df03669 Use sorted dictionary for background games redeemer 2018-02-26 06:27:24 +01:00
JustArchi
37564d0cfe Add GlobalConfig to /Api/ASF, and POST /Api/ASF, #750 2018-02-22 16:08:50 +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
4c330ded16 Closes #728 2018-01-12 19:43:34 +01:00
JustArchi
cc1f99d5d4 Misc 2018-01-02 08:19:37 +01:00
JustArchi
6916d2c070 Misc 2018-01-02 08:16:41 +01:00
JustArchi
6bbff6ab4e Happy new year 2018-01-01 02:56:53 +01:00
JustArchi
fe6865050f Closes #667 2017-12-06 08:14:12 +01:00
JustArchi
d5f44f8f6c ReSharper: update header 2017-11-18 17:27:06 +01:00
JustArchi
9b508fbf41 Misc
We want these as read-only to ensure nothing modifies them in the underlying code.
2017-11-16 22:21:03 +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
919007834a Add !id, !idadd, !idrm 2017-10-19 00:13:08 +02:00
JustArchi
10ffd242cd ReSharper ignored warnings review 2017-09-21 03:16:42 +02:00
JustArchi
6aa5a633e4 async/dispose code review 2017-08-04 19:26:37 +02:00
JustArchi
2db65d324a Closes #545 2017-07-23 02:11:16 +02:00
JustArchi
f4187e194e Various bugfixes 2017-07-10 17:07:48 +02:00
JustArchi
589f4f5746 Improve I/O database code
This should lead to less file corruptions.
2017-07-07 07:33:31 +02:00
JustArchi
fcf9686a79 Revert "Resharper cleanup"
This reverts commit 7c8d7b5ada.

Bad cleanup.
2017-04-05 17:01:18 +02:00