Commit Graph

4408 Commits

Author SHA1 Message Date
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
f88e5f09b4 Merge pull request #2152 from syeopite/hooks-and-scripts
Add scripts to ease development
2021-06-19 07:38:33 +00:00
2b9c6c95b1 Merge pull request #2155 from SamantazFox/fix-utf8-in-search
Multiple search fixes
2021-06-19 07:36:58 +00:00
3f34db549f Merge pull request #2174 from syeopite/workflow-improvements
Workflow improvements
2021-06-19 07:33:13 +00:00
f4c0ee49a7 Merge pull request #2158 from 808-cowbell/increase-hr-margins
Add 10px margin to top and bottom of hr element
2021-06-18 12:45:22 -07:00
2fc0a6df93 Prevent CI run when src or wrkflows aren't chngd 2021-06-18 11:53:28 -07:00
0a9c804940 Reduce PR stale length
PRs should be active. Anything that hasn't had activity in more than 45 days should be considered abandoned.
2021-06-18 11:10:11 -07:00
96faa9d12b Delete For-Matrix-org-Support.md 2021-06-18 15:52:24 +02:00
42d9fd9c88 Rewrite response headers
Fixes #2018 and #2153
2021-06-17 19:53:39 +02:00
908bc7561b Add 10px margin to top and bottom of hr element 2021-06-14 12:24:01 -06:00
3de92b337d Use if/else instead of return in search route 2021-06-14 17:27:47 +02:00
31466785ad Merge pull request #2157 from MrPaulBlack/master
Disallow /watch path for bots again
2021-06-14 01:47:23 -07:00
e38b602b7d Disallow /watch path for bots again 2021-06-14 10:40:59 +02:00
a2f5342a83 Multiple search fixes
* Remove percent-encoding of the search query when calling youtube API, as it
  breaks UTF-8
* Empty search redirects to /search, not /
* Show the fullscreen search "home page" (from #1977) at /search
* Allow 'region=' parameter to be passed to /search
* Other minor fixes
2021-06-13 21:52:36 +02:00