summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2021-12-06Merge pull request #2659 from SamantazFox/fix-likes-dislikesSamantaz Fox
Fix likes/dislikes
2021-12-02Merge pull request #2683 from iv-org/SamantazFox-patch-1Samantaz Fox
Fix #2682
2021-12-01Merge pull request #2671 from matthewmcgarvey/code-removalSamantaz Fox
Remove dead code
2021-12-01Use 'dig()' in 'find()' statementsSamantaz Fox
2021-11-29Fix #2670Samantaz Fox
Fixes "Download widget replaces spaces in filename with +" https://github.com/iv-org/invidious/issues/2670
2021-11-29Remove dead codematthewmcgarvey
2021-11-29Fix #2682Samantaz Fox
Fix "Missing param name: "q" (KeyError)" https://github.com/iv-org/invidious/issues/2682
2021-11-28Use dig to get category contentsSamantaz Fox
Co-authored-by: Matthew McGarvey <matthewmcgarvey14@gmail.com>
2021-11-28Typo: missing '?' when looking for key in dislikes_buttonSamantaz Fox
Co-authored-by: Matthew McGarvey <matthewmcgarvey14@gmail.com>
2021-11-28Decompress the response body ourselvesSamantaz Fox
Temp fix for #2612
2021-11-28Revert "Temporarily fix for #2612" (#2673)Émilien Devos
2021-11-28Merge pull request #2656 from SamantazFox/fix-2549Samantaz Fox
extract_video_info: Make sure that the Android player response is valid
2021-11-28Merge pull request #2623 from SamantazFox/temp-decompression-fixSamantaz Fox
Temporarily fix for #2612
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.