Emilien
6c3729f909
!empty? to present?
2025-03-13 13:57:18 +00:00
Émilien (perso)
df9d266539
Better doc for invidious_companion_key
2025-03-13 13:57:18 +00:00
Émilien (perso)
db0d826ab1
Better document private_url and public_url
2025-03-13 13:57:18 +00:00
Emilien
2383acd4e7
add ability for invidious companion to check request from invidious
2025-03-13 13:57:18 +00:00
Emilien
cb5c01b6c1
fix ameba Redundant use of Object#to_s
in interpolation
2025-03-13 13:57:18 +00:00
Emilien
eeefc54acb
format watch.cr
2025-03-13 13:57:18 +00:00
Emilien
00b3b0dbe8
apply all the suggestions + rework invidious_companion parameter
2025-03-13 13:57:18 +00:00
Emilien
5cc55d16f4
invidious companion always used so always add CSP and redirect latest_version
2025-03-13 13:57:18 +00:00
Emilien
73f2e92b01
fix linting
2025-03-13 13:57:18 +00:00
Emilien
06bfb69628
fix download function when invidious companion used
2025-03-13 13:57:18 +00:00
Emilien
6d1673bcc4
crystal handle decompression already by itself
2025-03-13 13:57:18 +00:00
Emilien
28cb88bbfb
fix linting + use .empty?
2025-03-13 13:57:18 +00:00
Emilien
1d6ca9299d
fixing "end" misplacement
2025-03-13 13:57:18 +00:00
Emilien
bf4c63aad6
separate invidious_companion logic + better config.yaml config
2025-03-13 13:57:18 +00:00
Emilien
9af5861d08
move config checks for invidious companion
2025-03-13 13:57:18 +00:00
Émilien (perso)
3b953048c9
modify the description for config.example.yaml about invidious companion
2025-03-13 13:57:18 +00:00
Émilien (perso)
f543f7326b
Remove debug puts functions
...
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2025-03-13 13:57:18 +00:00
Émilien (perso)
bd227618a5
Use sample instead of Random.rand
...
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2025-03-13 13:57:17 +00:00
Emilien
c05c9d82ba
throw error if inv_sig_helper and invidious_companion used same time
2025-03-13 13:57:17 +00:00
Emilien Devos
cf899e898e
fixing condition for Content-Security-Policy
2025-03-13 13:57:17 +00:00
Emilien Devos
d2dd2e1bc8
fix Shadowing outer local variable response
2025-03-13 13:57:17 +00:00
Emilien Devos
3e7eedfe5a
redirect latest_version and dash manifest to invidious companion
2025-03-13 13:57:17 +00:00
Emilien Devos
0760b31327
add support for invidious companion
2025-03-13 13:57:17 +00:00
syeopite
e23d0d13be
Add changelog for v2.20250314.0 ( #5197 )
...
* Release v2.20250314.0
* Update CHANGELOG.md
v2.20250314.0
2025-03-12 03:31:15 -07:00
syeopite
5c8b4eb379
Warn when po_token
, visitor_data
and/or inv-sig-helper
is not configured ( #5202 )
...
* Warn when required configs for playback is missing
* Add link to documentation in warnings
* Direct users to /installation instead
2025-03-12 10:11:17 +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