e-reader issueshttps://framagit.org/peppercarrot/e-reader/-/issues2021-07-23T05:38:50Zhttps://framagit.org/peppercarrot/e-reader/-/issues/17Move database system to Room2021-07-23T05:38:50ZSabrinaMove database system to RoomThis is long overdue, and the working branch has been sitting idle for years.
Room offers more concise code and it is much easier to work with.
Fortunately the current system does not use the database for storing preferences, so there's...This is long overdue, and the working branch has been sitting idle for years.
Room offers more concise code and it is much easier to work with.
Fortunately the current system does not use the database for storing preferences, so there's no data to migrate. This makes transition a bit more easier.Version 2.0SabrinaSabrinahttps://framagit.org/peppercarrot/e-reader/-/issues/18Database normalization2021-07-23T05:37:19ZSabrinaDatabase normalizationThis gave me a headache a few years ago when I tried to move over to Room. I thought it was too convoluted to do complex relationship with the library. But now that I know how to do it using Room, it needs to be done.
Current database s...This gave me a headache a few years ago when I tried to move over to Room. I thought it was too convoluted to do complex relationship with the library. But now that I know how to do it using Room, it needs to be done.
Current database structure is [unnormalized](https://en.wikipedia.org/wiki/Unnormalized_form). I just winged it with a JSON to store multiple language options. This held back the potential of this database.
To normalize it to [3NF](https://en.wikipedia.org/wiki/Third_normal_form), a new table 'EpisodeLanguage' will be created. This table uses a composite key of both episode and language ID to create a many-to-many relationship between them.Version 2.0SabrinaSabrinahttps://framagit.org/peppercarrot/e-reader/-/issues/19Deprecation of Kotlin synthetics2021-07-23T05:23:24ZSabrinaDeprecation of Kotlin syntheticshttps://developer.android.com/topic/libraries/view-binding/migrationhttps://developer.android.com/topic/libraries/view-binding/migrationVersion 2.0SabrinaSabrinahttps://framagit.org/peppercarrot/e-reader/-/issues/13App Crash when User Clicks Away from Archive and Come Back2020-07-05T10:23:36ZSabrinaApp Crash when User Clicks Away from Archive and Come BackSabrinaSabrinahttps://framagit.org/peppercarrot/e-reader/-/issues/9Auto-update episodes metadata mechanism2019-01-29T15:39:02ZValvinAuto-update episodes metadata mechanismThe episode 27 is not yet present in metadata files which involves that e-reader has not yet the last episode available.
Maybe there is a way to update that file in the process of episode release in an automatic manner?
**EDIT** : afte...The episode 27 is not yet present in metadata files which involves that e-reader has not yet the last episode available.
Maybe there is a way to update that file in the process of episode release in an automatic manner?
**EDIT** : after some discussion metadata were online but e-reader mechanism was not updating the information. it could be interesting to have a way to refresh manually or at startup.SabrinaSabrinahttps://framagit.org/peppercarrot/e-reader/-/issues/12App keeps failing in the background2019-01-11T12:40:49ZOfficialMITXApp keeps failing in the backgroundI get android notifications about that this app stops working in the bavkground, even though I didn't even open it since last restart. Happens ever since I got it. I have a Motorola Moto E4Plus with stock Android 7.1.1
--
Sent from my A...I get android notifications about that this app stops working in the bavkground, even though I didn't even open it since last restart. Happens ever since I got it. I have a Motorola Moto E4Plus with stock Android 7.1.1
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.https://framagit.org/peppercarrot/e-reader/-/issues/4SSLHandshakeException on <Android 4.4 devices2018-11-28T02:52:35ZPierre RudloffSSLHandshakeException on <Android 4.4 devicesHello,
On my Android 4.2.2 device, the app displays `Network Error: Connect to network and try again`.
I get this error with logcat:
```
W/System.err( 1319): javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL ...Hello,
On my Android 4.2.2 device, the app displays `Network Error: Connect to network and try again`.
I get this error with logcat:
```
W/System.err( 1319): javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x5be43f40: Failure in SSL library, usually a protocol error
W/System.err( 1319): error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version (external/openssl/ssl/s23_clnt.c:741 0x54c18941:0x00000000)
W/System.err( 1319): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:420)
W/System.err( 1319): at b.a.b.c.a(Unknown Source)
W/System.err( 1319): at b.a.b.c.a(Unknown Source)
W/System.err( 1319): at b.a.b.c.a(Unknown Source)
W/System.err( 1319): at b.a.b.g.a(Unknown Source)
W/System.err( 1319): at b.a.b.g.a(Unknown Source)
W/System.err( 1319): at b.a.b.g.a(Unknown Source)
W/System.err( 1319): at b.a.b.a.a(Unknown Source)
W/System.err( 1319): at b.a.c.g.a(Unknown Source)
W/System.err( 1319): at b.a.c.g.a(Unknown Source)
W/System.err( 1319): at b.a.a.a.a(Unknown Source)
W/System.err( 1319): at b.a.c.g.a(Unknown Source)
W/System.err( 1319): at b.a.c.g.a(Unknown Source)
W/System.err( 1319): at b.a.c.a.a(Unknown Source)
W/System.err( 1319): at b.a.c.g.a(Unknown Source)
W/System.err( 1319): at b.a.c.j.a(Unknown Source)
W/System.err( 1319): at b.a.c.g.a(Unknown Source)
W/System.err( 1319): at b.a.c.g.a(Unknown Source)
W/System.err( 1319): at b.x.f(Unknown Source)
W/System.err( 1319): at b.x.a(Unknown Source)
W/System.err( 1319): at nightlock.peppercarrot.c.h.a(Unknown Source)
W/System.err( 1319): at nightlock.peppercarrot.c.h.b(Unknown Source)
W/System.err( 1319): at nightlock.peppercarrot.c.f$a.a(Unknown Source)
W/System.err( 1319): at nightlock.peppercarrot.activities.SplashActivity$a.b(Unknown Source)
W/System.err( 1319): at nightlock.peppercarrot.activities.SplashActivity$a.a(Unknown Source)
W/System.err( 1319): at io.github.mthli.sugartask.a$2.run(Unknown Source)
W/System.err( 1319): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
W/System.err( 1319): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
W/System.err( 1319): at java.lang.Thread.run(Thread.java:856)
W/System.err( 1319): Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x5be43f40: Failure in SSL library, usually a protocol error
W/System.err( 1319): error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version (external/openssl/ssl/s23_clnt.c:741 0x54c18941:0x00000000)
W/System.err( 1319): at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_do_handshake(Native Method)
W/System.err( 1319): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:378)
W/System.err( 1319): ... 28 more
```
I guess the SSL library is too old?SabrinaSabrinahttps://framagit.org/peppercarrot/e-reader/-/issues/8New Database Design2018-10-25T01:09:12ZSabrinaNew Database DesignCurrent DB design is simply copying the data on episodes.json and languages.json into a separate table. With this approach I can get supported language with the episode data but not the other way around. Also with the addition of file pa...Current DB design is simply copying the data on episodes.json and languages.json into a separate table. With this approach I can get supported language with the episode data but not the other way around. Also with the addition of file path in https://framagit.org/peppercarrot/tools/issues/19 we also need a entry/table to put them in.
Here's the design requirements I see:
* We should be able to get episode id and language code(P&C) when either one is present.
* We should be able to store file paths in a scalable form i.e. not restricted in the number of paths.https://framagit.org/peppercarrot/e-reader/-/issues/7SplashActivity Crashes when The Language of The System Does Not Exist in lang...2018-09-10T18:51:12ZKarl Ove Hufthammerkarl@huftis.orgSplashActivity Crashes when The Language of The System Does Not Exist in lang.jsonThe app consistently crashes at startup for me. When I launch the app, I see a ‘Select Content Languages’ header at the top and and an orange icon at the bottom right, but the rest of the page is blank (white), and I immediately get a ‘R...The app consistently crashes at startup for me. When I launch the app, I see a ‘Select Content Languages’ header at the top and and an orange icon at the bottom right, but the rest of the page is blank (white), and I immediately get a ‘Reader for Pepper&Carrot has stopped’ error message (and the app is automatically closed). The same thing happens if I try to relaunch the app.
I use Android Oreo with the latest updates and a Norwegian Nynorsk locale.https://framagit.org/peppercarrot/e-reader/-/issues/2Wrong No internet connection message2018-05-24T11:31:15ZValvinWrong No internet connection messageOn the first lauch an internet connection error appears althought LTE connectivity is OK.
I suspect app checks wifi only?
![Screenshot_20171211-110802](/uploads/c7c1f02ab92f856860671ea68796022b/Screenshot_20171211-110802.png)On the first lauch an internet connection error appears althought LTE connectivity is OK.
I suspect app checks wifi only?
![Screenshot_20171211-110802](/uploads/c7c1f02ab92f856860671ea68796022b/Screenshot_20171211-110802.png)