Commit Graph

600 Commits

Author SHA1 Message Date
Bogdan 52c64080f2 Enforce rule IDE0005 on build
(cherry picked from commit 6b1e4ef81938d264a2ddc8b626b0502f799aa640)
2023-05-28 16:41:52 +03:00
Mark McDowall 488f8c71e8 Fixed: Don't rollback file move if destination already exists
Towards #5610

(cherry picked from commit f05405fe1ce4c78a8c75e27920c863c5b83686bd)
2023-05-23 12:41:27 +03:00
Bogdan 2e252771de Remove unused imports
(cherry picked from commit c6b543e0729bc20f15e37d074fbf31d8c76c187a)
2023-05-19 04:14:48 +03:00
Mark McDowall ae63b85753 New: Improve path validation when handling paths from different OSes
(cherry picked from commit 0321368cc392d7a0a488409bf6bd586ba45497af)
(cherry picked from commit 033936dce7e13c8ab2e38407782dc9cdd949460e)
2023-05-08 02:02:22 +03:00
Bogdan 06a214e901 Align environment variable setting in ProcessProvider with upstream
Co-authored-by: Qstick <376117+Qstick@users.noreply.github.com>

Closes #5617

(cherry picked from commit 8f482c534f15c14a9b3097313a4f5e9273549d88)
2023-05-07 21:32:32 +03:00
Stepan Goremykin d2787d8181 Migrate to FluentValidation 9
(cherry picked from commit 40e54685b9e83ed24a3979bfe965c453339ad02e)
2023-05-03 09:12:07 +03:00
Mark McDowall 2ac72d1588 New: Updated Rarbg request limits
(cherry picked from commit 47cf8e6430b7f7704ce2f1524fa9e3c8e6f9b47a)

Closes #8337
Fixes #7700
2023-04-29 10:12:22 -05:00
Qstick a7ba1a6454 Update SixLabors.ImageSharp, MailKit, DryIoc libraries
Closes #8282

Co-Authored-By: Stepan Goremykin <25577658+goremykin@users.noreply.github.com>
2023-04-22 20:18:22 -05:00
Qstick cc285fab45 Use MinBy and MaxBy instead of OrderBy + First
Co-Authored-By: Stepan Goremykin <25577658+goremykin@users.noreply.github.com>
2023-04-22 20:10:04 -05:00
Qstick 1be450a9d0 Remove mono process detection
(cherry picked from commit 5a046026725084bc880a7b63d7105dcf4d882128)
2023-04-16 19:51:07 -05:00
Qstick 31abb93d8c Bump dotnet to 6.0.16 2023-04-13 19:15:09 -05:00
Qstick 2167da87ce Enable all analyzers and enforce code style on build
Fixes #8201
Fixes #8202
Fixes #8203
Fixes #8204
Fixes #8205
Fixes #8207
Fixes #8208
Fixes #8209
Fixes #8210
Fixes #8211
Fixes #8212
Fixes #8213
Fixes #8214
Fixes #8215
Closes #8216
Fixes #8217
Closes #8218
Fixes #8219
Closes #8220
2023-03-29 18:27:30 -05:00
Mark McDowall 926d37a572 Fixed: Permissions after installing on Windows and opening Firewall port
(cherry picked from commit ff2e8ffc372a34d08028db3c49f603cdfb87d832)
2023-03-29 17:43:11 -05:00
Mark McDowall 189603c756 Fixed: USB drives mounted to folders are treated as different mounts
(cherry picked from commit 75378f7bde90b9d3d9b72404c25c017da2cd147c)
2023-03-12 16:56:29 -05:00
Mark McDowall fdfe8ca656 New: Return static response to requests while app is starting
(cherry picked from commit 303fc5d786ccf2ad14c8523fc239696c5d37ea53)

Fixes #8079
Closes #8080
2023-02-12 13:29:46 -06:00
Qstick 04185d6839 Filter useless PG Errors from coming to Sentry 2023-01-22 11:46:52 -06:00
Qstick 0584d7676c Bump FFProbe and Newtonsoft 2023-01-02 22:02:50 -06:00
Mark McDowall c11f72c098 New: IPv6 support for connections/indexers/download clients
Closes #7850

(cherry picked from commit 1b90fbcf7df2c1086da4791c6491771924b1b7aa)
2022-12-10 12:05:55 -06:00
Mark McDowall 3617bef54b Fixed: Improve Bind Address validation and help text
Closes #7849

(cherry picked from commit 6bdeafcf8c78e145595f52e885356be1210abe91)
2022-12-10 12:04:04 -06:00
Qstick 904259df92 New: Improve IPAddress.IsLocal method
Co-Authored-By: ta264 <ta264@users.noreply.github.com>

