Commit graph

58 commits

Author SHA1 Message Date
Samantaz Fox
516efd2df3
Cleanup videos (#3238) 2022-11-17 01:03:23 +01:00
Samantaz Fox
9da1827e95
Dirty fix to get back the channel videos 2022-11-02 01:03:39 +01:00
Samantaz Fox
ae03ed7bf7
videos: move player/next parsing code to a dedicated file 2022-10-31 20:09:04 +01:00
Samantaz Fox
33150f5de3
spec: Add test cases for regular videos extraction 2022-10-31 20:09:04 +01:00
Samantaz Fox
907ddfa06a
spec: Add tests for recent changes 2022-10-31 20:09:04 +01:00
Samantaz Fox
6aaea7fafa
Videos: parse data during first fetching
There will be less data to be stores in the DB cache
2022-10-31 20:09:04 +01:00
Samantaz Fox
cd03fa06ae
videos: move 'Caption' and associated global/functions to a separate file 2022-10-31 20:09:04 +01:00
Samantaz Fox
0ed4f1a9a4
Add unit tests for scheduled livestreams 2022-07-21 00:33:39 +02:00
Samantaz Fox
0e3820b634
Add #to_http_params method to Query (Fixes #3148) 2022-07-04 22:21:27 +02:00
Samantaz Fox
fd99f20404
Fix CI: use be_close() with 1s delta for Time comparisons 2022-06-08 23:56:40 +02:00
Samantaz Fox
96ac7f9f35
Add hashtag extractor spec 2022-06-08 23:56:40 +02:00
Samantaz Fox
25b60a1b90
Add spec for the Search::Query class 2022-04-16 20:24:50 +02:00
Samantaz Fox
af02917766
Code cleanup 2022-04-03 22:28:11 +02:00
Samantaz Fox
6991d0851f
Add a function to generate HTTP::Params from Filters 2022-03-29 20:31:23 +02:00
Samantaz Fox
fb2a331f79
Add a function to parse search filters from invidious URL params 2022-03-29 20:31:23 +02:00
Samantaz Fox
c888524523
Add a function to parse invidious legacy search filters 2022-03-29 20:31:23 +02:00
Samantaz Fox
75c9dbaf6b
Add a function to parse youtube search parameters 2022-03-29 20:31:23 +02:00
Samantaz Fox
c01a29fe76
Add a function to build youtube search filters
(it aims at replacing produce_search_params)
2022-03-29 20:31:23 +02:00
Samantaz Fox
2bbd424fce
Move import logic to its own module 2022-02-07 17:38:50 +01:00
Samantaz Fox
6fab5d0554
Merge pull request #2545 from bbielsa/csv-subscriptions-import
Add CSV Subscriptions Import
2022-01-16 15:11:37 +01:00
Samantaz Fox
461fae4f77
Use contain_exactly() in spec 2022-01-15 12:52:19 +01:00
Samantaz Fox
2a541cb4d5
Add tests 2022-01-12 01:20:45 +01:00
Samantaz Fox
0120f44fd6
i18n: use spectator for i18next plurals spec 2022-01-12 00:49:36 +01:00
Samantaz Fox
2a156e7313
i18n: Add plural tests (spec) 2022-01-10 22:49:03 +01:00
matthewmcgarvey
6c0486646f Add spectator and switch to Spectator DSL 2022-01-07 09:27:50 -06:00
matthewmcgarvey
dffe8fc49e Move helpers_spec.rb into invidious directory 2022-01-07 09:26:13 -06:00
Samantaz Fox
db04f1556e
Remove spec for playlist continuation 2022-01-05 03:42:41 +01:00
Samantaz Fox
444b1c99d0
Show unavailable videos in playlists 2022-01-05 03:32:54 +01:00
matthewmcgarvey
8d4b4cd14c Remove dead code 2021-11-29 09:11:50 -06:00
Samantaz Fox
7661c3c061
Remove useless 'require' statement in spec 2021-10-11 18:33:36 +02:00
syeopite
be1a43a337
Manually extract category refactor from 1b569bbc99207cae7c20aa285f42477ae361dd30
Also fixes some errors caused by cherry-picking
2021-09-24 21:07:07 -07:00
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).
2021-07-26 00:12:43 +02:00
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 44d18b8e147b47ad06a54cc6fd08423d9f39074d)
2021-07-14 17:46:12 +02:00
Samantaz Fox
0e000e44aa Make the linter happy, again 2021-04-21 16:10:25 +02:00
Samantaz Fox
d5d0cb6a0c Add spec (test case) for locale files consistency 2021-04-21 16:10:25 +02:00
TheFrenchGhosty
c0997f951c
Merge pull request #1929 from Svallinn/channel_playlist_fix
Fix channels' playlists fetching
2021-04-03 21:21:42 +00:00
TheFrenchGhosty
c4c2e01213
Merge pull request #1922 from Svallinn/search_api_fixes
Fix channels' search API
2021-04-02 05:53:41 +00:00
Svallinn
e248e7ebaf
Remove unused function and related test 2021-03-24 05:35:26 +00:00
Svallinn
d652ab9920
Modify spec file 2021-03-24 05:15:30 +00:00
Andrew Zhao
61d49a1215 remove comments extract cursor 2021-03-24 00:08:58 -04:00
Samantaz Fox
de6db4141f Fix produce_playlist_continuation checks in spec/helpers_spec.cr 2021-03-21 15:57:41 +01:00
Andrew Zhao
2600695927 fix search
Put search page in the super secret proto field
2021-02-25 22:19:22 -05:00
saltycrys
b566c4ba1a
Untrack config.yml (#1557)
* 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
2020-12-10 08:18:30 +01:00
saltycrys
0cfc3bfb79 Fix comment continuation tests 2020-12-06 04:28:35 +01:00
Omar Roth
b508787037
Fix spec 2020-07-26 15:29:03 -04:00
Omar Roth
056e7432bd
Update channel playlists to use polymer 2020-06-16 17:51:35 -05:00
Omar Roth
1eca969cf6
Add support for polymer redesign 2020-06-15 18:18:04 -05:00
Omar Roth
80fc60b5e2
Add spec for extract_plid 2020-03-30 14:23:51 -05:00
Omar Roth
c07cd3a856
Fix typo in playlist url 2019-11-14 10:11:33 -05:00
Omar Roth
c58841100a
Fix extractor for channel community cursor 2019-10-27 21:44:17 -04:00