Commit Graph

3282 Commits (5bb2cb7d71b3e44e7754a4e06e45c831d30211fc)
 

Author SHA1 Message Date
Hosted Weblate 792d25594c
Update Spanish translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
3 years ago
mcnesium 9f9020e422
Double quote variable to prevent sh error (#2754) 3 years ago
Samantaz Fox 302fecbdcb
Clean useless database arguments (5/5) 3 years ago
Samantaz Fox d74873fed1
Clean useless database arguments (4/5) 3 years ago
Samantaz Fox 40ed4a0506
Clean useless database arguments (3/5) 3 years ago
Samantaz Fox c25d664edc
Clean useless database arguments (2/5) 3 years ago
Samantaz Fox 9bad7e2940
Clean useless database arguments (1/5) 3 years ago
Samantaz Fox 6704ce3214
Move DB utility functions to the proper module 3 years ago
Samantaz Fox 914cfbd953
Move DB queries related to 'annotations' in a separate module 3 years ago
Samantaz Fox 85cf27119c
Move DB queries related to playlists in a separate module (3/3) 3 years ago
Samantaz Fox 7691f53520
Move DB queries related to 'users' in a separate module (2/2) 3 years ago
Samantaz Fox 094f835642
Move DB queries related to 'users' in a separate module (1/2) 3 years ago
Samantaz Fox 92eea3b18b
Move DB queries related to session tokens in a separate module 3 years ago
Samantaz Fox c021b93b5c
Move DB queries related to channels in a separate module 3 years ago
Samantaz Fox d94d4c2045
Move DB queries related to statistics in a separate module 3 years ago
Samantaz Fox 46d08237c6
Move DB queries related to playlists in a separate module (2/3) 3 years ago
Samantaz Fox 3deafe9f8d
Move DB queries related to playlists in a separate module (1/3) 3 years ago
Samantaz Fox 998edba6f0
Move DB queries related to 'videos' in a separate module 3 years ago
Samantaz Fox 4f219362fe
Also fix DISABLE_QUIC declaration 3 years ago
Samantaz Fox c427444946
Flag to disable QUIC should be 'disable_quic' 3 years ago
11Tuvork28 d59323a601
Add check to avoid saving player pos to the
length of the given video by saving a minimum of 15 at the end
3 years ago
Samantaz Fox a779cdd463
Merge pull request #2727 from SamantazFox/add-shorts-support
Add support for shorts
3 years ago
Théo Gaillard 73a142fd9b
fix: null ptr while loading/switching theme 3 years ago
Théo Gaillard 0453d08eed
fix: null ptr while retaining time 3 years ago
TheFrenchGhosty a18068aedf
Merge pull request #2734 from iv-org/TheFrenchGhosty-patch-1
Add the Invidious's Mastodon account to the README
3 years ago
TheFrenchGhosty 12fba3bb7a
Add the Invidious's Mastodon account to the README 3 years ago
Samantaz Fox fc2b9031d4
i18n: Add Serbian back 3 years ago
Samantaz Fox 28a6589a1e
Merge pull request #2538 from bbielsa/player-remember-position
Retain video time position in video player
3 years ago
Samantaz Fox cf9c790499
Merge pull request #2730 from weblate/weblate-invidious-translations
Translations update from Hosted Weblate
3 years ago
Hosted Weblate 3d6dceae10
Update Indonesian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: I. Musthafa <i.musthafa66@gmail.com>
3 years ago
Hosted Weblate 130a14d0d9
Update Chinese (Traditional) translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
3 years ago
Hosted Weblate f07b4f8fc4
Update Turkish translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
3 years ago
Hosted Weblate 75f655aafc
Update French translation
Update French translation

Co-authored-by: Bundy01 <bundy@posteo.eu>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Samantaz Fox <translator-weblate@samantaz.fr>
3 years ago
Hosted Weblate a3fd9ccea7
Update Arabic translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Rex_sa <rex.sa@pm.me>
3 years ago
Hosted Weblate 4136ac633a
Update Japanese translation
Co-authored-by: GnuPGを使うべきだ <dieeeazpnnqbpddh@cock.email>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
3 years ago
Hosted Weblate 2724456882
Update Norwegian Bokmål translation
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
3 years ago
Hosted Weblate b396a2cbfd
Update Spanish translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
3 years ago
Samantaz Fox ddb06b0cac
Fix XSS vulnerability in channel playlists
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 66e7285108
("Only use /redirect when automatically redirecting").

Thanks to Jack (@testa:cthd.icu on Matrix, @cysea on github) for responsibly
reporting this issue!
3 years ago
Samantaz Fox f54e247eb4
Extractors: Add support for shorts
Fixes #2708
3 years ago
Samantaz Fox 2ac19eb8fc
Merge pull request #2725 from weblate/weblate-invidious-translations
Translations update from Hosted Weblate
3 years ago
Hosted Weblate 6cdaafdc37
Update Norwegian Bokmål translation
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
3 years ago
bbielsa ed6476b5ea Allow the t parameter to override the stored video playback position 3 years ago
bbielsa b90bceb2dc Fix formatting of preferences.cr and videos.cr 3 years ago
bbielsa f31bd5ffb9 Use localization for save player position label in the preferences page 3 years ago
bbielsa 5abe7fe123 Rename 'remember_position' to 'save_player_pos' for clarity 3 years ago
bbielsa b6792cf02e Added default value for get_video_time() which was causing a bug in safari 3 years ago
bbielsa 1261323c66 Remove console.log debugging 3 years ago
bbielsa 2a45b4eba0 Save and load the position for the video using a local storage object, the object is a dictionary, where the key is the video ID, and the value is the time at which the user last left off watching the video. If the user deselected the 'remember video position' checkbox in the preferences this dictionary is cleared 3 years ago
bbielsa a6a0bbf398 Add remember_position field to the Preferences and VideoPreferences structs, and add a checkbox in the preferences page to toggle it 3 years ago
Samantaz Fox 7f3ef12297
Merge pull request #2692 from weblate/weblate-invidious-translations
Invidious translations update
Merged from the command line due to merge conflicts.
3 years ago