Commit Graph

28 Commits

Author SHA1 Message Date
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
Omar Roth 94638fe42c
Update translations 2019-07-18 21:52:25 -05:00
Omar Roth c47f1ae236
Add Reddit comment permalink 2019-07-01 12:37:28 -05:00
Omar Roth 0338fd42e1
Add support for Web notifications 2019-06-01 16:09:17 -05:00
Omar Roth fc346b4efd
Add 'View playlist on YouTube' 2019-05-27 14:54:50 -05:00
arkakuso c62b318b9e Update Basque translation 2019-05-02 21:38:28 +02:00
Omar Roth 56fe3ede5b Add annotation preferences 2019-04-30 23:39:04 -05:00
Omar Roth 64aecba7a0 Add option to change passwords 2019-04-22 10:18:17 -05:00
Allan Nordhøy aa10a9d899 Language fixes (#366)
* Language fixes
2019-04-19 11:14:11 -05:00
Omar Roth 486e47f985 Add missing text to locales 2019-04-19 10:28:12 -05:00
Omar Roth 2deb436ccd Update placeholder text in new locales 2019-04-15 10:45:00 -05:00
Omar Roth 677a465630 Fix file formatting for locales 2019-04-14 19:48:21 -05:00
Omar Roth 05513bcd1e Fix "placeholder=" text in locales 2019-04-14 19:17:56 -05:00
Omar Roth f5dd135ed8 Add 'view as playlist' option to trending page 2019-04-14 19:04:10 -05:00
Omar Roth b51fd7fc13 Add view count to video items 2019-04-14 17:43:44 -05:00
Omar Roth efe86c37b2 Show subscribe text when not logged in 2019-04-14 17:10:32 -05:00
Omar Roth 8d9569e06b Add 'unlisted' icon to watch page 2019-03-26 13:01:23 -05:00
Omar Roth e738e57e26 Add 'local' option to preferences 2019-03-12 21:05:49 -05:00
Omar Roth 21ebc398fa Add privacy policy 2019-03-12 20:58:25 -05:00
Omar Roth 8f41130a14 Update and add missing text to locales 2019-03-08 22:23:17 -06:00
Omar Roth 20660b92f8 Add missing text to locales 2019-03-01 19:57:28 -06:00
Omar Roth f31af18aa9 Merge weblate into master 2019-03-01 17:18:03 -06:00
Omar Roth a39b1583da Add administrator preferences 2019-03-01 16:06:45 -06:00
beriain 573404d3ac Update Basque translation 2019-03-01 17:45:23 +01:00
Omar Roth 6cea83991c Format and update locales 2019-02-16 17:56:49 -06:00
Omar Roth 87e1fa0a28 Add new text to locales 2019-02-02 19:07:09 -06:00
beriain aeee40c894 Update Basque translation 2019-01-31 22:07:16 +01:00
beriain a7fbcd0aa8 Add Basque translation 2019-01-31 22:07:16 +01:00