summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2022-01-04Move DB queries related to 'users' in a separate module (2/2)Samantaz Fox
2022-01-04Move DB queries related to 'users' in a separate module (1/2)Samantaz Fox
2022-01-04Move DB queries related to session tokens in a separate moduleSamantaz Fox
2022-01-04Move DB queries related to channels in a separate moduleSamantaz Fox
2022-01-04Move DB queries related to statistics in a separate moduleSamantaz Fox
2022-01-04Move DB queries related to playlists in a separate module (2/3)Samantaz Fox
2022-01-04Move DB queries related to playlists in a separate module (1/3)Samantaz Fox
2022-01-04Move DB queries related to 'videos' in a separate moduleSamantaz Fox
2021-12-28Merge pull request #2727 from SamantazFox/add-shorts-supportSamantaz Fox
Add support for shorts
2021-12-22i18n: Add Serbian backSamantaz Fox
2021-12-21Merge pull request #2538 from bbielsa/player-remember-positionSamantaz Fox
Retain video time position in video player
2021-12-19Fix XSS vulnerability in channel playlistsSamantaz Fox
The channel/<ucid>/playlists page was vulnerable to Cross Site Scripting (XSS), because the different URL parameters were inserted as-is in the URL meant for instance switching. This vulnerability could allow an attacker to inject malicious Javascript in the page by tricking the user to click on a crafted link. Bug introduced in commit 66e7285108363c3c3dcb814bdffb716c14e1724d ("Only use /redirect when automatically redirecting"). Thanks to Jack (@testa:cthd.icu on Matrix, @cysea on github) for responsibly reporting this issue!
2021-12-17Extractors: Add support for shortsSamantaz Fox
Fixes #2708
2021-12-15Fix formatting of preferences.cr and videos.crbbielsa
2021-12-15Use localization for save player position label in the preferences pagebbielsa
2021-12-15Rename 'remember_position' to 'save_player_pos' for claritybbielsa
2021-12-15Add remember_position field to the Preferences and VideoPreferences structs, ↵bbielsa
and add a checkbox in the preferences page to toggle it
2021-12-12Merge pull request #2576 from SamantazFox/fix-locales-handlingSamantaz Fox
Fix locales handling
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