Commit Graph

1800 Commits

Author SHA1 Message Date
Niels van Velzen
9645955629
Set Content-Disposition header to attachment for image endpoints (#12490) 2024-08-22 08:01:10 -06:00
gnattu
5a62c7a146 Implement Device Cache to replace EFCoreSecondLevelCacheInterceptor
The EFCoreSecondLevelCacheInterceptor will place a huge lock even for reading. Implement a ConcurrentDictionary cache to replace it.

Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-20 20:19:31 +08:00
Bond-009
2b78980747
Merge pull request #12017 from gnattu/overwrite-livetv-codec
Overwrite supported codecs for livetv
2024-06-15 17:38:10 +02:00
Shadowghost
e4f3f0b3b6 Remove all data when replacing all 2024-06-07 23:19:04 +02:00
gnattu
4046ef1c13 Overwrite supported codecs for livetv
Only changeing streamingRequest is not enough. The internal logic will do codec shifting based on supported codecs, need to overwrite all of them.

Signed-off-by: gnattu <gnattuoc@me.com>
2024-06-07 17:58:35 +08:00
gnattu
8683253c6d Fix Library renaming
This handler should not just spawn a normal library validation task because our new logic will prevent the removal of library root folder unless explicitly required, which will cause the old lib still "ghosting" in the db.

Signed-off-by: gnattu <gnattuoc@me.com>
2024-06-05 08:49:33 +08:00
Joshua M. Boniface
2ddb15c784
Merge pull request #11743 from Shadowghost/fix-replace
Fix replace logic
2024-06-01 18:33:31 -04:00
Joshua M. Boniface
869dab2ba2
Merge pull request #11873 from thornbill/fix-first-time-setup-guest-but-for-real
Fix FirstTimeSetupHandler allowing public access
2024-06-01 18:31:31 -04:00
Bill Thornton
ed1b880359 Remove api key check and simplify conditions 2024-05-31 16:31:15 -04:00
Bill Thornton
7221e7ca68 Fix FirstTimeSetupHandler failing for users and update tests 2024-05-31 14:09:04 -04:00
gnattu
0392daa103
Relax remuxing requirement for LiveTV (#11851) 2024-05-31 07:01:47 -06:00
Bill Thornton
a71e2d9f0a
Update FirstTimeSetupHandler.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2024-05-31 03:18:33 -04:00
Bill Thornton
35962bcc42 Fix FirstTimeSetupHandler api key test 2024-05-30 12:08:52 -04:00
Tim Eisele
ae584beaac
Return missing episodes for series when no user defined (#11806) 2024-05-30 09:32:37 -06:00
Bond_009
8db79c05dd Don't check if admin has access to library when updating
The access check also checks if the library is enabled, this makes it impossible to enable disabled libraries.
Regression from  #11171
2024-05-29 22:27:29 +02:00
Bill Thornton
8fa7ff647a Defer standard authentication checks to DefaultAuthorizationHandler 2024-05-29 14:35:41 -04:00
Shadowghost
cc2c00d764 Respect locked fields when updating children from parent 2024-05-26 17:01:19 +02:00
gnattu
e7b1162cb3
Force more compatible transcoding profile for LiveTV (#11801) 2024-05-24 07:36:59 -06:00
Cody Robibero
b19b346670 Don't require user when getting current session 2024-05-19 08:25:38 -06:00
Bill Thornton
2cb052a119
Fix FirstTimeSetupPolicy allowing guest access (#11651) 2024-05-15 07:06:10 -06:00
gnattu
8c583bbe37
Allow explicitly set userId for RequestHelpers.GetSession (#11505) 2024-05-07 09:43:54 -06:00
Tim Eisele
c9cd17220a
Playlist fixes (#11487) 2024-05-05 19:22:21 -06:00
Cody Robibero
1accfd79da
Always attempt to get User if a user id is provided (#11471) 2024-05-01 06:42:01 -06:00
Bond-009
3feb3f81bf
More efficient array creation (#11468) 2024-04-30 13:32:59 -06:00
gnattu
5dc6bb4910
Fix incomplete tag query for whitelist tags (#11416) 2024-04-30 13:32:49 -06:00
Bond-009
74f3e54807
Merge pull request #11436 from nielsvanvelzen/plugin-api-elevation
Require elevation for plugin related endpoints
2024-04-30 20:32:01 +02:00
Bond_009
2459b7e62e Properly await Task.Delay() 2024-04-29 10:16:28 +02:00
Niels van Velzen
935c2c97fe Require elevation for plugin related endpoints 2024-04-26 19:00:53 +02:00
gnattu
374b6ca0e2
Only apply custom downmix to 5.1 audios (#11401) 2024-04-22 10:23:36 -06:00
Niels van Velzen
a80968478a
Fix InvalidCastException in ItemUpdateController (#11398) 2024-04-21 21:53:27 -06:00
Cody Robibero
27fae3dd04
Limit sessions per user (#11370) 2024-04-21 10:54:49 -06:00
Bond-009
bb018c4adc
Enable nullable for LibraryManager (#11191) 2024-04-17 10:44:50 -06:00
Cody Robibero
6fb6b5f176
Validate item access (#11171) 2024-04-14 08:18:36 -06:00
Cody Robibero
92eb9e3a94 Always grant access for Administrator role 2024-04-11 06:11:46 -06:00
Joshua M. Boniface
ee1d6332ee
Merge pull request #11220 from Shadowghost/add-playlist-acl-api
Add playlist ACL endpoints
2024-04-10 12:52:01 -04:00
Bond-009
dc74bc361d
Merge pull request #11321 from nielsvanvelzen/get-remote-subs-perm
Fix policy for GetRemoteSubtitles
2024-04-10 18:29:00 +02:00
Bill Thornton
00620a4092
Fix disabled libraries being returned in MediaFolders api (#11236) 2024-04-08 14:52:10 -06:00
Niels van Velzen
3d7d0297fe Fix policy for GetRemoteSubtitles
Other operations related to remote subtitles require the SubtitleManagement policy, so it only makes sense that this operation requires it too.
2024-04-08 22:24:24 +02:00
Shadowghost
9031aae653 Typo 2024-04-03 21:24:51 +02:00
Shadowghost
e3897fe5dd Apply review suggestions 2024-04-03 21:20:30 +02:00
Shadowghost
51e2faa448 Apply review suggestions 2024-04-03 20:06:57 +02:00
Shadowghost
3c7562313b Apply review suggestions 2024-04-03 16:57:10 +02:00
Shadowghost
5396b616bf Fixup 2024-04-03 16:32:25 +02:00
Shadowghost
247ec19de4 Fixup 2024-04-03 16:23:14 +02:00
Shadowghost
d72f40fe41 Return 204 on OpenAccess 2024-04-03 16:19:13 +02:00
Shadowghost
04c5b9d680 Add endpoint to get user permissions 2024-04-03 16:14:06 +02:00
Shadowghost
3e0b201688 Enforce permissions 2024-04-03 16:06:20 +02:00
gnattu
0af101cbf7
fix: av1 codecs string (#11280)
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2024-04-02 07:03:58 -06:00
Shadowghost
8cf77424f6 Apply review suggestions 2024-04-02 08:08:36 +02:00
Shadowghost
c1dbb49315 Implement update endpoint 2024-04-01 20:43:05 +02:00