Commit Graph

104 Commits

Author SHA1 Message Date
Fredrik Lindberg
90174f68e2 Dynamically populate LocalAddress based on HTTP request
Support populating the LocalAddress field in the system info
endpoint based on the x-forwarded-host and x-forwarded-proto header.

The x-forwarded-host header must contain both the host and port for
the url to be properly constructed.

Behind network configuration option that is disabled by default.
2021-09-14 21:38:11 +02:00
Bond_009
f1f72c3060 Minor improvements 2021-08-04 14:40:09 +02:00
Bond_009
6f8ccab788 Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00
Claus Vium
f718735b4e
Merge pull request #5688 from crobibero/api-docs-sever-discovery
Add SessionDiscoveryInfo to generated api-docs
2021-04-07 14:36:49 +02:00
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