J-Novel Club
    • Categories
    • Recent
    • Tags
    • Users
    • Login

    Yet Another PWA JNC Client

    Scheduled Pinned Locked Moved Other Discussion
    146 Posts 25 Posters 65.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Crimson WiseC
      Crimson Wise Premium Member @Iseguy
      last edited by

      @Iseguy Thank for letting me know. Which browser/password manager are you using? Perhaps I'm running into this issue. Would you mind trying copy/pasting the password instead to confirm?

      Quof got a break.
      WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

      IseguyI 1 Reply Last reply Reply Quote 0
      • IseguyI
        Iseguy Member @Crimson Wise
        last edited by

        @Crimson-Wise I'm using Chrome 88.0.4324.104 (Official Build) (64-bit) with the built-in password manager.

        I did a bit of exploration, and there seems to be some scripting running on that element that's interfering with the normal functioning of the <input>. Like, the app isn't looking at the actual value of the element but rather at some JavaScript variable that's normally updated by events that aren't getting fired when the password manager does it. I would guess that it's hooked the keypress events but not any other input or changed events.

        I have found the workaround is to start by typing something into the field, which erases everything that was pasted in before the first keypress but seems to put it into a state where it acts like a real text box. Then, apply the password via the password manager. Then type another character at the end of the password, and then delete the character you added. Then submit.

        Crimson WiseC 1 Reply Last reply Reply Quote 0
        • Crimson WiseC
          Crimson Wise Premium Member @Iseguy
          last edited by

          @Iseguy Thanks, and yes, that's how it works. I guess I'll just replace Ionic's fields with raw HTML; will take a look.

          Quof got a break.
          WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

          IseguyI 1 Reply Last reply Reply Quote 0
          • IseguyI
            Iseguy Member @Crimson Wise
            last edited by

            @Crimson-Wise It's a common problem. The best event to hook is input/oninput, but IE support for that is historically missing/terrible, so most JS frameworks avoid it.

            1 Reply Last reply Reply Quote 0
            • hopebestmanH
              hopebestman
              last edited by

              As a noob and while dont understand this stuff, i want to ask "is there a problem with the site? I cant login and cant able to access the stuff?"

              8 parts, 8 weeks to read a book, than binge read the same book within' 2 hours again.

              Myne: Did we deceived him?
              Ferdinand: Indeed we did.
              Myne: *surprised myneface

              Crimson WiseC 1 Reply Last reply Reply Quote 0
              • Crimson WiseC
                Crimson Wise Premium Member @hopebestman
                last edited by

                @hopebestman Just tried to log in myself and it works.

                What are you seeing? Just logging in doesn't work? Which browser and device are you using? For example, are you using the password manager from Chrome? (There is the issue @Iseguy mentioned above.)

                Quof got a break.
                WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

                hopebestmanH 1 Reply Last reply Reply Quote 1
                • hopebestmanH
                  hopebestman @Crimson Wise
                  last edited by

                  @Crimson-Wise yeap my bad. Chrome thingy i guess. Last 2 weeks it was working so i didnt think it was browser problem.

                  8 parts, 8 weeks to read a book, than binge read the same book within' 2 hours again.

                  Myne: Did we deceived him?
                  Ferdinand: Indeed we did.
                  Myne: *surprised myneface

                  Crimson WiseC 1 Reply Last reply Reply Quote 0
                  • Crimson WiseC
                    Crimson Wise Premium Member @hopebestman
                    last edited by

                    @hopebestman Well, on my release a couple of weeks ago I upgraded some libraries I was using internally, including one for the UI, and I think that broke things down. If it's the same issue, for now, copy/pasting the credentials should work.

                    I still need to look further at the issue.

                    Quof got a break.
                    WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

                    1 Reply Last reply Reply Quote 1
                    • TubeT
                      Tube Premium Member
                      last edited by Tube

                      Having problems signing in here as well. I wrote manually the password, the site says "Signing in", throws me at the front page, and is still not logged in. No error message, nothing. This issue was present already before the update on JNC site a month ago but at that time I had no energy to see if I can make it work. Thanks to the new official reader I'd like to give this a try though, but can't log in.

                      EDIT: Running up to date Firefox, tried with Chrome too. Are there some browser settings that are necessary for this to work? Third party cookies maybe or something?

                      1 Reply Last reply Reply Quote 0
                      • Crimson WiseC
                        Crimson Wise Premium Member
                        last edited by

                        Well, rather than wasting time looking at the bug on the library component, I've just replaced the fields with standard HTML input fields.

                        Please try again and let me know if you have issues. Firefox's password manager seems to work.

                        Quof got a break.
                        WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

                        1 Reply Last reply Reply Quote 1
                        • TubeT
                          Tube Premium Member
                          last edited by Tube

                          Nope, still does not work and redirects me to the front page when I try to login, still giving only "Sign in" in the profile icon menu in the upper right corner.

                          The reaction to me logging in is the same with real credentials and with a made up email address and password. It does require email@address.com form from the email and if I enter just a random string as the email it will not redirect me to the front page upon clicking "sign in". It asks me to enter a real email address. I tried crtl + F5 both on front page and login page if that helps at all.

                          I tried this with Firefox Beta and Chrome on Android too after my previous message (previosly Windows 10) and the behaviour is to my eyes similar.

                          EDIT: Well, this is embarrassing. I had remembered my password wrong on JNC and kept entering the wrong one to Crimson Reader.

                          On a completely unrelated note I have a feature request: could the site tell me if my credentials seem to be incorrect?

                          ShinyS 1 Reply Last reply Reply Quote 3
                          • ShinyS
                            Shiny Premium Member @Tube
                            last edited by

                            Is it just me or can it normally take like 15 minutes before a new release shows up on the client due to how the cache works?

                            Stay shiny, y'all.

                            Crimson WiseC 1 Reply Last reply Reply Quote 0
                            • Crimson WiseC
                              Crimson Wise Premium Member @Shiny
                              last edited by

                              @shiny up to 30mins, although you can pull down to force refresh everything.

                              Quof got a break.
                              WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

                              TUSFT 1 Reply Last reply Reply Quote 0
                              • TUSFT
                                TUSF Member @Crimson Wise
                                last edited by

                                @crimson-wise Have you considered using Service Workers to periodically check for updates and send notifications (For those that want em) when a followed series is updated?

                                Additionally, probably checking the Calendar (if there's an API for that?) to schedule cache refreshes when a new update is expected?

                                Crimson WiseC 1 Reply Last reply Reply Quote 0
                                • Crimson WiseC
                                  Crimson Wise Premium Member @TUSF
                                  last edited by

                                  @tusf said in Yet Another PWA JNC Client:

                                  @crimson-wise Have you considered using Service Workers to periodically check for updates and send notifications (For those that want em) when a followed series is updated?

                                  Hmm, I won't use it myself so not sure if the effort is worth it.

                                  Additionally, probably checking the Calendar (if there's an API for that?) to schedule cache refreshes when a new update is expected?

                                  Yeah, there is one. Thought about it when Shiny mentioned it, and since I'm already checking the times on that API in a few places, it should be straightforward, will take a look.

                                  I personally already know the times when parts get released so I just open the app at that point.

                                  Quof got a break.
                                  WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

                                  ShinyS 1 Reply Last reply Reply Quote 2
                                  • ShinyS
                                    Shiny Premium Member @Crimson Wise
                                    last edited by

                                    @crimson-wise said in Yet Another PWA JNC Client:

                                    Yeah, there is one. Thought about it when Shiny mentioned it, and since I'm already checking the times on that API in a few places, it should be straightforward, will take a look.

                                    I personally already know the times when parts get released so I just open the app at that point.

                                    Checking when new novels are released (usually on the hour) would be great. It might need to check again a few minutes later as well unless the release was slightly later due to clock mismatch.

                                    Stay shiny, y'all.

                                    ShinyS 1 Reply Last reply Reply Quote 0
                                    • ShinyS
                                      Shiny Premium Member @Shiny
                                      last edited by

                                      @Crimson-Wise Hopefully you are ready for the APIocalypse: https://forums.j-novel.club/topic/5142/developer-psa-labs-j-novel-club-is-your-new-friend

                                      Stay shiny, y'all.

                                      Crimson WiseC Geezer WeasalopesG 2 Replies Last reply Reply Quote 0
                                      • Crimson WiseC
                                        Crimson Wise Premium Member @Shiny
                                        last edited by

                                        @shiny There were a few APIs there I wasn't aware of, so I can give it another try.

                                        Quof got a break.
                                        WHAT'S THE STORY WITH THAT FREAKING BLACK DRAGON?!

                                        1 Reply Last reply Reply Quote 1
                                        • Geezer WeasalopesG
                                          Geezer Weasalopes Premium Member @Shiny
                                          last edited by

                                          @shiny said in Yet Another PWA JNC Client:

                                          @Crimson-Wise Hopefully you are ready for the APIocalypse: https://forums.j-novel.club/topic/5142/developer-psa-labs-j-novel-club-is-your-new-friend

                                          Now I understand why they posted that in a member access section rather than staff only.
                                          I hadn't been aware that there were homebrewed apps running around to access the site.

                                          All your libraries are belong to us. | Those who do not read shall not eat.
                                          Help me, Satomi-san. You're my only hope. | Fight! Yurika!
                                          Croquettes, Baguettes, and Books, oh my!

                                          A Crimson WiseC 2 Replies Last reply Reply Quote 0
                                          • A
                                            admin Staff @Geezer Weasalopes
                                            last edited by

                                            @weasalopes Yup! I mean it's inevitable when you run an open API like we do. Someone built like a windows app client for us, etc...
                                            We don't officially support them but if people want to put in the time to give additional reading options we're happy to help.

                                            1 Reply Last reply Reply Quote 6
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 7 / 8
                                            • First post
                                              Last post