Commit Graph

196 Commits

Author SHA1 Message Date
ArchiBot
afd1c89ca8 Automatic translations update 2023-02-23 02:21:14 +00:00
ArchiBot
f357092808 Automatic translations update 2023-02-13 02:22:09 +00:00
ArchiBot
5bdfab5fb2 Automatic translations update 2023-02-12 02:21:50 +00:00
Archi
d7e8710333 Do not announce/match with limited accounts, lockdowns and trade bans, improve ArchiCacheable
We can totally make use of success previously more often
2023-02-11 15:58:15 +01:00
ArchiBot
0da63aba2b Automatic translations update 2023-02-10 02:48:29 +00:00
Archi
8008a04354 Code cleanups and improvements
- Make use of new UnixFileMode, always one native method we need to maintain less
- Add madness support for it, because new feature of course
- Add optional netstandard target and required compatibility for it, so I can test netf-oriented changes easier
2023-02-09 02:25:11 +01:00
ArchiBot
6db8a7b2b1 Automatic translations update 2023-02-07 02:34:06 +00:00
ArchiBot
1e328f8de8 Automatic translations update 2023-02-04 02:17:59 +00:00
ArchiBot
8d7f68381b Automatic translations update 2023-02-02 02:21:18 +00:00
ArchiBot
c7f35670bf Automatic translations update 2023-01-28 02:20:33 +00:00
ArchiBot
1542efcda4 Automatic translations update 2023-01-27 02:20:39 +00:00
Sebastian Göls
0c125db118 Happy new year! (#2809) 2023-01-25 15:43:12 +01:00
Archi
8bb48d829e STD: Add support for KnownDepotIDs 2023-01-23 12:08:30 +01:00
Archi
4c166102c5 Misc 2023-01-23 11:30:01 +01:00
Archi
a91a4aada6 Fetch main depot key only if we managed to fetch some other ones 2023-01-23 11:25:20 +01:00
ArchiBot
6119d33ab8 Automatic translations update 2023-01-23 02:18:51 +00:00
ArchiBot
7596a89baa Automatic translations update 2023-01-22 02:20:35 +00:00
Archi
a01ea00873 STD: Add 500ms delay between depot key requests 2023-01-21 21:16:01 +01:00
Archi
b9c75e73f0 Do a recovery of single depot tasks 2023-01-19 15:17:47 +01:00
Archi
cca21900a6 Allow STD requests to fail, and continue with other ones 2023-01-19 15:06:06 +01:00
ArchiBot
873a109f84 Automatic translations update 2023-01-06 02:21:02 +00:00
Archi
c4b1428be1 Closes #2790 2022-12-31 23:12:52 +01:00
Archi
4e382732d9 Misc refactor 2022-12-15 19:16:28 +01:00
Łukasz Domeradzki
98ef37e722 Extract PublicListing and MatchActively to a plugin, resurrect MatchActively (#2759)
* Start work on extracting remote communication

* ok

* Dockerfile fixes

* More fixes

* Prepare /Api/Announce and /Api/HeartBeat

* Decrease publish race conditions

* OK

* Misc

* Misc

* Misc

* Move Steam group part back to ASF core

* Finally implement match actively v2 core

* Update RemoteCommunication.cs

* Use single round exclusively, report inventories more often

* Use randomization when asking others for assetIDs

* Add support for license and crowdin

* Kill dead code

* Fix return type of inventories

* Fix responses for good

* Unify old backend with new

* Report whole inventory, always

Helps with optimization on the backend side in terms of inventory fetching

* Update RemoteCommunication.cs

* Determine index of each asset and tell server about it

* Update AnnouncementRequest.cs

* Fix ASF screwing up with the order

* Fix warnings

* Misc rename

* Final logging touches
2022-12-15 18:46:37 +01:00
ArchiBot
45e8f55971 Automatic translations update 2022-11-10 02:37:26 +00:00
JustArchi
e6579e4355 Enhance STD plugin errors
- 403: Stop submission for now
- 409: Purge cache and continue
2022-10-10 22:38:35 +02:00
ArchiBot
34b8f2733c Automatic translations update 2022-09-30 02:50:59 +00:00
JustArchi
cc55e386c9 Upgrade generic-netf to .NET Framework 4.8.1 2022-09-07 23:25:45 +02:00
ArchiBot
39832a3114 Automatic translations update 2022-08-27 02:46:50 +00:00
JustArchi
adf83e5284 Try to avoid emitting Madness in netf plugins 2022-08-11 22:53:30 +02:00
JustArchi
d67366cd12 Implement cache validity for PackagesData
For unknown to me reason, this breaks for many people with Steam reporting invalid data and ASF caching it until new change number, which may never arrive. Add our own 7-days validity on top, to ensure that user never needs to delete ASF.db manually.
2022-08-11 22:38:19 +02:00
JustArchi
0ceef1b7e2 Fix excessive madness declarations
Already covered by directory build props
2022-08-10 16:56:22 +02:00
ArchiBot
3299ba8c10 Automatic translations update 2022-07-12 02:46:54 +00:00
ArchiBot
975b3b89f3 Automatic translations update 2022-07-07 02:45:33 +00:00
ArchiBot
ce610ab24d Automatic translations update 2022-06-29 02:42:10 +00:00
ArchiBot
cd0078e83e Automatic translations update 2022-06-26 02:42:45 +00:00
Łukasz Domeradzki
715ed034df Unify WebBrowser API in regards to nullable bodies (#2593)
* Unify logic for nullable bodies

* Update ArchiWebHandler.cs

* Misc
2022-06-01 21:13:40 +02:00
JustArchi
6178b12bb1 Fix invalid STD retry on 429 without json body
It's getting more and more complicated... We have places where we accept errors but still want relevant JSON body (most of the Steam error-places), and now we also have a place where we expected error to not carry one. Moreover, we still want to account for invalid JSON body on 2xx and retry on them.

So let's make the code even more complicated than it already is by adding yet another endpoint that does exactly the same what the other endpoint does BUT allows us us to optionally accept null/invalid body on success/errors/both, lol. I hate myself.

Maybe we can obsolete the first endpoint eventually and stick with just the second?
2022-05-28 20:41:52 +02:00
JustArchi
c9b1e46013 Avoid crash when executing STD command with disabled STD plugin 2022-05-26 11:47:11 +02:00
JustArchi
9162752b99 Misc 2022-05-19 21:38:40 +02:00
JustArchi
4436e8dc43 Add STD command trigger for STD plugin 2022-05-19 21:34:57 +02:00
ArchiBot
f853c61821 Automatic translations update 2022-05-16 02:25:24 +00:00
Archi
f083bb2d3b Closes #2558 2022-04-23 13:11:10 +02:00
ArchiBot
14512aec71 Automatic translations update 2022-04-21 02:36:31 +00:00
Sebastian Göls
b8bfcd5df3 Simplify LogNullError calls (#2554)
* Remove necessity of nameof(...) in calls to ArchiLogger.LogNullError(...)

* Upgrade Madness

* Upgrade Madness

* Split up compound null log statements
2022-04-13 23:16:36 +02:00
Archi
d6ed6e81a4 Let's try declaring base Chinese instead 2022-04-06 15:43:13 +02:00
Łukasz Domeradzki
ceb021dbdf Use windows-latest runner again (#2547)
* Attempt at resolving https://github.com/actions/virtual-environments/issues/5189

* Clean up dockerfiles from no longer required workarounds
2022-04-04 22:06:03 +02:00
Archi
cc83222c3e Use shorter syntax for json properties 2022-03-22 16:33:47 +01:00
ArchiBot
021d414143 Automatic translations update 2022-03-09 02:19:23 +00:00
Archi
e00ee2cc55 Misc 2022-02-26 01:26:13 +01:00