Commit Graph

65 Commits (a4ca460651e68905d1db24e0ad0dbde627c056a3)

Author SHA1 Message Date
Samantaz Fox 4414c9df70
specc: Add tests for 'decode_date'
Samantaz Fox 193c510c65
Spec: Update require to point to new files
Samantaz Fox 4379a3d873
Comments: Move ctoken functions to youtube.cr
Samantaz Fox 9a765418d1
Update specs
Samantaz Fox 1f3317e257
Update video spec
Samantaz Fox f9eb839c7a
channel: remove dead playlists code
Samantaz Fox ce7db8d2cb
extractors: Add continuation token parser
Samantaz Fox 516efd2df3
Cleanup videos ()
Samantaz Fox 9da1827e95
Dirty fix to get back the channel videos
Samantaz Fox ae03ed7bf7
videos: move player/next parsing code to a dedicated file
Samantaz Fox 33150f5de3
spec: Add test cases for regular videos extraction
Samantaz Fox 907ddfa06a
spec: Add tests for recent changes
Samantaz Fox 6aaea7fafa
Videos: parse data during first fetching
There will be less data to be stores in the DB cache
Samantaz Fox cd03fa06ae
videos: move 'Caption' and associated global/functions to a separate file
Samantaz Fox 0ed4f1a9a4
Add unit tests for scheduled livestreams
Samantaz Fox 0e3820b634
Add #to_http_params method to Query (Fixes )
Samantaz Fox fd99f20404
Fix CI: use be_close() with 1s delta for Time comparisons
Samantaz Fox 96ac7f9f35
Add hashtag extractor spec
Samantaz Fox 25b60a1b90
Add spec for the Search::Query class
Samantaz Fox af02917766
Code cleanup
Samantaz Fox 6991d0851f
Add a function to generate HTTP::Params from Filters
Samantaz Fox fb2a331f79
Add a function to parse search filters from invidious URL params
Samantaz Fox c888524523
Add a function to parse invidious legacy search filters
Samantaz Fox 75c9dbaf6b
Add a function to parse youtube search parameters
Samantaz Fox c01a29fe76
Add a function to build youtube search filters
(it aims at replacing produce_search_params)
Samantaz Fox 2bbd424fce
Move import logic to its own module
Samantaz Fox 6fab5d0554
Merge pull request from bbielsa/csv-subscriptions-import
Add CSV Subscriptions Import
Samantaz Fox 461fae4f77
Use contain_exactly() in spec
Samantaz Fox 2a541cb4d5
Add tests
Samantaz Fox 0120f44fd6
i18n: use spectator for i18next plurals spec
Samantaz Fox 2a156e7313
i18n: Add plural tests (spec)
matthewmcgarvey 6c0486646f Add spectator and switch to Spectator DSL
matthewmcgarvey dffe8fc49e Move helpers_spec.rb into invidious directory
Samantaz Fox db04f1556e
Remove spec for playlist continuation
Samantaz Fox 444b1c99d0
Show unavailable videos in playlists
matthewmcgarvey 8d4b4cd14c Remove dead code
Samantaz Fox 7661c3c061
Remove useless 'require' statement in spec
syeopite be1a43a337
Manually extract category refactor from 1b569bbc99
Also fixes some errors caused by cherry-picking
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).
syeopite ae61662f61
Debloat channels.cr into multiple files ()
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)
Samantaz Fox 0e000e44aa Make the linter happy, again
Samantaz Fox d5d0cb6a0c Add spec (test case) for locale files consistency
TheFrenchGhosty c0997f951c
Merge pull request from Svallinn/channel_playlist_fix
Fix channels' playlists fetching
TheFrenchGhosty c4c2e01213
Merge pull request from Svallinn/search_api_fixes
Fix channels' search API
Svallinn e248e7ebaf
Remove unused function and related test
Svallinn d652ab9920
Modify spec file
Andrew Zhao 61d49a1215 remove comments extract cursor
Samantaz Fox de6db4141f Fix produce_playlist_continuation checks in spec/helpers_spec.cr
Andrew Zhao 2600695927 fix search
Put search page in the super secret proto field
saltycrys b566c4ba1a
Untrack config.yml ()
* Untrack config.yml

`config/config.yml` has been untracked and moved to `config/config.example.yml`.

The Dockerfile has been updated to copy all `config/config.*` files and to try
to move `config/config.example.yml` to `config/config.yml`. If a user supplied
`config/config.yml` exists it is not overwritten.

* Update Dockerfile to use `shard.lock`

* Fix tests