summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-11-07Merge pull request #2471 from SamantazFox/extractor-patch-2Samantaz Fox
Fix infinite recursion caused by `to_json` methods in different data structures
2021-11-05Translations update from Weblate (#2557)Weblate (bot)
* Update Spanish translation Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net> * Update Japanese translation Co-authored-by: The Hatsune Daishi <nao20010128@gmail.com> * Update Croatian translation Co-authored-by: Milo Ivir <mail@milotype.de> * Update Swedish translation Co-authored-by: Joel A <joeax910@student.liu.se> * Update Esperanto translation Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net> * Update Chinese (Simplified) translation Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update Turkish translation Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com> * Update Chinese (Traditional) translation Co-authored-by: Jeff Huang <s8321414@gmail.com> * Update Lithuanian translation Co-authored-by: g <muziejusinfo@gmail.com> * Update Portuguese translation Co-authored-by: SC <lalocas@protonmail.com> * Update Indonesian translation Co-authored-by: Neko Nekowazarashi <i.musthafa66@gmail.com> Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net> Co-authored-by: The Hatsune Daishi <nao20010128@gmail.com> Co-authored-by: Milo Ivir <mail@milotype.de> Co-authored-by: Joel A <joeax910@student.liu.se> Co-authored-by: Eric <spice2wolf@gmail.com> Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com> Co-authored-by: Jeff Huang <s8321414@gmail.com> Co-authored-by: g <muziejusinfo@gmail.com> Co-authored-by: SC <lalocas@protonmail.com> Co-authored-by: Neko Nekowazarashi <i.musthafa66@gmail.com>
2021-11-01Add "preferences_quality_dash_label" to en_US.jsonSamantaz Fox
This key never existed before and #2524 just made it obvious.
2021-10-31Translations update from Weblate (#2543)Weblate (bot)
* Update Spanish translation * Update Arabic translation * Update Esperanto translation * Update Chinese (Simplified) translation * Update Turkish translation * Update Chinese (Traditional) translation * Update Lithuanian translation * Update Portuguese translation Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net> Co-authored-by: Rex_sa <rex.sa@pm.me> Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net> Co-authored-by: Eric <spice2wolf@gmail.com> Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com> Co-authored-by: Jeff Huang <s8321414@gmail.com> Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com> Co-authored-by: SC <lalocas@protonmail.com> * Update translation files Translation: Invidious/Invidious Translations Translate-URL: https://hosted.weblate.org/projects/invidious/translations/ Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Omer I.S <omeritzicschwartz@gmail.com> Co-authored-by: Samantaz Fox <translator-weblate@samantaz.fr> Co-authored-by: 황윤성 <hys@osbusiness.net>
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-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-26Merge pull request #2524 from SamantazFox/preferences-locales-reworkSamantaz Fox
Preferences locales key normalization
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-26Merge pull request #2523 from weblate/weblate-invidious-translationsSamantaz Fox
Translations update from Weblate
2021-10-26Update Indonesian translationHosted Weblate
Update Portuguese (Brazil) translation Update German translation Update Portuguese translation Update Croatian translation Update translation files Updated by "Cleanup translation files" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Update translation files Updated by "Remove blank strings" hook in Weblate. Co-authored-by: Gabriel Cardoso <g.cardoso@mailfence.com> Co-authored-by: Gordon Shumway <machine@gordon-shumway.net> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Milo Ivir <mail@milotype.de> Co-authored-by: Neko Nekowazarashi <i.musthafa66@gmail.com> Co-authored-by: SC <lalocas@protonmail.com> Translate-URL: https://hosted.weblate.org/projects/invidious/translations/ Translation: Invidious/Invidious Translations
2021-10-26Delete lock.ymlsyeopite
2021-10-26Add healthcheck for docker-compose황윤성
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
2021-10-25Update src/invidious/routes/playlists.crsyeopite
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2021-10-25Update src/invidious/routes/channels.crsyeopite
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2021-10-25Fix Style/IsAFilter issuessyeopite
2021-10-25Fix Performance/ChainedCallWithNoBang issuessyeopite
2021-10-25Fix Style/VerboseBlock issuessyeopite
2021-10-25Fix Style/VariableNames issuessyeopite
2021-10-25Fix Lint/UnusedArgument issuessyeopite
2021-10-25Fix Lint/RedundantStringCoercion issuessyeopite
2021-10-25Feature Request: Localization for trending (remove region from server config)Dmitry Sandalov
2021-10-24Bump crystal version for ARM docker container to 1.2.0-r0 (#2527)Samantaz Fox
2021-10-21Feature Request: Localization for trending (fix lint CONTENT_REGIONS end comma)Dmitry Sandalov
2021-10-21Feature Request: Localization for trending (reword region doc)Dmitry Sandalov
2021-10-21Feature Request: Localization for trending (move TRENDING_REGIONS to i18n.cr ↵Dmitry Sandalov
as CONTENT_REGIONS)
2021-10-21Feature Request: Localization for trending iv-org#331Dmitry Sandalov
2021-10-20Merge pull request #2433 from iv-org/increase-channel-refresh-delaysyeopite
Decrease channel refresh frequency (1 min -> 1 h)
2021-10-18Merge pull request #2477 from SamantazFox/move-prefs-and-configsyeopite
Move user preferences and server config
2021-10-18Merge pull request #2478 from SamantazFox/code-cleanupsyeopite
Code cleanup
2021-10-18Move 'extract_text()' to 'extractors_utils.cr'Samantaz Fox
2021-10-18Move 'extractors.cr' to 'yt_backend' folderSamantaz Fox
2021-10-18Move 'add_yt_headers()' to 'connection_pool.cr'Samantaz Fox
2021-10-18Move 'extract_videos' and 'extract_selected_tab' tooSamantaz Fox
2021-10-18Add fetch_continuation_token back (required by #2215)Samantaz Fox
2021-10-18Add 'require' statement to 'invidious.cr'Samantaz Fox
2021-10-18Remove fetch_continuation_token(): dead codeSamantaz Fox
2021-10-18Move the YoutubeConnectionPool code to its own fileSamantaz Fox