Commit Graph

4307 Commits (1c87da7050af38dae6920fdd59b3a018e23324bc)
 

Author SHA1 Message Date
syeopite 1321c90920
Extract channel routes (#2227)
* Extract primary channel routes from invidious.cr

Also removes timedtext_video stub since all it does is redirect to the
homepage. However, Invidious's 404 handler already does this.

--
As the template for the channel about page doesn't exist yet, the
behavior for the /channel/:ucid/about endpoint has been changed to be
the same as what's currently present on Invidious

(cherry picked from commit 8fad19d805)

* Manually extract brand_redirect from 1b569bbc99

This commit manually extracts the brand_redirect function from the
commit mentioned.

However, the redirect to the  `.../about` endpoint is removed due to the
fact that it doesn't exist yet.

This commit is also mainly just a bridge for the next few cherry picks from
\#2215

* Update brand_redirect to use youtubei resolve_url

(cherry picked from commit 53335fe7cf)

* Add additional channel endpoints to brand_redirect

(cherry picked from commit 8fc6f3add6)

* Add separate handler for /profile endpoint

* Add /channel/:ucid/home route

* Document all channel brand_urls
3 years ago
Samantaz Fox 4b46313e19
Fix crystal overrides (#2295)
* Move Crystal stdlib classes overrides to a separate file
* Document known crystal overrides
* Update crystal overrides for HTTP::Client socket
* Update shard.yml to restrict crystal versions
* Fix compilation error in Crystal 1.1.x (See
   https://github.com/crystal-lang/crystal/issues/10965
   for more details about this issue).
3 years ago
syeopite e9add69e26
Fix #resolve_url by adding ClientConfig argument
The private `_post_json` method of the YoutubeAPI requires a ClientConfig
as the third parameter. This was passed in all Youtube API methods except the
`#resolve_url` method.
3 years ago
Samantaz Fox 5b020e81ca
Youtube api improvements (#2277)
* Put youtube API functions under the YoutubeAPI namespace

* Implement the following endpoints:
  - `next`
  - `player`
  - `resolve_url`

* Allow a ClientConfig to be passed to YoutubeAPI endpoint handlers.

* Add constants for many new clients

* Fix documentation of YoutubeAPI.browse(): Comments and search
  result aren't returned by the browse() endpoint but by the next()
  and search() endpoints, respectively.

* Accept gzip compressed data, to help save on bandwidth

* Add debug/trace logging

* Other minor fixes
3 years ago
TheFrenchGhosty c76bd7b45b
Merge pull request #2288 from weblate/weblate-invidious-translations
Translations update from Weblate
3 years ago
황윤성 21b7ae3ac3
Update Korean translation 3 years ago
Lee Woong Jae e45da7161f
Update Korean translation 3 years ago
Allan Nordhøy 7a3c000955
Update Vietnamese translation 3 years ago
Allan Nordhøy f75c5db372
Update Lithuanian translation 3 years ago
Allan Nordhøy 7cd1d82d26
Update Danish translation 3 years ago
Allan Nordhøy 0085c3b0d8
Update Croatian translation 3 years ago
Allan Nordhøy 4251c6cb99
Update Indonesian translation 3 years ago
Allan Nordhøy ac973df8e7
Update Hungarian translation 3 years ago
Allan Nordhøy a76a955a1b
Update Portuguese (Portugal) translation 3 years ago
Allan Nordhøy c89b98a1e0
Update Portuguese (Brazil) translation 3 years ago
黒にゃんこ dda4596c0c
Update Japanese translation 3 years ago
Allan Nordhøy 4ac863203d
Update Japanese translation 3 years ago
Allan Nordhøy be5831d9bd
Update Turkish translation 3 years ago
Allan Nordhøy 1e2fa27af7
Update Chinese (Simplified) translation 3 years ago
Allan Nordhøy fcbaf2a978
Update Icelandic translation 3 years ago
Allan Nordhøy b5c172974e
Update Spanish translation 3 years ago
Allan Nordhøy 7bb70924c1
Update Basque translation 3 years ago
Allan Nordhøy a62fb6dcd1
Update French translation 3 years ago
Allan Nordhøy e9c06237f2
Update Norwegian Bokmål translation 3 years ago
Allan Nordhøy bdb1eca741
Update Polish translation 3 years ago
Allan Nordhøy 29000a5209
Update German translation 3 years ago
Allan Nordhøy 88f0867442
Update Russian translation 3 years ago
Allan Nordhøy 3de06174bf
Update English (United States) translation 3 years ago
Milo Ivir 5187894add
Update Croatian translation 3 years ago
Allan Nordhøy d58f7bb935
Update English (United States) translation 3 years ago
Samantaz Fox 84594b0e1e
Remove workaround for decompression of proxied files (#2286)
Was used by `proxy_file` before crystal 0.35.0.
Implemented in: f7dbf2bdd4
orphaned since: d30a972a90
3 years ago
syeopite 578bbcd181
Fix raw parameter for videos in listen mode (#2270) 3 years ago
TheFrenchGhosty 0cdf13742a
Merge pull request #2283 from weblate/weblate-invidious-translations
Translations update from Weblate
3 years ago
Lee Woong Jae b00d24579d
Update Korean translation 3 years ago
TheFrenchGhosty 5c76cdaad9
Merge pull request #2280 from weblate/weblate-invidious-translations
Translations update from Weblate
3 years ago
황윤성 5d994d179e
Update Korean translation 3 years ago
Lee Woong Jae 8930020776
Update Korean translation 3 years ago
TheFrenchGhosty 0637bf0dcb
Merge pull request #2274 from syeopite/svg-logo
Change Invidious logo in README to be a svg.
3 years ago
syeopite 2abec5b62f
Use colorized version of safari-pinned-tab.svg 3 years ago
Samantaz Fox bc937a6434
Add Korean (ko.json) to loaded locales
Required because of c83113d49b.
3 years ago
Samantaz Fox 3a84e3abcf
Remove locales consistency check
This is not required anymore, due to the new weblate config (from now
on, weblate adds strings as they are translated).
3 years ago
Samantaz Fox e4c223ca59
Merge pull request #2266 from weblate/weblate-invidious-translations
Translations update from Weblate
3 years ago
syeopite 31de2d304c
Change README logo to use vector image 3 years ago
황윤성 c83113d49b
Update Korean translation 3 years ago
Vinicius d95980b3ba
Update Portuguese (Brazil) translation 3 years ago
黒にゃんこ 08a88af965
Update Japanese translation 3 years ago
Rex_sa 4d4f61c922
Update Arabic translation 3 years ago
Nikita Epifanov 110b77f453
Update Russian translation 3 years ago
황윤성 ba0d205457
Add Korean translation 3 years ago
Samantaz Fox 1ee4cae802
Rework the README (#2135)
Major README.md cleaning

Additions:
* Add the invidious logo
* Add Quickstart section
* Add relevant links (instance list, documentation, contribute, donate) directly in the header

Badges:
* Add badges for open issues and PRs
* Add "Awesome Humane Tech" badge, as we're listed there
* Move CI passed/translated badges to the top
* Replace the "license feature" with a proper badge

Major section changes:
* Reword titles
* Rewrite features list
* Promote the screenshots sections. People like screenshots!
* Move "donate" to the end, there is a link at the top anyway
* Move section "made with invidious" after all the other invidious related sections + rename it to "Projects using Invidious"

Other fixes:
* Remove useless HTML in the screenshots table
* Remove extra columns in H2 titles
* Remove all useless lines between sections
* Use markdown for git commands + add the staging step
* Promote invidious redirect in "Extensions"
* Update preference screenshots
3 years ago