Commit Graph

2060 Commits

Author SHA1 Message Date
Oguz Ersen
546ad52e11 Add Turkish translation 2019-09-24 19:31:37 +02: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
1085ca4a2d
Fix typo in Google login 2019-09-22 09:54:54 -04:00
Omar Roth
9766322e99
Update videojs-quality-selector 2019-09-21 22:22:20 -04:00
Omar Roth
cfb68e3bff
Add additional handling for unplayable videos 2019-09-21 20:06:08 -04:00
Omar Roth
a006963fb8
Update Google login 2019-09-21 20:06:08 -04:00
Omar Roth
24c95c27c3
Merge pull request #752 from gnomus/master
[Fix][Docker] Update Package Repository for Install
2019-09-14 10:05:35 -04:00
gnomus
3c40c0be6b Update Package Repository for Install 2019-09-13 15:06:44 +02: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
34c43b8349
Add support for abbreviated sub count in search 2019-09-12 13:06:27 -04:00
Omar Roth
7002a316fd
Filter movies from recommended videos 2019-09-12 13:06:10 -04:00
Omar Roth
1f37faad42
Fix plurilzation regex 2019-09-09 18:09:21 -04:00
Omar Roth
68cf24d100
Add support for channel redirects 2019-09-08 12:08:59 -04:00
Omar Roth
86491da253
Fix map for recommended videos 2019-09-07 21:56:33 -04:00
Omar Roth
90249cdafa
Fix extractor for short_view_count_text 2019-09-07 20:09:08 -04:00
Omar Roth
7c75111c41
Refactor error handling for API endpoints 2019-09-05 14:12:14 -04:00
Omar Roth
7b53b6bfef
Shrink continuation cursor for YouTube comments 2019-09-04 15:47:27 -04:00
Jorge Maldonado Ventura
fded5fd900
Update Spanish translation 2019-09-03 21:10:49 -04:00
Swann Martinet
950965bd4a
Update French translation 2019-09-03 21:10:49 -04:00
Swann Martinet
3a359319fa
Update German translation 2019-09-03 21:10:49 -04:00
Allan Nordhøy
d3dd82c699
Update Norwegian Bokmål translation 2019-09-03 21:10:49 -04:00
Jorge Maldonado Ventura
81f192bccb
Update Esperanto translation 2019-09-03 21:10:49 -04:00
ButterflyOfFire
60a23febed
Update Arabic translation 2019-09-03 21:10:48 -04:00
Esmail EL BoB
d0e280cbac Update ar.json (#728)
* Update ar.json
2019-09-03 21:04:04 -04:00
unbranched
ecb62c8659 Italian translation update (#724)
* Italian translation update
2019-09-03 21:02:53 -04:00
Omar Roth
12669df92b
Merge pull request #729 from Infinisil/migrate
Provide db user in migrate-db-3646395.sh
2019-09-01 17:30:22 -04:00
Omar Roth
44b2afeffa
Merge pull request #675 from Dragnucs/patch-1
Add Postgres health check
2019-09-01 09:53:04 -04:00
Omar Roth
70f435e909
Fix nillable for recommendedVideos 2019-08-31 16:24:13 -04:00
Omar Roth
512d82071e
Fix invalid viewCountText in related videos 2019-08-31 15:58:38 -04:00
Omar Roth
3896230199
Fix type cast for viewCount 2019-08-31 01:11:45 -04:00
tleydxdy
b902880a05 fix docker build (#734) 2019-08-31 01:11:25 -04:00
Silvan Mosberger
418526af16
Provide db user in migrate-db-3646395.sh 2019-08-29 02:25:15 +02:00
Omar Roth
45ad212459
Handle redirects in /videoplayback 2019-08-27 09:53:44 -05:00
Omar Roth
0f49d424d3
Refactor search params 2019-08-27 09:35:15 -05:00
Omar Roth
01e42c8d6f
Flatten viewCountText 2019-08-27 08:52:22 -05:00
Omar Roth
26107bd6c3
Minor refactor 2019-08-27 08:08:26 -05:00
Omar Roth
7d3ecd2297
Bump JS/CSS dependencies 2019-08-27 08:01:33 -05:00
Omar Roth
16056661dd
Update recommended videos extractor 2019-08-27 08:00:04 -05:00
Omar Roth
059f50dad4
Add 'playlistThumbnail' to playlist objects 2019-08-21 19:08:11 -05:00
Omar Roth
4c9975a7d9
Use accurate sub count when available 2019-08-21 18:35:54 -05:00
Omar Roth
9f9cc1ffb5
Refactor search extractor 2019-08-21 18:23:20 -05:00
Omar Roth
e768e1e277
Fix allowed_regions for globally blocked videos 2019-08-19 10:16:11 -05:00
leonklingele
acaf7b969a js: add support to detect alt, meta and control key in keydown handler (#704)
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-18 23:22:39 -05:00
Omar Roth
2b94975345
Fix playlist_thumbnail extractor 2019-08-16 20:06:21 -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
Dragnucs
7eaac995bd Change font family to better native selection (#679) 2019-08-16 15:59:05 -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
Omar Roth
19eceb4ecc
Merge pull request #694 from 2secslater/player-preferences-typo-fix
Fix annoying typo in Preferences view for the player view
2019-08-14 19:17:29 -05:00