Commit graph

3054 commits

Author SHA1 Message Date
Mateusz Makowski
90c907710c
Display username in header 2021-06-19 04:58:42 -07:00
TheFrenchGhosty
00425670d7
Merge pull request #1940 from syeopite/instance-redirect-button
Add instance redirects!
2021-06-19 11:35:40 +00:00
syeopite
cb525af0a2
Connect to api.invidious.io with https 2021-06-19 04:17:49 -07:00
syeopite
09f7e38eed
Disable automatic instance redirection by default 2021-06-19 04:17:49 -07:00
syeopite
7c49a0ba7a
Rephrase auto instance redirect preference 2021-06-19 04:17:49 -07:00
syeopite
45e57f1ad3
Refactor fetch_random_instance 2021-06-19 04:17:49 -07:00
syeopite
eb911de928
Handle if inst. api is down for rand inst fetch 2021-06-19 04:17:49 -07:00
syeopite
b393e31b76
Fix inst. fetching for inst w/ disabled stats/err 2021-06-19 04:17:49 -07:00
syeopite
4a095eb98e
Fix <hr> styling on empty search page 2021-06-19 04:17:49 -07:00
syeopite
d793d4ba78
Add switch invidious instance btn to all chan tabs 2021-06-19 04:17:49 -07:00
syeopite
2f54ec4e18
Fix locale consistency for err template redirects 2021-06-19 04:17:46 -07:00
syeopite
b9cd40fe1e
Add redirect buttons to error template 2021-06-19 04:16:18 -07:00
syeopite
173cd7c15e
Fix switch invidious instance btn on videos 2021-06-19 04:16:18 -07:00
syeopite
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
syeopite
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
syeopite
cf72b34866
Fix locale discrepancy for instance redirect btn 2021-06-19 04:16:18 -07:00
syeopite
d06cf2a07b
Add playlist redirect 2021-06-19 04:16:18 -07:00
syeopite
10804927bb
Add channel redirect 2021-06-19 04:16:18 -07:00
syeopite
f178297452
Generalize redirect route 2021-06-19 04:16:18 -07:00
syeopite
311e7684b2
Add instance redirect on empty/broken search 2021-06-19 04:16:18 -07:00
syeopite
37ff2ac2b9
Overhaul button icon html and styling 2021-06-19 04:16:18 -07:00
syeopite
4786d586cf
Add new icon button for instance redirects 2021-06-19 04:16:17 -07:00
syeopite
b7aaae4a19
Add 'Switch Invidious Instance' to en locale 2021-06-19 04:16:17 -07:00
syeopite
008598b56f
Change wording of redirect hyperlink 2021-06-19 04:16:17 -07:00
syeopite
f3bc55e37e
Expose instance redirect to frontend 2021-06-19 04:16:17 -07:00
syeopite
31fa3dfd59
Add route to redirect to another instance 2021-06-19 04:16:17 -07:00
syeopite
5b47438b71
Add helper function to fetch random instance 2021-06-19 04:16:17 -07:00
TheFrenchGhosty
c33ee83d87
Merge pull request #2124 from raycheung/master
Fix storyboard when proxied with an external port
2021-06-19 07:45:33 +00:00
TheFrenchGhosty
835dd1abcc
Merge pull request #2177 from weblate/weblate-invidious-translations
Translations update from Weblate
2021-06-19 07:42:11 +00:00
Gert-dev
576f5496c0
Update Dutch translation 2021-06-19 09:41:02 +02:00
Rex_sa
ff460c7736
Update Arabic translation 2021-06-19 09:41:02 +02:00
TheFrenchGhosty
22adbe2073
Merge pull request #2168 from SamantazFox/rewrite-response-headers
Rewrite response headers
2021-06-19 07:40:59 +00:00
TheFrenchGhosty
b8f0b4b583
Typo 2021-06-19 09:40:33 +02:00
TheFrenchGhosty
f88e5f09b4
Merge pull request #2152 from syeopite/hooks-and-scripts
Add scripts to ease development
2021-06-19 07:38:33 +00:00
TheFrenchGhosty
2b9c6c95b1
Merge pull request #2155 from SamantazFox/fix-utf8-in-search
Multiple search fixes
2021-06-19 07:36:58 +00:00
TheFrenchGhosty
3f34db549f
Merge pull request #2174 from syeopite/workflow-improvements
Workflow improvements
2021-06-19 07:33:13 +00:00
syeopite
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
syeopite
2fc0a6df93
Prevent CI run when src or wrkflows aren't chngd 2021-06-18 11:53:28 -07:00
syeopite
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
TheFrenchGhosty
96faa9d12b
Delete For-Matrix-org-Support.md 2021-06-18 15:52:24 +02:00
Samantaz Fox
42d9fd9c88 Rewrite response headers
Fixes #2018 and #2153
2021-06-17 19:53:39 +02:00
Graham
908bc7561b
Add 10px margin to top and bottom of hr element 2021-06-14 12:24:01 -06:00
Samantaz Fox
3de92b337d Use if/else instead of return in search route 2021-06-14 17:27:47 +02:00
syeopite
31466785ad
Merge pull request #2157 from MrPaulBlack/master
Disallow /watch path for bots again
2021-06-14 01:47:23 -07:00
Paul Braeuning
e38b602b7d Disallow /watch path for bots again 2021-06-14 10:40:59 +02:00
Samantaz Fox
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
syeopite
d432732959
Add ability to propagate locale removals 2021-06-13 07:23:45 -07:00
syeopite
4eb3de7b4e
Fix typos 2021-06-13 06:56:17 -07:00
syeopite
2e6adfb44a
Add locale-key-propagater and auto linter hooks 2021-06-13 06:40:04 -07:00
syeopite
c85c6d0ac5
Add new line at end of locale files 2021-06-13 06:23:41 -07:00