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 >).
2019-08-15 11:29:55 -05:00
Andrew
00346781bb
Fix annoying typo in Preferences view
2019-08-14 20:12:37 +00:00
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 .
2019-08-09 02:04:36 +02:00
Omar Roth
66b949bed1
Format history.ecr
2019-08-05 18:57:32 -05:00
Omar Roth
c9a05187fb
Update icon for unlisted videos
2019-08-05 18:57:32 -05:00
Omar Roth
4f120e19fd
Fix overflow for channel description
2019-08-04 09:46:26 -05:00
Omar Roth
f71d5c429d
Add description to channel pages
2019-07-31 19:29:16 -05:00
Omar Roth
ff5d79e3ee
Update video extractor
2019-07-29 19:41:45 -05:00
Omar Roth
4ee3ec09df
Autofill search for playlists and communities page
2019-07-27 08:51:10 -05:00
Omar Roth
6215259565
Add support for Google login verification
2019-07-22 13:28:36 -05:00
Omar Roth
e736626953
Fix continuation for last page of playlists
2019-07-20 11:38:20 -05:00
Omar Roth
94638fe42c
Update translations
2019-07-18 21:52:25 -05:00
Omar Roth
e8a56e0fea
Add '1.75' playback speed
2019-07-14 10:13:40 -05:00
Omar Roth
bcd239ac2b
Add community page
2019-07-09 09:31:04 -05:00
Omar Roth
2cc25b1e6e
Add administrator option to disable proxying
2019-07-08 12:15:18 -05:00
Omar Roth
1485ee8027
Fix channel thumbnail size in FireFox
2019-07-03 10:53:33 -05:00
Omar Roth
196ee1aa8b
Add '/api/v1/channels/comments'
2019-07-02 18:53:19 -05:00
Omar Roth
501b523680
Fit channel link to content
2019-07-01 14:26:27 -05:00
Omar Roth
48ad744ebf
Add support for default channel banners
2019-06-30 12:59:38 -05:00
Omar Roth
556d5b0ca5
Resize channel thumbnails
2019-06-30 12:39:51 -05:00
Omar Roth
a58f5a925a
Add banner to "/playlists" page
2019-06-28 21:00:28 -05:00
Omar Roth
0d0d3edeae
Add thumbnail and banners to channel page
2019-06-28 20:48:24 -05:00
Omar Roth
17edfd6573
Shorten timeout for AJAX
2019-06-16 12:55:17 -05:00
Omar Roth
458e9d6cc7
Update license for sse.js
2019-06-16 09:46:09 -05:00
Omar Roth
485459b8b2
Add clickable title for embedded videos
2019-06-16 09:41:33 -05:00
Omar Roth
fcf377d26b
Fix escaping for login page
2019-06-15 20:42:42 -05:00
Omar Roth
552f616305
Fix retry on timeout for AJAX requests
2019-06-15 10:09:32 -05:00
Omar Roth
d1635cf24e
Set max preference size
2019-06-08 16:04:55 -05:00
Omar Roth
b43e9ed7e7
Refactor 'description_html'
2019-06-08 15:08:27 -05:00
Omar Roth
12b2ab5da8
Add 'to_json' into respective structs
2019-06-08 13:31:41 -05:00
Omar Roth
9122f8acee
Add title overlay to embedded videos
2019-06-08 10:52:47 -05:00
Omar Roth
ef8c9f093c
Add premiere date to watch page
2019-06-08 10:18:45 -05:00
Omar Roth
2febc268f7
Fix warnings in Crystal 0.29
2019-06-07 21:13:50 -05:00
Omar Roth
8c944815bc
Minor refactor
2019-06-07 21:13:50 -05:00
Omar Roth
576067c1e5
Fix preference for web notifications
2019-06-01 18:06:44 -05:00
Omar Roth
0338fd42e1
Add support for Web notifications
2019-06-01 16:09:17 -05:00
Omar Roth
69ab236f3f
Fix typo in '/watch'
2019-05-30 19:00:38 -05:00
Omar Roth
64464f23ae
Add 'views' to channel_videos
2019-05-30 18:59:13 -05:00
Omar Roth
a7578aa709
Update videojs-vtt-thumbnails version
2019-05-27 20:55:34 -05:00
Omar Roth
fc346b4efd
Add 'View playlist on YouTube'
2019-05-27 14:54:50 -05:00
Omar Roth
f66fa1150e
Fix inconsistency in translation
2019-05-27 11:56:52 -05:00
Omar Roth
29e9e0f2cc
Provide empty response on 204
2019-05-27 08:35:38 -05:00
Omar Roth
7d2e1f63b5
Refactor watched_widget.js
2019-05-16 20:51:17 -05:00
Omar Roth
d93df15eff
Update licenses
2019-05-10 15:33:23 -05:00
Omar Roth
fd8af88493
Use separate asset version for cache busting
2019-05-09 22:58:34 -05:00
Omar Roth
bfa488f77d
Add option to toggle theme without reload
2019-05-09 11:50:44 -05:00
Omar Roth
4616f889fd
Add simple form of cache busting
2019-05-08 08:58:10 -05:00
Omar Roth
59cbf95c4f
Update licenses
2019-05-06 11:27:11 -05:00
Omar Roth
058711d3a8
Refactor player.js
2019-05-06 11:23:14 -05:00
Omar Roth
2ddc61fa5c
Refactor embed.js
2019-05-06 10:37:22 -05:00