summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2024-02-13API: Add APIHandler backSamantaz Fox
This handler should no have been removed in 4276, as it adds the required CORS header (Access-Control-Allow-Origin) for public acces to the API. Thanks to iBicha for noticing this!
2024-02-12Stats: Fix two swapped function names (#4376)Samantaz Fox
The function names `count_users_active_6m` and `count_users_active_1m` were swapped. As the names were swapped on both sides (declaration and use), this had no functional impact. No related isse was tracked.
2024-02-12API: Fix missing wildcards after login redirect (#4348)Samantaz Fox
This PR fixes an issue where the `scopes` parameter would see its wildmark characters (*) removed during the login page redirection, after that a call to `/authorize_token` was made while the user was not logged in. Closes issue 4200
2024-02-12HTML: Preserve playlist in "Watch on YouTube" link (#4342)Samantaz Fox
It seems that at some point, Youtube changed the URL parameter from `plid` to `list` and we didn't notice. This fixes that. Closes #3929
2024-02-12HTML: Add title to toggle theme icon (#4320)Samantaz Fox
2024-02-12API: Remove the fields parameter (#4276)Samantaz Fox
Multiple users have reported that the fields parameter is slowing down API response times significantly. As most API endpoints are already optimized to make as few requests as possible to Youtube, there is no point in limiting the output. Furthermore, the added processing might be part of the broader memory leak problem (See 1438). In addition, the small increase in data output is not much of an issue compared to the huge video proxy that lies next to this API. No related issue tracked
2024-02-12Videos: Use start time and end time for clips (#4264)Samantaz Fox
This PR parses the start and end time for clips. It also adds a new, dedicated API endpoint (`/api/v1/clips/{id}`) for retrieving the start and end time of a clip. Here is a sample response from that new endpoint (`video` is a video object, as described in https://docs.invidious.io/api/common_types/#videoobject): GET `/api/v1/clips/UgkxxPM3BRphCAPLP88YoUGuj79KXPfpNNO_?pretty=1` Response: ``` { "startTime": 8842.645, "endTime": 8855.856, "clipTitle": "✂️ Kirby is pink!", "video": {} } ``` Closes issue 3921
2024-02-12API: Unescape search suggestions (#4218)Samantaz Fox
Previously, the suggestion were HTML encoded. This PR fixes that.
2024-02-12API: Add playlist and start time to resolve_urlSamantaz Fox
This adds `playlistId` and `startTimeSeconds` to /api/v1/resolveurl if these informations were returned by Youtube's endpoint.
2024-02-12Extractors: Don't error if AuthorId does not exist (#3869)Samantaz Fox
Some playlist author's don't have a YouTube channel, so does movies. This caused various extractors (related videos, search) to fail. Closes the following issues: 2530, 3349, 3766, 3812, 4133
2024-02-12Handle non-200 status codes for YouTube DASH manifestsabsidue
2024-02-08Add missing translation stringsshironeko
closes #3120
2024-02-08Fix when video from pubsub is a scheduled eventshironeko
2024-02-08Fix pubsub feed parsingshironeko
similar to what's done in #3793, this is causing an assert on my instance
2024-01-30WebVTT::Builder: Add logic to escape special charssyeopite
2024-01-29fix: prevent censoring of self-harm related search queries (#4403)ThetaDev
* fix: prevent censoring of self-harm related search queries * fix: yt_filters_spec with new flag
2024-01-27CSS: expand #contents width on small screenstoabr
2024-01-10Add parameter to disable `force_resolve` in `make_client` (#4335)syeopite
* Add option to disable force_resolve in make_client Some websites such as archive.org and textcaptcha.com does not support IPv6 and as such requests fail when Invidious requests with IPv6 to those services. * Reenable force_resolve on pubsub subcribe request * Make force_resolve false by default in make_client * Remove missed explicit force_resolve=false
2024-01-06Fix two swapped function namesvojkovic
2023-12-26add null safety to clip parsingChunkyProgrammer
2023-12-21fix issue where scope would be missing the * if the user was not logged in ↵nixos script
before calling the authorize endpoint fix #4200
2023-12-19fix potential memory leakChunkyProgrammer
2023-12-18fix: "Watch on YouTube" preserve current playlistguidiasz
2023-12-07Add title to toggle theme iconChunkyProgrammer
2023-12-07fix related video author when id is emptyChunkyProgrammer
2023-12-07Search: Don't error if AuthorId does not existChunky programmer
2023-12-07Add API endpoint for ClipsChunkyProgrammer
2023-12-07use start time and endtime for clipsChunkyProgrammer
2023-12-07Unescape search suggestionsChunkyProgrammer
2023-12-06Remove anti-captcha (#4277)Samantaz Fox
2023-12-06Misc: Fix logic for setting user agent (#4265)Samantaz Fox
2023-12-06Misc: Use #splat method for macro expressions (#4242)Samantaz Fox
2023-12-06Videos: Append '&mpd_version=5' to DASH manifest URL (#4196)Samantaz Fox
2023-11-30Update src/invidious/routes/channels.cr sort_by for consistencysrc-tinkerer
2023-11-28Fix error code for disabled popular endpointBrahim Hadriche
2023-11-25Remove unecessary if condition in videos.crsrc-tinkerer
2023-11-25Rename a variable in videos.crsrc-tinkerer
2023-11-23Helpers: remove JSONFilter logicSamantaz Fox
2023-11-23Kemal: remove APIHandler middlewareSamantaz Fox
2023-11-23Fix format in videos.crsrc-tinkerer
2023-11-22Use a single function for fetching channel contentssrc-tinkerer
2023-11-20Remove leftover functions/specs used by the anti-captcha jobSamantaz Fox
2023-11-20Config: Remove anti-captcha related configsSamantaz Fox
2023-11-20Jobs: Remove BypassCaptchaJobSamantaz Fox
2023-11-20Remove unused function produce_channel_livestream_urlsrc-tinkerer
2023-11-19Revert "Make head request to resolve short urls"Brahim Hadriche
This reverts commit 7e267da5beef5981b6db40e7b20f23f5dbd81136.
2023-11-17add user_agent if empty or crystalChunkyProgrammer
2023-11-15Fix logic for setting user agentChunkyProgrammer
2023-11-14fix youtube api vtt format subtitlekarelrooted
for fmt=vtt to work the fmt parameter in the original caption api url need to be replaced
2023-11-08Replace more * in macro with #splatsyeopite