cf619f24a9
Remove workaround for kemalcr/kemal/issues/575 ( #2230 )
...
Full URL of the issue: https://github.com/kemalcr/kemal/issues/575
2021-07-01 16:13:06 +00:00
67a18dcff6
Merge pull request #2196 from ahangarha/patch-1
...
Add bi-directional text support
2021-06-27 22:39:45 +02:00
54b19a04bb
Fix caption parsing on age restricted videos
2021-06-27 08:35:28 -07:00
ca4df29670
Wrap comment
2021-06-25 14:14:41 -07:00
7da0b2fd7f
Switch from URI::Params.new to URI::Params.encode
2021-06-25 12:14:21 -07:00
cfcb64c516
Fix layout of video 'card' items
...
Previous changes broke alignment of text and icons
2021-06-25 20:47:15 +02:00
135ae11c20
Merge pull request #2195 from B0pol/trending
...
Use youtubei API for trending
2021-06-25 17:53:07 +02:00
ce68d09d26
Pick a random video for bypass captcha
...
pick a random video from the 1000 first rows of the channel_videos table
in order to bypass the captcha more efficiently
2021-06-25 15:37:37 +00:00
aa55e67389
Fix extraction of age restricted videos
2021-06-25 07:51:51 -07:00
f7992d2d09
futureproof comment avatars
...
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-24 23:50:37 -05:00
eecfc155b8
Right-align the RSS icon in channel playlists
2021-06-25 02:15:49 +02:00
9cef7945c0
Fix RTL text in video titles on Firefox
...
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-25 02:03:09 +02:00
1b1932f787
fix feed alignment on community view
2021-06-24 17:40:02 +04:30
9e4fd193c6
Limit descriptions width to ease mixed LTR/RTL text reading
...
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-24 17:35:44 +04:30
d16a748f37
set alignment for feed link
2021-06-24 17:08:40 +04:30
7ec93825b6
Change description-box from flex to block
...
I also make minor changes to the surroundings so that the same layout
and functionality as before is preserved.
2021-06-24 15:12:05 +04:30
50267a6dd6
Use youtubei API for trending
2021-06-24 00:54:06 +02:00
5a8825d016
Fix quoting of 'none' in CSP header
...
The keyword 'none' must be surrounded by single quotes.
Regression introduced by #2168 .
2021-06-20 18:43:00 +02:00
4803285e50
update video URL for recaptcha detection
2021-06-19 17:38:49 +00:00
349f073b8e
Remove unnecessary "Welcome, " on username display
2021-06-19 06:03:50 -07:00
90c907710c
Display username in header
2021-06-19 04:58:42 -07:00
cb525af0a2
Connect to api.invidious.io with https
2021-06-19 04:17:49 -07:00
09f7e38eed
Disable automatic instance redirection by default
2021-06-19 04:17:49 -07:00
7c49a0ba7a
Rephrase auto instance redirect preference
2021-06-19 04:17:49 -07:00
45e57f1ad3
Refactor fetch_random_instance
2021-06-19 04:17:49 -07:00
eb911de928
Handle if inst. api is down for rand inst fetch
2021-06-19 04:17:49 -07:00
b393e31b76
Fix inst. fetching for inst w/ disabled stats/err
2021-06-19 04:17:49 -07:00
4a095eb98e
Fix <hr> styling on empty search page
2021-06-19 04:17:49 -07:00
d793d4ba78
Add switch invidious instance btn to all chan tabs
2021-06-19 04:17:49 -07:00
2f54ec4e18
Fix locale consistency for err template redirects
2021-06-19 04:17:46 -07:00
b9cd40fe1e
Add redirect buttons to error template
2021-06-19 04:16:18 -07:00
173cd7c15e
Fix switch invidious instance btn on videos
2021-06-19 04:16:18 -07:00
950c8f7104
Enhance fetch_random_instance func
...
Handle cross-inst. redirect w/ broken health stats
Add check for instance version in cross-redirect
2021-06-19 04:16:18 -07:00
b63bebb519
Allow automatic instance redirect to be turned off
...
Instead the "switch invidious instance" link would bring users to
redirect.invidious.io
2021-06-19 04:16:18 -07:00
cf72b34866
Fix locale discrepancy for instance redirect btn
2021-06-19 04:16:18 -07:00
d06cf2a07b
Add playlist redirect
2021-06-19 04:16:18 -07:00
10804927bb
Add channel redirect
2021-06-19 04:16:18 -07:00
f178297452
Generalize redirect route
2021-06-19 04:16:18 -07:00
311e7684b2
Add instance redirect on empty/broken search
2021-06-19 04:16:18 -07:00
37ff2ac2b9
Overhaul button icon html and styling
2021-06-19 04:16:18 -07:00
4786d586cf
Add new icon button for instance redirects
2021-06-19 04:16:17 -07:00
008598b56f
Change wording of redirect hyperlink
2021-06-19 04:16:17 -07:00
f3bc55e37e
Expose instance redirect to frontend
2021-06-19 04:16:17 -07:00
31fa3dfd59
Add route to redirect to another instance
2021-06-19 04:16:17 -07:00
5b47438b71
Add helper function to fetch random instance
2021-06-19 04:16:17 -07:00
c33ee83d87
Merge pull request #2124 from raycheung/master
...
Fix storyboard when proxied with an external port
2021-06-19 07:45:33 +00:00
22adbe2073
Merge pull request #2168 from SamantazFox/rewrite-response-headers
...
Rewrite response headers
2021-06-19 07:40:59 +00:00
b8f0b4b583
Typo
2021-06-19 09:40:33 +02:00
f88e5f09b4
Merge pull request #2152 from syeopite/hooks-and-scripts
...
Add scripts to ease development
2021-06-19 07:38:33 +00:00
42d9fd9c88
Rewrite response headers
...
Fixes #2018 and #2153
2021-06-17 19:53:39 +02:00