summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2024-10-08Preferences: Add option to control preloading of video data (#4122)Samantaz Fox
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-08Performance: Improve speed of automatic instance redirection (#4193)Samantaz Fox
The automatic instance redirection implemented in #1940 fetches a new list of instances each time someone queries the /redirect endpoint. This is extremely inefficient... This PR optimizes all that into a background job that only fetches a single list every 30 minutes. This should performance quite a bit. No related issue was opened.
2024-09-20Update latest version WEB_CREATOR + fix comment web embed (#4930)Émilien (perso)
* Update to latest version WEB_CREATOR * fix comment about using web embed as a fallback
2024-09-20use WEB_CREATOR when po_token with WEB_EMBED as a fallback (#4928)Émilien (perso)
* use WEB_CREATOR when po_token with WEB_EMBEDDED_PLAYER as a fallback * remove unrelated comment Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com> --------- Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2024-09-17Revert "use web screen embed for fixing potoken functionality (#4923)"Emilien Devos
This reverts commit de918b9234b99f91a0a364fc675533147581eb2e. The code doesn't work as expected. Reverting
2024-09-16use web screen embed for fixing potoken functionality (#4923)Émilien (perso)
* use web screen embed for fixing potoken functionality * use web screen embed only for getting streamingData + disable tv screen on po_token
2024-08-24HTML: Sort playlists alphabetically in watch page drop down (#4853)Samantaz Fox
Closes issue 4708
2024-08-24HTML: Fix XSS vulnerability in description/comments (#4852)Samantaz Fox
Before this PR, the comment/description content was not HTML escaped when 'parse_description()' was called with a JSON object lacking the "commandRuns" entry. Closes issue 4727
2024-08-24YtAPI: Bump client versions (#4849)Samantaz Fox
This might help reducing the amount of playback errors. No related issue
2024-08-24SigHelper: Fix inverted time comparison in 'check_update' (#4845)Samantaz Fox
Closes issue 4840
2024-08-24Storyboards: Various fixes and code cleaning (#4153)Samantaz Fox
Closes issue 3441
2024-08-24Fix lint errors introduced in #4146 and #4295 (#4876)syeopite
* Ameba: Fix Naming/VariableNames Introduced in #4295 * Ameba: Fix Naming/PredicateName Introduced in #4146
2024-08-24Search: Add support for Youtube URLs (#4146)Samantaz Fox
Closes issue 3300
2024-08-24Channel: Render age restricted channels (#4295)Samantaz Fox
This PR: * gets thumbnail and channel name from the initial request * gets videos, shorts and streams via autogenerated channel playlists Test Url: /channel/UCbfnHqxXs_K3kvaH-WlNlig Closes issue 3513
2024-08-24Ameba: Miscellaneous fixes (#4807)Samantaz Fox
End of a series of PRs meant to improve code quality. Related to issue 2231
2024-08-24API: Proxy formatStreams URLs too (#4859)Samantaz Fox
The /api/v1/videos endpoint does not proxy the formatStreams URLs when 'local=true' is passed, whereas the adaptiveFormats URLs are correctly proxied. The Web UI does proxy when clicking "Download" with 'fmt=18' for example, so this is probably an oversight. This PR aims to fix that. No related issue
2024-08-24UI: Add search button to search bar (#4706)Samantaz Fox
Closes issue 529
2024-08-22Storyboard: Revert cue timing "fix"Samantaz Fox
2024-08-21Ameba: Fix Lint/ShadowingOuterLocalVarsyeopite
2024-08-21Ameba: Fix Lint/RedundantStringCoercionsyeopite
2024-08-21Ameba: Fix Naming/PredicateNamesyeopite
2024-08-21Ameba: Fix Style/WhileTruesyeopite
2024-08-19Proxify formatStreams URLs tooColin Leroy-Mira
2024-08-17Search: Change smart search inhibitor to a backslashSamantaz Fox
2024-08-17Misc: Clean some code in UrlSanitizerSamantaz Fox
2024-08-17Search: Add URL search inhibition logicSamantaz Fox
2024-08-17Search: Add support for youtu.be and youtube.com URLsSamantaz Fox
2024-08-17Add a youtube URL sanitizerSamantaz Fox
2024-08-17Storyboards: Fix lint errorSamantaz Fox
2024-08-16HTML: Sort playlists alphabetically in watch page drop downSamantaz Fox
2024-08-16Storyboards: Workarounds for videojs-vtt-thumbnailsSamantaz Fox
The workarounds are as follow: * Unescape HTML entities * Always use 0:00:00.000 for cue start/end
2024-08-16Storyboards: Fix some small logic mistakesSamantaz Fox
2024-08-16Storyboards: Fix broken first storyboardSamantaz Fox
2024-08-16Storyboards: Cleanup and document codeSamantaz Fox
2024-08-16Storyboards: Use replace the NamedTuple by a structSamantaz Fox
2024-08-16Storyboards: Move parser to its own fileSamantaz Fox
2024-08-15videos: Fix XSS vulnerability in description/commentsSamantaz Fox
Patch provided by e-mail, thanks to an anonymous user whose cats are named Yoshi and Yasuo. Comment is mine
2024-08-15YtAPI: Also update User-Agent stringSamantaz Fox
2024-08-15YtAPI: Update clients to latest versionSamantaz Fox
2024-08-14SigHelper: Fix inverted time comparison in 'check_update'Samantaz Fox
2024-08-13Use dig to get propertiesChunkyProgrammer
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2024-08-13Channel: Render age restricted channelsChunkyProgrammer
2024-08-13Videos: use intermediary variable when using CONFIG.po_tokenSamantaz Fox
2024-08-13Add ability to set po_token and visitordata ID (#4789)Samantaz Fox
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-13Add support for an external signature server (#4772)Samantaz Fox
This PR adds support for inv_sig_helper, which offloads the player fetching, function extraction and signature parsing, which in turn allows to use the web client to watch videos. When the new config option "signature_server" is not set, the logic for the external signature server is not enabled and invidious behaves like before. This PR also updates the crystal overrides because the stdlib changed quite a while ago (See issue 11049 at crystal-lang/crystal) and those were required to properly use TCP/unix sockets. Closes issue 4649
2024-08-13Ameba: Fix Naming/VariableNames (#4790)Samantaz Fox
Related to issue 2231
2024-08-13add pot= parameter now required by youtubeEmilien Devos
2024-08-11Ameba: Fix Lint/UselessAssign (#4795)Samantaz Fox
Related to issue 2231
2024-08-11HTML: Add rel="noreferrer noopener" to external links (#4667)Samantaz Fox
Note: Does not add rel="noreferrer noopener" to: * links in channel description * links in video descriptions * links in video comments Related to issue 4267
2024-08-11Remove unused methods in Invidious::LogHandler (#4812)Samantaz Fox
Closes issue 4791