Commit Graph

28 Commits

Author SHA1 Message Date
Shadowghost
f5f890e685 Migrate to file-scoped namespaces 2023-02-02 18:50:33 +01:00
Bond-009
69a51c425a
Fix all warnings in Jellyfin.Api (#9003) 2023-01-04 08:01:31 -07:00
cvium
b880dc8a4a Use our own Contains extension 2021-12-20 13:31:07 +01:00
cvium
5a65bc1e69 Very light cleanup in applicationhost 2021-11-13 14:37:26 +01:00
Claus Vium
5eda5eb636
Merge pull request #6486 from fredriklindberg/support-forwarded-headers-for-api-url 2021-10-25 22:41:32 +02:00
Bond_009
f31224fa8f Remove sync FileStream hack 2021-09-25 19:44:40 +02:00
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
e3dac4fda2 Use async FileStreams where it makes sense 2021-09-02 14:02:04 +02:00
crobibero
223b42aed3 Create BaseItemKind enum 2021-02-10 17:09:23 -07:00
BaronGreenback
4c291da45c
Encoding fix for System Logs. (#4564) 2020-12-30 18:31:26 +01:00
BaronGreenback
e113a50597 Possible null reference fix. 2020-12-22 16:14:06 +00:00
BaronGreenback
d617c0b8b0
Update SystemController.cs 2020-09-24 15:47:35 +01:00
Jim Cartlidge
b44455ad0d Update based on PR1 changes. 2020-09-14 15:46:38 +01:00
Jim Cartlidge
9ef79d190b Large number of files 2020-09-12 16:41:37 +01:00
Bond-009
1d633aac0a
Merge pull request #4093 from crobibero/bad-route
Fix api routes
2020-09-11 09:10:16 +00: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
7576824cee Standardize use of IsLocal and RemoteIp 2020-09-10 14:16:41 +02:00
crobibero
63ebae2f9e Remove nullable from required 2020-09-09 14:28:30 -06:00
crobibero
25ac778a79 revert changes 2020-09-09 12:26:18 -06:00
crobibero
2f33bee2a9 Set openapi schema type to file where possible 2020-09-01 17:26:49 -06: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
8f6c2e7679 Remove leading slash from route attributes 2020-08-04 08:27:54 -06:00
crobibero
9e00aa3014 fix openapi validation errors 2020-08-03 14:38:51 -06:00
crobibero
73bcda7eac Make all optional strings nullable 2020-06-27 10:50:44 -06:00
David
6b72fb8631 Add missing default authorization policy 2020-06-22 15:49:15 +02:00
David
b51b9653ac Add missing authorization policies 2020-06-19 14:29:32 +02:00
David
b16da09549 Move /System Endpoint to Jellyfin.Api 2020-06-10 15:18:13 +02:00