summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2021-07-28Remove workaround for decompression of proxied files (#2286)Samantaz Fox
Was used by `proxy_file` before crystal 0.35.0. Implemented in: f7dbf2bdd4f38fed72ad823be1bc86b727aafdb0 orphaned since: d30a972a909e66d963ee953349fe045a1d9a41ee
2021-07-28Fix raw parameter for videos in listen mode (#2270)syeopite
2021-07-26Add Korean (ko.json) to loaded localesSamantaz Fox
Required because of c83113d49be085b41756d5f7eecca3d4e7d2fabd.
2021-07-16Merge pull request #2201 from pinchese/patch-1syeopite
futureproof comment avatars
2021-07-15Multiple front-end fixes (#2247)Samantaz Fox
Fixes: * Sanitize user-provided content in HTML (Fixes #2193) * Fix encoding of search query in prev/next pages (Fixes #2229) * Fix some issues introduced with #2196: - Fix alignment of all <h3> elements (Move the inline style from the parent to the <h3> element) - Add missing comma on 'dir' HTML attribute (Typo introduced by PR #2196) Code cleaning: * Remove unnecessary 'each_sclice' + 'each' double loop in ECR files * Clean the player's <source> list generation code (in player.ecr)
2021-07-14Merge pull request #2205 from syeopite/fix-age-restricted-videossyeopite
Partial (and temporary) fix for age restricted videos
2021-07-14Mute unbuffered_flush IOError exception (#2235)Émilien Devos
Related to #1416, it doesn't really fix the real error, but instead mutes the exception message. Like explained in #1416, this "exception Error" while flushing the client data doesn't harm the client-server connection. However, this exception message continuously spams the logs and makes debugging and error finding really difficult.
2021-07-14Debloat channels.cr into multiple files (#2225)syeopite
Cherry picked from ui overhaul branch with a few modifications: - channel folder is renamed to channels - parsing for channel home and featured channels are removed due to lack of infrastructure from other commits (cherry picked from commit 44d18b8e147b47ad06a54cc6fd08423d9f39074d)
2021-07-12Add new and missing locales to i18n.crSamantaz Fox
New locales: lt, vi Missing: bn_BD, cs, da, eu, hu-HU, si, sk, sr, sr_Cyrl
2021-07-11Use struct for caption objectsyeopite
2021-07-02Use embed stream pull as fallback for gated videossyeopite
2021-07-01Remove workaround for kemalcr/kemal/issues/575 (#2230)Émilien Devos
Full URL of the issue: https://github.com/kemalcr/kemal/issues/575
2021-06-27Merge pull request #2196 from ahangarha/patch-1Samantaz Fox
Add bi-directional text support
2021-06-27Fix caption parsing on age restricted videossyeopite
2021-06-25Wrap commentsyeopite
2021-06-25Switch from URI::Params.new to URI::Params.encodesyeopite
2021-06-25Fix layout of video 'card' itemsSamantaz Fox
Previous changes broke alignment of text and icons
2021-06-25Merge pull request #2195 from B0pol/trendingSamantaz Fox
Use youtubei API for trending
2021-06-25Pick a random video for bypass captchaÉmilien Devos
pick a random video from the 1000 first rows of the channel_videos table in order to bypass the captcha more efficiently
2021-06-25Fix extraction of age restricted videossyeopite
2021-06-24futureproof comment avatarsPenny
i was injecting custom css into the site that made the avatars round, and noticed comment avatars looked a little odd i opened dev tools and siffed through the html, and noticed that the image was being padded, when it would look nicer if the element used margin instead of padding with padding: https://imgur.com/c0pB37e with proposed changes (margin instead of padding): https://imgur.com/iKmBzEi
2021-06-25Right-align the RSS icon in channel playlistsSamantaz Fox
2021-06-25Fix RTL text in video titles on FirefoxSamantaz Fox
The behavior was as follow: on Right-To-Left text (e.g Arabic) that is wrapped (because it's too long to fit on one line), the second row and following rows may or may not be right aligned (as RTL text should be). Opening the devtools fixes that alignement, as consistently as closing the devtool breaks it. This problem seems to arrive only in the following configurations (link nested in a paragraph, both of which may or may not have the dir= attribute): * `<p><a href="some_link">RTL_TEXT</a></p>` * `<p><a href="some_link" dir="auto">RTL_TEXT</a></p>` * `<p dir="auto"><a href="some_link">RTL_TEXT</a></p>` with the following CSS: ``` p { unicode-bidi: plaintext; text-align: start; } ``` Changing the HTML to the following configuration (a paragraph with the dir= attribute, nested in a link) seems to fix it: `<a href="some_link"><p dir="auto">RTL_TEXT</p></a>`
2021-06-24fix feed alignment on community viewMostafa Ahangarha
2021-06-24Limit descriptions width to ease mixed LTR/RTL text readingSamantaz Fox
This will prevent, on large pages, the LTR and RTL text to be far away, on each side of the page. This could happen on channel and playlists descriptions, when the page is displayed on a large screen.
2021-06-24set alignment for feed linkMostafa Ahangarha
2021-06-24Change description-box from flex to blockCadence Ember
I also make minor changes to the surroundings so that the same layout and functionality as before is preserved.
2021-06-24Use youtubei API for trendingbopol
2021-06-20Fix quoting of 'none' in CSP headerSamantaz Fox
The keyword 'none' must be surrounded by single quotes. Regression introduced by #2168.
2021-06-19update video URL for recaptcha detectionÉmilien Devos
2021-06-19Remove unnecessary "Welcome, " on username displaysyeopite
2021-06-19Display username in headerMateusz Makowski
2021-06-19Connect to api.invidious.io with httpssyeopite
2021-06-19Disable automatic instance redirection by defaultsyeopite
2021-06-19Rephrase auto instance redirect preferencesyeopite
2021-06-19Refactor fetch_random_instancesyeopite
2021-06-19Handle if inst. api is down for rand inst fetchsyeopite
2021-06-19Fix inst. fetching for inst w/ disabled stats/errsyeopite
2021-06-19Fix <hr> styling on empty search pagesyeopite
2021-06-19Add switch invidious instance btn to all chan tabssyeopite
2021-06-19Fix locale consistency for err template redirectssyeopite
2021-06-19Add redirect buttons to error templatesyeopite
2021-06-19Fix switch invidious instance btn on videossyeopite
2021-06-19Enhance fetch_random_instance funcsyeopite
Handle cross-inst. redirect w/ broken health stats Add check for instance version in cross-redirect
2021-06-19Allow automatic instance redirect to be turned offsyeopite
Instead the "switch invidious instance" link would bring users to redirect.invidious.io
2021-06-19Fix locale discrepancy for instance redirect btnsyeopite
2021-06-19Add playlist redirectsyeopite
2021-06-19Add channel redirectsyeopite
2021-06-19Generalize redirect routesyeopite
2021-06-19Add instance redirect on empty/broken searchsyeopite