(cherry picked from commit fd98a179ab6fed8037c99344b34593aac24a0ac0)
2022-12-09 22:05:32 -06:00
Bruno Garcia d1235adfc4 Sentry SDK v3.23.1
Co-authored-by: Bruno Garcia <bruno@Brunos-MacBook-Pro.local>
(cherry picked from commit de3cb07c57d762084c983336aa01b761a8e4b74a)
2022-11-28 21:30:06 +00:00
Qstick 44d7c54077 Enforce comment style in CS 2022-11-20 12:27:45 -06:00
Qstick 5c9e11d7a0 Bump DryIoc to 5.3.0 2022-11-19 16:23:36 -06:00
Kevin Richter b1f0b2c216 Fixed: Improve moving file to location where another one exists
Fixes #7460

(cherry picked from commit 8ab040f612ee04dac4813a08cdeaddd446a64dc9)
2022-10-19 21:12:33 -05:00
psylenced e5ceb20a83 Fixed: Discord webhook logs now get cleansed to remove webhook id and token. 2022-10-16 09:55:22 -05:00
Qstick 0f6b11f55d Cleanup Dual Target and Mono References 2022-10-15 21:01:37 -05:00
Qstick 9db6289693 Correct SQLiteException Sentry filtering 2022-09-24 19:45:10 -05:00
Mark McDowall da857701f6 Handle redirects for 308 redirects
(cherry picked from commit 6eed7c8fed096fa1762448bc57876440f542be98)
2022-09-17 21:07:17 -05:00
psylenced 2ce9d099e1 Fix: Trace logging postgres cleanse for large json files. 2022-09-06 22:33:59 -05:00
Chris 812e5ac5a3
Fixed: Postgres secret regex now less greedy
[common]
2022-08-18 21:36:22 +01:00
Chris d01bae92bf
Fixed: Regex in log cleanser taking 10+ minutes on messages longer than 100k. (#7481) 2022-08-18 13:00:58 +01:00
Qstick ad097dd1a2 Bump Sentry to 3.20.1 2022-08-13 12:55:49 -05:00
Qstick b4b38a5318 Bump dotnet to 6.0.8 2022-08-13 12:40:52 -05:00
Qstick cc6ca0b067 Better Sentry Filtering for AggregateException children 2022-08-12 23:33:27 -05:00
Robin Dadswell a59928c66a
Updated NLog Version (#7365)
[common]
2022-07-02 16:26:59 +01:00
ta264 8b4621db61 New: .NET 6.0.5 2022-06-02 19:48:44 -05:00
Qstick e9a5f87e45 Remove old DotNetVersion method and dep 2022-04-14 21:06:29 -05:00
ta264 bd53092f0c Allow configuring postgres with environment variables 2022-04-03 00:06:30 +01:00
Robin Dadswell 80b1aa9a2c New: Postgres Support
Co-Authored-By: Qstick <376117+Qstick@users.noreply.github.com>
2022-04-03 00:06:30 +01:00
Qstick 9bb394f420 Fixed: Validation when testing indexers, import lists, connections and download clients
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2022-03-28 20:04:10 -05:00
Robin Dadswell 4f512c5cdf New: Added UDP syslog support
(cherry picked from commit 8d856b2edb8bf46a2b516d5f7644ae3fa1151323)
2022-03-27 00:43:38 +00:00
Taloth Saldono 32393eabb7 Add response size to http responses
(cherry picked from commit d899225509f04a9b6c72da19c7d63ff53498de22)
2022-03-21 18:56:14 -05:00
Qstick 8d54b4268b Bump Sentry to 3.15.0 2022-03-20 11:07:00 -05:00
Qstick 2be9b306a3 Bump NLog to 4.7.14 2022-03-20 11:06:14 -05:00
Qstick 933796e214 Bump DryIoc to 4.8.8
Potentially Fixes #7141
2022-03-20 10:58:47 -05:00
bakerboy448 3f4e5e55a3 Fixed: Better Cleansing of Tracker Announce Keys
Fixed: Cleanse Notifiarr secret from URL in logs (API)

sonarr ec866082d44d299096112a6c7c232384b1f74505
2022-03-06 17:13:49 -06:00
Alan Collins a9b2635cb0 Adjusted the Windows LongPath support check for valid segment lengths
(cherry picked from commit 52c6bc5549ab998ccc018d138c55f8f924eed6d3)
2022-03-05 14:26:12 -06:00
Qstick b18cc49a83 Bump dotnet to 6.0.2 2022-03-05 10:56:25 -06:00
ta264 6fa0cdc9a8 Report runtime identifier to sentry
(cherry picked from commit 6d9413627388c2004c3a5dffdbe2269dadeef326)
2022-02-20 20:49:30 +00:00
ta264 c0cbbc7ed4 Update API URL 2022-02-18 12:39:46 -06:00
ta264 de243991dd Support for digest auth with HttpRequests
(cherry picked from commit 1e2d931f9a)
2022-01-13 19:23:30 -06:00
Qstick bc20e159ba Bump dotnet to 6.0.1
Security patch release
2022-01-07 21:33:48 -06:00
ta264 b626c5bbf0 Fixed: Use our own HttpClient for rTorrent RPC requests
[common]
2022-01-07 21:22:55 -06:00
Qstick 3a48f07702
Fixed: Twitter connect not sending messages after http rework (#6901) [common] 2022-01-06 21:42:32 -06:00
Qstick c1e07b30d7 Bump DSN for 4.0.0 2022-01-02 18:46:22 -06:00
ta264 2042ffce62 Fixed: Don't buffer update package to memory when downloading
[common]
2021-12-19 22:32:37 -06:00
ta264 073e59e3db Fixed: Windows installer and adding/removing services
(cherry picked from commit 27e3b5e630f04b0774bd6693ffb1c79e7cab95d6)
2021-12-08 21:58:50 +00:00
ta264 4d6c3369c6 New: Add osx-arm64 and linux-musl-arm builds
(cherry picked from commit 4ce405728a3ae32c8d0282e8e2b758084e8e5864)
2021-12-06 17:13:41 -06:00
Qstick c4cf38255e Fixed: Combine content headers with response headers 2021-11-23 19:21:59 -06:00
ta264 399f242f87 Fixed: Restarting windows service from UI 2021-11-23 19:52:37 +00:00
ta264 8b8f79d6c3 New: Use native .NET socks proxy
(cherry picked from commit d93110336fea31565129b356c90043761f8c2c5b)
2021-11-23 19:52:37 +00:00
ta264 e54d4765dd Other package updates
(cherry picked from commit ffefdcaef9f77f76a969ac201abad30b45077ff7)
2021-11-23 19:52:37 +00:00
ta264 4068cfcabb New: Upgrade to .NET 6
(cherry picked from commit 242922f1c351312e0eaae68c4c0ff6c80c16b297)
2021-11-23 19:52:37 +00:00
ta264 c5b736e422 Use modern HttpClient 2021-11-23 19:52:37 +00:00
bakerboy448 a8b563de7b Fixed: Cleanse APIKey from Signalr logging
(cherry picked from commit 2983b600268176db56208d6fb014b97ad81bb576)
2021-11-15 09:34:06 -06:00
ta264 d33bed6a36 Fixed: Null reference error getting video file info 2021-11-09 21:03:33 +00:00
ta264 a219b4a1b8 Fixed: Forms login persists across restarts in docker
[common]
2021-11-02 14:51:43 +00:00
ta264 d6967a786f Fixed: Memory leak
Explicitly register concrete types as transient

(cherry picked from commit f097d30b095d89681eb1aede2e88c4fdefcab516)
(cherry picked from commit 47b23417e0b2dad153d16f1a8846a3a95ff9adcc)
(cherry picked from commit 876376cb77375e5d5b964ff215a7f7e2f730fa0a)
2021-10-25 13:45:44 -04:00
ta264 06e2d5b3c3 New: Use native dotnet host and DryIoc
(cherry picked from commit d6170dbfedf27a6218afe242a0fae2eb8b368aec)
(cherry picked from commit 7fe36a7e9222e830f4920e09a85115df0bdbf190)
2021-10-25 13:45:44 -04:00
ta264 2d53ec24f8 New: Use ASP.NET Core instead of Nancy 2021-10-25 13:45:44 -04:00
Mark McDowall c8c9db1452 Aria2 fixes
Fixed: Removing completed downloads from Aria2
Fixed: Return correct path for Aria2 downloads in a job folder
Fixed: Seeding torrents in Aria2 are treated as finished downloading
Closes Sonarr issue 4648

(cherry picked from commit 1d8b711edaa094fb165a90b43f4d9d3534481fa4)
2021-09-27 23:45:37 -04:00
Qstick d666366deb Bump Sentry from 2.1.8 to 3.9.3 2021-09-27 22:43:58 -05:00
Qstick 2d0271978d Bump .Net from 5.0.5 to 5.0.10 2021-09-27 22:43:57 -05:00
bakerboy448 0ef7f0155a fixed grammar issues 2021-07-16 19:14:03 -04:00
Qstick 64cf11bc54 New: mono disk and process provider cleaning 2021-07-03 10:07:06 -04:00
Qstick 92c4c50e1c New: Even More Mono Cleaning 2021-07-03 10:07:06 -04:00
Qstick cc572729ff New: Drop Mono Support
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
2021-07-03 10:07:06 -04:00
Qstick a037a8dbe2 Don't ignore original wal/journal during v3 migration
Fixes #6067

Doesn't really apply to us, save for realllly old installs.

Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
2021-06-28 22:38:46 -04:00
ta264 7d7b2c9e2b Fixed: RSS sync paging back too far for some indexers 2021-06-11 22:39:46 -04:00
Robin Dadswell fcec787eb6
Show User Agent in System->Tasks for externally triggered commands (#6327)
* Show User Agent in System->Tasks for externally triggered commands

(cherry picked from commit fe8f319f7bfdadb7218b6313ada6cae1d2a35ad8)

* Translations

Co-authored-by: Taloth Saldono <Taloth@users.noreply.github.com>
2021-05-17 21:45:23 -04:00
bakerboy448 8ef4429b9e New: ISO 8601 Date in log files
Closes #6224
2021-04-25 10:36:14 -04:00
Robin Dadswell 0a18898e36
Sentry logging exceptions and some trace logging
Co-authored-by: Taloth Saldono <Taloth@users.noreply.github.com>
2021-04-12 12:19:51 +01:00
bakerboy448 ea3a6171fa Fixed: Cleanse Notifiarr APIKey from logs
[common]
2021-03-29 22:09:22 -04:00
bakerboy448 53b9332675
Fixed: Qbittorrent api errors when only one of two seed criteria was configured
Fixed: Qbittorrent API errors when only one of two seed criteria was configured
2021-03-21 21:47:33 +00:00
Robin Dadswell 10205da1c3
Generalized RateLimit logic to all indexers based on indexer id
Co-authored-by: Taloth Saldono <Taloth@users.noreply.github.com>
2021-03-07 23:28:37 +00:00
Qstick e9e034d193 Fixed: Removal of previous service
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2021-03-07 10:54:23 -05:00
Qstick 24de3fdee6 Remove trailing whitespace in HttpResponce 2021-03-04 13:29:15 -05:00
Qstick 88bc44f7ba Handle 303 and 307 redirects in Http Requests
(cherry picked from commit d6cf370bcdf0aa0d11010c5791332986afb50ddd)
2021-03-03 23:46:51 -05:00
Qstick 4acd885f19 Fixed: Cleanse Tracker Announce Keys from logs
Co-Authored-By: bakerboy448 <55419169+bakerboy448@users.noreply.github.com>
Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
2021-02-28 21:30:33 -05:00
ta264 3a146ea667 Fixed: Adding indexers from presets 2021-02-06 21:21:43 -05:00
ta264 f03dfda2f0 New: Use System.Text.Json for Nancy and SignalR 2021-02-04 20:22:04 -05:00
Qstick 4dc67c027b Fixed accounting for zero terminator in long path limitation
Fixes #5763

Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
2021-01-30 22:20:39 -05:00
ta264 14d43e6d6b Fixed: Built-in updater for mono version
The change to set ExecutingApplication in 26a04c9fd broke mono - it
returned the location of the mono executable and not radarr.

It seems that there was a change in behaviour in net5.0 which means we
can no longer use the same code in both cases.
2021-01-27 19:17:45 +00:00
ta264 e3cc4f4cb1 Fixed: Set musl status at compile time
[common]
2021-01-24 22:13:36 -05:00
Qstick 1e396ead5e Bump NetFramework to 4.7.2 2021-01-18 08:05:38 -05:00
ta264 26a04c9fd1 New: Build with NET5 2021-01-18 08:05:38 -05:00
Qstick 6b3bdb4f88 Bump Sentry 2.1.8 / SentryJS 5.29.2 2021-01-08 21:41:44 -05:00
ta264 96384521c5 Fixed: FolderWritable check for CIFS shares mounted in Unix
This reverts commit 8c892a732e.
2020-12-24 17:29:38 +00:00
ta264 8c892a732e Revert "Fixed: FolderWritable check for CIFS shares mounted in Unix"
This reverts commit a71874db8d.
2020-12-23 08:28:19 +00:00
ta264 a71874db8d Fixed: FolderWritable check for CIFS shares mounted in Unix
See https://github.com/dotnet/runtime/issues/42790

Implemented workaround in https://github.com/dotnet/runtime/issues/42790#issuecomment-700362617

[common]
2020-12-22 15:58:20 +00:00