Commit graph

94 commits

Author SHA1 Message Date
Bogdan
bd1844030d
New: Rework List sync interval logic
* New: Rework List sync interval logic

(cherry picked from commit c522cd120d08757e7e43c2348be4d7f05a254fac)

* Minor alignment with Sonarr

* Remove ListUpdateInterval

---------

Co-authored-by: Qstick <qstick@gmail.com>
2023-07-04 19:17:28 +03:00
Bogdan
0cc1fe8308 Add HelpTextWarning support in FieldDefinition
(cherry picked from commit 0e07d54ee77d5f83716e17b6757e23f38ff73694)

Closes #8687
2023-06-14 07:55:44 +03:00
Bogdan
a471f1b44f Bump NLog to 5.2.0 2023-06-02 07:50:34 +03:00
Stepan Goremykin
044de922fa Use Array.Empty and fix a few multiple enumerations
(cherry picked from commit 11d91faaada0e70910c832ce405ddeed52a24172)
2023-05-28 16:43:46 +03:00
Bogdan
c987824174 Use 'var' instead of explicit type
(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)
2023-05-28 16:41:52 +03:00
Bogdan
8762588ef0 Inline 'out' variable declarations
(cherry picked from commit 281add47de1d3940990156c841362125dea9cc7d)
2023-05-28 16:41:52 +03:00
Bogdan
2e252771de Remove unused imports
(cherry picked from commit c6b543e0729bc20f15e37d074fbf31d8c76c187a)
2023-05-19 04:14:48 +03:00
Bogdan
fd76d67bae Remove empty constructors 2023-05-19 04:14:48 +03:00
Mark McDowall
51901dbb37 New: Only add version header for API requests
(cherry picked from commit 453891e620459ff38f7bc43b207004b240fc5fb8)
2023-05-07 21:21:06 +03:00
Stepan Goremykin
d2787d8181 Migrate to FluentValidation 9
(cherry picked from commit 40e54685b9e83ed24a3979bfe965c453339ad02e)
2023-05-03 09:12:07 +03:00
Bogdan
6961633cc9 Serve plain text files (eg. logs) as UTF-8 2023-04-22 10:03:17 -07: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
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
Mark McDowall
affedd7f9d Fixed: Ping endpoint no longer requires authentication
(cherry picked from commit ad42d4a14c814d5911dafb5e78e97ec09b4b13a5)
2023-02-04 17:44:37 -06:00
Qstick
fa6acb7497 Simplify X-Forwarded-For handling
This happens in asp.net middleware now

Co-Authored-By: ta264 <ta264@users.noreply.github.com>

