Commit Graph

5367 Commits

Author SHA1 Message Date
Emilien
a5acddefa9 missing , 2024-12-30 22:25:13 +01:00
Emilien
84b87bedad fixing format 2024-12-30 22:19:45 +01:00
Emilien
bfaf72b303 skip proxy for invidious companion 2024-12-30 21:52:34 +01:00
Emilien
f550359ae9 !empty? to present? 2024-12-30 21:52:07 +01:00
Émilien (perso)
e9c354d5a3
Better doc for invidious_companion_key 2024-12-24 17:43:54 +00:00
Émilien (perso)
0dba7675a2
Better document private_url and public_url 2024-12-24 16:18:58 +00:00
Emilien
1de2054618 add ability for invidious companion to check request from invidious 2024-12-13 20:41:00 +01:00
Emilien
ab72bbad7a fix ameba Redundant use of Object#to_s in interpolation 2024-12-08 22:24:57 +01:00
Emilien
a571eeaa38 format watch.cr 2024-12-08 22:22:08 +01:00
Emilien
f710dd37bf apply all the suggestions + rework invidious_companion parameter 2024-12-08 22:21:10 +01:00
Emilien
7a070fa710 invidious companion always used so always add CSP and redirect latest_version 2024-11-18 12:30:37 +01:00
Emilien
1f51edd0b9 fix linting 2024-11-18 12:22:40 +01:00
Emilien
734e72503f fix download function when invidious companion used 2024-11-17 19:18:29 +01:00
Emilien
bb2e3b2a3e crystal handle decompression already by itself 2024-11-17 12:26:35 +01:00
Emilien
b51770dbdb fix linting + use .empty? 2024-11-16 23:00:48 +01:00
Emilien
9f846127ae fixing "end" misplacement 2024-11-16 22:38:00 +01:00
Emilien
1aa154b978 separate invidious_companion logic + better config.yaml config 2024-11-16 22:36:33 +01:00
Emilien
ff3305d521 move config checks for invidious companion 2024-11-16 22:36:33 +01:00
Émilien (perso)
409df4cff3 modify the description for config.example.yaml about invidious companion 2024-11-16 22:36:33 +01:00
Émilien (perso)
27b24f51ab Remove debug puts functions
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2024-11-16 22:36:33 +01:00
Émilien (perso)
1c9f5b0a2b Use sample instead of Random.rand
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2024-11-16 22:36:33 +01:00
Emilien
2cc204a045 throw error if inv_sig_helper and invidious_companion used same time 2024-11-16 22:36:33 +01:00
Emilien Devos
c612423a4d fixing condition for Content-Security-Policy 2024-11-16 22:36:33 +01:00
Emilien Devos
1954463371 fix Shadowing outer local variable response 2024-11-16 22:36:33 +01:00
Emilien Devos
73c84baf9f redirect latest_version and dash manifest to invidious companion 2024-11-16 22:36:33 +01:00
Emilien Devos
3dff7a76cf add support for invidious companion 2024-11-16 22:36:33 +01:00
Samantaz Fox
9892604758
Prepare for next release 2024-11-10 21:40:32 +01:00
Samantaz Fox
5d2dd40bc3
Release v2.20241110.0 2024-11-10 21:35:03 +01:00
Samantaz Fox
699d53ad41
Update shard.yml metadata (#5066)
Changes are mostly based off of the Crystal compiler's own shard.yml

Remember to bump the version attribute when creating a release!!!
2024-11-10 21:03:13 +01:00
Samantaz Fox
2150264d84
Update CHANGELOG.md 2024-11-10 18:00:26 +01:00
Samantaz Fox
d42561d74a
API: Add "sort_by" parameter to channels/shorts endpoint (#5071)
Small follow up to PR 5059

No related issue
2024-11-10 17:50:00 +01:00
Samantaz Fox
7092bb8855
Docker: Install tzdata in Dockerfile (#5070)
Should close 5067
2024-11-10 17:48:18 +01:00
Samantaz Fox
d7c35e6e3d
Videos: Stop using TVHTML5_SIMPLY_EMBEDDED_PLAYER (#5063)
The age restriction bypass does not work anymore with this client.
See: https://github.com/iv-org/invidious/issues/2189#issuecomment-2437740627

Related to 2189
2024-11-10 17:45:58 +01:00
Samantaz Fox
bc86fb8a82
Routing: Deprecate old channel API routes (#5045)
Deprecate the following routes:

* /api/v1/channels/videos/:ucid
* /api/v1/channels/latest/:ucid
* /api/v1/channels/playlists/:ucid
* /api/v1/channels/community/:ucid
* /api/v1/channels/search/:ucid

in favor of:

* /api/v1/channels/:ucid/videos
* /api/v1/channels/:ucid/latest
* /api/v1/channels/:ucid/playlists
* /api/v1/channels/:ucid/community
* /api/v1/channels/:ucid/search

No related issue
2024-11-10 17:44:45 +01:00
Samantaz Fox
ec82c2f539
Videos: use WEB client instead of WEB CREATOR (#4984)
Use the WEB client when a potoken is configured, otherwise try with Android
test suite if there is no potoken configured.

This PR reverts some of the changes made in 4928

Related to 4734
2024-11-10 17:41:54 +01:00
Samantaz Fox
4b363e32fa
Parsers: Fix parsing live_now and premiere_timestamp (#4934)
This pull request fixes the parsing for the 'live_now' and 'premiere_timestamp'
variables so that they work without the 'microformat' data being present.

Related to 4929
2024-11-10 17:36:49 +01:00
Brahim Hadriche
d2123b4682 Sort channel shorts API 2024-11-09 17:49:06 -05:00
Émilien (perso)
0f8f32bca8 remove explicit usage of WEB 2024-11-09 22:21:09 +01:00
Emilien
f3e93ca83d revert back to www.youtube.com when client_config.screen embed 2024-11-09 22:21:09 +01:00
Emilien
82b1506ccc remove usage of WebEmbeddedPlayer 2024-11-09 22:21:09 +01:00
Emilien
b9ad9bd723 use WEB when po_token + android test suite when no po_token 2024-11-09 22:21:09 +01:00
syeopite
8bf7e02978
Change authors section to reflect current state 2024-11-09 13:04:10 -08:00
Samantaz Fox
1a49e798c8
Docker: Install tzdata in Dockerfile 2024-11-09 21:52:06 +01:00
syeopite
9d54cf903e
Update shard.yml metadata 2024-11-08 15:54:37 -08:00
Samantaz Fox
b173d4acf2
Update CHANGELOG.md 2024-11-08 23:45:15 +01:00
Samantaz Fox
43d5efd9da
Stale bot updates (#5060)
* Prevents PRs from being considered staled
* Double the stale timer for issues
* Prevent discussion issues from being staled

No related issue
2024-11-08 23:42:45 +01:00
Samantaz Fox
1480e0089f
Channels: Fix "Youtube API returned error 400" (#5059)
This PR also adds sort option to the channel "shorts" tab.
Thanks to iBicha for the original fix of the "livestreams" tab.

Closes 4029, 5021 and 5029
2024-11-08 23:40:34 +01:00
Samantaz Fox
a5fb78bba5
Locales: Add Bulgarian, Welsh and Lombard to the list (#5046)
No related issue
2024-11-08 23:33:36 +01:00
Samantaz Fox
09f5485889
Shards: Update database dependencies (#5034)
No related issue
2024-11-08 23:32:25 +01:00
Samantaz Fox
a760b69cb6
Logger: Add color support for different log levels (#4931)
No related issue
2024-11-08 23:28:51 +01:00