Commit Graph

75 Commits (master)

Author SHA1 Message Date
Samantaz Fox 962ce23cc2
WebVTT::Builder: Add logic to escape special chars (#4414)
Note: WebVTT does allow some tags in the cue payload in some circumstances
while this PR just blindly escapes everything:
https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API#cue_payload_text_tags
3 months ago
Samantaz Fox 60f6a345d9
Locales: Fix broken i18Next v3/v4 plurals
Languages impacted: es, fa, pt
3 months ago
syeopite 0ad2eff2a4
WebVTT::Builder: Add logic to escape special chars 4 months ago
ThetaDev c005ada487
fix: prevent censoring of self-harm related search queries (#4403)
* fix: prevent censoring of self-harm related search queries

* fix: yt_filters_spec with new flag
4 months ago
Samantaz Fox 3a5d408602
Remove leftover functions/specs used by the anti-captcha job 6 months ago
Samantaz Fox 1caaf63c8a
Refactor WebVTT building logic into WebVTT::Builder (#4070) 7 months ago
Samantaz Fox f26c995344
i18next: Revert some changes, as es/pt/pt-PT aren't mixed up (yet) 7 months ago
Samantaz Fox 32310b7c9f
i18Next: Add exceptions for mixed v3/v4 plural forms 8 months ago
syeopite d371eb50f2
WebVTT::Builder: rename #line to #cue 8 months ago
syeopite 54fa59cbb0
Add method to construct WebVTT files
Similar to JSON.Build
8 months ago
Samantaz Fox 4414c9df70
specc: Add tests for 'decode_date' 12 months ago
Samantaz Fox 193c510c65
Spec: Update require to point to new files 12 months ago
Samantaz Fox 4379a3d873
Comments: Move ctoken functions to youtube.cr 12 months ago
Samantaz Fox 9a765418d1
Update specs 1 year ago
Samantaz Fox 1f3317e257
Update video spec 1 year ago
Samantaz Fox f9eb839c7a
channel: remove dead playlists code 1 year ago
Samantaz Fox ce7db8d2cb
extractors: Add continuation token parser 1 year ago
Samantaz Fox 516efd2df3
Cleanup videos (#3238) 2 years ago
Samantaz Fox 9da1827e95
Dirty fix to get back the channel videos 2 years ago
Samantaz Fox ae03ed7bf7
videos: move player/next parsing code to a dedicated file 2 years ago
Samantaz Fox 33150f5de3
spec: Add test cases for regular videos extraction 2 years ago
Samantaz Fox 907ddfa06a
spec: Add tests for recent changes 2 years ago
Samantaz Fox 6aaea7fafa
Videos: parse data during first fetching
There will be less data to be stores in the DB cache
2 years ago
Samantaz Fox cd03fa06ae
videos: move 'Caption' and associated global/functions to a separate file 2 years ago
Samantaz Fox 0ed4f1a9a4
Add unit tests for scheduled livestreams 2 years ago
Samantaz Fox 0e3820b634
Add #to_http_params method to Query (Fixes #3148) 2 years ago
Samantaz Fox fd99f20404
Fix CI: use be_close() with 1s delta for Time comparisons 2 years ago
Samantaz Fox 96ac7f9f35
Add hashtag extractor spec 2 years ago
Samantaz Fox 25b60a1b90
Add spec for the Search::Query class 2 years ago
Samantaz Fox af02917766
Code cleanup 2 years ago
Samantaz Fox 6991d0851f
Add a function to generate HTTP::Params from Filters 2 years ago
Samantaz Fox fb2a331f79
Add a function to parse search filters from invidious URL params 2 years ago
Samantaz Fox c888524523
Add a function to parse invidious legacy search filters 2 years ago
Samantaz Fox 75c9dbaf6b
Add a function to parse youtube search parameters 2 years ago
Samantaz Fox c01a29fe76
Add a function to build youtube search filters
(it aims at replacing produce_search_params)
2 years ago
Samantaz Fox 2bbd424fce
Move import logic to its own module 2 years ago
Samantaz Fox 6fab5d0554
Merge pull request #2545 from bbielsa/csv-subscriptions-import
Add CSV Subscriptions Import
2 years ago
Samantaz Fox 461fae4f77
Use contain_exactly() in spec 2 years ago
Samantaz Fox 2a541cb4d5
Add tests 2 years ago
Samantaz Fox 0120f44fd6
i18n: use spectator for i18next plurals spec 2 years ago
Samantaz Fox 2a156e7313
i18n: Add plural tests (spec) 2 years ago
matthewmcgarvey 6c0486646f Add spectator and switch to Spectator DSL 2 years ago
matthewmcgarvey dffe8fc49e Move helpers_spec.rb into invidious directory 2 years ago
Samantaz Fox db04f1556e
Remove spec for playlist continuation 2 years ago
Samantaz Fox 444b1c99d0
Show unavailable videos in playlists 2 years ago
matthewmcgarvey 8d4b4cd14c Remove dead code 3 years ago
Samantaz Fox 7661c3c061
Remove useless 'require' statement in spec 3 years ago
syeopite be1a43a337
Manually extract category refactor from 1b569bbc99
Also fixes some errors caused by cherry-picking
3 years ago
Samantaz Fox 3a84e3abcf
Remove locales consistency check
This is not required anymore, due to the new weblate config (from now
on, weblate adds strings as they are translated).
3 years ago
syeopite ae61662f61
Debloat channels.cr into multiple files (#2225)
Cherry picked from ui overhaul branch with a few modifications:
  - channel folder is renamed to channels
  - parsing for channel home and featured channels are removed due to
    lack of infrastructure from other commits

(cherry picked from commit 44d18b8e14)
3 years ago