Commit Graph

1780 Commits

Author SHA1 Message Date
Bruce Coelho
5aced0ea0f
Apply suggestions from code review
Co-Authored-By: Cody Robibero <cody@robibe.ro>
2020-04-25 21:41:56 +01:00
Bruce Coelho
f66714561e
Update Jellyfin.Api/Controllers/PackageController.cs
Applying requested changes to PackageController

Co-Authored-By: Cody Robibero <cody@robibe.ro>
2020-04-25 21:32:49 +01:00
Bruce
c7fe8b04cc PackageService to Jellyfin.API 2020-04-25 19:59:31 +01:00
Bond-009
3c366954ae
Merge pull request #2960 from ZadenRB/content-type-annotation
Adds annotation for content-type of ASP.NET Web API endpoints
2020-04-25 15:55:36 +02:00
crobibero
714aaefbcc Transfer EnvironmentService to Jellyfin.Api 2020-04-24 18:20:36 -06:00
ZadenRB
85853f9ce3 Add back in return type documentation 2020-04-24 17:11:11 -06:00
ZadenRB
2066b0f68f Use builtin JSON Mime type constant 2020-04-23 16:15:59 -06:00
crobibero
311f2e2bc3 Fix Authorize attributes 2020-04-23 10:07:21 -06:00
crobibero
f3da5dc8b7 Fix Authorize attributes 2020-04-23 10:04:37 -06:00
crobibero
bb8e738a08 Fix Authorize attributes 2020-04-23 10:03:54 -06:00
crobibero
5ca7e1fd79 Move ChannelService to Jellyfin.Api 2020-04-23 08:54:28 -06:00
crobibero
1223eb5a22 Remove unneeded Ok calls. 2020-04-23 08:03:41 -06:00
crobibero
4d894c4344 Remove unneeded Ok calls. 2020-04-23 07:55:47 -06:00
crobibero
c7c2f9da90 Apply suggestions 2020-04-23 07:51:04 -06:00
crobibero
a06d271725 Move ConfigurationService to Jellyfin.Api 2020-04-22 13:07:21 -06:00
ZadenRB
eee02a355a Adds produces annotation to the base controller to indicate application/json as the response type for endpoints 2020-04-22 10:06:37 -06:00
ZadenRB
7693cc0db0 Use ActionResult return type for all endpoints 2020-04-22 10:00:10 -06:00
ZadenRB
2a49b19a7c
Update documentation of startIndex
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-22 00:21:37 -06:00
crobibero
461b298be7 Migrate DlnaServerController to Jellyfin.Api 2020-04-21 19:15:27 -06:00
crobibero
f5385e4735 Move Emby.Dlna DlnaService.cs to Jellyfin.Api 2020-04-21 18:12:46 -06:00
crobibero
3ab61dbdc2 bump swashbuckle 2020-04-21 15:49:04 -06:00
crobibero
7db3b035a6 move to ActionResult<T> 2020-04-21 14:25:03 -06:00
crobibero
88b856796a move to ActionResult<T> 2020-04-21 14:23:08 -06:00
Mark Monteiro
c5f163293f Add <ProjectGuid> properties to all project files
This is required for SonarCloud analysis to run
2020-04-21 16:21:09 -04:00
crobibero
9ae895ba21 move to ActionResult<T> 2020-04-21 14:09:06 -06:00
crobibero
02a78aaae9 move to ActionResult<T> 2020-04-21 14:07:11 -06:00
crobibero
98224dee9e move to ActionResult<T> 2020-04-21 14:01:47 -06:00
crobibero
927696c403 move to ActionResult<T> 2020-04-21 13:59:43 -06:00
crobibero
466e20ea8c move to ActionResult<T> 2020-04-21 13:57:11 -06:00
ZadenRB
69d9bfb233
Make documentation of parameters clearer
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-21 12:10:34 -06:00
crobibero
b8fd9c785e Convert StartupController to IActionResult 2020-04-21 08:42:48 -06:00
crobibero
8ab9949db5 Remove exception handler 2020-04-21 08:02:07 -06:00
crobibero
a6cd852675 Remove exception handler 2020-04-21 07:58:54 -06:00
crobibero
30609236ab Remove exception handler 2020-04-21 07:57:45 -06:00
crobibero
04119c0d40 Remove exception handler 2020-04-21 07:55:57 -06:00
crobibero
5ef71d592b Remove exception handler 2020-04-21 07:55:01 -06:00
crobibero
08eba82bb7 Remove exception handler 2020-04-21 07:52:33 -06:00
ZadenRB
dae6965710 Remove documentation of void return type 2020-04-21 00:24:35 -06:00
ZadenRB
6c8e1d37bd Remove more unnecessary IActionResult 2020-04-20 23:53:09 -06:00
ZadenRB
67efcbee05 Remove error handlers, to be implemented at a global level in a separate PR 2020-04-20 20:16:58 -06:00
crobibero
766d2ee413 Move RemoteImageService to Jellyfin.API 2020-04-20 14:21:06 -06:00
crobibero
376619369d fix build 2020-04-20 13:12:54 -06:00
crobibero
e151d539f2 Move ImageByNameService to Jellyfin.Api 2020-04-20 13:06:29 -06:00
ZadenRB
688240151b Enable nullable reference types on new class, remove unnecessary documenation and return types 2020-04-20 00:00:00 -06:00
ZadenRB
16cae23bbe Add response type annotations, return IActionResult to handle errors 2020-04-19 21:06:28 -06:00
crobibero
440f060da6 Fix Authenticated Roles 2020-04-19 19:36:18 -06:00
crobibero
21b54b4ad8 Move DeviceService to DevicesController 2020-04-19 19:33:55 -06:00
crobibero
1fc6825410 nullable 2020-04-19 17:37:15 -06:00
crobibero
a41d5fcea4 Move AttachmentsService to AttachmentsController 2020-04-19 17:36:05 -06:00
crobibero
c5d709f77e remove todo 2020-04-19 16:35:31 -06:00
crobibero
4a960892c2 Add Authorize and BindRequired 2020-04-19 16:31:09 -06:00
crobibero
d8fc4f91db burn ToOptimizedResult 2020-04-19 16:29:29 -06:00
crobibero
5d9c40ec72 move scheduled tasks to Jellyfin.Api 2020-04-19 16:26:20 -06:00
ZadenRB
7c8188194b Address PR comments, and revert changes that changed the API schema 2020-04-19 13:19:15 -06:00
crobibero
e6b873f2ae Fix missing attributes 2020-04-19 12:56:16 -06:00
crobibero
60607ab60c Fix saving DisplayPreferences 2020-04-19 12:34:34 -06:00
crobibero
c31b9f5169 Fix build & runtime errors 2020-04-19 12:30:10 -06:00
crobibero
a282fbe966 Move DisplayPreferences to Jellyfin.Api 2020-04-19 12:26:38 -06:00
crobibero
86d68e23e7 Add DisplayPreferencesController 2020-04-19 12:06:18 -06:00
crobibero
8a7e4cd639 add redoc 2020-04-19 10:51:51 -06:00
ZadenRB
558b50a094 Remove unnecessary assembly, update casing, enable nullable reference types on notification DTOs. 2020-04-15 09:29:29 -06:00
ZadenRB
ad1c880751 Lowercase parameters 2020-04-15 00:34:50 -06:00
ZadenRB
1180b9746f Migrates the notifications service to use ASP.NET MVC framework 2020-04-15 00:01:31 -06:00
Mark Monteiro
aa9737afb3 Update .NET Core to 3.1.3 2020-03-25 20:09:48 +01:00
Mark Monteiro
debab44870 Update all packages to .NET Core 3.1.2 2020-03-22 02:03:07 +01:00
Bond_009
2186df8ac4 Update deps 2020-01-28 22:42:07 +01:00
Bond_009
bb236b9591 Merge branch 'master' into warn12 2020-01-10 21:18:16 +01:00
Bond_009
a253fa616d Fix build and address comments 2020-01-08 01:23:57 +09:00
Bond_009
5a8e972952 Enable TreatWarningsAsErrors for some projects
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
2019-12-13 20:11:37 +01:00
Bond_009
2ef4ffd698 More warnings (removed) 2019-12-11 00:13:57 +01:00
Claus Vium
080b106991
Update Jellyfin.Api/Auth/FirstTimeSetupOrElevatedPolicy/FirstTimeSetupOrElevatedRequirement.cs
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-11-26 10:20:45 +01:00
Claus Vium
47a4f2f387 Fix more review comments 2019-11-24 19:25:46 +01:00
Claus Vium
2af5922af0 Fix review comments 2019-11-24 18:25:43 +01:00
Claus Vium
27e3cf1558 Move appbuilder and service collection to Jellyfin.Server 2019-11-24 15:27:58 +01:00
Claus Vium
c2cdbc909b Add style rules and fix it all 2019-11-23 20:31:17 +01:00
Claus Vium
c9669a0d21 Split a long line 2019-11-23 19:59:45 +01:00
Claus Vium
706739dbe6 Move API stuff to the api project 2019-11-23 19:43:30 +01:00
Claus Vium
3f651de24c Add authentication and remove versioning 2019-11-23 16:31:02 +01:00
Claus Vium
05b7e22808 Add SwaggerUI 2019-11-19 22:51:02 +01:00
Claus Vium
e5d57bd82f Move StartupWizard to ASP.NET Web Api 2019-11-19 21:48:16 +01:00