summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-08-21Add 'playlistThumbnail' to playlist objectsOmar Roth
2019-08-21Use accurate sub count when availableOmar Roth
2019-08-21Refactor search extractorOmar Roth
2019-08-19Fix allowed_regions for globally blocked videosOmar Roth
2019-08-18js: add support to detect alt, meta and control key in keydown handler (#704)leonklingele
This fixes a quite severe user experience issue where pressing the 'alt', 'meta' and/or 'ctrl' key along with one of the supported keys (e.g. 'f' to enter video fullscreen mode) would overwrite the default browser behavior. In the case of 'f+meta' we would enter fullscreen mode, and not open the browser search panel as one might expect. This change is required to stay consistent with the way YouTube handles keydown events.
2019-08-16Fix playlist_thumbnail extractorOmar Roth
2019-08-16js: add support for keydown events (#678)leonklingele
* 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-16Change font family to better native selection (#679)Dragnucs
2019-08-16Fix season playlistsOmar Roth
2019-08-15Add prefers-color-scheme support (#601)psvenk
* 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-14Merge pull request #694 from 2secslater/player-preferences-typo-fixOmar Roth
Fix annoying typo in Preferences view for the player view
2019-08-14Merge pull request #698 from leonklingele/docker-build-on-alpine-edgeOmar Roth
docker: use alpine:edge base image for building
2019-08-15docker: use alpine:edge base image for buildingLeon Klingele
This fixes currently failing Docker builds. kemalcr/kemal in version 0.26.0 requires Crystal 0.30.0 which is not yet available on Alpine 3.10 (previously used as the Docker base image).
2019-08-14Refactor geo-bypassOmar Roth
2019-08-14Merge pull request #696 from ↵Omar Roth
leonklingele/shard-update-dependencies-and-crystal-version shard: update dependencies and Crystal version
2019-08-14Merge pull request #695 from leonklingele/crystalfmtOmar Roth
Format Crystal files
2019-08-14Merge pull request #682 from leonklingele/ci-travis-test-docker-stagesOmar Roth
travis: also test Docker build
2019-08-14shard: update to crystal 0.30.1Leon Klingele
2019-08-14shard: update dependenciesLeon Klingele
This updates will/crystal-pg to 0.18.1 and kemalcr/kemal tp 0.26.0.
2019-08-14Format Crystal filesLeon Klingele
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-14Fix annoying typo in Preferences viewAndrew
2019-08-10travis: also test Docker buildLeon Klingele
2019-08-09Fix typo in ConfigPreferencesOmar Roth
2019-08-09Merge pull request #680 from leonklingele/add-player-stylesOmar Roth
Add support for player styles
2019-08-09Update videojs-http-source-selectorOmar Roth
2019-08-09Force redirect for videos without audioOmar Roth
2019-08-09Add support for player stylesLeon Klingele
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-07Add Postgres health checkDragnucs
2019-08-05Format history.ecrOmar Roth
2019-08-05Update icon for unlisted videosOmar Roth
2019-08-05Fix detection of unavailable videosOmar Roth
2019-08-04Merge pull request #671 from leonklingele/shard-upgrade-dependenciesOmar Roth
shard: update dependencies
2019-08-05shard: update dependenciesLeon Klingele
2019-08-04Fix detection of premium contentOmar Roth
2019-08-04Fix overflow for channel descriptionOmar Roth
2019-08-04Bump Crystal versionOmar Roth
2019-08-04Add Travis CI and pin dependencies (#655)leonklingele
2019-08-04Merge pull request #665 from leonklingele/improve-dockerfileOmar Roth
docker: various improvements to Dockerfile
2019-08-04docker: various improvements to DockerfileLeon Klingele
This includes the following changes: - Use multi-stage build to run application in an optimized environment, see https://docs.docker.com/develop/develop-images/multistage-build/ - Run application on alpine instead of archlinux to further reduce image size - Build Crystal application with --release for improved runtime performance - Run application as non-root user for better security, see https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user - Only rebuild Docker layers when required
2019-08-02Sort dash representations by framerateOmar Roth
2019-08-01Merge pull request #664 from ↵Omar Roth
leonklingele/css-fix-jumpy-page-on-search-field-focus Fix jumpy page on search field focus
2019-08-01Add fix for channels with empty descriptionsOmar Roth
2019-08-01Fix jumpy page on search field focusLeon Klingele
2019-07-31Add description to channel pagesOmar Roth
2019-07-31Fix image url extractorOmar Roth
2019-07-31Fix engagement for zero-view videos (#654)leonklingele
Division by zero resulted in 'NaN'. Fixes https://github.com/omarroth/invidious/issues/653.
2019-07-31Update German translationmondstern
2019-07-31Update Icelandic translationrecette-lemon
2019-07-31Update german translation (#650)Brn9hrd7
2019-07-31French translation updated - New words, consistency (#643)TheFrenchGhosty
* New words translated, more consistency