Commit Graph

3483 Commits (8ec992a8a31742a82de38a0aa5eeb509362da9b4)
 

Author SHA1 Message Date
diogo 62dc629337
linting
diogo dccdf38ce7
increase the max videos in a playlist
diogo 84124b837d
use v1/next instead of searching for the continuation index
diogo 6176da3cbb
linting
diogo 24bc3e2704
no need to normalize the offset
diogo f13fb80b42
scroll the nextVideo into the top
diogo 0a9e19646a
pass the api/v1/playlists with videos before the offset
diogo 65e45c4079
linting
diogo 440105976f
fix cases when high offset video from playlist has no offset in url
diogo 7eba7fbcc7
add index to playlist item
diogo d9bfb3d305
playlist starts at the offset
syeopite 4246c7a523
Extract image routes
Samantaz Fox e3054ccdd2
Fix `Role "kemal" does not exist` ()
JuniorJPDJ df968d1919
variable postgres username and database name ()
Samantaz Fox 7661c3c061
Remove useless 'require' statement in spec
Samantaz Fox 57ed047025
Add mising 'require' statement to 'invidious.cr'
Samantaz Fox bda3a26423
Move server structure to a separate file
Samantaz Fox 080d9a8dc7
move theme converter function to a separate file
Samantaz Fox 984a4acc7b
Move user preferences structure to a separate file
syeopite b10f37bea9
Use kemal in production mode ()
mastihios 0947c26612
Fix URL-encoding in href strings ()
* hrefs: replace HTML.escape w/ URI.encode_www_form

* Fix search_query_encoded
tuvork f5e7fe34a5
Added border radius to channel-profile ()
Samantaz Fox c6f088d6ca
Reduce refresh delay, increase backoff start duration
syeopite 21e29411af
Fix extractor bugs ()
* Add debug/trace logging to extract_items
* Handle invalid timestamps for livestreams extraction
* Make use of author_fallback in playlist extractor
* Don't use extract_text for video length extraction

The extract_text function attempts to extract from both the simpleText and
the runs route. This is typically what we'd want for text extraction as
it could appear in both locations. However, while this still holds true,
the thumbnailOverlayTimeStatusRenderer writes a numerical length (when
present on the video) to the simpleText route and uses runs for a
text overlay like "LIVE" or "PREMIERE".

Therefore, when a video has a text overlay instead of a numerical one,
Invidious still passes it onto decode_length_seconds, which obviously
raises since it cannot be converted into integers.

In the future, if more routes requires one text route over the other, we
should go ahead and add an argument to extract_text itself. Though for
now, this is sufficient.

* Handle unsupported "special" categories
Samantaz Fox f85930700b
Add myself (SamantazFox) as codeowner of locale files ()
Weblate (bot) 707ef1d0f7
Translations update from Weblate ()
* Update Russian translation

* Update Arabic translation

* Update Spanish translation

* Update Esperanto translation

* Update Chinese (Simplified) translation

* Update Turkish translation

* Update Chinese (Traditional) translation

* Update Lithuanian translation

* Update Portuguese translation

Co-authored-by: Nikita Epifanov <nikgreens@protonmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Co-authored-by: SC <lalocas@protonmail.com>
Samantaz Fox adc12addfa
Add config option to display source code URL in footer ()
Weblate (bot) bfef9d4b6e
Update Persian translation ()
Co-authored-by: Mostafa Ahangarha <ahangarha@gmail.com>
syeopite fd29cb9023
Add missing filter ui locales ()
Samantaz Fox d806310665
Revert "Fix typo ()" ()
This reverts commit 4982bff74d.
Jorge Maldonado Ventura 4982bff74d
Fix typo ()
syeopite 347c189f3f
Merge pull request from Rjevski/idempotent-database-migrations
Make DB migrations idempotent.
syeopite 81b12b8001
Add support to make invidious API-only via flag ()
syeopite 3e781b7d13
Merge pull request from iv-org/syeopite-patch-1
Use make_client when querying instance api
syeopite 9c44e41a4c
Merge pull request from syeopite/extract-items-overhaul
Overhaul extract_item(s) functions and add infrastructure for parsing YouTube categories
syeopite 402bb01151
Update container-release.yml
syeopite 82a1d9dffa
Install Crystal in container-release for linter
syeopite 570541ba49
Run linter in container-release workflow
syeopite 73eabb6ca2
Actually fix lint
Samantaz Fox 5a52b4fe45
Fix lint
Samantaz Fox caa08a6379
Disable locales with less than 50% of strings translated
Samantaz Fox cd02078e26
Add Portuguese (pt) to locales
follow up to 
Weblate (bot) 0341faeb13
Translations update from Weblate ()
* Add Portuguese translation
* Update German translation
* Update Basque translation
* Update Spanish translation
* Update Portuguese (Brazil) translation
* Update Portuguese (Portugal) translation
* Update Korean translation

Co-authored-by: SC <lalocas@protonmail.com>
Co-authored-by: Pukima <pukima@pukima.site>
Co-authored-by: Sergio Varela <sergitroll9@gmail.com>
Co-authored-by: Kim Tae Kyeong <kim@taekyeong.me>
syeopite 77131cff91
Use make_client when querying instance api
syeopite 0c7726d4e1
Update/create versions.yml after dep installation
syeopite 1f1e14fba5
Propagate exceptions from fiber
syeopite 9be8263f26
Use command literal for extraction
mastihios 7b2aa5f98e
add icon-buttons to playlist items ()
syeopite 26b28cea49
Use break instead of short-circuit return
syeopite 23049e026f
Improve readabltiy of SearchChannel auto-gen detect