Commit graph

9480 commits

Author SHA1 Message Date
Renovate Bot
67bc0b4eda
Update ASF-ui commit hash to 4cc86b4 2021-11-15 21:18:41 +00:00
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
ArchiBot
19f63c94bf
Automatic translations update 2021-11-15 02:08:52 +00:00
Renovate Bot
f6ede9b949
Update ASF-ui commit hash to 1a36ed4 2021-11-14 20:02:32 +00:00
Renovate Bot
cfacceddf9
Update wiki commit hash to 8c7a03e 2021-11-14 18:01:10 +00:00
Renovate Bot
f327409184
Update dependency JustArchiNET.Madness to v2.0.0 2021-11-13 13:46:59 +00:00
ArchiBot
1094049986
Automatic translations update 2021-11-13 02:08:19 +00:00
Archi
93b6ffdc23
Bump 2021-11-12 16:40:17 +01:00
Renovate Bot
f6033fb5cd
Update wiki commit hash to b8bf5a4 2021-11-12 10:22:54 +00:00
ArchiBot
e8d0e870b9
Automatic translations update 2021-11-12 02:11:21 +00:00
Renovate Bot
7db932ecb7
Update ASF-ui commit hash to a452142 2021-11-12 00:04:02 +00:00
Archi
941b704c41
Satisfy netf 2021-11-11 23:43:49 +01:00
Archi
9575b58258
Madness to the rescue! 2021-11-11 23:36:48 +01:00
Archi
89a50674ec
Use Environment.ProcessPath over calculating it ourselves
It's still required to be a static readonly field, as we need it calculated in-advance due to renames/deletion of original binary.

Also I'll probably need madness for this, sigh.
2021-11-11 22:56:50 +01:00
Archi
f36e5618a4
Revert "Change default farming order to hours ascending"
This reverts commit fefcf12f2f.
2021-11-11 22:52:03 +01:00
Archi
fefcf12f2f
Change default farming order to hours ascending 2021-11-11 22:47:31 +01:00
Archi
ff85a88b42
Implement auto-migration of old bot database properties 2021-11-11 22:28:34 +01:00
Archi
c01a2ba863
Closes #2368
iq -> fq
ib -> fb
bl -> tb
2021-11-11 22:07:21 +01:00
Archi
66344a1a3d
Fix netf again and again
Bless madness
2021-11-11 20:14:32 +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
951d9dc99f
Remove internal chmod +x after update
According to the .NET 6.0 ZipFile changes, .NET can now preserve chmod +x after extracting archive, so this "workaround" should no longer be needed
2021-11-11 18:41:52 +01:00
ArchiBot
0c8d77b3d9
Automatic translations update 2021-11-11 02:09:13 +00:00
Archi
f5f5c810dc
Update README.md 2021-11-11 02:07:57 +01:00
Archi
8e045fdf71
Update README.md 2021-11-11 02:06:28 +01:00
Archi
71089a4953
Remove functions marked as obsolete 2021-11-11 01:57:08 +01:00
Archi
d1fc7ebb74
Use C# 10 string interpolation wherever possible 2021-11-11 01:53:34 +01:00
Archi
60376c4d93
Bring up new Madness alpha3 to fix netf 2021-11-11 01:17:49 +01:00
Archi
ff8074aeb6
Use simplified hashing functions 2021-11-11 00:41:38 +01:00
Archi
a9249a90f6
Remove TrimMode declaration
"link" should be default in .NET 6.0+
2021-11-11 00:22:03 +01:00
Archi
cc85b681f7
Bump 2021-11-10 22:37:13 +01:00
Archi
d1e8794fe3
I won 2021-11-10 22:05:08 +01:00
Archi
258ad17930
Apply Rider inspections
Want to bet at least one will break netf?
2021-11-10 21:54:15 +01:00
Archi
52b32315cc
Update .editorconfig 2021-11-10 21:49:42 +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
Archi
95ad16e26d
Revert "Set EnableCompressionInSingleFile"
This reverts commit ae3a60759a.
2021-11-10 21:05:39 +01:00
Sebastian Göls
7019445b84
Clean up #if hell a bit more (#2450)
* Clean up #if hell a bit more

* Add missing null checks
2021-11-10 20:36:17 +01:00
Łukasz Domeradzki
0850a261cb
Add osx-arm64 ASF variant (#2451) 2021-11-10 20:36:09 +01:00
Archi
ae3a60759a
Set EnableCompressionInSingleFile
The tradeoff is worth it for size in our case, people that don't want the startup time hit should be using generic package anyway
2021-11-10 20:01:10 +01:00
Archi
566be6e8c4
Use --self-contained and --no-self-contained as recommended by .NET 6.0 docs 2021-11-10 19:39:04 +01:00
Archi
9aaf8d8215
Refuse to run as root
hooray
2021-11-10 19:18:00 +01:00
Archi
0964cdac96
Minimize define hell
Skipping a 20 KB stub in OS-specific non-windows builds and omitting a few very fast if checks isn't worth the code quality degradation that involves all of the ifdef options.

ifdefs should be reserved for stuff that either doesn't compile whatsoever in some specific configurations (NETFRAMEWORK), or is required to make logical decisions based on the compiler input (e.g. DEBUG for detecting debugging builds or ASF_VARIANT_* for hardcoding the platform identifier to use for auto-updates)

In all other situations, we should use OperatingSystem if condition, even if it's equal to hitting them on the platforms that are unlikely to hit them.

And I say unlikely, because nothing stops me from downloading a win-x64 build and running it like a generic one on windows, what you gonna do?
2021-11-10 19:03:05 +01:00
Łukasz Domeradzki
e62234892a
Fix SIGINT/SIGTERM no longer working in .NET 6.0 (#2449)
* Try to use new signals

* Fix for netf and windows

* Misc
2021-11-10 18:40:12 +01:00
Renovate Bot
55e3c064eb
Update ASF-ui commit hash to 9eb53d6 2021-11-10 13:08:49 +00:00
Renovate Bot
32575e69ec
Update ASF-ui commit hash to 7c9fb1a 2021-11-10 03:07:06 +00:00
ArchiBot
5cdeccc2ba
Automatic translations update 2021-11-10 02:08:24 +00:00
Renovate Bot
695ffb4b1c
Update ASF-ui commit hash to dca7c00 2021-11-09 23:07:32 +00:00
Archi
0977b359c2
Bump 2021-11-09 22:57:57 +01:00
Archi
c7443bef69
Update TrimmerRoots.xml 2021-11-09 22:49:17 +01:00
Archi
e238026121
Closes #2448 2021-11-09 22:43:13 +01:00