Omar Roth
a017574f74
Add support for force_resolve to QUIC client
2019-11-28 08:19:28 -06:00
Omar Roth
0e3a48ff76
Update QUICPool
2019-11-24 13:41:47 -05:00
Omar Roth
d46b26e3bc
Use QUIC for connections to YouTube
2019-11-18 17:28:32 -05:00
Omar Roth
142d974641
Use force_resolve for search suggestions
2019-11-07 12:25:34 -05:00
Omar Roth
833a60f29c
Update pubsub to use client pool
2019-11-01 07:34:36 -04:00
Omar Roth
13e7cca1a4
Bump read timeout
2019-10-28 12:34:50 -04:00
Omar Roth
bdeb325bad
Fix monkeypatch for HTTP::Client
2019-10-26 11:51:23 -04:00
Omar Roth
a1225b6d0d
Sanitize input to decode_length_seconds
2019-10-26 10:17:25 -04:00
Omar Roth
202de1436d
Fix broken connections in pool
2019-10-25 23:06:08 -04:00
Omar Roth
7f8746fcd4
Remove invalid connections from pool
2019-10-25 22:40:53 -04:00
Omar Roth
e05a25d701
Vary user-agent
2019-10-25 18:02:33 -04:00
Omar Roth
6930570fa2
Add HTTPClient pool
2019-10-25 12:58:16 -04:00
Omar Roth
2a4b252a9d
Only force resolve for www.youtube.com
2019-10-18 12:41:03 -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
7b53b6bfef
Shrink continuation cursor for YouTube comments
2019-09-04 15:47:27 -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
Omar Roth
f18d8229c0
Refactor continuation protocol buffers
2019-07-20 20:18:08 -05:00
Omar Roth
1b74a04efd
Add 'force_resolve' to fix issues with rate limiting
2019-07-18 18:51:10 -05:00
Omar Roth
e5fa5df7be
Chunk video files to bypass throttling
2019-07-04 23:29:28 -05:00
Omar Roth
041debcd93
Revert "Chunk videoplayback response to avoid throttling"
...
This reverts commit 818cd2454d
.
2019-07-01 10:45:09 -05:00
Omar Roth
e30d70b6d4
Refactor proxy_list into global
2019-06-28 21:17:56 -05:00
Omar Roth
818cd2454d
Chunk videoplayback response to avoid throttling
2019-06-26 14:43:33 -05:00
Omar Roth
801dffd571
Fix RSS content-type
2019-06-07 21:39:32 -05:00
Omar Roth
2febc268f7
Fix warnings in Crystal 0.29
2019-06-07 21:13:50 -05:00
Omar Roth
8c944815bc
Minor refactor
2019-06-07 21:13:50 -05:00
Omar Roth
352e409a6e
Fix toggle_theme when visiting preferences with JS disabled
2019-06-04 20:13:58 -05:00
Omar Roth
bdfe170c3b
Fix length seconds for videos with longer duration
2019-05-11 10:59:47 -05:00
Omar Roth
b6fff53b21
Refactor HTTP::Client calls into make_client
2019-04-17 09:06:31 -05:00
Omar Roth
b51fd7fc13
Add view count to video items
2019-04-14 17:43:44 -05:00
Omar Roth
99aa214859
Add 'thumbnail_id' to playlists
2019-03-17 12:21:47 -05:00
Omar Roth
bc1e62ce51
Add 'external_port'
2019-03-08 11:37:52 -06:00
Omar Roth
1435516a9c
Add port number to host URL
2019-03-05 12:56:59 -06:00
Omar Roth
17cf0772fb
Set domain to be nil by default
2019-03-03 12:02:15 -06:00
Omar Roth
9a1f4de323
Convert intervals to integers
2019-02-20 09:37:33 -06:00
Omar Roth
83493237a5
Add support for translating time intervals
2019-02-20 08:49:54 -06:00
Omar Roth
7a9ef0d664
Add produce_channel_playlists_url
2019-02-09 10:15:14 -06:00
Omar Roth
276662a147
Use IO::Memory for creating continuation tokens
2019-02-04 15:17:10 -06:00
Omar Roth
20c4d213d9
Use config.domain in place of hardcoded value
2019-01-19 09:10:52 -06:00
Omar Roth
2be43c17ab
Sample proxies to avoid overloading single proxy
2018-11-20 11:18:48 -06:00
Omar Roth
16964ca6ce
Add 'region' parameter for bypassing region locks
2018-11-17 17:33:30 -06:00
Omar Roth
4875aa1d7e
Add partial support for video duration in thumbnails
2018-10-20 20:37:55 -05:00
Omar Roth
5c87cf1547
Update subscribe buttons
2018-10-19 11:14:26 -05:00
Omar Roth
35e63fa3f5
Use materialized views for subscription feeds
2018-10-09 08:40:29 -05:00
Omar Roth
4f91854bd3
Fix typo
2018-09-05 21:10:32 -05:00
Omar Roth
29a21860ae
Strip leading slashes from referers
2018-09-05 21:07:19 -05:00
Omar Roth
25c3ee034e
Minor refactor
2018-09-04 08:52:30 -05:00
Omar Roth
4760b3c6e7
Merge pull request #116 from omarroth/add-playlists
...
Add playlist page and endpoint
2018-08-17 11:01:36 -05:00
Omar Roth
3ba2a7d921
Fix referers
2018-08-17 10:19:20 -05:00
Omar Roth
bb0b60e575
Add playlist page and endpoint
2018-08-16 14:26:16 -05:00