Commit graph

57 commits

Author SHA1 Message Date
saltycrys
eea7ca9b72 Add DASH quality preference
The options are `auto` (the current and default behavior), `best` and `worst`.

The UI is only updated once playback starts.
2020-12-19 18:37:30 +01:00
saltycrys
72c4fd868a Fill empty preference values 2020-11-16 01:33:55 +01:00
Omar Roth
4d4b6a2fa0
Remove top page 2020-06-15 18:11:36 -05:00
leonklingele
70cbe91776
Migrate to a good Content Security Policy (#1023)
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
2020-03-15 16:46:08 -05:00
Omar Roth
7524b5e349
Move feed_menu and default_home into user preferences 2019-10-20 20:43:33 -04:00
Omar Roth
be055d9dcb
Add support for custom playlists 2019-10-15 21:17:14 -04:00
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
2019-09-24 13:31:33 -04:00
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
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
2cc25b1e6e
Add administrator option to disable proxying 2019-07-08 12:15:18 -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
ad8750b40d
Fix referer escaping 2019-05-03 12:15:21 -05:00
Omar Roth
1a9360ca75
Minor formatting changes 2019-05-01 20:03:39 -05: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
bb5a1ad513 Add 'continue_autoplay' preference 2019-04-19 09:38:27 -05:00
Omar Roth
2a6c81a89d Add authentication API 2019-04-18 16:23:50 -05:00
Omar Roth
1c8075ca40 Add 0.25 to list of playback rates 2019-03-23 11:14:15 -05:00
Omar Roth
405e98f429 Add 1.25 and 0.75 playback rates 2019-03-16 09:17:57 -05:00
Omar Roth
e738e57e26 Add 'local' option to preferences 2019-03-12 21:05:49 -05:00
Omar Roth
4be82c5ca6 Add /api/v1/stats 2019-03-01 19:25:16 -06:00
Omar Roth
a39b1583da Add administrator preferences 2019-03-01 16:06:45 -06:00
Omar Roth
ebcb21dbfe Allow user to save preferences without creating an account 2019-02-24 09:49:48 -06:00
Omar Roth
a7b6a67615 Use locale for "Only show latest" text 2019-01-21 11:54:44 -06:00
Omar Roth
a160c645c9 Add support for translations 2018-12-20 15:32:09 -06:00
Omar Roth
2dfb3e7814 Minor text changes 2018-11-26 14:28:15 -06:00
Omar Roth
c656a7cb9e Add link to watch history in preferences 2018-11-21 13:10:56 -06:00
Omar Roth
a15463cf37 Clarify options in preferences 2018-11-21 13:10:09 -06:00
Omar Roth
adcefa4ffa Add 'published - reverse' option to feed 2018-11-13 20:29:36 -06:00
Omar Roth
4b76b93610 Add continuous playback 2018-11-11 11:45:05 -06:00
Omar Roth
b9c29bf537 Add option for user to delete their account 2018-11-08 00:12:14 -06:00
Omar Roth
e39dec9778 Add option to listen by default 2018-10-30 09:41:23 -05:00
Omar Roth
b3ca3922a9 Add experimental dash support 2018-09-24 19:28:36 -05:00
Omar Roth
cb01b50fbb Add option to hide related videos 2018-08-30 16:49:38 -05:00
Omar Roth
6c98513153 Add referer to /data_control 2018-08-25 21:48:20 -05:00
Omar Roth
23aaf7f1b7 Add comments fallback 2018-08-25 18:33:15 -05:00
Omar Roth
9a15438c71 Minor formatting changes 2018-08-17 11:04:38 -05:00
Omar Roth
db2c10e3a0 Avoid creating temporary objects 2018-08-11 15:03:24 -05:00
Omar Roth
4d034bedce Fix typo 2018-08-06 19:45:33 -05:00
Omar Roth
ca7c376874 Add preferred captions 2018-08-06 13:23:36 -05:00
Omar Roth
f9b45dd7b8 General cleanup to user preferences 2018-08-05 19:59:45 -05:00
Omar Roth
b1b2713546 Add option to view only notifications 2018-07-31 10:44:07 -05:00
Omar Roth
b535a9d413 Add options to import and export user data 2018-07-30 12:57:26 -05:00
Omar Roth
b5c92c1a2f Add watch history 2018-07-29 09:00:32 -05:00
Omar Roth
0d23f25a8c Add option to redirect homepage to subscription feed 2018-07-28 22:31:02 -05:00