Commit Graph

150 Commits

Author SHA1 Message Date
crobibero 31d1dbfda6 Add SessionDiscoveryInfo to generated api-docs 2021-04-03 06:54:09 -06:00
Fernando Fernández 8c6bd2537c Return Major.Minor.Build instead of Major.Minor.Build.Revision for OpenAPI version 2021-03-30 15:15:16 +02:00
Claus Vium 94820f569b
Merge pull request #5512 from crobibero/api-spec-version 2021-03-15 18:01:20 +01:00
Bond_009 a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
crobibero 1169a0214b Set default version 2021-03-13 08:43:14 -07:00
crobibero 500832bdfd Set openapi version to server version 2021-03-12 17:11:43 -07:00
crobibero 631c0a35f6 Always use case insensitive json parsing for api 2021-03-03 17:11:19 -07:00
crobibero 9da972682c Enable non-nullable reference types in generated api spec 2021-02-15 10:08:38 -07:00
crobibero d5f0b046bb Add image file accept to openapi 2021-02-10 16:12:52 -07:00
crobibero ef97ead707 Fix openapi nullable properties 2021-01-24 14:36:36 -07:00
crobibero 59ff2c5b4b Add ability to mark query parameter as obsolete. 2021-01-20 16:24:15 -07:00
BaronGreenback ab632b96fe renamed. 2021-01-19 19:31:55 +00:00
BaronGreenback 82d365045a Removed systemIp6 functionality. 2021-01-19 12:50:11 +00:00
BaronGreenback 821473557c Changed mapping logic 2021-01-19 11:31:40 +00:00
BaronGreenback 6a7623da02 Simplified Code 2021-01-19 10:36:37 +00:00
BaronGreenback 8b2b3b77a5 Removed duplication 2021-01-19 10:29:17 +00:00
BaronGreenback 49e3b70722 Moved InternalsVisibleTo 2021-01-18 13:03:37 +00:00
BaronGreenback b9f0f4f53b reverted 2021-01-17 13:35:30 +00:00
BaronGreenback 688e7c6a2d Moved internalVisibleToAttribute to .csj 2021-01-17 12:45:11 +00:00
BaronGreenback 4bc8a1e77b updated 2021-01-13 15:29:57 +00:00
BaronGreenback 9a730241b1 Changed to address. 2021-01-13 15:14:04 +00:00
BaronGreenback d66bc3fb3e Fixed indentation 2021-01-12 20:43:25 +00:00
BaronGreenback 08e83cfa54 Remove additional debug logging. 2021-01-12 18:52:48 +00:00
BaronGreenback 2979c8dd37 Fixed test on Mac 2021-01-12 13:23:10 +00:00
BaronGreenback 35a30c9d09 Impliments KnownNetworks and KnownProxies 2021-01-12 13:07:34 +00:00
Greenback 0337e39bae Updated JsonDefaults 2020-12-15 19:39:41 +00:00
Joshua M. Boniface 4f6a585424
Merge pull request #4716 from OancaAndrei/syncplay-new-auth-policies 2020-12-13 16:58:28 -05:00
BaronGreenback af37cc2339
Merge branch 'master' into ProxyDNS 2020-12-07 22:54:51 +00:00
Ionut Andrei Oanca 499f3ee950 Update authorization policies for SyncPlay 2020-12-07 10:33:15 +01:00
BaronGreenback 1a44d34f50
Update ApiServiceCollectionExtensions.cs 2020-12-05 16:00:34 +00:00
Bond-009 804dd00425
Merge pull request #4671 from cvium/allow_proxy
Clear KnownNetworks and KnownProxies if none are configured explicitly
2020-12-05 16:22:11 +01:00
cvium 41cd4d0a39 Clear KnownNetworks and KnownProxies if none are configured explicitly 2020-12-05 10:18:56 +01:00
Joshua M. Boniface bba01bf7b9
Merge pull request #3194 from OancaAndrei/syncplay-enhanced
SyncPlay for TV series (and Music)
2020-12-04 20:22:30 -05:00
Ionut Andrei Oanca 23473ef8fb Fix access policies to SyncPlay 2020-12-04 22:03:35 +01:00
cvium 7e0ea296c3 Move request validation to auth policies 2020-12-03 10:43:44 +01:00
crobibero 7a729ea8d6 Move OpenApiSecurityScheme to OperationFilter 2020-12-02 14:59:57 -07:00
crobibero d2d71ac3a1 Fix OpenApi generation for BlurHash 2020-11-30 08:47:52 -07:00
crobibero 40531db1ae Add NullableEnumModelBinder and NullableEnumModelBinderProvider 2020-11-21 11:58:35 -07:00
crobibero fed37630db Add x-jellyfin-version to openapi spec 2020-11-06 13:00:14 -07:00
crobibero f2a86d9c80 Remove CommaDelimitedArrayModelBinderProvider 2020-10-14 13:03:36 -06:00
Anthony Lavado dd43af23a4
Merge pull request #4248 from crobibero/ws-document-filter
Manually register models used in websocket messages.
2020-10-09 20:11:57 -04:00
github@esslinger.dev 9aad772288 feat: implement CommaDelimitedArrayModelBinderProvider 2020-10-02 18:26:48 +02:00
crobibero 5ee6f49204 Manually register models used in websocket messages. 2020-10-01 08:10:47 -06:00
Bond-009 4447589460
Merge pull request #4116 from cvium/add_known_proxies
Add Known Proxies to system configuration
2020-09-10 14:10:26 +00:00
cvium 78cab77f81 Add Known Proxies to system configuration 2020-09-10 11:05:46 +02:00
crobibero 612e135c8c Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-09 12:02:05 -06:00
crobibero 342de39d78 Move CorsPolicyProvider to Jellyfin.Server.Configuration 2020-09-05 13:02:53 -06:00
crobibero 527ffaa90c clean docs 2020-09-05 09:12:50 -06:00
crobibero 2c05d53b06 Convert to ICorsPolicyProvider 2020-09-05 09:10:05 -06:00
crobibero 8a08111adc Merge remote-tracking branch 'upstream/master' into dynamic-cors 2020-09-05 09:00:55 -06:00
crobibero d5eb246557 Merge remote-tracking branch 'upstream/master' into api-stream-return 2020-09-04 16:42:40 -06:00
crobibero 9f97c47936 Merge remote-tracking branch 'upstream/master' into api-doc-base-url 2020-09-04 07:57:59 -06:00
crobibero a523ff840c Merge remote-tracking branch 'upstream/master' into output-formatters 2020-09-03 12:14:11 -06:00
crobibero 1feee6f95e Properly host static files and set base url 2020-09-02 08:03:15 -06:00
crobibero 65d05f92ac Merge remote-tracking branch 'upstream/master' into dynamic-cors 2020-09-01 18:27:55 -06:00
crobibero 2f33bee2a9 Set openapi schema type to file where possible 2020-09-01 17:26:49 -06:00
Bond-009 95142643f6
Merge pull request #3871 from Ullmie02/plugins-api
Allow plugins to define their own api endpoints
2020-08-31 18:28:11 +02:00
David Ullmer 7f79f2ee0e Use .Distinct on assembly 2020-08-31 17:53:55 +02:00
crobibero 3c0484cc97 Allow for dynamic cors response 2020-08-30 09:32:14 -06:00
Cromefire_ 3453b65444
Fixed wrong openapi auth header value 2020-08-30 00:44:33 +02:00
crobibero 8b96881aa1 Clean up json Converters 2020-08-26 08:22:48 -06:00
crobibero 5f64ab02a0 bump System.Text.Json 2020-08-25 07:33:58 -06:00
crobibero 340f83c3f5 Ignore null json values 2020-08-23 07:48:12 -06:00
crobibero 2ca8d31b20 clean up output formatters 2020-08-20 11:17:27 -06:00
crobibero 2d4e91c5a2 Add xml output formatter 2020-08-15 10:39:24 -06:00
David 9e95fe8f9d Add plugin assemblies to mvc builder 2020-08-11 18:20:16 +02:00
David 98d1d2325d Prepare plugin Api migration 2020-08-10 16:12:22 +02:00
crobibero 05f9473544 Apply fixes from review 2020-08-06 17:59:48 -06:00
crobibero fffa94fc33 Apply fixes from review 2020-08-06 08:17:45 -06:00
crobibero 9e00aa3014 fix openapi validation errors 2020-08-03 14:38:51 -06:00
crobibero 8d7b39a36e fix endpoint order 2020-06-25 17:44:11 -06:00
crobibero 38788a1f1d Merge remote-tracking branch 'upstream/api-migration' into api-library 2020-06-21 11:34:05 -06:00
crobibero e2a7e8d97e Move LibraryService.cs to Jellyfin.Api 2020-06-19 13:10:10 -06:00
David 08401f923d Change swagger dictionary type mapping 2020-06-19 15:49:44 +02:00
David 6651cb8d24 Add JsonInto32Converter
Add additional swagger type mapping
2020-06-19 12:24:39 +02:00
crobibero 0c01b6817b Add X-Forward-(For/Proto) support 2020-06-17 08:05:30 -06:00
crobibero 4aac936721 Add more authorization handlers, actually authorize requests 2020-06-15 12:49:54 -06:00
crobibero ec3e15db57 Fix merge and build 2020-06-13 13:11:41 -06:00
crobibero 6d5c09c499 Remove duplicate swaggerdoc 2020-06-12 14:40:06 -06:00
crobibero 720fff30a4 readd swagger version 2020-06-12 14:37:55 -06:00
crobibero 2fe65d99f6 Merge remote-tracking branch 'upstream/api-migration' into api-swagger-auth 2020-06-12 14:35:51 -06:00
dkanada b3f8928fbb
Merge pull request #3218 from crobibero/api-cors
Enable CORS and Authentation
2020-06-09 14:29:52 +09:00
crobibero 6be862545a Merge remote-tracking branch 'upstream/api-migration' into api-cors 2020-06-06 17:07:29 -06:00
crobibero 598cd94c4d Add CSS output formatter. 2020-06-06 16:51:21 -06:00
crobibero 01a5103fef Add Dictionary with non-string keys to System.Text.Json 2020-06-02 11:47:33 -06:00
crobibero 4fe0beec16 Fix Json Enum conversion, map all JsonDefaults properties to API 2020-06-02 08:23:12 -06:00
crobibero dfe873fc29 Add Authentication to openapi generation. 2020-06-01 11:12:33 -06:00
crobibero b944b8f8c5 Enable CORS and Authentication. 2020-06-01 11:03:08 -06:00
crobibero 2b1b9a64b6 Add OperationId to SwaggerGen 2020-05-08 08:40:37 -06:00
crobibero 806ae1bc07 Remove versioned API 2020-04-29 08:04:05 -06:00
Cody Robibero d491b1b45f
Merge branch 'api-migration' into redoc 2020-04-29 07:38:18 -06:00
crobibero 068368df63 Order actions by route, then http method 2020-04-26 23:28:32 -06:00
crobibero fff2a40ffc Remove StringEnumConverter 2020-04-20 07:24:13 -06:00
crobibero c89dc8921f Fix PascalCase 2020-04-19 18:10:59 -06:00
crobibero 5da88fac4d Enable string enum converter 2020-04-19 11:24:32 -06:00
ZadenRB bb288e16cc Document JSON options change 2020-04-15 17:02:43 -06:00
ZadenRB 72862d7b46 Lowercase actual parameters in code and remove whitespace to comply with StyleCopAnalyzers 2020-04-15 00:24:15 -06:00
ZadenRB 5a658cf260 Fix casing of JSON in Jellyfin API. Currently only affects startup wizard. 2020-04-12 19:17:46 -06:00
Claus Vium 47a4f2f387 Fix more review comments 2019-11-24 19:25:46 +01:00
Claus Vium 27e3cf1558 Move appbuilder and service collection to Jellyfin.Server 2019-11-24 15:27:58 +01:00