Commit Graph

71 Commits

Author SHA1 Message Date
Bond_009
97a02f5803 Remove BOM from UTF-8 files
I think some people need to change their IDE configuration ;)
2024-08-30 15:29:48 +02:00
thornbill
dc2db22c3d Backport pull request #11873 from jellyfin/release-10.9.z
Fix FirstTimeSetupHandler allowing public access

Original-merge: 869dab2ba2

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:41:08 -04:00
thornbill
9a1a588857 Backport pull request #11651 from jellyfin/release-10.9.z
Fix FirstTimeSetupPolicy allowing guest access

Original-merge: 2cb052a119

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:51:44 -04:00
Cody Robibero
92eb9e3a94 Always grant access for Administrator role 2024-04-11 06:11:46 -06:00
Cody Robibero
0bc41c015f
Store lyrics in the database as media streams (#9951) 2024-02-26 05:09:40 -07:00
Cody Robibero
e7b8d45bbb
Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Bond_009
b62b0ec2b5 Fix warnings 2023-11-14 21:14:21 +01:00
Shadowghost
c042f20224 Merge branch 'master' into network-rewrite 2023-05-11 15:41:39 +02:00
Shadowghost
d5fec4963e
Fix FirstTimeSetupHandler not failing on invalid user if not in setup mode (#9747) 2023-05-10 14:05:27 -06:00
Shadowghost
80b8661008 Merge branch 'master' into network-rewrite 2023-03-03 10:42:24 +01:00
Cody Robibero
4873d2a54d
Fix auth endpoints using api key (#9408) 2023-02-27 05:48:37 -07:00
Shadowghost
20fd05b050 Consistently write IP in upercase 2023-02-17 19:27:36 +01:00
Shadowghost
87b2bc5dc4
Fix LocalAccessOrRequiresElevationHandler (#9315) 2023-02-14 12:22:07 -07:00
Shadowghost
b8ed1f81cd Add back LocalAccessOrRequiresElevationPolicy 2023-02-14 19:06:43 +01:00
Shadowghost
b7418d6e9e Add permission for collection management 2023-02-13 15:42:04 +01:00
cvium
a5e2ae4979 fix merge conflict 2023-02-12 23:01:30 +01:00
cvium
ac118e10f0 remove unnecessary init 2023-02-09 15:01:04 +01:00
cvium
f4a7583c46 fix empty user id check for api keys 2023-02-09 13:51:37 +01:00
cvium
f984f31896 admins shouldn't be able to circumvent remote access policies 2023-02-09 13:51:37 +01:00
cvium
209edd38a4 refactor: simplify authz 2023-02-09 13:51:37 +01:00
Bond_009
52194f56b5 Replace != null with is not null 2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
cvium
5dc30c6a6d fix: use HttpContext and ClaimsPrincipal instead of IAuthorizationContext 2022-10-06 13:57:47 +02:00
Cody Robibero
4a28f46cac Don't throw exception on unauthenticated requests 2021-11-13 07:27:28 -07:00
Claus Vium
deb349f4c5
Merge pull request #5755 from BaronGreenback/NetworkAccessPolicy 2021-10-26 00:06:31 +02:00
KonH
7c282ec369 Fix warning: The nullable warning suppression expression is redundant (#2149) 2021-10-03 10:43:41 +07:00
Bond_009
13fbfe6091 Target net6.0 2021-09-24 20:15:46 +02:00
cvium
a60a1ab89b Fix xmldoc 2021-09-10 11:46:08 +02:00
cvium
6637a3096a Remove the dependency on BaseAuthorizationHandler 2021-09-10 11:44:50 +02:00
cvium
8496d7638a Merge branch 'master' into NetworkAccessPolicy 2021-09-10 11:40:28 +02:00
Patrick Barron
a0c6f72762 Migrate authentication db to EF Core 2021-05-20 23:56:59 -04:00
Bond_009
91c2a57b28 Enable nullable reference types for MediaBrowser.Common 2021-05-05 12:57:01 +02:00
BaronGreenback
fb7587dd84 Renamed 2021-04-11 17:17:05 +01:00
BaronGreenback
5fb7557763 Network Access Policy 2021-04-10 12:03:52 +01:00
Ionut Andrei Oanca
fbeb0228a2 Minor code style related change 2020-12-07 16:15:56 +01:00
Ionut Andrei Oanca
499f3ee950 Update authorization policies for SyncPlay 2020-12-07 10:33:15 +01:00
Joshua M. Boniface
bba01bf7b9
Merge pull request #3194 from OancaAndrei/syncplay-enhanced
SyncPlay for TV series (and Music)
2020-12-04 20:22:30 -05:00
Ionut Andrei Oanca
23473ef8fb Fix access policies to SyncPlay 2020-12-04 22:03:35 +01:00
cvium
7e0ea296c3 Move request validation to auth policies 2020-12-03 10:43:44 +01:00
crobibero
cd459c51f3 Return NoResult only when request doesn't have a token. 2020-12-01 14:47:42 -07:00
crobibero
38b3b4f867 Provide NoResult instead of Fail in CustomAuthenticationHandler 2020-12-01 06:32:46 -07:00
cvium
e78c63c4dc Remove OriginalAuthenticationInfo and add IsAuthenticated property 2020-11-08 16:10:33 +01:00
crobibero
981f000437 Use proper IsApiKey flag 2020-10-28 08:40:11 -06:00
crobibero
c037d3536d clean up authorization handlers 2020-10-14 17:58:46 -06:00
crobibero
39924f9992 Allow apikey to authenticate as admin 2020-10-14 17:58:33 -06:00
cvium
7576824cee Standardize use of IsLocal and RemoteIp 2020-09-10 14:16:41 +02:00
crobibero
e7f55c5110 Fix Requirement assigned to Handler 2020-08-09 13:51:25 -06:00
crobibero
05f9473544 Apply fixes from review 2020-08-06 17:59:48 -06:00
crobibero
fffa94fc33 Apply fixes from review 2020-08-06 08:17:45 -06:00
crobibero
1535f363b2 Fix some request parameters 2020-08-03 13:33:43 -06:00