Commit graph

5459 commits

Author SHA1 Message Date
5cb4173177
support pubsub notifications without making a request to innertube
All checks were successful
Invidious CI / build (push) Successful in 5m8s
Closes Fijxu/invidious#56
2024-12-18 22:00:12 -03:00
336b590ea2
proxify HLS by its host header
All checks were successful
Invidious CI / build (push) Successful in 5m0s
2024-12-15 18:52:04 -03:00
b1278a4853
add support for an external videoplayback proxy loaded from invidious-companion
All checks were successful
Invidious CI / build (push) Successful in 5m8s
2024-12-15 14:20:45 -03:00
caa4d2f79c
Merge remote-tracking branch 'companion/invidious-companion'
All checks were successful
Invidious CI / build (push) Successful in 5m3s
2024-12-15 14:09:02 -03:00
1a129468e9
adapt actions to git.nadeko.net 2024-12-15 14:08:04 -03:00
83256b2af1
support for numbered backends 2024-12-14 19:12:00 -03:00
31219ce196
external proxies: Add more information about the job 2024-12-14 17:18:23 -03:00
a01c8c63d3
tokens: rename Tokens to SessionTokens 2024-12-14 17:17:27 -03:00
58c4d8c951
tokens: use http instead of redis to get the tokens
It should be compatible with github.com/iv-org/youtube-trusted-session-generator
2024-12-14 17:15:17 -03:00
91bcec72c8
use docker registry mirror to prevent rate limits 2024-12-14 17:04:56 -03:00
a63300e284
remove unused config properties 2024-12-14 15:06:34 -03:00
Emilien
1de2054618 add ability for invidious companion to check request from invidious 2024-12-13 20:41:00 +01:00
Emilien
ab72bbad7a fix ameba Redundant use of Object#to_s in interpolation 2024-12-08 22:24:57 +01:00
Emilien
a571eeaa38 format watch.cr 2024-12-08 22:22:08 +01:00
Emilien
f710dd37bf apply all the suggestions + rework invidious_companion parameter 2024-12-08 22:21:10 +01:00
79859100a8
dockerfile: use x86-64-v2 instead to support more CPUs
I used x86-64-v3 because my CPU supports it, but I doubt this is going
to make Invidious any faster of most of the operations.
2024-11-26 19:31:48 -03:00
Emilien
7a070fa710 invidious companion always used so always add CSP and redirect latest_version 2024-11-18 12:30:37 +01:00
Emilien
1f51edd0b9 fix linting 2024-11-18 12:22:40 +01:00
Emilien
734e72503f fix download function when invidious companion used 2024-11-17 19:18:29 +01:00
Emilien
bb2e3b2a3e crystal handle decompression already by itself 2024-11-17 12:26:35 +01:00
Emilien
b51770dbdb fix linting + use .empty? 2024-11-16 23:00:48 +01:00
Emilien
9f846127ae fixing "end" misplacement 2024-11-16 22:38:00 +01:00
Emilien
1aa154b978 separate invidious_companion logic + better config.yaml config 2024-11-16 22:36:33 +01:00
Emilien
ff3305d521 move config checks for invidious companion 2024-11-16 22:36:33 +01:00
Émilien (perso)
409df4cff3 modify the description for config.example.yaml about invidious companion 2024-11-16 22:36:33 +01:00
Émilien (perso)
27b24f51ab Remove debug puts functions
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2024-11-16 22:36:33 +01:00
Émilien (perso)
1c9f5b0a2b Use sample instead of Random.rand
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2024-11-16 22:36:33 +01:00
Emilien
2cc204a045 throw error if inv_sig_helper and invidious_companion used same time 2024-11-16 22:36:33 +01:00
Emilien Devos
c612423a4d fixing condition for Content-Security-Policy 2024-11-16 22:36:33 +01:00
Emilien Devos
1954463371 fix Shadowing outer local variable response 2024-11-16 22:36:33 +01:00
Emilien Devos
73c84baf9f redirect latest_version and dash manifest to invidious companion 2024-11-16 22:36:33 +01:00
Emilien Devos
3dff7a76cf add support for invidious companion 2024-11-16 22:36:33 +01:00
47ef5dfe4c
Overwirte CONFIG.po_token and CONFIG.visitor_data by the tokens stored
on redis

This approach is better to prevent conflicts with the upstream
repository.
2024-11-16 12:27:10 -03:00
13e00e674b
Remove server side generated tokens (448007e5ba) 2024-11-16 12:10:51 -03:00
3615bbd893
Remove user supplied po_token and visitor_data 2024-11-16 12:07:05 -03:00
9b9efc6841
Merge remote-tracking branch 'upstream/master' 2024-11-13 21:14:26 -03:00
Samantaz Fox
9892604758
Prepare for next release 2024-11-10 21:40:32 +01:00
Samantaz Fox
5d2dd40bc3
Release v2.20241110.0 2024-11-10 21:35:03 +01:00
Samantaz Fox
699d53ad41
Update shard.yml metadata (#5066)
Changes are mostly based off of the Crystal compiler's own shard.yml

Remember to bump the version attribute when creating a release!!!
2024-11-10 21:03:13 +01:00
Samantaz Fox
2150264d84
Update CHANGELOG.md 2024-11-10 18:00:26 +01:00
Samantaz Fox
d42561d74a
API: Add "sort_by" parameter to channels/shorts endpoint (#5071)
Small follow up to PR 5059

No related issue
2024-11-10 17:50:00 +01:00
Samantaz Fox
7092bb8855
Docker: Install tzdata in Dockerfile (#5070)
Should close 5067
2024-11-10 17:48:18 +01:00
Samantaz Fox
d7c35e6e3d
Videos: Stop using TVHTML5_SIMPLY_EMBEDDED_PLAYER (#5063)
The age restriction bypass does not work anymore with this client.
See: https://github.com/iv-org/invidious/issues/2189#issuecomment-2437740627

Related to 2189
2024-11-10 17:45:58 +01:00
Samantaz Fox
bc86fb8a82
Routing: Deprecate old channel API routes (#5045)
Deprecate the following routes:

* /api/v1/channels/videos/:ucid
* /api/v1/channels/latest/:ucid
* /api/v1/channels/playlists/:ucid
* /api/v1/channels/community/:ucid
* /api/v1/channels/search/:ucid

in favor of:

* /api/v1/channels/:ucid/videos
* /api/v1/channels/:ucid/latest
* /api/v1/channels/:ucid/playlists
* /api/v1/channels/:ucid/community
* /api/v1/channels/:ucid/search

No related issue
2024-11-10 17:44:45 +01:00
Samantaz Fox
ec82c2f539
Videos: use WEB client instead of WEB CREATOR (#4984)
Use the WEB client when a potoken is configured, otherwise try with Android
test suite if there is no potoken configured.

This PR reverts some of the changes made in 4928

Related to 4734
2024-11-10 17:41:54 +01:00
Samantaz Fox
4b363e32fa
Parsers: Fix parsing live_now and premiere_timestamp (#4934)
This pull request fixes the parsing for the 'live_now' and 'premiere_timestamp'
variables so that they work without the 'microformat' data being present.

Related to 4929
2024-11-10 17:36:49 +01:00
036ab6ef65
Docker: Install tzdata in Dockerfile 2024-11-10 00:02:33 -03:00
c27a703544
Merge remote-tracking branch 'upstream/master' 2024-11-09 23:42:52 -03:00
5a75ef7f94
Remove old code that is done on the Openresty side 2024-11-09 23:37:58 -03:00
91c9cd45a4
Update CI 2024-11-09 23:37:58 -03:00