Commit graph

110 commits

Author SHA1 Message Date
f66ae3187f
feat(http client): Add environment variable to use a proxy (http, socks5, socks5h, etc...) 2025-01-06 22:11:29 -03:00
3fc14dd18b
the 'c' query params is not is not strictly necessary. It can break hls streams 2025-01-01 01:03:17 -03:00
a98a4ba1bf
check if the connection has been closed before doing the request to google servers 2024-12-22 01:09:19 -03:00
71abe2ae58
Add option to disable the host restriction 2024-12-21 14:54:46 -03:00
b156a52420
test 2024-12-21 14:53:33 -03:00
e28d86018e
and also disable range query becuase I'm not willing to fix it right now 2024-12-21 01:37:52 -03:00
86170fd39e
disable arm builds for now 2024-12-21 00:59:12 -03:00
2a6e80380d
fix bool environment variables 2024-12-21 00:58:55 -03:00
985ef449c5
alr query param makes youtube return an URL and not video data 2024-12-21 00:34:04 -03:00
279570d47b
show version of the proxy on x-powered-by headers 2024-12-20 23:52:43 -03:00
571a2351e9
strip report-to header from responses 2024-12-20 17:28:19 -03:00
161c61bcce
use videoplayback conventions from invidious-companion 2024-12-20 17:13:23 -03:00
200a536207
better env variables handling 2024-12-20 17:12:59 -03:00
0a4dd54393
update dockerfile and docker compose file 2024-12-20 17:12:17 -03:00
03a37009c4
handle user-agent header based on  query param 2024-12-16 02:34:09 -03:00
46d11bfa53
Update docker compose file 2024-12-13 17:25:01 -03:00
e698c1df4d
use log. instead of fmt. for logging 2024-12-13 17:24:52 -03:00
ff9f99c1b6
better 403 request handling 2024-12-13 17:24:03 -03:00
802dd65edf
Add HSTS header 2024-12-11 13:53:06 -03:00
d225323628
Revert 848ad555f7 and 939f4da3f7
If the user on Invidious uses HD720, the playback is broken becuase the
"Origin" header is not sent (unknown reason).

This also appears to break third party clients like Clipious.

I'm retarted sorry n.n
2024-11-13 21:55:01 -03:00
848ad555f7
fixup! security: restrict the setting of CORS headers to inv.nadeko.net related domains 2024-11-12 09:58:02 -03:00
939f4da3f7
security: restrict the setting of CORS headers to inv.nadeko.net related domains
security: restrict the setting of CORS headers to inv.nadeko.net related domains
2024-11-12 09:24:29 -03:00
89c880bb27
Fix CORS when OPTIONS method is requested 2024-11-08 13:34:54 -03:00
40436dcf92
Disallow access from IP addresses 2024-11-06 15:54:40 -03:00
7d40f898a6
fixup! Support for prometheus /metrics endpoint 2024-11-06 00:53:01 -03:00
21036c3e30
Support for prometheus /metrics endpoint 2024-11-06 00:36:54 -03:00
0d4bd67afb
Update CI 2024-11-05 17:58:10 -03:00
b150f128b1
Update docker-compose.yml and provide .env 2024-11-05 17:58:10 -03:00
56345e5bae
Prevent processing of already expired videoplayback links 2024-11-05 13:50:53 -03:00
3b89ea41e7
Add uptime to /stats 2024-11-04 12:05:59 -03:00
654610ecd3
Track established connections on /stats 2024-11-04 11:56:46 -03:00
bdb1afbf61
HTTP/3 Server side support 2024-11-04 10:48:00 -03:00
78ae56be37
Fix HD720 and audio only playbacks (Hopefully this will fix it right?) 2024-10-31 19:29:05 -03:00
fa0c7e9373
Display an error if panic 2024-10-31 18:29:39 -03:00
900b6bd3e7
Add headers to look like a browser 2024-10-31 18:29:38 -03:00
a37a1a5ff1
Add rate limit per connection 2024-10-29 21:27:09 -03:00
cc63b84a55
fixup! Add version key to /stats and more arguments 2024-10-29 20:12:23 -03:00
5101648c94
fixup! v2 2024-10-29 19:38:10 -03:00
1549833bfb
Add version key to /stats and more arguments 2024-10-29 19:34:26 -03:00
6885fcfc28
Use POST requests with protobuf body for videoplayback requests
https://github.com/iv-org/invidious/issues/5033
2024-10-29 18:12:06 -03:00
3d30033794
v2 2024-10-29 16:19:47 -03:00
11094a2b18
Big refactor 2024-10-29 01:31:36 -03:00
e434e8d201
Add arm64 builds 2024-10-28 18:18:40 -03:00
760826beb9
Option to force ipv6 or ipv4 2024-10-28 02:03:34 -03:00
7998e9f99d Update .forgejo/workflows/ci.yml 2024-10-08 23:19:16 -03:00
e537ff1a0b
Listen to 0.0.0.0 on docker image 2024-10-08 23:14:29 -03:00
8c755cf28c
fixup! fixup! Use mvi and mn query params to build host url 2024-10-08 23:12:10 -03:00
6f5f04c618
fixup! Use mvi and mn query params to build host url 2024-10-08 22:43:33 -03:00
64ad2fc28f
Use mvi and mn query params to build host url 2024-10-08 21:47:00 -03:00
9b1acecf42
Add more headers 2024-10-04 21:14:01 -03:00