Commit Graph

5937 Commits

Author SHA1 Message Date
Archi
be5ec43772 Add support for automatically rejecting trade offers from bad bots
With special dedication to the guy who attempted to DDoS ASF STM listing today, hope your business will truly expand from now on! <3
2022-12-17 02:39:37 +01:00
Archi
14efac34aa Misc 2022-12-16 20:11:00 +01:00
ArchiBot
1c99f2476d Automatic translations update 2022-12-16 02:15:28 +00:00
Archi
fc20b6cfc4 Final Rider inspections 2022-12-15 19:23:46 +01:00
Archi
c9cae6e258 I wonder if netf understands nint 2022-12-15 19:17:48 +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
Archi
fd517294d1 Closes #2763 2022-12-15 17:44:38 +01:00
3ncy
3be6bf8aca Add steam awards badge id to blacklist (#2764) 2022-12-15 14:18:18 +01:00
ArchiBot
05aadd45c9 Automatic translations update 2022-12-09 02:39:02 +00:00
ArchiBot
a65a8aeb47 Automatic translations update 2022-12-04 02:20:58 +00:00
JustArchi
e994dca817 Remove inventory count that no longer does anything anyway 2022-12-03 00:09:33 +01:00
ArchiBot
e5126cf7d4 Automatic translations update 2022-12-01 02:32:21 +00:00
JustArchi
32a2c1b232 Misc improvements to OnRenamed() 2022-11-28 22:57:02 +01:00
JustArchi
e6171456c3 Retry inventory requests on error 29 2022-11-27 15:12:25 +01:00
JustArchi
4816cd006d Fix possible InvalidOperationException on OldName
I don't know how it's possible, MSDN docs don't mention it, but since it's nullable, this should help.
2022-11-27 14:25:03 +01:00
ArchiBot
239c536815 Automatic translations update 2022-11-27 02:26:37 +00:00
Archi
caa54a7f2b Run RemoteCommunication also in Debug builds
Originally it was to not spam the server with irrelevant data, but sometimes I'm also debugging that part and it's counter-intuitive. If somebody doesn't want that during debugging, he has bot config option for that.
2022-11-23 12:08:27 +01:00
Archi
13480a44ff Add AcceptLanguage header by default
Won't hurt and may help with content that isn't explicitly defined (like ?l=)
2022-11-23 12:07:23 +01:00
ArchiBot
f8a1a84df1 Automatic translations update 2022-11-22 02:31:37 +00:00
Sebastian Göls
55771915b9 Fix typo (#2744) 2022-11-17 13:40:28 +01:00
JustArchi
70ec5cb6d4 Make OS-specific packages work again
At least to the point of being able to self-update, that is
2022-11-16 16:07:29 +01:00
JustArchi
3b7e4479a1 Closes #2739 2022-11-16 13:56:41 +01:00
JustArchi
14421b606e Fix build 2022-11-16 12:35:14 +01:00
JustArchi
3cf4ef3466 Address SYSLIB1045 2022-11-16 12:33:17 +01:00
JustArchi
cee7cd03b2 Use culture invariant refex for owns command 2022-11-16 12:30:21 +01:00
JustArchi
9ba8e021d2 Add compat for generic-netf 2022-11-14 23:57:11 +01:00
JustArchi
f3255665ad Update NativeMethods.cs 2022-11-14 23:46:07 +01:00
JustArchi
0a5a447b6d Address SYSLIB1054 2022-11-14 23:42:44 +01:00
ArchiBot
19de1644bd Automatic translations update 2022-11-13 02:35:45 +00:00
ArchiBot
3edebc9f0e Automatic translations update 2022-11-11 02:37:54 +00:00
ArchiBot
45e8f55971 Automatic translations update 2022-11-10 02:37:26 +00:00
ArchiBot
bd8fda2d9b Automatic translations update 2022-11-08 02:36:36 +00:00
ArchiBot
4eb3f07426 Automatic translations update 2022-11-06 02:37:55 +00:00
ArchiBot
38d3e1e0cb Automatic translations update 2022-11-03 02:38:03 +00:00
ArchiBot
cae8180e6c Automatic translations update 2022-10-31 02:47:23 +00:00
ArchiBot
f3eb46ea75 Automatic translations update 2022-10-30 02:47:54 +00:00
ArchiBot
631e4a1730 Automatic translations update 2022-10-29 02:39:01 +00:00
JustArchi
bce0649822 Closes #2728 2022-10-28 19:08:14 +02:00
Arkadiusz Sygulski
17563149b6 Update count parameter when loading inventory (#2730)
This change lessers the impacts of recent changes to the endpoint. It is still limited, but at least you can do more than 3 requests 😃
2022-10-28 19:00:05 +02:00
JustArchi
ea7b944114 Include http errors in GetInventoryAsync()
And stop actively matching on first 429
2022-10-27 10:46:00 +02:00
ArchiBot
bb1f55d809 Automatic translations update 2022-10-27 02:40:59 +00:00
ArchiBot
557f0304a2 Automatic translations update 2022-10-19 02:49:40 +00:00
ArchiBot
1abfd37d71 Automatic translations update 2022-10-18 02:50:37 +00:00
JustArchi
96296028c1 Closes #2719 2022-10-12 13:49:19 +02:00
ArchiBot
9cffd3a133 Automatic translations update 2022-10-12 02:50:13 +00:00
JustArchi
f3bb15670b Handle extreme edge case of ASF_USER=root 2022-10-11 17:16:12 +02:00
JustArchi
319f1218de Closes #2717
chown operation done by ASF is not mandatory for following with the rest of the script. It can fail e.g. for read-only filesystems, which is completely fine, worst case user will have to deal with the mess he has created himself.
2022-10-11 16:30:38 +02:00
ArchiBot
0a70e069e0 Automatic translations update 2022-10-11 02:48:08 +00:00
JustArchi
533bf45f35 Thanks netf 2022-10-10 22:57:34 +02:00
JustArchi
6227f84931 Misc cleanup 2022-10-10 22:50:36 +02:00