Commit Graph

58 Commits

Author SHA1 Message Date
Archi
62effc4af1 STD: Postpone registering updated app change numbers
This is important as we don't want to miss a depot, by moving it below we ensure that all depot tasks succeeded before we mark appIDs as "finished with"
2021-11-15 19:53:46 +01:00
Archi
260875da7e Use shared Random across ASF
This also removes PublicAPI of ASF's "shared random"
2021-11-11 19:34:21 +01:00
Archi
d46e532458 Code cleanup 2021-11-10 21:47:42 +01:00
Archi
1e6ab11d9f Use file-scoped namespaces 2021-11-10 21:23:24 +01:00
Sebastian Göls
fb4eb0b03a Use Madness via global usings (#2447)
* Use Madness via global usings

* Apply feedback

* Disable false positive null warning
2021-11-09 16:33:09 +01:00
Archi
eb876aa4d1 Warn about incomplete translation also in our plugin 2021-10-24 18:40:26 +02:00
Łukasz Domeradzki
965d3050a5 Address new Rider inspections (EAP) (#2418) 2021-10-01 01:21:09 +02:00
Archi
7e9e90764b Use static lambdas wherever possible
Thanks Rider
2021-09-27 21:33:52 +02:00
Archi
f2d3a2a894 Use string interpolation wherever possible
Majority of cases still need to go through string.Format() due to localization requirements
2021-09-27 19:59:00 +02:00
Archi
3dec189e14 Misc 2021-08-20 14:31:12 +02:00
Łukasz Domeradzki
9f281c6055 Embrace madness (#2394)
* Embrace madness

* Remove unused code

* Misc

* Address Abry's note

* Update for Madness 0.3.0
2021-08-07 14:03:46 +02:00
renovate[bot]
97a5a94220 Update dependency SteamKit2 to v2.4.0-Alpha.3 (#2392)
* Update dependency SteamKit2 to v2.4.0-Alpha.3

* Address SK2 breaking changes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Archi <JustArchi@JustArchi.net>
2021-07-30 15:33:29 +02:00
Archi
d479eb9f97 Address Rider EAP inspections/cleanup 2021-07-12 21:45:17 +02:00
Archi
535e6fb334 STD: Explicitly refuse to initialize upon any config parsing issue 2021-06-03 12:58:15 +02:00
Archi
31a06a8af3 STD: Fix wrong logic interpreting custom config 2021-06-03 11:51:11 +02:00
JustArchi
8f41e90ade STD: Api V2 2021-05-09 18:59:17 +02:00
JustArchi
1f12c73b2e Do not throw InvalidOperationException on null Config
Lack of config will happen e.g. with invalid submission token, the plugin should not crash in this case, even if it's unusable.
2021-05-09 13:56:59 +02:00
JustArchi
d21d2473fe RuntimeCompatibility -> Compatibility 2021-05-08 01:43:08 +02:00
JustArchi
e60b54e402 Refactor EVERYTHING
Directories structure + namespaces relevant to them
2021-05-08 01:37:22 +02:00
JustArchi
cbabde1b38 Reorganize Web directory 2021-05-08 01:03:08 +02:00
JustArchi
e7537ca996 Resolve CA2002 2021-05-07 19:04:38 +02:00
JustArchi
809a4bbfbf Resolve CA2000 2021-05-07 18:55:50 +02:00
JustArchi
9a8a61e111 Resolve CA1054 2021-05-06 22:50:59 +02:00
JustArchi
aed11c59ee Cleanup round 2021-05-06 20:44:17 +02:00
JustArchi
b6772b9b1e Resolve CA1034 2021-05-06 20:16:06 +02:00
JustArchi
db632145fb STD: Skip AutoGrant also when doing full resolve 2021-05-03 13:42:37 +02:00
JustArchi
eb39a081d7 STD: Implement SkipAutoGrantPackages 2021-05-03 13:20:34 +02:00
JustArchi
823f077cf2 STD: Correct extra config path 2021-05-03 12:21:00 +02:00
JustArchi
9afbcee163 STD: Add feature to skip appIDs, packageIDs and depotIDs 2021-05-03 01:08:12 +02:00
JustArchi
9ed27b5f66 Finish STD localization 2021-04-25 23:44:47 +02:00
JustArchi
857e9a140f Initialize localization strings for STD plugin 2021-04-25 19:55:30 +02:00
JustArchi
b98974a482 STD: Misc 2021-02-22 18:25:29 +01:00
JustArchi
e836cb66e4 STD: Make data field in response optional
Data field is not included in case of non-200 status codes.
2021-02-22 17:56:03 +01:00
JustArchi
4700ed2706 Further code cleanup 2021-01-04 17:42:31 +01:00
JustArchi
45a5fec95a Happy 2021
And let's hope it'll be better than 2020
2021-01-03 22:24:22 +01:00
JustArchi
e2c7671f00 STD: Perform Save() of GlobalCache in background
We don't need to slow down the process with I/O there, at all. ASF already handles its own database like that.
2021-01-03 22:02:24 +01:00
JustArchi
273a6b0fbe Invalidate cache upon pics changes
PICS restart indicates that we don't know what changes exactly we've missed. If package doesn't emit any change number (and it doesn't have to), we might miss the update that happened in the meantime without being aware of that happening.
2021-01-03 21:37:16 +01:00
JustArchi
4e190b7dfd Misc code improvements 2020-12-05 20:30:15 +01:00
JustArchi
31257449ed STD: Make loading GlobalCache fully async 2020-12-03 00:10:52 +01:00
JustArchi
2d7979e9ee STD: Save information about submitted tokens/keys
This also allows us to resubmit the same app/package/depot upon token/key change, which didn't happen previously.
2020-11-21 13:54:09 +01:00
JustArchi
c37d935a1d Final touches 2020-11-16 00:44:37 +01:00
JustArchi
e82560259b Final code cleanup 2020-11-14 22:37:00 +01:00
JustArchi
d4345a1a16 Closes #1964 2020-09-13 21:43:25 +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
d776e483cf Misc 2020-07-15 16:43:59 +02:00
JustArchi
0382663191 Misc 2020-06-25 17:53:37 +02:00
JustArchi
69936d55b6 Add GET /Api/Plugins endpoint,
In regards to https://github.com/JustArchiNET/ASF-ui/issues/1015
2020-06-24 20:54:41 +02:00
JustArchi
d191820317 Expose STDP global config schema in swagger and tag it 2020-06-24 20:49:55 +02:00
JustArchi
cc2e73ae5a Misc 2020-06-20 17:12:18 +02:00
JustArchi
822bfc239f Move ToLongRunningTask into ASF core and start making use of it 2020-06-15 16:55:57 +02:00