Bogdan
12374f7f00
Use 'var' instead of explicit type
2023-05-27 16:55:16 -07:00
Bogdan
281add47de
Inline 'out' variable declarations
2023-05-27 16:55:16 -07:00
Bogdan
6b1e4ef819
Enforce rule IDE0005 on build
2023-05-27 19:53:49 -04:00
Mark McDowall
f05405fe1c
Fixed: Don't rollback file move if destination already exists
...
Towards #5610
2023-05-22 22:11:17 -07:00
Bogdan
3af7a6df7d
Remove unused field userAgentBuilder in HttpClient
2023-05-10 21:10:36 -07:00
Bogdan
c6b543e072
Remove unused imports
2023-05-10 21:08:13 -07:00
ta264
63654b99f2
Fixed: Don't buffer update package to memory when downloading
2023-05-08 16:35:03 -07:00
Bogdan
8f482c534f
Fixed: custom script error when importing some downloads
...
Co-authored-by: Qstick <376117+Qstick@users.noreply.github.com>
Closes #5617
2023-05-07 10:23:47 -07:00
Qstick
5a04602672
Remove mono process detection
2023-04-16 19:21:13 -05:00
Stepan Goremykin
40e54685b9
Migrate to FluentValidation 9
2023-04-14 16:48:47 -07:00
Mark McDowall
47cf8e6430
New: Updated Rarbg request limits
...
Closes #5206
2023-04-13 22:54:37 -04:00
Stepan Goremykin
6ea3d8c127
Use MinBy and MaxBy instead of OrderBy + First
2023-04-01 17:37:11 -07:00
Stepan Goremykin
2abbee1032
Update SixLabors.ImageSharp, MailKit, DryIoc libraries
2023-03-31 00:56:54 -04:00
Mark McDowall
42003ebd72
Reverted Microsoft package updates to 6.x
...
Closes #5511
2023-03-27 07:52:15 -07:00
Mark McDowall
0321368cc3
New: Improve path validation when handling paths from different OSes
2023-03-26 21:29:17 -07:00
Stepan Goremykin
fd5d279a9e
Update SharpZipLib
2023-03-26 21:26:42 -07:00
Stepan Goremykin
b303dc899a
Update Newtonsoft.Json
2023-03-26 21:26:42 -07:00
Stepan Goremykin
3b6cadeb7e
Update packages from microsoft
2023-03-26 21:26:42 -07:00
Mark McDowall
ff2e8ffc37
Fixed: Permissions after installing on Windows and opening Firewall port
...
Closes #5509
2023-03-26 20:53:30 -07:00
Stepan Goremykin
11d91faaad
Use Array.Empty and fix a few multiple enumerations
2023-03-26 23:40:51 -04:00
Qstick
a42f97229a
Convert method to static that doesn't use instance data
2023-03-15 19:24:48 -05:00
Qstick
2b79fe833b
Use Contains(char) instead of Contains(string) for performance
2023-03-15 19:24:48 -05:00
Qstick
e8aff90582
Use span-based string.Concat to avoid unnecessary allocation
...
Calling Substring produces a copy of the extracted substring. By using AsSpan instead of Substring and calling the overload of string.Concat that accepts spans, you can eliminate the unnecessary string allocation.
2023-03-15 19:24:48 -05:00
Qstick
f928ee7cad
Use Environment.ProcessPath instead of GetCurrentProcess().MainModule.FileName
...
GetCurrentProcess().MainModule.FileName is expensive, Environment.ProcessPath added in net6
2023-03-15 19:24:48 -05:00
Qstick
7521579bca
Use Apend(char) instead of Apend(string) for performance
...
When calling StringBuilder.Append with a unit length string, consider using a const char rather than a unit length const string to improve performance.
2023-03-15 19:24:48 -05:00
Qstick
4fe9daec03
Use Any() in place of Count() to prevent enumerating
...
This rule flags the Count and LongCount LINQ method calls used to check if the collection has at least one element. These method calls require enumerating the entire collection to compute the count. The same check is faster with the Any method as it avoids enumerating the collection.
2023-03-15 19:24:48 -05:00
Qstick
0ed8ba828d
Avoid unnecessary zero-length array allocations
2023-03-15 19:24:48 -05:00
Qstick
08ee2f7e32
Remove unnecessary assignments to default type value
...
The .NET runtime initializes all fields of reference types to their default values before running the constructor. In most cases, explicitly initializing a field to its default value in a constructor is redundant, adding maintenance costs and potentially degrading performance
2023-03-15 19:24:48 -05:00
Mark McDowall
bd3816dac9
Handle null for parent name with clean path is empty
2023-02-20 17:20:07 -08:00
Mark McDowall
95a8f59a32
Fixed: Don't handle images in metadata folder as Roksbox images
2023-02-20 16:42:57 -08:00
Mark McDowall
75378f7bde
Fixed: USB drives mounted to folders are treated as different mounts
...
Closes #4147
2023-02-16 17:05:39 -08:00
Mark McDowall
303fc5d786
New: Return static response to requests while app is starting
...
Closes #5402
2023-02-07 17:31:54 -08:00
Mark McDowall
40ce54e165
Upgrade Newtonsoft.Json
2022-12-23 22:33:39 -08:00
Qstick
fd98a179ab
New: Improve IPAddress.IsLocal method
...
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2022-12-07 23:03:59 -06:00
Mark McDowall
1b90fbcf7d
New: IPv6 support for connections/indexers/download clients
...
Closes #4149
2022-12-06 23:11:59 -08:00
Mark McDowall
6bdeafcf8c
Fixed: Improve Bind Address validation and help text
...
Closes #622
2022-12-06 23:11:59 -08:00
Bruno Garcia
de3cb07c57
Sentry SDK v3.23.1
...
Co-authored-by: Bruno Garcia <bruno@Brunos-MacBook-Pro.local>
2022-11-26 14:06:08 -08:00
Qstick
08b677ca7d
Enforce comment spacing with Stylecop
2022-11-21 16:58:07 -08:00
Qstick
237e7556c2
Bump Newtonsoft to 13.0.1
2022-11-19 17:17:56 -06:00
Qstick
173f456683
Remove Unity (No longer maintained)
2022-11-19 17:01:57 -06:00
luz paz
209a250079
Fix various typos
...
Found via `codespell -q 3`
2022-11-06 08:19:07 -08:00
Mark McDowall
26eab7d821
Fixed: Re-downloading of series images
...
Closes #5209
2022-10-26 17:06:53 -07:00
Chris
d1f2a8a948
Fixed: Cleanse Discord Webhook URLs
...
Closes #5169
2022-10-16 07:42:33 -08:00
Qstick
a645681cc8
Clean dual target code
2022-10-15 10:54:38 -05:00
Mark McDowall
6eed7c8fed
Handle redirects for 308 redirects
2022-09-17 17:43:33 -07:00
Qstick
fa0fc3158b
New: MediaInfo -> FFProbe
...
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2022-08-07 15:24:38 -07:00
Qstick
a4232549cb
Fix Tray App and Windows Server Restart
...
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2022-08-07 15:24:38 -07:00
Qstick
e65aebdcf8
New: Use native .NET6 socks proxy
...
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2022-08-07 15:24:37 -07:00
Qstick
4c0fe62dda
Use modern HttpClient
...
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2022-08-07 15:24:37 -07:00
ta264
bff1fe7890
Update to nugets with osx-arm64 runtimes
2022-08-07 15:24:37 -07:00