Commit Graph

332 Commits

Author SHA1 Message Date
David Ullmer
68ea589f1a Use direct return instead of Ok() 2020-06-19 18:11:46 +02:00
crobibero
d53a2899b1 remove #nullable 2020-06-19 09:03:04 -06:00
crobibero
e4a13f0e1e remove #nullable 2020-06-19 09:02:41 -06:00
crobibero
6767c47ccd remove #nullable 2020-06-19 09:01:37 -06:00
crobibero
97ce641242 remove #nullable 2020-06-19 09:00:50 -06:00
crobibero
d820c0fff5 Convert pragma to supresswarning 2020-06-19 08:49:42 -06:00
David
b51b9653ac Add missing authorization policies 2020-06-19 14:29:32 +02:00
David
d63c0e4228 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-system 2020-06-19 14:13:40 +02:00
David
a5bd7f2d6e Use new authorization and session functions 2020-06-19 13:03:53 +02:00
David
42385a14f0 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-sessionservice
# Conflicts:
#	MediaBrowser.Api/Sessions/SessionService.cs
2020-06-19 12:32:38 +02:00
David
77bea56708 Add request body models 2020-06-18 19:35:29 +02:00
David
762eeb51e6 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-user 2020-06-18 18:52:01 +02:00
crobibero
69e1047bf3 Add DtoExtensions.cs 2020-06-18 10:42:48 -06:00
David
522e44de59
Merge pull request #3357 from crobibero/api-authorization
Add Authorization handlers
2020-06-18 18:37:08 +02:00
David
713ae7ae36 Add xml comments; Add status codes; Use return instead of exception 2020-06-18 18:09:58 +02:00
crobibero
9a51f484af Remove nullable, add async task 2020-06-18 07:11:46 -06:00
Patrick Barron
116284fe99
Merge pull request #3321 from Ullmie02/api-librarystructure
Move LibraryStructureService to Jellyfin.Api
2020-06-17 23:27:47 +00:00
David
f2d7eac418 [WIP] Move UserService to Jellyfin.Api 2020-06-17 21:08:58 +02:00
Patrick Barron
b4da357db2
Merge pull request #2944 from crobibero/api-image
ImageNameService to Jellyfin.Api
2020-06-17 17:15:32 +00:00
David
226a9d5d2e
Merge pull request #2946 from crobibero/api-image2
Move RemoteImageService to Jellyfin.API
2020-06-17 19:07:20 +02:00
David
bf133d044a
Merge pull request #3269 from crobibero/api-filter
Move FilterService to Jellyfin.Api
2020-06-17 18:53:03 +02:00
crobibero
9b45ee440c User proper File constructor 2020-06-17 10:51:50 -06:00
crobibero
0d1298e851 User proper File constructor 2020-06-17 10:49:34 -06:00
crobibero
90fe8f0cbc Merge branch 'api-filter' of github.com:crobibero/jellyfin into api-filter 2020-06-17 10:43:26 -06:00
crobibero
444605703c Merge remote-tracking branch 'upstream/api-migration' into api-filter 2020-06-17 10:43:04 -06:00
Cody Robibero
f181cb3746
Update Jellyfin.Api/Controllers/FilterController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-17 10:41:40 -06:00
Cody Robibero
f27f977f01
Merge pull request #3333 from crobibero/api-item-refresh
Move ItemRefreshService.cs to Jellyfin.Api
2020-06-17 09:12:41 -06:00
Cody Robibero
5a7ad6b2dc
Merge pull request #3274 from crobibero/api-localization
Move LocalizationService to Jellyfin.Api
2020-06-17 09:12:33 -06:00
David
efe998ecf4
Merge pull request #3280 from crobibero/api-plugin
Move PluginService to Jellyfin.Api
2020-06-17 17:07:37 +02:00
crobibero
c24666253c Add Default authorization policy 2020-06-16 14:15:58 -06:00
crobibero
774fdbd031 Fix tests. 2020-06-16 14:12:40 -06:00
David
a952d15670 Await Task from _libraryManager 2020-06-16 16:08:31 +02:00
crobibero
4aac936721 Add more authorization handlers, actually authorize requests 2020-06-15 12:49:54 -06:00
crobibero
524243a934 fix merge conflict 2020-06-14 20:18:06 -06:00
crobibero
589735f60c Merge remote-tracking branch 'upstream/master' into HEAD 2020-06-14 20:15:26 -06:00
dkanada
e2b2f74b47
Merge pull request #3319 from Ullmie02/api-204
Use Http status code 204 instead of 200
2020-06-15 10:51:28 +09:00
David
edc5611ec7 Fix null reference to fix CI 2020-06-14 13:50:51 +02:00
David
8a8bf4b686 Merge remote-tracking branch 'upstream/api-migration' into api-sessionservice 2020-06-14 12:49:43 +02:00
David
ac0a3180d7 Merge remote-tracking branch 'upstream/api-migration' into api-librarystructure 2020-06-14 12:49:19 +02:00
David
9bedd9ac3c Merge remote-tracking branch 'upstream/api-migration' into api-204 2020-06-14 12:48:17 +02:00
David
d01f56bc42 Merge remote-tracking branch 'upstream/api-migration' into api-subtitles 2020-06-14 12:45:49 +02:00
David
cf3d0f8d51 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-system 2020-06-14 12:43:10 +02:00
Patrick Barron
42b4f0aa2e Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
2020-06-13 19:41:05 -04:00
crobibero
276750f310 Move ItemRefreshService.cs to Jellyfin.Api 2020-06-13 15:33:42 -06:00
crobibero
2d4998c578 fix build 2020-06-13 15:28:04 -06:00
crobibero
ae514da840 Merge remote-tracking branch 'upstream/api-migration' into api-environment 2020-06-13 15:27:03 -06:00
crobibero
8a834fb728 Merge remote-tracking branch 'upstream/api-migration' into api-filter 2020-06-13 15:25:02 -06:00
crobibero
81030a0a5a Merge remote-tracking branch 'upstream/api-migration' into api-plugin 2020-06-13 15:24:34 -06:00
crobibero
ce37c40749 Merge remote-tracking branch 'upstream/api-migration' into api-item-lookup 2020-06-13 15:23:42 -06:00
crobibero
50f6d8029d Merge remote-tracking branch 'upstream/api-migration' into api-item-update 2020-06-13 15:21:50 -06:00
crobibero
9ee6ea86ea Merge remote-tracking branch 'upstream/api-migration' into api-localization 2020-06-13 15:21:13 -06:00
crobibero
552a74eb6e Fix build 2020-06-13 15:13:57 -06:00
crobibero
6c7cc92a09 Merge remote-tracking branch 'upstream/api-migration' into api-image2 2020-06-13 15:09:02 -06:00
crobibero
bd09753976 Merge remote-tracking branch 'upstream/api-migration' into api-image 2020-06-13 15:07:04 -06:00
crobibero
39376bace3 Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks 2020-06-13 15:06:07 -06:00
crobibero
7666a1201f Merge remote-tracking branch 'upstream/api-migration' into api-display-preferences 2020-06-13 15:03:43 -06:00
crobibero
ec3e15db57 Fix merge and build 2020-06-13 13:11:41 -06:00
crobibero
829eb1a849 merge master into api-migration 2020-06-13 13:03:09 -06:00
David
fff3c789b9 Move SessionService to Jellyfin.Api 2020-06-12 18:54:25 +02:00
David
618b893c48 Move LibraryStructureService to Jellyfin.Api 2020-06-12 15:39:06 +02:00
David
043d76bd6e Use Http status code 204 instead of 200 2020-06-12 12:38:13 +02:00
Patrick Barron
6429e60c40
Merge pull request #2931 from crobibero/api-attachment
AttachmentsService to Jellyfin.Api
2020-06-11 23:56:16 -04:00
Patrick Barron
6a62c3c628
Merge pull request #3281 from Ullmie02/api-activitylog
Move ActivityLogService to Jellyfin.Api
2020-06-11 23:00:41 -04:00
Patrick Barron
a6573e015f
Merge pull request #2983 from bruceCoelho/api-migration
PackageService to Jellyfin.API
2020-06-11 22:52:35 -04:00
David
a47ff4043f Disable CA1801 2020-06-11 16:01:41 +02:00
David
fcbae95d19 Use 'await using Stream' instead of 'using Stream' 2020-06-11 15:57:31 +02:00
crobibero
a6815018dc Update to .NET Core 3.1.5 2020-06-11 07:13:56 -06:00
David
8178b19470 Fix suggestions 2020-06-11 12:29:56 +02:00
David
f64e8e8757 Move SubtitleService to Jellyfin.Api 2020-06-10 18:20:54 +02:00
Cody Robibero
355682620d
Update Jellyfin.Api/Controllers/FilterController.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-10 09:23:27 -06:00
Cody Robibero
393f5f0c25
Update Jellyfin.Api/Controllers/FilterController.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-10 09:23:20 -06:00
Cody Robibero
c61efba0c6
Merge pull request #3286 from Ullmie02/api-apikey
Move ApiKeyService to Jellyfin.Api
2020-06-10 09:22:59 -06:00
David
6a70081643 Move ApiKeyService to Jellyfin.Api 2020-06-10 15:57:31 +02:00
David
b16da09549 Move /System Endpoint to Jellyfin.Api 2020-06-10 15:18:13 +02:00
David
1bf6c085ed Move File; Move Route; use DateTime? in Query 2020-06-10 13:09:23 +02:00
Cody Robibero
647b78a3c0
Merge pull request #3226 from Ullmie02/api-searchservice
Move SearchService to new API endpoint
2020-06-09 20:43:03 -06:00
dkanada
ac9bef9465
Merge pull request #3227 from crobibero/api-first-user
Add second endpoint for Startup/User
2020-06-10 11:03:35 +09:00
Patrick Barron
d105bc728d Fix startup wizard. 2020-06-09 14:04:25 -04:00
David
dc190e5683 Move ActivityLogService to Jellyfin.Api 2020-06-09 18:56:17 +02:00
crobibero
0b778b8851 Move PluginService to Jellyfin.Api 2020-06-09 09:57:01 -06:00
David Ullmer
1491e93d84 Add response code documentation 2020-06-09 11:00:37 +02:00
dkanada
b3f8928fbb
Merge pull request #3218 from crobibero/api-cors
Enable CORS and Authentation
2020-06-09 14:29:52 +09:00
crobibero
d97e306cda Move PlaylistService to Jellyfin.Api 2020-06-08 13:14:41 -06:00
crobibero
a4455af3e9 Move LocalizationService to Jellyfin.Api 2020-06-08 12:34:17 -06:00
crobibero
81d3ec7205 Move ItemUpdateService to Jellyfin.Api 2020-06-08 12:20:33 -06:00
crobibero
6f64e48c54 Add response codes 2020-06-08 07:37:16 -06:00
crobibero
16e26be87f Move ItemLookupService to Jellyfin.Api 2020-06-08 07:22:40 -06:00
crobibero
dd5579e0eb Move FilterService to Jellyfin.Api 2020-06-07 22:04:59 -06:00
David
cefa9d3c08 Add default values for parameters and fix spelling 2020-06-07 18:10:08 +02:00
David
7fa374f8a2 Move Split method from BaseJellyfinApiController.cs to RequestHelpers.cs 2020-06-07 15:41:49 +02:00
David
f3029428cd Fix suggestions 2020-06-07 15:33:54 +02:00
dkanada
f7f59fe9a3
Merge branch 'api-migration' into api-config-json 2020-06-07 15:34:31 +09:00
crobibero
6be862545a Merge remote-tracking branch 'upstream/api-migration' into api-cors 2020-06-06 17:07:29 -06:00
crobibero
6c53e36ccf Fix Api Routing 2020-06-04 15:17:05 -06:00
crobibero
a787efc660 Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks 2020-06-04 15:16:04 -06:00
Patrick Barron
06f9cde22f Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
#	Emby.Server.Implementations/Library/UserManager.cs
#	Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
#	Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
#	Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
#	Emby.Server.Implementations/TV/TVSeriesManager.cs
#	Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
2020-06-04 16:52:23 -04:00
crobibero
fd913d73e3 Revert authorized endpoints to legacy api 2020-06-04 10:10:36 -06:00
crobibero
22f56842bd Apply review suggestions 2020-06-04 07:59:11 -06:00
Cody Robibero
601e4a88c9
Merge pull request #2933 from crobibero/api-device
DeviceService to Jellyfin.Api
2020-06-04 07:29:23 -06:00
crobibero
3e749eabdf Fix doc errors 2020-06-04 07:29:00 -06:00
Bond-009
af93ec750c Enable TreatWarningsAsErrors for more projects 2020-06-03 13:22:40 +02:00
crobibero
cf9cbfff56 Add second endpoint for Startup/User 2020-06-02 08:28:37 -06:00
crobibero
0e41c4727d revert to System.Text.JsonSerializer 2020-06-02 08:23:12 -06:00
David
638cfa32ab Move SearchService to new API endpoint 2020-06-02 15:07:07 +02:00
crobibero
aed6f57f11 Remove invalid docs and null check 2020-06-01 20:54:02 -06:00
crobibero
e30a85025f Remove log spam when using legacy api 2020-06-01 12:42:59 -06:00
crobibero
9f0b5f347a Switch Config controller to System.Text.Json 2020-06-01 11:06:15 -06:00
Cody Robibero
297ab2e423
Merge pull request #2962 from crobibero/api-config
Move ConfigurationService to Jellyfin.Api
2020-06-01 09:29:34 -06:00
Patrick Barron
01ce56016a Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
#	MediaBrowser.Api/UserService.cs
#	MediaBrowser.Controller/Library/IUserManager.cs
2020-05-26 20:29:11 -04:00
Bond-009
5c95037234
Merge pull request #2953 from crobibero/api-startup
Convert StartupController to ActionResult
2020-05-25 15:17:42 +02:00
crobibero
fb068b76a1 Use correct MediaTypeName 2020-05-20 07:18:51 -06:00
crobibero
5f0c37d574 Fix DefaultDirectoryBrowserInfo naming 2020-05-19 13:22:09 -06:00
crobibero
070edd9e5b Fix MediaType usage 2020-05-19 13:13:07 -06:00
crobibero
2689865858 Remove unused using 2020-05-19 13:02:35 -06:00
crobibero
51d54a8ca4 Fix return content type 2020-05-19 13:02:02 -06:00
crobibero
b28dd47a0f implement review suggestions 2020-05-19 12:58:09 -06:00
crobibero
2f2bceb110 Remove default parameter values 2020-05-19 12:56:57 -06:00
Bruce
24543b04c1 Applying review suggestion to documentation 2020-05-19 18:13:42 +01:00
crobibero
cdb25e355c Fix return value 2020-05-19 10:06:25 -06:00
crobibero
cf78edc979 Fix Authorize attributes 2020-05-19 10:05:23 -06:00
crobibero
a11a193439 Remove CameraUpload endpoints 2020-05-19 10:04:09 -06:00
crobibero
e03c97d7cd update xml docs 2020-05-19 10:02:52 -06:00
crobibero
6dbbfcbfbe update xml docs 2020-05-19 09:29:59 -06:00
crobibero
839de72f9a Fix authentication attribute 2020-05-19 09:24:04 -06:00
crobibero
2923013c6e Clean Remote Image Controller. 2020-05-19 09:23:28 -06:00
crobibero
98bd61e364 Clean up routes 2020-05-19 09:14:37 -06:00
crobibero
c998935d29 Apply review suggestions 2020-05-19 09:06:37 -06:00
crobibero
1c471d5855 Clean UpdateDisplayPreferences endpoint 2020-05-19 09:01:00 -06:00
crobibero
a7a725173d Rename to AttachmentsController -> VideoAttachmentsController 2020-05-19 08:55:15 -06:00
crobibero
26a2bea179 Update endpoint docs 2020-05-19 08:55:15 -06:00
crobibero
177339e8d5 Fix Authorize attributes 2020-05-19 08:55:15 -06:00
crobibero
15e9fbb923 move to ActionResult<T> 2020-05-19 08:55:15 -06:00
crobibero
84fcb4926c Remove exception handler 2020-05-19 08:55:15 -06:00
crobibero
8eac528815 nullable 2020-05-19 08:55:15 -06:00
crobibero
45d750f106 Move AttachmentsService to AttachmentsController 2020-05-19 08:55:15 -06:00
crobibero
c4f8ba55f2 Rename to AttachmentsController -> VideoAttachmentsController 2020-05-19 08:28:02 -06:00
dkanada
8de7c5ee36
Merge pull request #3134 from mark-monteiro/update-dotnet-core
Update to .NET Core 3.1.4
2020-05-18 19:33:12 +09:00
crobibero
37f55b5c21 apply doc suggestions 2020-05-17 19:56:02 -06:00
Mark Monteiro
3ed76d7e08 Update to .NET Core 3.1.4 2020-05-17 13:33:38 -04:00
Nathan Kessler
3bc07e7c56 Fix 500 error causing first-time setup wizard to hang 2020-05-17 10:48:30 -04:00
Patrick Barron
9ad839c776 Initial migration code 2020-05-12 22:10:35 -04:00
crobibero
d7d8118b42 Fix xml docs 2020-05-03 14:02:15 -06:00
Bond-009
f2bace2a07
Merge pull request #2925 from crobibero/redoc
Enhance Swagger Generation
2020-05-03 19:36:42 +02:00
crobibero
35dbcea931 Return array -> ienumerable 2020-05-02 18:47:05 -06:00
crobibero
cbd4a64e67 Update endpoint docs 2020-05-02 18:46:27 -06:00
crobibero
25002483a3 Update endpoint docs 2020-05-02 17:23:02 -06:00
crobibero
7516e3ebbe Update endpoint docs 2020-05-02 17:12:56 -06:00
crobibero
f67daa84b0 Update endpoint docs 2020-05-02 17:10:59 -06:00
crobibero
0017163f39 Update endpoint docs 2020-05-02 17:06:29 -06:00
Bruce
0d8253d8e2 Updated documentation according to discussion in jellyfin#2872 2020-05-01 15:17:40 +01:00