Commit Graph

3829 Commits

Author SHA1 Message Date
Samantaz Fox
81a2300af8
Prevent import of insanely large files 2022-01-12 01:28:58 +01:00
Samantaz Fox
2a541cb4d5
Add tests 2022-01-12 01:20:45 +01:00
Samantaz Fox
0120f44fd6
i18n: use spectator for i18next plurals spec 2022-01-12 00:49:36 +01:00
Samantaz Fox
b65dced646
Merge pull request #2789 from iv-org/TheFrenchGhosty-email
Add e-mail contact to the README
2022-01-11 01:57:11 +01:00
Samantaz Fox
e7394fe7a1
Merge pull request #2778 from iv-org/unixfox-postgres-improvement
Create videos caching table as UNLOGGED
2022-01-11 01:52:48 +01:00
Samantaz Fox
fb673639f9
Merge pull request #2787 from matthewmcgarvey/related-channels
Update to fetch related channels again
2022-01-11 01:50:48 +01:00
matthewmcgarvey
dc62b6ffdb Can fetch related channels using just the channel ucid] 2022-01-10 17:07:52 -06:00
Samantaz Fox
1f2ccac8a0
i18n: Reformat hu-HU.json 2022-01-10 23:01:58 +01:00
TheFrenchGhosty
46e4d35ccd
Rewording 2022-01-10 21:50:50 +00:00
Samantaz Fox
eb7e79fdf7
i18n: Apply code review suggestions + code cleaning 2022-01-10 22:49:07 +01:00
Samantaz Fox
37c953e633
i18n: Use plurals for tokens/replies/unseen notifications 2022-01-10 22:49:07 +01:00
Samantaz Fox
5bb2cb7d71
i18n: Use plurals for video/view/subscriber/subscription counts 2022-01-10 22:49:07 +01:00
Samantaz Fox
692f4e5be2
i18n: Use plurals for year/month/day/etc... 2022-01-10 22:49:07 +01:00
Samantaz Fox
7bb1471207
i18n: Add dedicated function for counts translation 2022-01-10 22:49:07 +01:00
Samantaz Fox
4752e16ad2
i18n: make multiple fixes to i18next plurals 2022-01-10 22:49:07 +01:00
Samantaz Fox
2a156e7313
i18n: Add plural tests (spec) 2022-01-10 22:49:03 +01:00
TheFrenchGhosty
0314dd44ea
Typo 2022-01-10 21:39:33 +00:00
TheFrenchGhosty
b80a3d5401
Fix the anchor 2022-01-10 21:38:24 +00:00
TheFrenchGhosty
8c4ef9f955
Apply suggestions 2022-01-10 21:37:44 +00:00
Samantaz Fox
67d2635e41
i18n: Add i18next plural rules and selector 2022-01-10 22:26:45 +01:00
Samantaz Fox
71a1ad307c
i18n: Add i18next plural resolver class 2022-01-10 22:26:45 +01:00
Samantaz Fox
9a48fd81a3
i18n: Add i18next plurals base sets 2022-01-10 22:26:45 +01:00
Emilien Devos
d928b9eaad switch to alpine 3.15 for using crystal 1.2.2 2022-01-09 22:27:22 +01:00
Samantaz Fox
790b7afcca
Fix indefinitely growing database 2022-01-09 22:04:10 +01:00
Émilien Devos
7b9f5d74dc Create videos caching table as UNLOGGED 2022-01-09 16:58:29 +00:00
TheFrenchGhosty
6eadba784d
Typo 2022-01-08 20:01:00 +00:00
TheFrenchGhosty
3a39045617
Add e-mail contact to the README 2022-01-08 19:52:05 +00:00
Samantaz Fox
67cb8b7107
Merge translations from 'weblate/master'
Conflicts resolutions
2022-01-08 20:10:26 +01:00
matthewmcgarvey
4962c00ba8 Update to fetch related channels again 2022-01-08 12:31:16 -06:00
bbielsa
6764185543
Add explicit return keyword 2022-01-08 18:07:07 +01:00
bbielsa
0a66a68db8
Move require statement to the correct file 2022-01-08 18:07:07 +01:00
bbielsa
8d47ec714e
Add text/xml as a possible mime type for xml file uploads 2022-01-08 18:07:07 +01:00
bbielsa
9607fe03af
Detect the type of subscription import format based on the content type of the file uploaded 2022-01-08 18:07:06 +01:00
bbielsa
62057e676a
Move parse_subscription_export_csv function to user/imports.cr 2022-01-08 18:07:06 +01:00
bbielsa
43ff3be751
Test if body content is likely JSON, if so parse the json format of subscriptions export. If the content is anything else, assume it is CSV and parse 2022-01-08 18:07:06 +01:00
bbielsa
7cbd79fee5
Add helper function parse_subscription_export_csv() which parses the csv format returned by the subscription exporter 2022-01-08 18:07:06 +01:00
Samantaz Fox
3fba342ed2
Merge pull request #2769 from weblate/weblate-invidious-translations
Translations update from Hosted Weblate
2022-01-08 18:03:07 +01:00
Hosted Weblate
2419c4d8ae
Update Italian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: coronabond <coronabond@airmail.cc>
2022-01-08 16:22:25 +01:00
Hosted Weblate
e37fb09d41
Update Portuguese translation
Co-authored-by: Gil <hello@giloliveira.net>
2022-01-08 16:22:25 +01:00
Hosted Weblate
86b1357a68
Update Hungarian translation
Update Hungarian translation

Update Hungarian translation

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: f3rr31 <5920873@disroot.org>
2022-01-08 16:22:25 +01:00
Samantaz Fox
b782ab5787
Merge pull request #2762 from matthewmcgarvey/spectactor
Switch to using Spectator for specs
2022-01-08 16:22:10 +01:00
matthewmcgarvey
6c0486646f Add spectator and switch to Spectator DSL 2022-01-07 09:27:50 -06:00
matthewmcgarvey
dffe8fc49e Move helpers_spec.rb into invidious directory 2022-01-07 09:26:13 -06:00
Hosted Weblate
1336ecbef2
Update Italian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: coronabond <coronabond@airmail.cc>
2022-01-07 15:09:10 +01:00
Hosted Weblate
d00e430f50
Update Hungarian translation
Update Hungarian translation

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: f3rr31 <5920873@disroot.org>
2022-01-07 15:09:10 +01:00
Samantaz Fox
5a728243a2
Merge pull request #2767 from SamantazFox/fix-subscriptions-not-cleared
Fix subscription not being cleared
2022-01-06 14:17:33 +01:00
Samantaz Fox
37f38dbf6c
Merge pull request #2771 from matthewmcgarvey/delete-playlists
Fix playlist deletion
2022-01-06 14:17:10 +01:00
matthewmcgarvey
2eb7c5c037 PR feedback 2022-01-05 20:15:42 -06:00
matthewmcgarvey
ba0bc72d0b delete_by_playlist_id -> delete_by_playlist 2022-01-05 19:03:32 -06:00
matthewmcgarvey
e1219cbdef Fix playlist deletion 2022-01-05 18:24:04 -06:00