Commit Graph

121 Commits

Author SHA1 Message Date
Caian Benedicto
48d2250024 Unify socket_binding and socket_permissions 2024-12-14 06:53:30 -03:00
Caian Benedicto
b4e930f3bc Change bind_unix to socket_binding, add socket_permissions and config example 2024-12-13 21:50:02 -03:00
Caian Benedicto
d7f5cdc2f9 Merge branch 'master' into unix-sockets 2024-12-13 20:26:52 -03:00
Fijxu
3615bbd893 Remove user supplied po_token and visitor_data 2024-11-16 12:07:05 -03:00
Fijxu
5a75ef7f94 Remove old code that is done on the Openresty side 2024-11-09 23:37:58 -03:00
Samantaz Fox
a760b69cb6 Logger: Add color support for different log levels (#4931)
No related issue
2024-11-08 23:28:51 +01:00
Fijxu
e2276ace1b Merge remote-tracking branch 'upstream/master' into master 2024-10-31 20:25:33 -03:00
Samantaz Fox
f326bcf8db Add support for using Invidious through a HTTP Proxy (#4270)
Partially addresses issue 301
2024-10-30 13:46:49 +01:00
Fijxu
486c5845cd Config: Also reload env variables 2024-10-30 01:57:06 -03:00
Fijxu
67d7b78ac9 Config: Reload configuration on modification
It detects changes on the config.yml automtically if invidious is
running on linux. If not, the configuration can be reloaded using
`kill -s HUP $(pidof invidious)` or any other tool that sends a SIGHUP
signal to the invidious process.

Closes #16
2024-10-28 13:37:06 -03:00
Fijxu
3afac4d842 Tokens: Option to disable user tokens. 2024-10-25 10:36:20 -03:00
Fijxu
3cc0dbca01 PubSub: Use external domain for pubsub feeds 2024-10-17 17:02:12 -03:00
Fijxu
eb2670fe49 Tokens: Refresh po_token and visitor_data every 5 seconds
Closes #11
2024-10-13 15:57:51 -03:00
Fijxu
65f3bbcb10 External Proxies: Use list of external videoplayback proxies 2024-10-11 13:50:42 -03:00
Fijxu
8dc0a67be3 Feat: User supplied po_token and visitor_data 2024-10-11 16:50:21 -03:00
Fijxu
2f5a555ea7 Merge remote-tracking branch 'upstream/master' 2024-10-08 19:22:53 -03:00
Fijxu
dc2aba106c Backends: Use backend switcher to indicate the current backend in use. 2024-10-08 18:59:01 -03:00
Fijxu
eff8673efc Feat: Experimental support for external videoplayback proxies 2024-10-08 18:59:01 -03:00
Fijxu
b1f25a69ad Logger: Add color support for different log levels 2024-10-08 18:59:01 -03:00
Fijxu
33ffafb9e3 Feat: backend supports with cookies 2024-10-08 16:54:18 -03:00
Samantaz Fox
82ac9a8609 Preferences: Add option to control preloading of video data (#4122)
This PR adds a configuration option to control the preloading of video data on
page load with the HTML5 'preload'[1] attribute on the `<video>` element.

The option is enabled by default, meaning that the `preload` attribute's value
will be 'auto'. If users want to prevent preloading of video data, they
can disable the option, which will set the attribute value to 'none'.

[1](https://www.w3schools.com/tags/att_video_preload.asp)

Closes issue 4110
2024-10-08 17:38:06 +02:00
Fijxu
17b525f2a6 Logger: colorize_logs false by default 2024-09-27 18:08:21 -03:00
Fijxu
d77afdcf00 Logger: Make colorize_logs true by default 2024-09-20 00:32:27 -03:00
Fijxu
f8ec312328 Logger: Add color support for different log levels 2024-09-19 21:35:52 -03:00
Fijxu
8f46bd5751 Feat: Add resolution limit 2024-09-15 01:06:33 -03:00
Fijxu
100ecff0b3 Config: Support for alternative domains 2024-09-14 18:59:12 -03:00
Samantaz Fox
2d18ff1f80 Add ability to set po_token and visitordata ID (#4789)
This PR adds two new config option, to pass a PO token (config 'po_token') and
a visitor ID (config 'visitor_data') to Youtube. These two strings are required
to play videos using the WEB client.

Warning: These strings gives much more identifiable information to Google!

If the po_token setting is filled in, then the WEB client is used. If not, the
Android client is used. TvHtml5ScreenEmbed will still be used as a fallback.

Script for generating po_token and visitor_data:
https://github.com/iv-org/youtube-trusted-session-generator

Helps with issue 4734
2024-08-13 20:35:43 +02:00
Fijxu
72150ae676 Merge branch 'potoken-config' 2024-08-10 16:17:48 -04:00
Fijxu
b7430c5a5a Merge branch 'sig_helper' 2024-08-10 16:17:09 -04:00
Samantaz Fox
7798faf234 SigHelper: Make signature server optional and configurable 2024-08-07 23:25:35 +02:00
Samantaz Fox
a845752fff Jobs: Remove the signature function update job 2024-07-25 22:13:08 +02:00
Emilien Devos
53223f99b0 Add ability to set po_token and visitordata ID 2024-07-24 19:28:47 +02:00
Fijxu
ddfb8e7d93 Views: Add "Watch on Materialious" link on videos. 2024-07-21 13:01:00 -04:00
Fijxu
067dcbef5e Options for donation and contact links 2024-07-21 13:00:27 -04:00
Emilien Devos
8665a69fee limit feeds and delete materialized views 2024-07-21 13:00:26 -04:00
sf.nadeko.net ~root
d1051efd6e Add History feed menu 2024-07-21 13:00:26 -04:00
Emilien Devos
389a2a4a4d use redis for video cache
Signed-off-by: zzls Selfhost <root@selfhost.zzls.xyz>
2024-07-21 13:00:25 -04:00
syeopite
780f9df7d3 Add config option for instance donation link
Co-authored-by: Arya K <arya@projectsegfau.lt>
2024-07-21 13:00:24 -04:00
syeopite
4d11c324b0 Add "Instance" section to footer 2024-07-21 13:00:24 -04:00
syeopite
57f8bfb965 Add config to add custom text in the footer
Co-authored-by: Aural Glow <125497673+auralglow@users.noreply.github.com>
2024-07-21 13:00:24 -04:00
syeopite
e98aafa4b5 Extract and implement footer overhaul from #2215 2024-07-21 13:00:24 -04:00
syeopite
eb8fcc9e88 Add support for using HTTP proxies 2024-04-28 19:43:17 -07:00
Samantaz Fox
07fe648a9c Remove anti-captcha (#4277) 2023-12-06 18:29:16 +01:00
Samantaz Fox
7e363fa3c8 Config: Remove anti-captcha related configs 2023-11-20 17:39:51 +01:00
syeopite
ed8b84ed15 Replace more * in macro with #splat 2023-11-08 00:49:37 -08:00
Thomas Lange
bf470704a5 Add option to control preloading of video data
Fix #4110 by adding an option to control the preloading of video data on
page load. If disabled ("false"), the browser will not preload any video
data until the user explicitly hits the "Play" button.

If enabled ("true"), the default behavior will be used, which means the
browser decides how much of the video will be preloaded.
2023-09-26 22:21:12 +02:00
Samantaz Fox
842e9fade5 Captions: Add ability to use Innertube's transcripts API (#4001) 2023-09-18 23:31:56 +02:00
syeopite
c5fe96e936 Remove lsquic from codebase 2023-07-26 07:19:12 -07:00
syeopite
e4942b188f Integrate transcript captions into captions API 2023-07-23 14:40:09 -07:00
Samantaz Fox
ba43365acb Config: Stop if 'hmac_key' is the default value 2023-07-01 19:38:50 +02:00