Commit Graph

814 Commits (f83274300919aaec0a13f1b7fc111ca5624ddba1)

Author SHA1 Message Date
Omar Roth eef66de68c
Merge pull request #743 from girst/rssparams
Forward query string parameters from Atom feeds
5 years ago
girst 4aa1180fce Forward parameters given in &params= from Atom feeds
Any parameters given in &params=... are appended to /watch URLs.  This
allows e.g. passing &raw=1&listen=1 to a playlist of music and use an
rss reader like newsboat as a media player, like so:

    https://invidio.us/feed/playlist/XXX?params=%26raw%3D1%listen%3D1

All three feeds--channels, playlists, subscriptions--are supported.
5 years ago
Omar Roth 4361ea9686
Update DB calls for 0.31.0 5 years ago
Omar Roth 8c2ddb0255
Add config options for host binding and port 5 years ago
Omar Roth 466a5a932b
Add support for Turkish translation 5 years ago
leonklingele 1aefc5b540 Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies (#764)
* shard: update to crystal 0.31.0

Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115.

Also fix some deprecation warnings using the following commands:

    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
    sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
5 years ago
Omar Roth 1085ca4a2d
Fix typo in Google login 5 years ago
Omar Roth a006963fb8
Update Google login 5 years ago
Omar Roth 68cf24d100
Add support for channel redirects 5 years ago
Omar Roth 512d82071e
Fix invalid viewCountText in related videos 5 years ago
Omar Roth 45ad212459
Handle redirects in /videoplayback 5 years ago
Omar Roth 26107bd6c3
Minor refactor 5 years ago
Omar Roth 059f50dad4
Add 'playlistThumbnail' to playlist objects 5 years ago
Omar Roth 9f9cc1ffb5
Refactor search extractor 5 years ago
Omar Roth 2b94975345
Fix playlist_thumbnail extractor 5 years ago
Omar Roth a19cdb5e72
Fix season playlists 5 years ago
psvenk f54fbd057e Add prefers-color-scheme support (#601)
* Add prefers-color-scheme support

This should fix <https://github.com/omarroth/invidious/issues/559>.
The cookie storage format has been changed from boolean
("true"/"false") to tri-state ("dark"/"light"/""), so that users
without a cookie set will get dark mode if they have enabled the dark
theme in their operating system. The code for handling the cookie
state, along with the user's operating system theme, has been factored
out into a new function `update_mode`, which is called both at window
load and at the "storage" event listener, because the "storage" event
listener is only trigerred when a change is made to the localStorage
from another tab/window (for more info - see
<https://stackoverflow.com/a/4679754>).
5 years ago
Omar Roth f6f176afc1
Merge pull request #680 from leonklingele/add-player-styles
Add support for player styles
5 years ago
Omar Roth 2d955dae48
Force redirect for videos without audio 5 years ago
Leon Klingele 46577fb128
Add support for player styles
This currently includes the following styles:

- Invidious, the default
- YouTube, using a centered play button and always visible video control bar

Implements https://github.com/omarroth/invidious/issues/670.
Supersedes https://github.com/omarroth/invidious/pull/661.
5 years ago
Omar Roth 5680d5a7be
Sort dash representations by framerate 5 years ago
Omar Roth dce5816b18
Fix image url extractor 5 years ago
leonklingele f99a7b2a8c Fix engagement for zero-view videos (#654)
Division by zero resulted in 'NaN'.

Fixes https://github.com/omarroth/invidious/issues/653.
5 years ago
Omar Roth ff5d79e3ee
Update video extractor 5 years ago
Omar Roth 4ee3ec09df
Autofill search for playlists and communities page 5 years ago
Omar Roth cfe9d47fa0
Add support for '/embed/?list' 5 years ago
Omar Roth 607d6125fc
Add support for '/embed/live_stream' 5 years ago
Omar Roth 6215259565
Add support for Google login verification 5 years ago
Omar Roth d97a272aa5
Fix check for 2-step verification 5 years ago
Omar Roth fea20ea913
Add support for Icelandic translation 5 years ago
Omar Roth b0dca2a363
Minor refactor 5 years ago
Omar Roth 1a7b341745
Update Google login 5 years ago
Omar Roth bb096a0357
Raise 400 on invalid request to '/feed/webhook' 5 years ago
Omar Roth aa3c1d930b
Remove empty representations from dash manifests 5 years ago
Omar Roth bcd239ac2b
Add community page 5 years ago
Omar Roth 2cc25b1e6e
Add administrator option to disable proxying 5 years ago
Omar Roth c34a24b633
Attempt to optimize query for subscription feed 5 years ago
Omar Roth 775612ec5a
Prevent embeds from appearing in watch history 5 years ago
Omar Roth 5a455ec4f7
Fix redirect for livestream segments 5 years ago
Omar Roth 1277c3d156
Fix chunk size for livestreams 5 years ago
Omar Roth 8033d1ca6d
Fix chunking for livestream segments 5 years ago
Omar Roth 28df6881a7
Try to prevent redirect for DASH streams 5 years ago
Omar Roth e5fa5df7be
Chunk video files to bypass throttling 5 years ago
Omar Roth 857c57daba
Add support for Chinese translation 5 years ago
Omar Roth 3dd4043827
Fix 404 for video thumbnails 5 years ago
Omar Roth 351ecfae0f
Fix body when proxying assets with status code > 300 5 years ago
Omar Roth fb383458d7
Add /api/v1/search/suggestions 5 years ago
Omar Roth 196ee1aa8b
Add '/api/v1/channels/comments' 5 years ago
Omar Roth 2df97cd2f5
Fix provided author for '/videos' endpoint 5 years ago
Omar Roth 041debcd93
Revert "Chunk videoplayback response to avoid throttling"
This reverts commit 818cd2454d.
5 years ago