Commit graph

5232 commits

Author SHA1 Message Date
6eafd5512c
Merge branch 'master' of https://git.celery.eu.org/mirror/invidious into custom 2024-09-23 12:48:36 -07:00
Émilien (perso)
a021b93063
Update latest version WEB_CREATOR + fix comment web embed (#4930)
* Update to latest version WEB_CREATOR

* fix comment about using web embed as a fallback
2024-09-20 00:05:41 +00:00
Émilien (perso)
d9df90b5e3
use WEB_CREATOR when po_token with WEB_EMBED as a fallback (#4928)
* use WEB_CREATOR when po_token with WEB_EMBEDDED_PLAYER as a fallback

* remove unrelated comment

Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>

---------

Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2024-09-20 00:19:13 +02:00
28a48ed4e3
Merge branch 'master' of https://git.celery.eu.org/mirror/invidious into custom 2024-09-19 13:26:53 -07:00
Emilien Devos
cec3cfba77 Revert "use web screen embed for fixing potoken functionality (#4923)"
This reverts commit de918b9234.
The code doesn't work as expected. Reverting
2024-09-17 00:22:06 +02:00
Émilien (perso)
de918b9234
use web screen embed for fixing potoken functionality (#4923)
* use web screen embed for fixing potoken functionality

* use web screen embed only for getting streamingData + disable tv screen on po_token
2024-09-16 23:42:43 +02:00
soraefir
bd028430aa
Implemented requested changes and added 'auth_enforce_source' option 2024-08-27 13:07:48 -07:00
soraefir
6afab5a386
Added login flow functions and fix cookies 2024-08-27 13:07:48 -07:00
soraefir
f9ec5ba246
Implemented Oauth 2024-08-27 13:07:48 -07:00
syeopite
c885147306
Lint 2024-08-27 13:07:47 -07:00
syeopite
266d4cc998
Don't use generic click handler for chapter widget 2024-08-27 13:07:47 -07:00
syeopite
dc7811f9bc
Code quality fixes 2024-08-27 13:07:47 -07:00
syeopite
f258a9c7c2
Refactor: Add object to represent chapters
Prior to this commit we used an Array of Chapter structs to represent
a video's chapters. However, as we often needed to apply operations on
the entire sequence of chapters, multiple isolated functions had to be
created and in turn clogged up the code.

By grouping everything together under a chapters struct that stores a
sequence of chapters, these functions can be grouped together, and can
be simplifed due to instance variables containing the data that they need.

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2024-08-27 13:07:46 -07:00
syeopite
c4424fc07f
Use Time::Span for timestamps in chapter struct 2024-08-27 13:07:46 -07:00
syeopite
0bc058400d
Use WebVTT.build for chapters vtt file 2024-08-27 13:07:46 -07:00
syeopite
e638469352
Use proxy url for chapter thumbnails in JSON API 2024-08-27 13:07:45 -07:00
syeopite
d0de17be50
Add data for chapters to JSON endpoint for videos 2024-08-27 13:07:45 -07:00
syeopite
43c0b4e85b
Add separate method for constructing chapters json 2024-08-27 13:07:45 -07:00
syeopite
27b44a2890
Move parsed chapters info to "extra video infos" 2024-08-27 13:07:44 -07:00
syeopite
02282eb188
Use short-hand block notation for parsing chapters 2024-08-27 13:07:44 -07:00
syeopite
4a8d77c157
Properly camelcase auto gen chapters attribute 2024-08-27 13:07:44 -07:00
syeopite
09b5972924
Escape localization for desc chapters widget 2024-08-27 13:07:43 -07:00
syeopite
cebfdf8243
Change order of chapters button within the player 2024-08-27 13:07:43 -07:00
syeopite
a2f6735734
Add field for whether or not chapter is auto gen 2024-08-27 13:07:43 -07:00
syeopite
fdb122bb67
Remove extraneous space between desc and date 2024-08-27 13:07:42 -07:00
syeopite
fbb4c9193e
Localize chapters label 2024-08-27 13:07:42 -07:00
syeopite
6ad2661e0c
Add message for when chapters are auto generated 2024-08-27 13:07:42 -07:00
syeopite
85407cdd7d
Add data-jump-time attribute to chapters component
Allows automatically jumping to specified time instead of reloading the
page.
2024-08-27 13:07:41 -07:00
syeopite
bcc9fdaaea
Fix missing timestamp on first chapter 2024-08-27 13:07:41 -07:00
syeopite
da861b539d
Fix description chapter component design 2024-08-27 13:07:41 -07:00
syeopite
f74f8f778f
Remove whitespace in chapters component 2024-08-27 13:07:40 -07:00
syeopite
2aff77f361
Fetch chapter thumbnails for selector in desc 2024-08-27 13:07:40 -07:00
syeopite
5bebacb263
Remove initial whitespace from video description 2024-08-27 13:07:40 -07:00
syeopite
72383f8b73
Add initial html for chapters selector in desc 2024-08-27 13:07:39 -07:00
syeopite
3f5d8776d5
Add chapters track to player.ecr 2024-08-27 13:07:39 -07:00
syeopite
eb1c121f77
Add method to convert chapters to vtt 2024-08-27 13:07:39 -07:00
syeopite
f114f9c3a0
Add chapters data to API 2024-08-27 13:07:39 -07:00
syeopite
0bd89cead0
Add logic to parse video chapters 2024-08-27 13:07:33 -07:00
Samantaz Fox
4782a67038
Release v2.20240825.2 2024-08-26 22:52:50 +02:00
Samantaz Fox
5baaedfa39
CI: Fix docker container tags (#4883)
Closes issue 4880
2024-08-26 22:48:14 +02:00
Samantaz Fox
4f066e880c
CI: Fix docker container tags 2024-08-26 21:55:43 +02:00
Samantaz Fox
3e17d04875
Release v2.20240825.1 2024-08-25 22:30:46 +02:00
syeopite
cec905e95e
Allow manual trigger of release-container build (#4877) 2024-08-25 19:55:52 +00:00
Samantaz Fox
80958aa0d8
Release v2.20240825 2024-08-25 21:25:48 +02:00
Samantaz Fox
c5fdd9ea65
HTML: Sort playlists alphabetically in watch page drop down (#4853)
Closes issue 4708
2024-08-24 20:50:46 +02:00
Samantaz Fox
2876ee0f9f
HTML: Fix XSS vulnerability in description/comments (#4852)
Before this PR, the comment/description content was not HTML escaped when 'parse_description()'
was called with a JSON object lacking the "commandRuns" entry.

Closes issue 4727
2024-08-24 20:50:05 +02:00
Samantaz Fox
0699e5fc27
YtAPI: Bump client versions (#4849)
This might help reducing the amount of playback errors.

No related issue
2024-08-24 20:47:01 +02:00
Samantaz Fox
15669acccf
SigHelper: Fix inverted time comparison in 'check_update' (#4845)
Closes issue 4840
2024-08-24 20:44:52 +02:00
Samantaz Fox
cd2daf4adb
Storyboards: Various fixes and code cleaning (#4153)
Closes issue 3441
2024-08-24 20:43:05 +02:00
syeopite
ccecc6d318
Fix lint errors introduced in #4146 and #4295 (#4876)
* Ameba: Fix Naming/VariableNames

Introduced in #4295

* Ameba: Fix Naming/PredicateName

Introduced in #4146
2024-08-24 18:11:11 +00:00