summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2021-11-25likes/dislikes: better fallback managementSamantaz Fox
'.to_i64?' instead of '.to_i64' returns nil rather than raising an exception when it's done on an empty string. In some rare cases, rating can be equal to 5. In this case, the value of player_response[videoDetails][averageRating] is an Int and not a Float.
2021-11-25i18n: return 'key' if 'key' is not in locales filesSamantaz Fox
2021-11-24Use new techniques to get (dis)likes backSamantaz Fox
2021-11-21allow multiple, successive content-encodingsSamantaz Fox
2021-11-21extract_video_info: make sure that the Android player response is validSamantaz Fox
2021-11-21i18n: log a warning instead of rising an exceptionSamantaz Fox
This is more user-friendly. TODO: maybe make a compile time flag for testing purposes
2021-11-21Add other missing translationsSamantaz Fox
* on watch page and video cards (search results, playlists, etc...) * on /feed/playlists * in search filters (not normalized in order to avoid collisions with an existing PR that reworks the search filters)
2021-11-21Add missing translation for quality selectorsSamantaz Fox
2021-11-21Remove useless 'hl' parameters on captions URLSamantaz Fox
2021-11-21i18n: pass only the ISO code string to 'translate()'Samantaz Fox
Don't use the whole Hash everywhere. Also fall back nicely to english string if no translation exists.
2021-11-21i18n: Use language full name instead of ISO codeSamantaz Fox
Fixes #851
2021-11-21i18n: Add list of language namesSamantaz Fox
2021-11-17Escape video descriptionbabababag
2021-11-16Make sure to only apply fix if QUIC is disabledSamantaz Fox
2021-11-16Fix typo Samantaz Fox
Should be checking the returned headers, not the sent ones.
2021-11-16Temporary fix for #2612Samantaz Fox
Don't rely on the auto compression/decompression provided by the crystal stdlib.
2021-11-13Merge pull request #2444 from syeopite/only-use-redirect-endpoint-when-neededSamantaz Fox
Only use the /redirect endpoint when automatically redirecting to another instance
2021-11-12remove duplicate lsquic requirementÉmilien Devos
2021-11-12Disable quic by defaultsyeopite
See #2577
2021-11-12Remove of gzip header w/ use_quic configsyeopite
Continuation of b0f127d4d89bc1a001c9ad37b27eec8d9d8e7961
2021-11-12Fix handling for maxres thumbnailsyeopite
2021-11-12Fix copy-paste errorsyeopite
2021-11-12Allow thumbnail queries with QUIC disabledsyeopite
2021-11-12Use https for storyboard image requestssyeopite
2021-11-12Use https for ggpht requestssyeopite
2021-11-12Allow storyboard queries with QUIC disabledsyeopite
2021-11-12Allow ggpht queries with QUIC disabledsyeopite
2021-11-12Respect use_quic param and fix typossyeopite
2021-11-12Fix gzip decompression with HTTP::Clientsyeopite
2021-11-12Add compile-time flag to remove code for QUICsyeopite
2021-10-29Remove useless auto_generated param from PlaylistVideo#to_xmlSamantaz Fox
given the variables available in this function's context, 'author' and 'ucid' provide the same data 'self.author' and 'self.ucid', respectively. Given that fact, the variable `auto_generated` has no impact on the logic of this function, and hence can be safely removed. this greatly simplifies the code and makes it perfectly compatible with crystal's calling convention for '#to_xml' methods.
2021-10-29Fix 'to_json' in struct PlaylistVideoSamantaz Fox
2021-10-29Add TODO comments to other placesSamantaz Fox
2021-10-29Also fix 'to_json' in struct VideoSamantaz Fox
2021-10-28serialized_yt_data: force datatype of 'locale'Samantaz Fox
2021-10-28serialized_yt_data: Remove default nil value in to_jsonSamantaz Fox
this will ensure that two parameters are passed and that it doesn't collide with 'to_json(builder)'
2021-10-28Fix an infinite recursion caused by #2228Samantaz Fox
Changes in the aforementioned PR lead to change the behavior of some old code. The data type of the parameters aren't explicit enough, which makes the compiler use the wrong method because of type infering.
2021-10-26Use env.request.resource for instance switch linksyeopite
2021-10-26Rebase errorsyeopite
2021-10-26Remove unneeded redirect.invidious.io code in /redirectsyeopite
2021-10-26Only use /redirect when automatically redirectingsyeopite
2021-10-26Merge pull request #2529 from DmitrySandalov/masterSamantaz Fox
Feature Request: Localization for trending iv-org#331
2021-10-26Merge pull request #2428 from syeopite/ameba-fixesSamantaz Fox
Fix (some) issues detected by Ameba
2021-10-26Merge branch 'master' into masterSamantaz Fox
2021-10-26Normalize translation key for preferences categoriesSamantaz Fox
categories normalized: - Miscellanous - Player - Visual - Administrator - Data - Subscription
2021-10-26Normalize translation key for user prefrerencesSamantaz Fox
preferences normalized: - annotations - annotations_subscribed - automatic_instance_redirect - autoplay - captions - comments - continue - continue_autoplay - dark_mode - default_home - extend_desc - feed_menu - listen - local - locale - max_results - notifications_only - player_style - quality - quality_dash - related_videos - show_nick - sort - speed - thin_mode - unseen_only - video_loop - volume - vr_mode
2021-10-25Switch to #sort_by! in pull_popular_videos jobsyeopite
2021-10-25Reduce block verbosity furthersyeopite
2021-10-25Optimize assigning of on_response_received_endpointssyeopite
2021-10-25Remove extra dot between [] from ambea copy-pasting.syeopite