- fix checkstyle errors
- tests do not run in order, so each one has to do its own assertions separately from what others did
- the uid of an entity in the database needn't be the same of the one created in-memory, since the uid gets assigned upon inserting in the database
- some database functions return a `Completable` that doesn't do anything until it is subscribed to or awaited, so I added `.awaitBlocking()` where needed
- the data of an entity in-memory does not get updated automatically when the corresponding entity in the database is changed, so some tests have been removed
- `manager.insertSubscription` only inserts recent streams, so they need to have a date set on them (I also made related items hardcoded and not dependent on what the channel is currently doing)
Taken from #8712 with updated screenshots and applied reviews.
Co-authored-by: Nico Haas <nico.haas@aisec.fraunhofer.de>
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authered-by: TobiGr <tobigr@users.noreply.github.com>
Currently translated at 55.4% (41 of 74 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Malayalam)
Currently translated at 83.7% (572 of 683 strings)
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (French)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Tigrinya)
Currently translated at 2.1% (15 of 683 strings)
Translated using Weblate (Tigrinya)
Currently translated at 4.0% (3 of 74 strings)
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 22.2% (152 of 683 strings)
Translated using Weblate (Turkish)
Currently translated at 98.8% (675 of 683 strings)
Added translation using Weblate (Tigrinya)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (683 of 683 strings)
Added translation using Weblate (Kannada)
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 13.4% (92 of 683 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Korean)
Currently translated at 12.1% (9 of 74 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (683 of 683 strings)
Added translation using Weblate (English (Middle))
Added translation using Weblate (English (Old))
Added translation using Weblate (Sicilian)
Added translation using Weblate (Aymara)
Added translation using Weblate (Arabic (Najdi))
Added translation using Weblate (Kashmiri)
Added translation using Weblate (German (Low))
Translated using Weblate (Korean)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Latvian)
Currently translated at 93.7% (640 of 683 strings)
Translated using Weblate (Dutch)
Currently translated at 64.8% (48 of 74 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 95.9% (71 of 74 strings)
Translated using Weblate (German)
Currently translated at 74.3% (55 of 74 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (683 of 683 strings)
Deleted translation using Weblate (Kashmiri)
Deleted translation using Weblate (Arabic (Najdi))
Deleted translation using Weblate (Aymara)
Deleted translation using Weblate (Sicilian)
Deleted translation using Weblate (English (Old))
Deleted translation using Weblate (English (Middle))
Deleted translation using Weblate (German (Low))
Translated using Weblate (Belarusian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Slovak)
Currently translated at 17.5% (13 of 74 strings)
Translated using Weblate (French)
Currently translated at 90.5% (67 of 74 strings)
Translated using Weblate (Sardinian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Estonian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Hebrew)
Currently translated at 99.2% (678 of 683 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Italian)
Currently translated at 97.2% (664 of 683 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (French)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (German)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (German)
Currently translated at 100.0% (683 of 683 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: AhHyeon An <toto1444@gmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: Alexthegib <jcwkgxc@nightorb.com>
Co-authored-by: Arnis Jaundzeikars <sangsatori@theradiant.space>
Co-authored-by: AudricV <AudricV@users.noreply.hosted.weblate.org>
Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
Co-authored-by: Domokun <domokun@asdasd.nl>
Co-authored-by: Emin Tufan Çetin <etcetin@gmail.com>
Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: Hoseok Seo <ddinghoya@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Marian Hanzel <marulinko@gmail.com>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Olivia Ng <uloo592@gmail.com>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: SC <lalocas@protonmail.com>
Co-authored-by: Surfoo <surfooo@gmail.com>
Co-authored-by: TobiGr <tobigr@mail.de>
Co-authored-by: Vasilis K <skyhirules@gmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: ai <woldu@duck.com>
Co-authored-by: atilluF <110931720+atilluF@users.noreply.github.com>
Co-authored-by: ctntt <pavlov_mainstreamed@slmail.me>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: gbpu <gui.beppu@gmail.com>
Co-authored-by: gymka <gymka@archlinux.lt>
Co-authored-by: jeffin-v <jeffin@posteo.net>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Co-authored-by: random r <epsilin@yopmail.com>
Co-authored-by: thami simo <simo.azad@gmail.com>
Co-authored-by: tryvseu <tryvseu@tuta.io>
Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Co-authored-by: 이정희 <daemul72@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/az/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ko/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/nl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ti/
Translation: NewPipe/Metadata
Translated using Weblate (Hungarian)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (683 of 683 strings)
Translated using Weblate (Galician)
Currently translated at 99.7% (681 of 683 strings)
Translated using Weblate (Hungarian)
Currently translated at 17.5% (13 of 74 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hu/
Translated using Weblate (Hindi)
Currently translated at 100.0% (74 of 74 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hi/
Translated using Weblate (N’Ko)
Currently translated at 98.5% (673 of 683 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (683 of 683 strings)