(cherry picked from commit 16e2d130e6a2e7239bcfe92187a7f990f93eff00)
2022-12-09 22:05:50 -06:00
Qstick
9d9065fbcd API Updates
Fixes #7833
Fixes #6785
Fixes #6787

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
2022-12-05 21:34:00 -06:00
Qstick
4cc98a10a0 Fixed: Use route Id for PUT requests if not passed in body
Fixes #7809
2022-12-05 21:34:00 -06:00
Qstick
1751bd1a58 Fixed: Correct Attribute compare for Id validation
(cherry picked from commit 7e48ea0231272ae56c30f5f43339f0dca7a27fb3)
2022-12-05 21:20:31 -06:00
Qstick
44d7c54077 Enforce comment style in CS 2022-11-20 12:27:45 -06:00
Qstick
850bfdcf82 New: Native Theme Engine
Co-Authored-By: Zak Saunders <1936903+thezak48@users.noreply.github.com>
2022-11-20 11:49:50 -06:00
Qstick
7fcb0d6e45 New: Base API info endpoint
(cherry picked from commit 5e57ffbcf9ac3a346d4bf2b692248393215bad89)
2022-11-12 19:56:41 -06:00
Robin Dadswell
a59928c66a
Updated NLog Version (#7365)
[common]
2022-07-02 16:26:59 +01:00
Qstick
a37fc0dc1f New: Instance name for Page Title 2022-05-13 23:37:53 +01:00
Qstick
5824ba963b
Fixed: Correct User-Agent api logging 2022-05-06 08:25:34 -05:00
Qstick
2be9b306a3 Bump NLog to 4.7.14 2022-03-20 11:06:14 -05:00
Qstick
b2195148a2 Fixed: NullRef in SchemaBuilder when sending payload without optional Provider.Settings fields 2021-12-20 20:38:16 -06:00
Robin Dadswell
7dda481824 New: Frontend Placeholders from the Backend 2021-12-07 09:59:35 +00:00
geogolem
dd80a64560 Lidarr, Radarr, and Prowlarr (maybe Readarr too) all use
the same name for their Authentication cookies
.AspNetCore.Forms

Sonarr uses a different name "SonarrAuth"

this commit makes Radarr use "RadarrAuth"...

similar changes should likely be ported to Lidarr, Prowlarr (and possibly Readarr)
2021-11-23 14:10:52 -06: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
147cfe538a Fixed: Calender .ics feed
[common]
2021-10-25 21:36:44 +01:00
ta264
5fb6b44950 Improve ErrorHandler and quieten logging
[common]
2021-10-25 13:45:44 -04:00
Robin Dadswell
a774ccf426 Fixed: Real IP logging when IPv4 is mapped as IPv6
(cherry picked from commit 782bdcc0a9c118f4b7a25fc90a966a6381a7f248)
2021-10-25 13:45:44 -04:00
ta264
3654340e0f Fixed: Log files should not be cached
(cherry picked from commit 33409cf7bc84956e47478887021b2e4632bf702c)
2021-10-25 13:45:44 -04:00
ta264
ee84321d4b Fixed: Forms login page uses urlbase for logo
(cherry picked from commit e0f30c3eaeab7d863b4b4104a9f0d501bd693f69)
(cherry picked from commit 73f81465e9e38ea545155b4ec98b23ddb9bc4816)
(cherry picked from commit 0332356fa34a893bc856d39e280f70681ffbc822)
2021-10-25 13:45:44 -04:00
ta264
aa49358b97 Fixed: Forms login with urlbase
(cherry picked from commit 811a9d4c6123643e0a2ae26c1ccf06717cb5f47b)
(cherry picked from commit a8c91f2bc819f570f8e07e489ba53b12a22ae0e6)
(cherry picked from commit 222b56e7bc38feb2a94ba0762e7120d6f75c2a8a)
2021-10-25 13:45:44 -04:00
ta264
aca669defe Fixed: UI not updating on upgrade
(cherry picked from commit d566c1efd42f9a94c524db311e8fa99bc6e0323f)
(cherry picked from commit 4b0586bd3d1cca4682dee53cc5af5ef1fa66978e)
(cherry picked from commit 5b2affcabbc38d7122b39d3290e2021fdb8afbcc)
2021-10-25 13:45:44 -04:00
ta264
8cad9600cc Tidy conversion to aspnetcore
(cherry picked from commit 490f6e2e6aa3f220cc98f257a3ca3b2bea48fb80)
(cherry picked from commit 8f3f90d4078d9d072d8ad4ccc3be35963b7435d6)
(cherry picked from commit 2b0da546c9dae40fbc1b2654387be80a17c1848f)
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
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
Taloth Saldono
a3242b4823 Removed extraneous enum hints in dropdown 2021-06-28 22:38:46 -04:00
Qstick
b7f3791966 New: Remove Legacy API 2021-05-30 23:02:59 -04:00
Robin Dadswell
6f0d5a0583
Fixed: Real IP Logging when IPv4 mapped as IPv6 (#6362) 2021-05-30 14:21:06 +01:00
Mark McDowall
5dabec5cc8 Fixed: Links to Sonarr now uses auth cookie
(cherry picked from commit a47cb2390eb5151ed19388def46b0bb165d27647)
2021-04-13 20:56:18 -04:00
Mark McDowall
e8972f2273 Fixed: Don't set cookies for static resources
(cherry picked from commit 6619350f87a8f6ddedfea0cc8ca5b1e9ab006091)
2021-03-09 07:19:32 -05:00
Mark McDowall
fc12770495 Fixed: Set SameSite=Strict for SonarrAuth cookie
(cherry picked from commit 675c72f02e7565a937b40c23ec27df6d86f95dc3)
2021-03-08 00:00:35 -05:00
Mark McDowall
5d5e66f0d7 Fixed: Cache headers for static resources
Towards #4356

(cherry picked from commit efd9fe9ad0f08aa55a59a3b8365d8bdd471ffa8b)
2021-03-07 20:14:23 -05:00
Mark McDowall
fe2af13fae Just one Application Version header
(cherry picked from commit ab502ffda41aaae8bccaa4f33c62e3fca61b277f)
2021-03-07 20:13:44 -05:00