Commit Graph

2770 Commits

Author SHA1 Message Date
1bb8429fe5 Declutter search bar to only show search query
This commit changes the way search filters are parsed. Instead of
directly appending the data into the search query and creating k:v
pairs, all of the search filters are now a URL parameter. This results
in a clear look overall and hides much of the logic from the end user.

Closes #1969
2021-06-24 08:31:45 -07:00
ff43a47716 Change dropdown into normal tabs 2021-06-24 08:29:25 -07:00
1a3824a5af Refactor channel sorting links to dropdown 2021-06-24 08:29:25 -07:00
93ee81a468 Use purecss menus for channel tabs 2021-06-24 08:29:24 -07:00
e34f375cf5 Update styling for buttons and dark-theme 2021-06-24 08:28:49 -07:00
765041f1b8 Use pure-menu-horizontal for trending tabs 2021-06-24 08:28:41 -07: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
e6bdcff0dd Merge pull request #2183 from iv-org/unixfox-patch-1
update video URL for recaptcha detection
2021-06-19 22:02:42 +02:00
4803285e50 update video URL for recaptcha detection 2021-06-19 17:38:49 +00:00
bab263f426 Merge pull request #2179 from syeopite/remove-welcome-from-username-display
Remove unnecessary "Welcome, " on username display
2021-06-19 13:15:54 +00:00
03d5509b44 Merge branch 'master' into remove-welcome-from-username-display 2021-06-19 13:15:36 +00:00
4a5f193e94 Merge pull request #2180 from weblate/weblate-invidious-translations
Translations update from Weblate
2021-06-19 13:14:53 +00:00
fdd66f12f0 Update Chinese (Simplified) translation 2021-06-19 15:13:54 +02:00
349f073b8e Remove unnecessary "Welcome, " on username display 2021-06-19 06:03:50 -07:00
84e271be4b Merge pull request #2178 from weblate/weblate-invidious-translations
Translations update from Weblate
2021-06-19 13:01:30 +00:00
f215fa936b Update Indonesian translation 2021-06-19 14:28:34 +02:00
75d04a92c8 Merge pull request #1043 from makos/display-username
Display username of currently logged in user
2021-06-19 05:28:30 -07:00
90c907710c Display username in header 2021-06-19 04:58:42 -07:00
00425670d7 Merge pull request #1940 from syeopite/instance-redirect-button
Add instance redirects!
2021-06-19 11:35:40 +00: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
b7aaae4a19 Add 'Switch Invidious Instance' to en locale 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
835dd1abcc Merge pull request #2177 from weblate/weblate-invidious-translations
Translations update from Weblate
2021-06-19 07:42:11 +00:00
576f5496c0 Update Dutch translation 2021-06-19 09:41:02 +02:00
ff460c7736 Update Arabic translation 2021-06-19 09:41:02 +02: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