Fijxu
7aba1f7ba3
Revert "Merge branch 'add-prometheus-metrics-endpoint'"
...
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
This reverts commit e5c0f15398 due to
https://github.com/iv-org/invidious/pull/3576#issuecomment-2727898574
, reversing changes made to ecacbab2a5 .
2025-03-16 23:51:16 -03:00
Fijxu
e5c0f15398
Merge branch 'add-prometheus-metrics-endpoint'
...
From https://github.com/iv-org/invidious/pull/3576
2025-03-01 03:39:21 -03:00
Fijxu
50fa7de901
Merge remote-tracking branch 'upstream/master'
2025-02-27 02:02:47 -03:00
syeopite
9fbe3944b0
Channels: Add Courses to channel page and channel API ( #5158 )
...
Closes #5144
2025-02-26 14:08:44 -08:00
syeopite
3d77635a5c
Add API endpoint for fetching transcripts from YouTube ( #4788 )
2025-02-26 13:56:39 -08:00
ChunkyProgrammer
eaf47385c5
Add Courses to channel page and channel API
2025-01-25 14:43:39 -05:00
Fijxu
d75d860888
Merge remote-tracking branch 'upstream/master'
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
Stale issue handler / stale (push) Has been cancelled
2025-01-25 11:51:05 -03:00
syeopite
831017f403
Frontend: Carry over audio-only mode in playlist links ( #4784 )
2025-01-22 11:35:33 -08:00
Fijxu
43aa7e7303
refactor: use reverse! and uniq! to modify the array in place
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.10.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.11.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
2025-01-13 11:18:26 -03:00
Fijxu
61106da689
Revert "Videos: Completly disable annotations due to archive.org being down"
...
This reverts commit cf5028d09a .
2025-01-13 11:07:40 -03:00
Fijxu
3bb7924181
replace the old useless HOST_URL by env.request.headers["Host"]
2025-01-01 01:00:41 -03:00
Brahim Hadriche
047ead8080
Fix video thumbnails in mixes
2024-12-16 16:54:04 -05:00
Fijxu
9b9efc6841
Merge remote-tracking branch 'upstream/master'
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.11.2, true) (push) Has been cancelled
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.10.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
2024-11-13 21:14:26 -03:00
Fijxu
c27a703544
Merge remote-tracking branch 'upstream/master'
2024-11-09 23:42:52 -03:00
Brahim Hadriche
d2123b4682
Sort channel shorts API
2024-11-09 17:49:06 -05:00
Fijxu
cf5028d09a
Videos: Completly disable annotations due to archive.org being down
...
Closes #15
2024-10-13 23:47:57 -03:00
Samantaz Fox
9d91ac3b88
Use snake case for all variables
2024-08-26 20:17:45 +00:00
syeopite
bd48af825c
Search API: Fix named arg syntax to make_client
2024-08-24 19:34:09 -07:00
syeopite
1124dd645d
Use make_client instead of calling HTTP::Client
...
Using `make_client` to create `HTTP::Client`, allows for a simple way to
easily add logic to all `HTTP::Client` initialized within Invidious.
2024-08-24 19:34:09 -07:00
Samantaz Fox
cd2daf4adb
Storyboards: Various fixes and code cleaning ( #4153 )
...
Closes issue 3441
2024-08-24 20:43:05 +02:00
Samantaz Fox
9e55799269
Channel: Render age restricted channels ( #4295 )
...
This PR:
* gets thumbnail and channel name from the initial request
* gets videos, shorts and streams via autogenerated channel playlists
Test Url: /channel/UCbfnHqxXs_K3kvaH-WlNlig
Closes issue 3513
2024-08-24 19:43:59 +02:00
Samantaz Fox
21ab5dc668
Storyboard: Revert cue timing "fix"
2024-08-22 00:29:15 +02:00
syeopite
ecbea0b67b
Ameba: Fix Lint/ShadowingOuterLocalVar
2024-08-21 02:43:26 -07:00
Samantaz Fox
5b05f3bd14
Storyboards: Workarounds for videojs-vtt-thumbnails
...
The workarounds are as follow:
* Unescape HTML entities
* Always use 0:00:00.000 for cue start/end
2024-08-16 11:36:01 +02:00
Samantaz Fox
da3d58f03c
Storyboards: Cleanup and document code
2024-08-16 10:05:47 +02:00
Samantaz Fox
8327862697
Storyboards: Use replace the NamedTuple by a struct
2024-08-16 10:04:40 +02:00
ChunkyProgrammer
96ade642fa
Channel: Render age restricted channels
2024-08-13 15:09:16 -04:00
Samantaz Fox
88b9f17388
Ameba: Fix Naming/VariableNames ( #4790 )
...
Related to issue 2231
2024-08-13 20:26:15 +02:00
Samantaz Fox
fa6c5158c5
Ameba: Fix Lint/NotNilAfterNoBang ( #4796 )
...
Related to issue 2231
2024-08-11 11:45:05 +02:00
Krystof Pistek
5f590dda80
Carry over audio-only mode in playlist links
2024-08-07 20:58:08 +02:00
Samantaz Fox
4f60feee17
API: Fix out of bound error on empty playlists ( #4696 )
...
Before this PR, Invidious assumed that every playlist had at least one video.
When a playlist had no videos, Invidious was throwing an "Index out of bounds"
exception.
The following API endpoints were impacted:
* api/v1/playlists/:plid
* api/v1/auth/playlists/:plid
Fixes issue 4679
2024-07-21 17:24:01 +02:00
Samantaz Fox
5a12005b48
API: Fix URL for vtt subtitles ( #4221 )
...
For 'fmt=vtt' to work, the 'fmt' parameter needs to be replaced
in the original caption api URL.
No associated open issue
2024-07-21 17:23:44 +02:00
syeopite
8258062ec5
Ameba: Fix Lint/NotNilAfterNoBang
2024-07-15 17:36:00 -07:00
syeopite
8a90add310
Ameba: Fix Naming/VariableNames
...
Fix Naming/VariableNames in comment renderer
Fix Naming/VariableNames in helpers/utils
Fix Naming/VariableNames in api/v1/misc.cr
2024-07-11 20:56:28 -07:00
syeopite
b2f5b1eb68
Add logic to fetch transcripts from label
...
Although available this method should be discouraged as it requires
an extra request to YouTube to get caption data in order to
map label -> language code and auto-generated status, which are needed
to fetch transcripts.
2024-07-11 09:37:18 -07:00
syeopite
7693f61e44
Add API endpoint to fetch YouTube transcripts
2024-07-11 09:37:17 -07:00
Samantaz Fox
bad92093bf
Channels: Add sort options to streams ( #4224 )
2024-07-10 22:28:22 +02:00
Samantaz Fox
436a61e3bb
API: Fix error code for disabled popular endpoint ( #4296 )
...
When visiting /api/v1/popular and popular endpoint is disabled
Before:
500 {"error":"Closed stream"}
After
403 {"error":"Administrator has disabled this endpoint."}
2024-07-10 22:25:31 +02:00
syeopite
0224162ad2
Rewrite transcript logic to be more generic
...
The transcript logic in Invidious was written specifically
as a workaround for captions, and not transcripts as a feature.
This commit genericises the logic a bit as so it can be used for
implementing transcripts within Invidious' API and UI as well.
The most notable change is the added parsing of section headings
when it was previously skipped over in favor of regular lines.
2024-06-11 18:23:01 -07:00
Fijxu
e0d0dbde3c
API: Check if playlist has any videos on it.
...
Invidious assumes that every playlist will have at least one video
because it needs to check for the `index` key. So if there is no videos
on a playlist, there is no `index` key and Invidious throws
`Index out of bounds`
2024-05-13 21:07:46 -04:00
Samantaz Fox
7c1d2714e0
Comments: Add support for new format ( #4576 )
...
The new comment format is similar to the description's commandRuns.
This should fix the issues with most comments but there are still
some more changes that would need to be made like adding support for
formatting (bold, italic, underline) and channel emojis.
Fixes issue 4566
2024-04-26 23:48:15 +02:00
ChunkyProgrammer
c27bb90e4d
Add support for new comment format
2024-04-10 18:21:53 -04:00
Brahim Hadriche
a9e8aabe1f
Merge commit '08390acd0c17875fddb84cabba54197a5b5740e4' into fix/popular-disabled-error
2024-04-01 10:03:37 -04:00
Brahim Hadriche
b0c6bdf44c
use 403 code
2024-04-01 10:03:29 -04:00
Brahim Hadriche
c5eb10b21f
Revert "Fix error code for disabled popular endpoint"
...
This reverts commit 1363fb8094 .
2024-04-01 10:02:49 -04:00
src-tinkerer
72fe8af850
Merge branch 'master' into stream-sort
2024-03-26 12:19:45 +00:00
ChunkyProgrammer
0aaa3e6a08
API: Parse channel's tags
2024-03-11 13:31:14 -04:00
Samantaz Fox
dcbe52c9fb
Videos: Use start time and end time for clips ( #4264 )
...
This PR parses the start and end time for clips.
It also adds a new, dedicated API endpoint (`/api/v1/clips/{id}`) for
retrieving the start and end time of a clip.
Here is a sample response from that new endpoint (`video` is a video object,
as described in https://docs.invidious.io/api/common_types/#videoobject ):
GET `/api/v1/clips/UgkxxPM3BRphCAPLP88YoUGuj79KXPfpNNO_?pretty=1`
Response:
```
{
"startTime": 8842.645,
"endTime": 8855.856,
"clipTitle": "✂️ Kirby is pink!",
"video": {}
}
```
Closes issue 3921
2024-02-12 22:10:16 +01:00
Samantaz Fox
bd5df3af5f
API: Unescape search suggestions ( #4218 )
...
Previously, the suggestion were HTML encoded. This PR fixes that.
2024-02-12 22:03:33 +01:00
Samantaz Fox
9bd2072e1d
API: Add playlist and start time to resolve_url
...
This adds `playlistId` and `startTimeSeconds` to /api/v1/resolveurl if these
informations were returned by Youtube's endpoint.
2024-02-12 22:01:08 +01:00