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 >).
2019-08-15 11:29:55 -05:00
19eceb4ecc
Merge pull request #694 from 2secslater/player-preferences-typo-fix
...
Fix annoying typo in Preferences view for the player view
2019-08-14 19:17:29 -05:00
900d8790b3
Refactor geo-bypass
2019-08-14 18:09:07 -05:00
2a9a348164
Format Crystal files
...
Crystal 0.30.1 apparently introduced some breaking changes to their
code formatter which made CI fail.
The code was automatically formatted by running
crystal tool format
2019-08-14 23:31:07 +02:00
00346781bb
Fix annoying typo in Preferences view
2019-08-14 20:12:37 +00:00
b63f469110
Fix typo in ConfigPreferences
2019-08-09 14:09:24 -05:00
f6f176afc1
Merge pull request #680 from leonklingele/add-player-styles
...
Add support for player styles
2019-08-09 13:49:51 -05:00
2d955dae48
Force redirect for videos without audio
2019-08-09 10:36:22 -05:00
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 .
2019-08-09 02:04:36 +02:00
66b949bed1
Format history.ecr
2019-08-05 18:57:32 -05:00
c9a05187fb
Update icon for unlisted videos
2019-08-05 18:57:32 -05:00
cc956583fb
Fix detection of unavailable videos
2019-08-05 18:57:32 -05:00
7a33831d14
Fix detection of premium content
2019-08-04 20:57:34 -05:00
4f120e19fd
Fix overflow for channel description
2019-08-04 09:46:26 -05:00
5680d5a7be
Sort dash representations by framerate
2019-08-02 15:24:38 -05:00
c41beae99a
Add fix for channels with empty descriptions
2019-08-01 07:49:33 -05:00
f71d5c429d
Add description to channel pages
2019-07-31 19:29:16 -05:00
dce5816b18
Fix image url extractor
2019-07-31 19:16:09 -05:00
f99a7b2a8c
Fix engagement for zero-view videos ( #654 )
...
Division by zero resulted in 'NaN'.
Fixes https://github.com/omarroth/invidious/issues/653 .
2019-07-31 09:48:45 -05:00
f643175156
Fix typo in video extractor
2019-07-30 10:12:41 -05:00
0321dda1d7
Fix handling for video content warnings
2019-07-29 20:39:12 -05:00
ff5d79e3ee
Update video extractor
2019-07-29 19:41:45 -05:00
4ee3ec09df
Autofill search for playlists and communities page
2019-07-27 08:51:10 -05:00
cfe9d47fa0
Add support for '/embed/?list'
2019-07-25 10:36:35 -05:00
607d6125fc
Add support for '/embed/live_stream'
2019-07-24 19:18:26 -05:00
6215259565
Add support for Google login verification
2019-07-22 13:28:36 -05:00
f18d8229c0
Refactor continuation protocol buffers
2019-07-20 20:18:08 -05:00
e736626953
Fix continuation for last page of playlists
2019-07-20 11:38:20 -05:00
94638fe42c
Update translations
2019-07-18 21:52:25 -05:00
d97a272aa5
Fix check for 2-step verification
2019-07-18 21:52:24 -05:00
1b74a04efd
Add 'force_resolve' to fix issues with rate limiting
2019-07-18 18:51:10 -05:00
290c7e6009
Disable autoplay in community tabs
2019-07-14 10:13:40 -05:00
e8a56e0fea
Add '1.75' playback speed
2019-07-14 10:13:40 -05:00
fea20ea913
Add support for Icelandic translation
2019-07-12 21:07:40 -05:00
b0dca2a363
Minor refactor
2019-07-12 21:00:50 -05:00
1a7b341745
Update Google login
2019-07-12 12:04:39 -05:00
af592ea8c1
Fix extraction for ytInitialData
2019-07-11 07:27:54 -05:00
bb096a0357
Raise 400 on invalid request to '/feed/webhook'
2019-07-10 11:26:05 -05:00
3c226892c6
Add fix for empty title tag when fetching videos
2019-07-10 10:44:44 -05:00
47f6fe069a
Add fix for unsupported attachment types
2019-07-09 23:09:16 -05:00
aa3c1d930b
Remove empty representations from dash manifests
2019-07-09 10:08:27 -05:00
99b0b4f5b8
Fix escaping for materialized view SQL
2019-07-09 09:34:19 -05:00
bcd239ac2b
Add community page
2019-07-09 09:31:04 -05:00
2cc25b1e6e
Add administrator option to disable proxying
2019-07-08 12:15:18 -05:00
5fd3ed782f
Add fix for #600
2019-07-08 10:00:08 -05:00
c34a24b633
Attempt to optimize query for subscription feed
2019-07-07 14:00:42 -05:00
775612ec5a
Prevent embeds from appearing in watch history
2019-07-05 16:55:28 -05:00
fd43b16213
Add av01 formats to itag list
2019-07-05 13:43:44 -05:00
5a455ec4f7
Fix redirect for livestream segments
2019-07-05 12:08:39 -05:00
1277c3d156
Fix chunk size for livestreams
2019-07-05 11:35:04 -05:00