Commit Graph

395 Commits

Author SHA1 Message Date
Patrick Barron 90c01327aa
Merge pull request #3433 from crobibero/api-years
Move YearsService to Jellyfin.Api
2020-06-26 20:09:54 +00:00
Patrick Barron ac646494e5
Merge pull request #3447 from crobibero/api-user-views
move UserViewsService.cs to Jellyfin.Api
2020-06-26 20:08:30 +00:00
Patrick Barron b9b73178f5
Merge pull request #3449 from crobibero/api-user-library
Move UserLibraryService.cs to Jellyfin.Api
2020-06-26 20:06:53 +00:00
David 1e80be30a9 Add response code documentation 2020-06-26 17:45:07 +02:00
dkanada 83ae4d074d use constructor to set optimal config values 2020-06-27 00:22:27 +09:00
David ea855c3a75 Merge branch 'api-migration' of github.com:jellyfin/jellyfin into api-instantmix 2020-06-26 13:48:56 +02:00
David fb9654e783 Correct Library routing 2020-06-26 13:43:31 +02:00
David 778634b41b Move InstantMixService to Jellyfin.Api 2020-06-26 13:42:21 +02:00
crobibero 325808d271 Move StudiosService.cs to Jellyfin.Api 2020-06-25 18:22:55 -06:00
Patrick Barron fe02c6e863
Merge pull request #2929 from crobibero/api-scheduled-tasks
Scheduled Tasks to Jellyfin.Api
2020-06-25 23:46:03 +00:00
crobibero 8074c47d29 Move UserLibraryService.cs to Jellyfin.Api 2020-06-25 17:28:12 -06:00
crobibero 54d666d7c9 move UserViewsService.cs to Jellyfin.Api 2020-06-25 16:46:09 -06:00
crobibero 18f7f5aec7 Merge remote-tracking branch 'upstream/api-migration' into api-environment 2020-06-25 16:22:04 -06:00
crobibero 0740ec6112 Merge remote-tracking branch 'upstream/api-migration' into api-image-service 2020-06-25 16:05:15 -06:00
Patrick Barron 7bd9172779
Merge pull request #3434 from crobibero/api-unused
remove unused query parameters
2020-06-25 21:45:44 +00:00
crobibero 835bda7be3 Add missing route 2020-06-25 13:01:41 -06:00
Patrick Barron 45f195aca9
Merge pull request #3440 from Ullmie02/api-collection
Move CollectionService to Jellyfin.Api
2020-06-25 17:33:40 +00:00
David 53f4a8ce58 Add missing response code documentation 2020-06-25 17:15:08 +02:00
David 2cc5b1ab94 Add response code docs 2020-06-25 17:07:12 +02:00
David fa98013621 Move AlbumsService to Jellyfin.Api 2020-06-25 13:23:54 +02:00
David dad6f12b10 Move CollectionService to Jellyfin.Api 2020-06-25 12:51:18 +02:00
crobibero 7a32d03101 remove unused parameters 2020-06-24 14:43:28 -06:00
crobibero 1228d6711e remove unused parameters 2020-06-24 14:35:57 -06:00
crobibero e72a22c564 Move YearsService.cs to Jellyfin.Api 2020-06-24 13:48:22 -06:00
crobibero 289605c07f Merge remote-tracking branch 'upstream/api-migration' into api-library 2020-06-24 12:36:13 -06:00
crobibero 60ab4cd7b1 move YearsService.cs to Jellyfin.Api 2020-06-24 12:23:46 -06:00
crobibero fee07219d0 fix merge 2020-06-24 10:54:25 -06:00
crobibero cbcf3bfaff Merge remote-tracking branch 'upstream/api-migration' into api-channel 2020-06-24 10:52:39 -06:00
Patrick Barron 6ad50f2e02
Merge pull request #3421 from Ullmie02/api-tvshows
Move TvShowsService to Jellyfin.Api
2020-06-24 14:27:47 +00:00
crobibero 32881c6b22 add missing docs and attributes 2020-06-24 08:01:12 -06:00
David d64770bcdb Finish TvShowsController 2020-06-24 14:40:37 +02:00
crobibero 7e94bb7864 fix controller attribute 2020-06-23 11:53:08 -06:00
crobibero b4a773fde8 Merge remote-tracking branch 'upstream/api-migration' into api-livetv 2020-06-23 11:50:42 -06:00
crobibero c4f9112b0d Move LiveTvService.cs to Jellyfin.Api 2020-06-23 11:48:37 -06:00
Patrick Barron cdba45fc3c
Merge pull request #3285 from Ullmie02/api-system
Move SystemService to Jellyfin.Api
2020-06-23 14:02:21 +00:00
Patrick Barron 57bf8c17d6
Merge pull request #3420 from Ullmie02/api-missing-policy
Add missing authorization policies (new Web Api)
2020-06-23 01:33:13 +00:00
David 293d96f27c Move TvShowsService to Jellyfin.Api started 2020-06-22 18:02:57 +02:00
crobibero 1d7d480efe fix tests 2020-06-22 08:14:07 -06:00
David 6b72fb8631 Add missing default authorization policy 2020-06-22 15:49:15 +02:00
David 5c6e9f4db5 Add missing authorization policies 2020-06-22 15:44:11 +02:00
crobibero a50738e88d move BrandingService.cs to Jellyfin.Api 2020-06-22 07:37:29 -06:00
crobibero f35774170f Move LiveTvService.cs to Jellyfin.Api 2020-06-21 16:12:21 -06:00
Patrick Barron 743032f1e1
Merge pull request #3393 from Ullmie02/api-dashboard
Move DashboardController to Jellyfin.Api
2020-06-21 19:41:11 +00:00
Patrick Barron a6664b8335
Merge pull request #3275 from crobibero/api-playlist
Move PlaylistService to Jellyfin.Api
2020-06-21 18:54:38 +00:00
Patrick Barron 87734b8647
Merge pull request #3399 from Ullmie02/api-videos
Move VideosService to Jellyfin.Api
2020-06-21 18:51:30 +00:00
crobibero 38788a1f1d Merge remote-tracking branch 'upstream/api-migration' into api-library 2020-06-21 11:34:05 -06:00
crobibero ccd7b3f524 WIP GetImage endpoints 2020-06-21 11:31:44 -06:00
Patrick Barron 3bf19d1e93
Merge pull request #3395 from crobibero/api-routes-fix
Add missing attributes, fix response codes, fix route parameter casing
2020-06-21 17:21:02 +00:00
David 4eb94b8fb1
Update Jellyfin.Api/Controllers/DashboardController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-06-21 18:22:17 +02:00
David fae510308e Add try catch block 2020-06-21 18:00:04 +02:00
David f736b43f97
Merge pull request #3271 from crobibero/api-item-lookup
Move ItemLookupService to Jellyfin.Api
2020-06-21 17:47:16 +02:00
crobibero cffba00f51 Fix response code 2020-06-21 09:35:38 -06:00
Cody Robibero f211a6c17b
Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:52 -06:00
Cody Robibero f6972cdab8
Update Jellyfin.Api/Controllers/ItemRefreshController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:46 -06:00
Cody Robibero 857eb0c397
Update Jellyfin.Api/Controllers/PluginsController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:40 -06:00
Cody Robibero c492c09b25
Update Jellyfin.Api/Controllers/DisplayPreferencesController.cs
Co-authored-by: David <davidullmer@outlook.de>
2020-06-21 09:33:34 -06:00
David 8f9c985988 Move VideosService to Jellyfin.Api 2020-06-21 16:00:16 +02:00
David 9a223b7359 Fix suggestions 2020-06-21 12:35:06 +02:00
David d7ae666ef0
Merge pull request #3273 from crobibero/api-item-update
Move ItemUpdateService to Jellyfin.Api
2020-06-21 12:10:55 +02:00
crobibero 10ddbc34ec Add missing attributes, fix response codes, fix route parameter casing 2020-06-20 18:02:07 -06:00
crobibero 9a8deadc21 implement all non image get endpoints 2020-06-20 17:06:33 -06:00
crobibero b603742a77 Merge remote-tracking branch 'upstream/api-migration' into api-image-service 2020-06-20 16:26:42 -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
Patrick Barron deac459b62
Merge pull request #3382 from Ullmie02/api-suggestions
Move SuggestionsService to Jellyfin.Api
2020-06-20 21:42:27 +00:00
crobibero 81c0451b5e Fix response code & docs 2020-06-20 15:16:30 -06:00
crobibero 8c38644fca Fix response code & docs 2020-06-20 15:15:59 -06:00
crobibero 95bae56640 Fix response code & docs 2020-06-20 15:14:43 -06:00
crobibero 0c98bc42a8 Fix response code & docs 2020-06-20 15:11:10 -06: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
David 64fb173dad Move DashboardController to Jellyfin.Api 2020-06-20 15:59:41 +02:00
David 33de0ac108 Use RequestHelpers.Split 2020-06-20 12:10:45 +02: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
crobibero cd273c4e98 Start move ImageService.cs to Jellyfin.Api 2020-06-19 15:08:35 -06:00
David f17d198eb5 Move SuggestionsService to Jellyfin.Api 2020-06-19 22:18:46 +02:00
crobibero 7c79ee0cd5 Move MoviesService.cs to Jellyfin.Api 2020-06-19 13:51:01 -06:00
crobibero 45234e5ecd Add movie support to existing GetSimilarItemsResult 2020-06-19 13:29:14 -06:00
crobibero e2a7e8d97e Move LibraryService.cs to Jellyfin.Api 2020-06-19 13:10:10 -06:00
crobibero 494f697072 Merge remote-tracking branch 'upstream/api-migration' into api-library 2020-06-19 10:49:49 -06: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 e4a13f0e1e remove #nullable 2020-06-19 09:02:41 -06:00
crobibero 8f1505cdf5 remove #nullable 2020-06-19 09:02:10 -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
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
David a952d15670 Await Task from _libraryManager 2020-06-16 16:08:31 +02: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
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 bcce8190ff Merge remote-tracking branch 'upstream/api-migration' into api-channel 2020-06-13 15:20: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
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
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