Commit graph

4674 commits

Author SHA1 Message Date
matthewmcgarvey bf054dfda5 Do not check for pending migrations on app start
This is so that we don't break deploys with this PR.
Instead we only ship the 'invidious --migrate' cli command
and let people test that. Maybe even ship a new migration that wouldn't break
apps that don't run the migrations. Then we roll out the functionality
that requires migrations.
2022-02-12 09:20:43 -06:00
matthewmcgarvey 59654289cb Run migrations through CLI instead of when app starts 2022-02-11 22:43:16 -06:00
matthewmcgarvey cf13c11236 Migrations tweaks 2022-02-11 22:29:19 -06:00
matthewmcgarvey ddf1e84f7c Raise exception if playability not ok, also handle missing related videos 2022-02-10 23:43:14 -06:00
Samantaz Fox ec183e3c9a
Merge pull request #2891 from SamantazFox/check-host-param
video_playback: Check "host" parameter validity
2022-02-11 05:16:47 +01:00
Samantaz Fox 01135db80a
video_playback: Check "host" parameter validity 2022-02-11 02:04:05 +01:00
Samantaz Fox 955e3de56d
Merge pull request #2890 from iv-org/SamantazFox-patch-1
DB: fix inverted arguments in User.update_password()
2022-02-10 22:44:40 +01:00
Samantaz Fox cdd473e195
DB: fix inverted arguments in User.update_password()
Closes https://github.com/iv-org/invidious/issues/2875
2022-02-10 19:52:45 +01:00
Samantaz Fox 34fe7f04fa
Merge pull request #2888 from weblate/weblate-invidious-translations
Translations update from Hosted Weblate
2022-02-10 19:32:38 +01:00
Hosted Weblate 55c280af5d
Update Indonesian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: ʏᴜᴜ <vcyzteen@protonmail.com>
2022-02-10 18:39:03 +01:00
Hosted Weblate ea5a4f6d6e
Update Portuguese translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: SC <lalocas@protonmail.com>
2022-02-10 18:39:03 +01:00
Hosted Weblate d169f91d64
Update Croatian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Milo Ivir <mail@milotype.de>
2022-02-10 18:39:03 +01:00
Hosted Weblate 8b29895ef3
Update French translation
Co-authored-by: Samantaz Fox <translator-weblate@samantaz.fr>
2022-02-10 18:39:03 +01:00
Hosted Weblate 3cfc5c164d
Update Arabic translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Mohammed Anas <6daf084a-8eaf-40fb-86c7-8500077c3b69@anonaddy.me>
2022-02-10 18:39:03 +01:00
Hosted Weblate 4e55d9937c
Update Chinese (Traditional) translation
Co-authored-by: Jeff Huang <s8321414@gmail.com>
2022-02-10 18:39:02 +01:00
Hosted Weblate 03fe8d1716
Update Chinese (Simplified) translation
Co-authored-by: Eric <alchemillatruth@purelymail.com>
2022-02-10 18:39:02 +01:00
Hosted Weblate d6d7d209c1
Update Turkish translation
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
2022-02-10 18:39:02 +01:00
Hosted Weblate fa044a2971
Update Hungarian translation
Co-authored-by: István Nyitrai <sianis@gmail.com>
2022-02-10 18:39:02 +01:00
Hosted Weblate 72fce387db
Update Spanish translation
Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
2022-02-10 18:39:02 +01:00
Samantaz Fox da10cdd5ab
Merge pull request #2872 from SamantazFox/misaligned-captions
Use a regex to fix badly aligned captions
2022-02-10 18:38:59 +01:00
Samantaz Fox 83de3a51ea
Merge pull request #2885 from matthewmcgarvey/data-control
Update wording on data control page for clarity
2022-02-10 18:38:15 +01:00
matthewmcgarvey 8faf8b8e57 Update en-US translations instead of translation keys for data control 2022-02-10 11:29:00 -06:00
matthewmcgarvey 5a349ae88b Update wording on data control page for clarity 2022-02-09 23:38:24 -06:00
matthewmcgarvey 8ec992a8a3 Add custom migration implementation 2022-02-09 00:50:32 -06:00
Samantaz Fox e2fc64296d
Merge pull request #2874 from SamantazFox/small-fixes
Small fixes
2022-02-09 01:42:11 +01:00
Samantaz Fox ec55b905cb
Fix empty error page on BrokenTubeException 2022-02-09 01:36:17 +01:00
Samantaz Fox 492d1144e0
Apply changes from code review 2022-02-08 03:05:49 +01:00
Samantaz Fox 4f4b19a962
embed page: fix typo in videojs-overlay script URL 2022-02-08 02:41:08 +01:00
Samantaz Fox febd785428
Add missing subtitle languages 2022-02-08 02:13:14 +01:00
Samantaz Fox 8642c66710
Mention that VR videos option require WebGL 2022-02-08 01:54:09 +01:00
Samantaz Fox 76cc8ac66b
HTML escape error message 2022-02-08 01:48:44 +01:00
Samantaz Fox 53d349a648
Inline a few JS functions
Helps sending less bytes to the client.
2022-02-08 01:37:57 +01:00
Samantaz Fox b344e1aadb
handlers.js: fix TypeError on document.activeElement.type 2022-02-08 01:26:51 +01:00
Samantaz Fox 3c882cff6e
player shortcuts: ignore numpad 2022-02-08 01:26:51 +01:00
Samantaz Fox f73aef33f0
Add compile option to disable fetching of player dependencies 2022-02-07 22:45:08 +01:00
Samantaz Fox d12dff9dcf
Use a regex to fix badly aligned captions 2022-02-07 22:18:24 +01:00
Samantaz Fox 99d770be64
Move user pages (ECR files) to subfolder 2022-02-07 17:39:15 +01:00
Samantaz Fox 71a8867a4a
Move user cookies to their own module 2022-02-07 17:39:15 +01:00
Samantaz Fox 2bbd424fce
Move import logic to its own module 2022-02-07 17:38:50 +01:00
Samantaz Fox ef8dc7272b
Put CSV import function under its own module 2022-02-07 17:15:22 +01:00
Samantaz Fox ad4a06fca5
Move user captcha code to its own module 2022-02-07 17:15:22 +01:00
Samantaz Fox c04f45d5e3
Move user struct to own file, under Invidious namespace 2022-02-07 17:15:22 +01:00
Samantaz Fox fb36155022
Move user routes definitions to a macro in routing.cr 2022-02-07 17:15:21 +01:00
Samantaz Fox 7ace3fc989
Move remaining user-related routes out of main file 2022-02-07 17:15:21 +01:00
Samantaz Fox 170e754998
Merge pull request #2868 from SamantazFox/related-channels-items-fix
Related channel may contain a continuation entry
2022-02-07 16:54:44 +01:00
Samantaz Fox 6a75fa08dc
Merge pull request #2492 from mastihios/patch-input-html-escape
Change <input value="..."> encoding to HTML.escape
2022-02-07 16:53:43 +01:00
Samantaz Fox 1c5db46a4d
Merge pull request #2870 from rex4539/typos
Fix typos
2022-02-07 16:53:28 +01:00
Dimitris Apostolou 7e4690e43c
Fix typos 2022-02-07 14:57:14 +02:00
jonas-w f8b29674b2 Gave them marks some space and added nil checks 2022-02-07 02:25:34 +01:00
jonas-w fe55141a7b Crystal format 2022-02-07 02:04:50 +01:00