Commit graph

16563 commits

Author SHA1 Message Date
crobibero f017f5c97f clean up 2020-06-20 16:07:53 -06:00
crobibero 472fd5217f clean up 2020-06-20 16:07:09 -06:00
crobibero d1ca0cb4c7 Use proper DtoOptions extensions 2020-06-20 16:03:19 -06:00
crobibero 3329b08b40 Merge remote-tracking branch 'upstream/api-migration' into api-playlist 2020-06-20 15:56:42 -06:00
David 576ffeb2a9
Merge pull request #3324 from Ullmie02/api-sessionservice
Move SessionService to Jellyfin.Api
2020-06-20 20:55:09 +02:00
David Ullmer d4c86b82e0 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-sessionservice
# Conflicts:
#	Jellyfin.Api/Helpers/RequestHelpers.cs
2020-06-20 20:45:16 +02:00
Patrick Barron 804764e1fb
Merge pull request #3363 from Ullmie02/api-user
Move UserService to Jellyfin.Api
2020-06-20 16:52:58 +00:00
Patrick Barron e26f487fc8
Merge pull request #3377 from crobibero/api-pragma
Convert pragma to SuppressMessage
2020-06-20 00:49:35 +00:00
Patrick Barron c3915cdb78
Merge pull request #2926 from crobibero/api-display-preferences
DisplayPreferences to Jellyfin.Api
2020-06-20 00:47:55 +00:00
Bond-009 f8459502d8
Merge pull request #3379 from Ullmie02/api-nullable
Remove #nullable enable in Jellyfin.Api
2020-06-19 19:09:32 +02:00
David Ullmer 7e91ded587 Remove #nullable enable 2020-06-19 18:20:49 +02:00
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 d820c0fff5 Convert pragma to supresswarning 2020-06-19 08:49:42 -06:00
David 08401f923d Change swagger dictionary type mapping 2020-06-19 15:49:44 +02:00
Patrick Barron 305808dd0a
Merge pull request #3373 from crobibero/api-dto
Add DtoExtensions
2020-06-19 13:38:14 +00: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 6651cb8d24 Add JsonInto32Converter
Add additional swagger type mapping
2020-06-19 12:24:39 +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
Patrick Barron 1da044e0eb
Merge pull request #3369 from crobibero/api-cleanup
Remove #nullable, make Task.Run async
2020-06-18 13:22:52 +00: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 0c01b6817b Add X-Forward-(For/Proto) support 2020-06-17 08:05:30 -06:00
crobibero 4962e230af revert adding Jellyfin to auth header 2020-06-17 06:52:15 -06:00
crobibero 29917699f0 Further cleanup and add final tests 2020-06-16 16:55:02 -06:00
Cody Robibero b451eb0bdc
Update Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-16 16:45:17 -06:00
crobibero b22fdbf59e Add tests and cleanup 2020-06-16 16:42:10 -06: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 a8adbef74f Add GetAuthorizationInfo for netcore HttpRequest 2020-06-15 13:21:18 -06:00
crobibero 4aac936721 Add more authorization handlers, actually authorize requests 2020-06-15 12:49:54 -06:00
Anthony Lavado cf9223b8cb
Merge pull request #3340 from crobibero/api-migration-merge
Merge master into api-migration
2020-06-14 22:50:49 -04:00