e2openplugin-OpenWebif icon indicating copy to clipboard operation
e2openplugin-OpenWebif copied to clipboard

model/info.py

Open WanWizard opened this issue 3 years ago • 6 comments

In several places, the code of info.py has the comment

# iNetwork.getAdapterAttribute is crap and not portable

As I wholeheartedly agree with the first bit, I intend to refactor it completely, but ideally I want to address as many issues as possible. What exactly isn't portable about it / what exactly should be portable, and to where?

As far as I can see, the code used in info,py isn't much different from the code in iNetwork, and suffers from the same problems (for example no IP displayed for wlan interfaces that become active after E2 has started).

@jbleyel @Schimmelreiter

WanWizard avatar Jun 15 '22 20:06 WanWizard

The major plan for OWI 2.0 is :

  • remove all brandlings
  • use boxinfo
  • remove all images and remotes

jbleyel avatar Jun 16 '22 20:06 jbleyel

Thanks. Does boxinfo also provide this kind of interface data?

I still have to look into that, for OpenPLi boxinfo is complex because we don't have a one-to-one between image and box.

WanWizard avatar Jun 16 '22 21:06 WanWizard

@jbleyel do you have an idea of due date for OWI 2.0? So we can make sure we're ready for it?

WanWizard avatar Jul 09 '22 15:07 WanWizard

Not yet .. the remote control files are not finished and this is one of the important part. This is the repro.

https://github.com/oe-alliance/remotes

Many images are very bad. Many html image maps are wrong.

jbleyel avatar Jul 09 '22 15:07 jbleyel

Is there a specific branch for 2.0?

wedebe avatar Jul 09 '22 16:07 wedebe

NO .. I will start from scratch. New repro. This repo has 7 GB.

jbleyel avatar Jul 09 '22 16:07 jbleyel

This will be fixed in Version 2.0 and not here.

jbleyel avatar Sep 05 '22 17:09 jbleyel