Brian C. Arnold
998833ea6e
Removed null check for body object and user [Required] attribute in replacement.
2021-03-27 23:29:24 -04:00
Brian Arnold
f114ba57dd
Fixed comment and code block runes to match coding
...
standards required by Jellyfin team.
2021-03-27 23:29:24 -04:00
Brian Arnold
81e3e5ca48
Changed SessionController.SendMessageCommand
...
implementation receive data in the POST body, as that is how the
jellyfin-web client currently posts the data to the server.
Resolves : #5628
2021-03-27 23:29:24 -04:00
Claus Vium
9144d11a9d
Merge pull request #5624 from crobibero/subtitle-format
2021-03-27 09:25:34 +01:00
crobibero
afe3b5999e
Fix route naming
2021-03-26 17:40:55 -06:00
lmaonator
694d772b11
Update Jellyfin.Api/Controllers/SessionController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-03-26 14:13:45 +01:00
crobibero
5b758c4711
Mark query parameters as obsolete
2021-03-26 07:07:45 -06:00
lmaonator
db2fbcef2b
Fix stream selection having no effect when casting
...
When casting to jellyfin-mpv-shim from jellyfin-web in the browser,
jellyfin-web sends data about which version (for grouped items) and
which streams the user selected in the browser to the
"Sessions/{sessionId}/Playing" API endpoint.
The API endpoint currently doesn't forward them to jellyfin-mpv-shim
through the Play command, which results in the default streams being
played instead of the browser selected ones.
PlayRequest already has the properties and they are already sent to the
cast client by SendPlayCommand when present.
jellyfin-mpv-shim will already use them to select the wanted streams
when it receives the Play command.
All that's needed to make it work is to take the parameters and assign
them to PlayRequest.
2021-03-26 13:41:34 +01:00
crobibero
e0ff51cf2a
Mark query parameters as obsolete
2021-03-25 20:30:15 -06:00
crobibero
73fe9d3f69
Allow subtitle format to be set from query parameter.
2021-03-25 18:06:25 -06:00
cvium
b3d084044e
enable range processing for download endpoints
2021-03-25 15:09:37 +01:00
David
19e4ef82dd
Remove conversion from IPAddress to string to IPAddress
2021-03-23 17:16:10 +01:00
cvium
7dedeb6c79
change HLS endpoint defaults to false
2021-03-22 20:53:55 +01:00
Erwin de Haan
1f3aa3fe6f
Apply review suggestions
2021-03-20 01:28:14 +01:00
Erwin de Haan
239a7156cc
Fix arbitrary image file reads in ImageByNameController
...
GHSL-2021-050: Issue 4 Arbitrary image file read and directory traversal.
2021-03-20 01:14:59 +01:00
Erwin de Haan
f61d18612b
Fix directory traversal in the HlsSegmentController in a fairly rudimentary but working way.
...
GHSL-2021-050: Issue 1,2,3 Arbitrary file read and directory traversal.
The segment id's can probably just be verified to be an actual ID or to not contain any forward or backward slashes
2021-03-20 01:14:59 +01:00
Patrick Barron
e5380c653b
Merge branch 'master' into ef-cleanup
...
# Conflicts:
# Jellyfin.Data/Entities/Libraries/MediaFileStream.cs
# Jellyfin.Data/Jellyfin.Data.csproj
2021-03-14 10:19:35 -04:00
Bond-009
0e5d4a3bcf
Merge pull request #5422 from Bond-009/warn51
2021-03-14 00:41:40 +01:00
Bond-009
8bb2420a25
Merge pull request #5518 from crobibero/missing-endpoints
...
Add missing InstantMix endpoints
2021-03-13 22:59:47 +01:00
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
2021-03-13 22:33:28 +01:00
crobibero
9ac9543ee2
Add missing InstantMix endpoints
2021-03-13 09:09:22 -07:00
Bond-009
260b48ef9d
Merge pull request #5515 from jellyfin/fix-refresh-endpoint
...
fix refresh endpoint
2021-03-13 15:07:42 +01:00
Claus Vium
fe2a310fe2
fix refresh endpoint
...
It was originally a POST 9af6eda0b4/MediaBrowser.Api/Library/LibraryService.cs (L155)
2021-03-13 09:13:45 +01:00
crobibero
eef15dc7ac
Fix third part integration
2021-03-11 22:45:58 -07:00
David
60ffa6f514
Use FileShare.None when creating files
2021-03-07 14:43:28 +01:00
Patrick Barron
f638ee6b09
Enable nullable for Jellyfin.Data and remove unnecessary attributes
2021-03-06 17:43:01 -05:00
Bond-009
e839929b91
Merge pull request #5380 from Bond-009/plugins
...
100% branch coverage for DashboardController
2021-03-06 00:59:28 +01:00
Bond-009
3741be51ec
Merge pull request #5383 from cvium/fix-mergeversions-overflow
...
do not pick a linked item as primary when merging versions
2021-03-05 21:57:22 +01:00
cvium
59814bd55e
do not pick a linked item as primary when merging versions
2021-03-05 19:57:48 +01:00
Claus Vium
d0a2d00b29
Fix UpdateMediaPath model binding ( #5378 )
2021-03-05 16:56:21 +01:00
Bond_009
a6d0db5d04
100% branch coverage for DashboardController
2021-03-05 11:15:14 +01:00
crobibero
858c91ab48
Specify defaults or set query parameter to nullable
2021-03-04 18:25:52 -07:00
Bond_009
914e891689
Fix unchecked input
2021-02-24 02:05:12 +01:00
Joshua M. Boniface
7ece3c5523
Merge pull request #5273 from Bond-009/warn31
2021-02-22 21:00:46 -05:00
Bond_009
ec3237ba55
Fix tests
2021-02-22 13:46:40 +01:00
Bond_009
57102090d3
Add tests for DashboardController
2021-02-22 13:15:29 +01:00
Bond_009
40b9e7592f
Fix build
2021-02-20 23:34:15 +01:00
dkanada
13d65318eb
Merge pull request #5223 from Bond-009/minor10
...
Minor improvements
2021-02-20 10:56:55 +09:00
Bond_009
65bab55ca0
Minor improvements
2021-02-13 00:39:18 +01:00
dkanada
9fcdbd4c4b
remove deprecated settings from server config
2021-02-12 21:58:37 +09:00
Bond-009
76d66e0dee
Merge pull request #5208 from crobibero/api-post-image
...
Add image file accept to openapi
2021-02-11 17:42:28 +01:00
crobibero
223b42aed3
Create BaseItemKind enum
2021-02-10 17:09:23 -07:00
crobibero
d5f0b046bb
Add image file accept to openapi
2021-02-10 16:12:52 -07:00
David Ullmer
07f1a2c2dc
Update Jellyfin.Api/Controllers/UserController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-02-06 18:36:18 +01:00
David
eb0ff0c370
Fix forgot password pin request
2021-02-06 17:18:37 +01:00
dkanada
86859a3926
Merge pull request #5010 from BaronGreenback/Remove_IPluginConfigurationPage
...
Removal of IPluginConfigurationPage
2021-02-05 11:38:44 +09:00
Bond-009
4a2678e63b
Merge pull request #5097 from Bond-009/cleanup4
...
Remove useless abstraction and clean up formatting
2021-01-26 17:44:49 +01:00
crobibero
77b417e41e
Mark non-nullable body as null
2021-01-24 15:02:56 -07:00
Bond_009
1c2cd7efa0
Remove useless abstraction and clean up formatting
2021-01-24 13:32:29 +01:00
crobibero
55670b91b2
Use ArrayModelBinder for sortBy and sortOrder
2021-01-23 17:32:13 -07:00
crobibero
59ff2c5b4b
Add ability to mark query parameter as obsolete.
2021-01-20 16:24:15 -07:00
crobibero
3b9567d583
Add query parameter to disable returning first episode as next up
2021-01-15 15:08:48 -07:00
BaronGreenback
a4e838fbf5
Remoed configurationPageType
2021-01-15 10:36:44 +00:00
BaronGreenback
c6aa6ceed9
Removal of IPluginConfigurationPage
2021-01-12 22:10:23 +00:00
crobibero
5f998bdd1f
Require elevated auth to upload subtitles
2021-01-10 10:48:37 -07:00
Bond_009
620fbf0f89
Remove CropWhitespace function
2021-01-09 10:51:59 +01:00
crobibero
a15e126ef8
Fix inverted SkipWhile
2021-01-02 19:23:54 -07:00
Cody Robibero
5c57569692
Merge branch 'master' into PluginDowngrade
2020-12-30 18:11:37 -07:00
BaronGreenback
4c291da45c
Encoding fix for System Logs. ( #4564 )
2020-12-30 18:31:26 +01:00
BaronGreenback
889e988167
Updated to latest unstable.
2020-12-23 17:25:34 +00:00
BaronGreenback
62702fa3eb
Changes as requested
2020-12-23 16:28:50 +00:00
Joshua M. Boniface
bfdd4727b5
Merge pull request #4850 from BaronGreenback/NetworkApiFix
...
Null reference fix
2020-12-22 22:21:59 -05:00
Joshua M. Boniface
a77788906c
Merge pull request #4821 from BaronGreenback/disableDlna
2020-12-22 22:20:44 -05:00
BaronGreenback
e113a50597
Possible null reference fix.
2020-12-22 16:14:06 +00:00
BaronGreenback
bc9462981e
changed to constants
2020-12-22 15:33:25 +00:00
BaronGreenback
bf24929d27
Changed to 503.
2020-12-22 15:23:55 +00:00
Claus Vium
53119ed2a1
Merge pull request #4824 from crobibero/livestream-post-body
...
Add request parameters to OpenLiveStreamDto
2020-12-21 23:10:46 +01:00
Claus Vium
98da2c67a5
Merge pull request #4836 from crobibero/dashboard-theme
...
Return dashboardTheme when requesting DisplayPreferences
2020-12-21 00:14:30 +01:00
David
13de663201
Fix similar endpoint for TV
2020-12-20 22:21:11 +01:00
crobibero
a682fc4516
Return dashboardTheme when requesting DisplayPreferences
2020-12-20 12:59:44 -07:00
David
eba403158e
Re-add IsMovie
2020-12-20 17:00:27 +01:00
David
f4d1e33010
Fix similar items endpoint for movies and TV
2020-12-20 15:37:44 +01:00
crobibero
4539164d38
Add request parameters to OpenLiveStreamDto
2020-12-19 10:55:07 -07:00
BaronGreenback
9470712118
Added xml docs
2020-12-19 17:38:46 +00:00
BaronGreenback
3d0b9f9ea1
Did the other API,
2020-12-19 09:34:04 +00:00
BaronGreenback
c98144c60d
Updated docs.
2020-12-18 23:59:21 +00:00
BaronGreenback
f06d52c475
Disable API if dlna is disabled.
2020-12-18 23:29:21 +00:00
Greenback
5d748c0e9f
Renamed to ImagePath
2020-12-18 20:52:44 +00:00
BaronGreenback
5d5b198525
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:23:28 +00:00
BaronGreenback
e445c2932a
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-18 08:23:15 +00:00
crobibero
56ae63433f
Set filename when downloading file
2020-12-17 13:05:44 -07:00
Greenback
1ed25ebd9a
Corrections as recommended.
2020-12-16 22:36:25 +00:00
Greenback
ebbb57efc3
Change json default settings.
2020-12-16 21:40:52 +00:00
Claus Vium
21d2e9ff0c
Merge pull request #4771 from crobibero/typed-get-preference
...
Use typed UserManager GetPreference
2020-12-16 22:15:56 +01:00
Greenback
5323887540
Replaced TryGetPlugin with GetPlugin
2020-12-15 20:27:42 +00:00
Greenback
00ff3b9096
remove attribute
2020-12-15 19:35:30 +00:00
BaronGreenback
aecd35d306
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:31:36 +00:00
BaronGreenback
24ab152e9d
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:30:23 +00:00
BaronGreenback
e4993ae574
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:24:52 +00:00
BaronGreenback
2afa963fc1
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:24:39 +00:00
BaronGreenback
3f1ad7f963
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 19:22:54 +00:00
Greenback
eb2439f23b
Changes as recommended.
2020-12-15 16:37:11 +00:00
Bond-009
e84622b4ab
Merge pull request #4794 from cvium/fix_image_upload
...
Convert from base64 when saving item images
2020-12-15 12:24:05 +01:00
Bond-009
906ee4f962
Merge pull request #4781 from crobibero/map-xmltv
...
Use request body for mapping xml channels
2020-12-15 12:22:39 +01:00
Greenback
208d545cfe
Changed as suggested.
2020-12-15 10:05:04 +00:00
Greenback
dddcfa6dbb
Suggested changes.
2020-12-15 09:30:19 +00:00
BaronGreenback
41466c430d
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 09:17:06 +00:00
cvium
5b4eef741a
Convert from base64 when saving item images
2020-12-15 09:27:33 +01:00
BaronGreenback
33385c1b8c
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 07:55:14 +00:00
BaronGreenback
1c6529c9eb
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-15 07:54:49 +00:00