Giter VIP home page Giter VIP logo

Comments (9)

rplevka avatar rplevka commented on July 16, 2024 1

the 404 on /edit?edit=%2F/index.htm is reproducible and is caused by the implicit behavior of the upstream lib.
Also, it's most probably not related to other issues you're seeing.

the easiest solution/workaround would be to update src here to e.g. /edit?edit=%2F/config.json

from ithowifi.

arjenhiemstra avatar arjenhiemstra commented on July 16, 2024
  1. There is no prompt for credentials
    I cannot reproduce this (I notice though that you have to reboot before the credentials are asked)

  2. No files are available in the left menu
    I'm not sure what this is. I did some testing and I have now 1 device that does not show files and 1 that does. Same FW version.... no idea why

  3. This calls edit?list=%F which returns [] with status code 200.
    index.htm is a file that doesn't exist, so that is correct.

from ithowifi.

arjenhiemstra avatar arjenhiemstra commented on July 16, 2024

Interesting. I did a file system format and after that the file system editor shows files again. There is definitely some bug or error here. What that is.... no idea at this point

from ithowifi.

jasperslits avatar jasperslits commented on July 16, 2024

“There is no prompt for credentials
I cannot reproduce this (I notice though that you have to reboot before the credentials are asked)“.

I enabled it without rebooting because I expected an reboot message when changing it if reboot was needed. So it could either be mentioned on the web interface itself as a comment or do you want to change it?

I think it is more a nice to have as I expect those with the add-on to use it within a domestic setting on a trusted WiFi network only. The number of users to use this password protection to be very low anyway.

Is there today any other reason to use the /edit than to modify the remotes.json file?

from ithowifi.

rplevka avatar rplevka commented on July 16, 2024

i also agree that the password-protected file editor makes little to no sense in the current implementation - since it uses the same creds as the web ui, anybody who knows web ui credentials ultimately knows creds to file editor, so I can't think of any scenario where this would be useful other than having multiple user support (regular user and admin).

from ithowifi.

arjenhiemstra avatar arjenhiemstra commented on July 16, 2024

Don't know, it was a feature request and imho there is no real issue with having these password options. Implementation was a 5 min. effort and it never failed afterwards. I don't use it but I know some users do.
As far as I can reproduce a formate and reinstall of the add-on solves the no files showing up issue. If that can be confirmed it is probably due to some flash issues (maybe arising due to crashes while writing flash?) difficult to say, even more difficult to investigate i'm afraid.

from ithowifi.

jasperslits avatar jasperslits commented on July 16, 2024

So I guess the easiest is to implement the suggestion from @rplevka and use /edit?edit=%2F/config.json or %2F/remotes.json as landing page and leave everything as-is?
It's already highly unusual for anyone to use /edit and if you use it, it's for remotes.json only?

from ithowifi.

arjenhiemstra avatar arjenhiemstra commented on July 16, 2024

No, i'm not going to change the code in this case. The 404 is normally not visible and the file editor will just show all the files. The reason that this issue is still left open is because I'm not sure where the the not showing the files on the flash partition is originating from.
I'm sure tho it has nothing to do /edit?edit=%2Findex.htm.
Please also be aware that '%2F' in this case just is the HTML URL encoded representation for the '/' character.

from ithowifi.

jasperslits avatar jasperslits commented on July 16, 2024

A format and reconfigure made the problems go away. So I can close this one as I guess finding the root cause for the corruption that caused the problems has to be a lucky shot.

from ithowifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.