Commit Graph

405 Commits

Author SHA1 Message Date
sh4dowb 79da61782b Fixed double quotes in meta description 2019-11-11 19:00:23 +03:00
Omar Roth 0f3c477ff3 Remove dependency on ImageMagick (replace with rsvg-convert) 2019-10-28 10:49:05 -04:00
Omar Roth 0cf187dee7 Add support for image captcha in Google login 2019-10-27 00:19:05 -04:00
Omar Roth c3e57f1fdd Fix typo in footer 2019-10-20 23:02:16 -04:00
Omar Roth a9af484412 Merge pull request #839 from TheFrenchGhosty/crypto
Add protocol to the cryptocurrencies
2019-10-20 22:39:24 -04:00
Omar Roth 7524b5e349 Move feed_menu and default_home into user preferences 2019-10-20 20:43:33 -04:00
TheFrenchGhosty 3cbdaab81e Add protocol to the cryptocurrencies 2019-10-19 20:23:27 +02:00
Omar Roth be055d9dcb Add support for custom playlists 2019-10-15 21:17:14 -04:00
Omar Roth 55f0a82249 Remove Patreon links 2019-10-12 10:07:18 -04:00
Omar Roth e390405d0c Update privacy policy 2019-09-24 20:47:49 -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
Omar Roth b1fc80b79a Update sub_count extractor 2019-09-12 21:09:23 -04:00
Omar Roth 50d793e49b Hide video count for auto-generated channels 2019-09-12 13:11:21 -04:00
Omar Roth 16056661dd Update recommended videos extractor 2019-08-27 08:00:04 -05:00
Omar Roth 4c9975a7d9 Use accurate sub count when available 2019-08-21 18:35:54 -05:00
leonklingele e6b4e12689 js: add support for keydown events (#678)
* js: add support for keydown events

This will modify the player behavior even if the player element is unfocused.

Based on the YouTube key bindings, allow to

- toggle playback with space and 'k' key
- increase and decrease player volume with up / down arrow key
- mute and unmute player with 'm' key
- jump forwards and backwards by 5 seconds with right / left arrow key
- jump forwards and backwards by 10 seconds with 'l' / 'j'  key
- set video progress with number keys 0–9
- toggle captions with 'c' key
- toggle fullscreen mode with 'f' key
- play next video with 'N' key
- increase and decrease playback speed with '>' / '<' key

* js: remove unused dependency 'videojs.hotkeys.min.js'

Support for controlling the player volume by scrolling over it is
still retained by copying over the relevant code part from the
aforementioned library.
2019-08-16 16:01:14 -05:00
Omar Roth a19cdb5e72 Fix season playlists 2019-08-16 15:46:59 -05: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 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