Emilien
233f952157
fix linting + use .empty?
2025-03-02 10:35:46 +01:00
Emilien
02c904cc3e
fixing "end" misplacement
2025-03-02 10:35:46 +01:00
Emilien
39e5370d35
separate invidious_companion logic + better config.yaml config
2025-03-02 10:35:46 +01:00
Emilien
401cba0f2f
move config checks for invidious companion
2025-03-02 10:35:46 +01:00
Émilien (perso)
c262d7072f
modify the description for config.example.yaml about invidious companion
2025-03-02 10:35:46 +01:00
Émilien (perso)
84bd6a831d
Remove debug puts functions
...
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2025-03-02 10:35:46 +01:00
Émilien (perso)
c95dc9a55b
Use sample instead of Random.rand
...
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2025-03-02 10:35:46 +01:00
Emilien
02c5def908
throw error if inv_sig_helper and invidious_companion used same time
2025-03-02 10:35:46 +01:00
Emilien Devos
c29c878b05
fixing condition for Content-Security-Policy
2025-03-02 10:35:46 +01:00
Emilien Devos
8dbe1f6f33
fix Shadowing outer local variable response
2025-03-02 10:35:46 +01:00
Emilien Devos
3629bdfd46
redirect latest_version and dash manifest to invidious companion
2025-03-02 10:35:46 +01:00
Emilien Devos
bae4e4487f
add support for invidious companion
2025-03-02 10:35:46 +01:00
syeopite
adcdb8cb92
Fix lint and formatting
2025-02-26 14:18:50 -08:00
syeopite
fe4fa0480a
Fix HLS being used for non-livestream videos ( #5189 )
...
Invidious does not currently support non-livestream hls playback
Originally, the HLS manifest check was essentially a boolean:
if the HLS manifest field was present, it was assumed to be a
livestream. Some videos include the HLS Manifest but aren't
livestreams.
In the case where they are livestreams, the video contains a videoType
field with the value "Livestream". In the case that they're normal
videos, the videoType is "Video". This is exposed via the
`video.live_now` property.
This commit just checks that `video.live_now` is true before treating
it as a livestream
2025-02-26 14:14:29 -08:00
syeopite
dbbcacc955
Images: fix typo in thumbnail logic
2025-02-26 14:13:58 -08:00
syeopite
58ad848d56
Channels: Support YouTube's change to from /community to /posts ( #5183 )
2025-02-26 14:13:22 -08:00
syeopite
f9b9e85ee4
Docker: Use Crystal compiler cache in docker builds ( #5163 )
...
Adding the compiler cache reduces the build times on repeated
builds significantly
2025-02-26 14:11:12 -08:00
syeopite
6ac74f4362
Videos: Fix empty response when rv published field is nonexistent ( #5162 )
...
Fixes #5161 by checking recommended videos published field for presence
before attempting to parse it in api
2025-02-26 14:09:28 -08:00
syeopite
9fbe3944b0
Channels: Add Courses to channel page and channel API ( #5158 )
...
Closes #5144
2025-02-26 14:08:44 -08:00
syeopite
c5e9447f41
Pick a different instance upon redirect ( #5154 )
...
The automatic instance redirection has the potential to pick
the same instance the user is currently on. This is especially
prevalent when the instance list is limited in number like how it is
today.
This PR checks the domain of the instance and ensures that it is not
the same as the current instane before redirecting the user to it.
Otherwise, it just sends the user to rediret.invidious.io
2025-02-26 14:05:21 -08:00
syeopite
3e329410d1
Add the ability to listen on UNIX sockets ( #5112 )
2025-02-26 14:04:29 -08:00
syeopite
74dfda150e
i18n: Enable Tamil
2025-02-26 14:02:57 -08:00
syeopite
e60f53154e
Translations update from Hosted Weblate ( #4989 )
2025-02-26 13:57:04 -08:00
syeopite
3d77635a5c
Add API endpoint for fetching transcripts from YouTube ( #4788 )
2025-02-26 13:56:39 -08:00
syeopite
d0433c8386
JS: Update timeupdate event defensive to prevent errors ( #4782 )
2025-02-26 13:56:13 -08:00
syeopite
4ea4878d1a
User: Batch notifications together
2025-02-26 13:55:25 -08:00
syeopite
1f0a89fb5f
RSS: Channel + Playlist improvements ( #4298 )
2025-02-26 13:55:01 -08:00
syeopite
f95f87e448
Frontend: Add a first page and previous page buttons for channel navigation ( #4123 )
2025-02-26 13:54:25 -08:00
Alex Maras
49afbf2a14
Fix an issue with the HLS manifest check for livestream videos
...
Originally, the HLS manifest check was essentially a boolean: if the HLS
manifest field was present, it was assumed to be a livestream. Some
videos include the HLS Manifest but aren't livestreams.
In the case where they are livestreams, the video contains a videoType
field with the value "Livestream". In the case that they're normal
videos, the videoType is "Video". This is exposed via the video.live_now
method.
This commit just checks that video.live_now is true before treating it
as a livestream
2025-02-21 16:30:39 +08:00
syeopite
d853b9f6dc
Typo
...
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2025-02-18 14:46:18 -08:00
Fijxu
d70681538a
Channels: Fix community tab
2025-02-18 19:20:55 -03:00
syeopite
e2df12b7d6
Use Crystal compiler cache in docker builds
2025-01-28 23:31:01 -08:00
Drikanis
29219c46a1
fix 5161 by checking recommended videos published field for presence instead of just not nil
2025-01-28 19:40:15 -07:00
epicsam123
a77f083a0a
remove ! on reject
2025-01-26 16:42:59 -05:00
ChunkyProgrammer
eaf47385c5
Add Courses to channel page and channel API
2025-01-25 14:43:39 -05:00
Hosted Weblate
1fb8d3f583
Add Toki Pona translation
...
Co-authored-by: Dave Brunker <dbrunker@flashmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2025-01-25 14:02:51 +01:00
Hosted Weblate
26b15d6e35
Update Norwegian Bokmål translation
...
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
2025-01-25 14:02:51 +01:00
Hosted Weblate
786e3e0550
Update Serbian (Cyrillic script) translation
...
Update Serbian (Cyrillic script) translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: NEXI <nexiphotographer@gmail.com>
2025-01-25 14:02:51 +01:00
Hosted Weblate
104553fdc4
Update Chinese (Simplified Han script) translation
...
Update Chinese (Simplified Han script) translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
2025-01-25 14:02:50 +01:00
Hosted Weblate
ae670d5b2d
Update Chinese (Traditional Han script) translation
...
Update Chinese (Traditional Han script) translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
2025-01-25 14:02:50 +01:00
Hosted Weblate
b2c14f1a2a
Update Slovenian translation
...
Co-authored-by: Damjan Gerl <damjan@damjan.net>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2025-01-25 14:02:49 +01:00
Hosted Weblate
b899bc959e
Update Korean translation
...
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: xrfmkrh <rF3nMd7sRKezjF2vcEQo@protonmail.com>
2025-01-25 14:02:49 +01:00
Hosted Weblate
74dc6795cd
Update Albanian translation
...
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2025-01-25 14:02:48 +01:00
Hosted Weblate
5404b67bef
Update Serbian translation
...
Update Serbian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: NEXI <nexiphotographer@gmail.com>
2025-01-25 14:02:48 +01:00
Hosted Weblate
7b59ccf645
Update Finnish translation
...
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Juli <julimiro@posteo.net>
2025-01-25 14:02:48 +01:00
Hosted Weblate
cc6c39d0e6
Update Persian translation
...
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2025-01-25 14:02:47 +01:00
Hosted Weblate
37f3c285d7
Update Swedish translation
...
Update Swedish translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
2025-01-25 14:02:47 +01:00
Hosted Weblate
106086c766
Update French translation
...
Co-authored-by: ABCraft19 <lesenfantsbergaoui@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2025-01-25 14:02:46 +01:00
Hosted Weblate
0980867d42
Update Spanish translation
...
Update Spanish translation
Update Spanish translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2025-01-25 14:02:46 +01:00
Hosted Weblate
3abc377d56
Update Dutch translation
...
Update Dutch translation
Co-authored-by: Dick Groskamp <dikgro@yahoo.co.uk>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2025-01-25 14:02:45 +01:00