Commit graph

3450 commits

Author SHA1 Message Date
Omar Roth 9995a8d53f
Allow cookies from anti-captcha to be optional (#1371) 2020-09-09 23:04:08 +00:00
Omar Roth b88872d54b
Fix sub refresh (#1370) 2020-09-09 23:03:27 +00:00
tleydxdy f02ac01f7e
Add exponential backoff to refresh_channels
In practice with the patch I usually see backoff to 2 hours when blocked, so it should improve recovery time. The lim_thread is to work with multi-threading, not sure if it's the best way to do it.
2020-09-09 11:47:11 -04:00
TheFrenchGhosty 3ab3a5a236
Merge pull request #713 from leonklingele/keydown-mediakeys-detection
js: add support to detect media keys in keydown handler
2020-09-09 03:15:21 +00:00
Dennis Zhang fa3eb185ab
Remove space 2020-09-06 00:37:43 -07:00
Dennis Zhang 4a56ba34d4
Fix pg_is ready user 2020-09-06 00:37:05 -07:00
Dennis Zhang b860c69fd7 Add initContainer to check for postgres up 2020-09-05 19:51:58 -07:00
Dennis Zhang 8408ceffe8 also add initial delay 2020-09-05 17:12:21 -07:00
Dennis Zhang da9133c3c3 add service values 2020-09-05 13:46:51 -07:00
Ben Heller 4a6e920d0e
Use new youtube API to fetch channel videos (#1355)
* Use new API to fetch videos from channels

This mirrors the process used by subscriptions.gir.st. The old API is
tried first, and if it fails then the new one is used.

* Use the new API whenever getting videos from a channel

I created the get_channel_videos_response function because now instead
of just getting a single url, there are extra steps involved in getting
the API response for channel videos, and these steps don't need to be
repeated throughout the code.

The only remaining exception is the bypass_captcha function, which still
only makes a request to the old API. I don't know whether this code
needs to be updated to use the new API for captcha bypassing to work
correctly.

* Correctly determine video length with new api

* Remove unnecessary line
2020-09-02 20:28:57 +00:00
stranger195 13f58d602f
Replace omarroth with iv-org where applicable (#1353)
Fixes #1353
2020-08-25 16:07:16 +00:00
TheFrenchGhosty 45fda595c3
Merge pull request #1346 from resttime/fix-docker-init
Use bash in the docker init shebang
2020-08-21 12:52:15 +00:00
TheFrenchGhosty 1f15ea0bd8
Merge pull request #1197 from iv-org/comradekingu-patch-1
TRANSLATION file for l10n
2020-08-19 19:50:15 +00:00
TheFrenchGhosty 99eebfa10f
Merge pull request #1339 from stephane-r/made-with-invidious-holoplay
Adding HoloPlay application on Made with Invidious README
2020-08-19 19:47:40 +00:00
resttime ccbbe81141 Use bash in the shebang 2020-08-19 13:36:35 -05:00
Stéphane ad2da5969e Adding HoloPlay application on Made with Invidious README 2020-08-15 16:27:47 +02:00
Perflyst 2ce82f3da5
Merge pull request #1335 from szepeviktor/patch-1
Fix CI badge
2020-08-14 11:59:45 +02:00
Viktor Szépe 6bc9479e00
Update .travis.yml 2020-08-14 11:51:44 +02:00
Perflyst 740e52229f
Merge pull request #1336 from GauthierPLM/dependency-update
Update lsquic.cr dependency to use iv-org version
2020-08-14 11:22:22 +02:00
Gauthier POGAM--LE MONTAGNER 1efd2390e3 Update lsquic.cr dependency to use iv-org version 2020-08-14 11:18:04 +02:00
Viktor Szépe 564328abf9
Fix CI badge 2020-08-13 08:12:40 +02:00
Perflyst 926f819e31
Merge pull request #1218 from SuperSandro2000/patch-1
Add RAM requirement
2020-08-05 20:53:31 +02:00
Sandro 45f0b9ac45
Update README.md
Co-authored-by: Perflyst <mail@perflyst.de>
2020-08-05 20:16:53 +02:00
Perflyst 9a82e86ce9
Merge pull request #1254 from SuperSandro2000/patch-2
Update database automatically in Docker
2020-08-03 17:11:50 +02:00
Perflyst 0ad974c57b
Merge pull request #1211 from SuperSandro2000/improve-postgres
Improve postgres Dockerfile
2020-08-03 17:09:51 +02:00
Omar Roth 62f015fc34
Fix playlist export for playlists with more than 100 videos 2020-07-28 17:21:39 -04:00
Omar Roth b508787037
Fix spec 2020-07-26 15:29:03 -04:00
Omar Roth 176ef19cca
Update mixes link 2020-07-26 11:50:26 -04:00
Omar Roth db83ede73c
Add missing default for ConfigPreferences 2020-07-26 11:09:45 -04:00
Omar Roth 452d1e8307
Fix warnings with latest version of Crystal 2020-07-26 10:59:31 -04:00
Omar Roth 92f337c67e
Add playlist import/export 2020-07-26 10:59:31 -04:00
Omar Roth 1e4022680a
Fix playlists with one video 2020-07-26 10:59:31 -04:00
Sandro Jäckel e16d951da0
Create postgres user to avoid fatal warning 2020-07-25 21:51:58 +02:00
Sandro Jäckel 7b2b19b4ba
Remove empty Dockerfile 2020-07-25 21:51:58 +02:00
Sandro Jäckel 8ebfaed546
Remove no longer needed POSTGRES_HOST_AUTH_METHOD 2020-07-25 21:51:57 +02:00
Sandro Jäckel 0b52d52f4a
Use inbuilt init script 2020-07-25 21:51:57 +02:00
Sandro Jäckel 6901d10d54
Set magic ENV varialbes for user, default DB
instead of doing it ourselves
2020-07-25 21:51:39 +02:00
Allan Nordhøy 7caa2ae9bc
Merge pull request #1295 from jwilk-forks/readme
README: Fix and update URLs
2020-07-22 22:23:59 +02:00
Jakub Wilk cc50859912 README: update GitHub repo URLs
Follow the https://github.com/omarroth/invidious ->
https://github.com/iv-org/invidious redirect.
2020-07-22 19:12:39 +02:00
Jakub Wilk 6c16780144 README: fix changelog URL 2020-07-22 19:09:18 +02:00
Omar Roth b5f79444f9
Fix optional value in data extractor 2020-07-21 20:11:13 -04:00
Omar Roth b73c6e94c0
Bump docker dependencies 2020-07-19 22:26:41 -04:00
Omar Roth 07616a9d34
Bump lsquic version to v2.18.1 2020-07-19 11:56:28 -04:00
Allan Nordhøy e88ee26e3b
Requested README changes made 2020-07-13 13:22:01 +02:00
Allan Nordhøy 7422c38e66
README reworked 2020-07-13 10:34:22 +02:00
Omar Roth 8ed1c77e47
Skip DASH streams segmented by URL 2020-07-04 14:17:46 -04:00
Omar Roth 8c65b8c16f
Update playlists to support polymer redesign 2020-06-24 22:19:36 -04:00
Omar Roth 1f435522b4
Fix cast from nil in short_description 2020-06-17 19:22:28 -04:00
Sandro eb880e8de0
Update database automatically in Docker
Applying the migrations scripts by hand in Docker is not that easy and most people expect this to automatically happen.
2020-06-17 09:59:21 +02:00
Omar Roth 83b1d80a5b
Fix signature URL regex 2020-06-16 19:21:29 -05:00