Git Product home page Git Product logo

freifunk-darmstadt / gluon-firmware-selector Goto Github PK

View Code? Open in Web Editor NEW
22.0 13.0 48.0 9.47 MB

Firmware selector for gluon router images

Home Page: https://firmware.darmstadt.freifunk.net/

License: GNU Affero General Public License v3.0

CSS 6.42% JavaScript 85.32% HTML 7.33% Shell 0.70% Dockerfile 0.23%
gluon freifunk firmware-wizard lede openwrt verteiltesechtzeitjavascript firmware-selector

gluon-firmware-selector's People

Contributors

achterin avatar aiyionprime avatar andir avatar belzebub40k avatar benerudolph avatar blocktrron avatar bobidle avatar codedust avatar dark4md avatar fooker avatar grotax avatar herbetom avatar herrbett avatar kasalehlia avatar kerlerm avatar kpanic23 avatar little-ben avatar maurerle avatar mwarning avatar mweinelt avatar nalxnet avatar niyawe avatar nurtic-vibe avatar oszilloskop avatar oxzi avatar rotanid avatar zaunei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gluon-firmware-selector's Issues

Type Error: Object value is not a function in Safari

[Error] TypeError: Object.values is not a function. (In 'Object.values(typeNames)', 'Object.values' is undefined)
	searchModel (app.js:506)
	updateHTML (app.js:621)
	updateSearchQuery (app.js:232)
	(anonyme Funktion) (app.js:178)

Safari Version 10.0.3 (12602.4.8)

Modelle werden nicht richtig erkannt

Mir sind zwei Problem bei Modellerkennung aufgefallen.

  • Beim manchen Modellen ist die Versionsnummer nicht mit einem Bindestich abgetrennt dadurch wird im Wizard das letzte Zeichen des Modells abgeschnitten.
    Z.B. wird openmesh-om5p-acv2 zu OM5P-A anstelle von OM5P-AC
  • Es gibt Modelle bei denen die Revision 1 nicht explizit v1 im Namen trägt. Dies ist z.B. für openmesh-om5p-ac der Fall. In Zusammenwirkung mit dem ersten Problem kann dies zu gebrickten Geräten führen da in der Revision-Auswahl nur der Eintrag "alle" anzeigt wird.

TL-WA7210N

No rule for firmware image: gluon-ffda-0.10.0~20170222-tp-link-tl-wa7210n-v2.bin

D-Link DIR615 & GL-Inet GL-AR750

  • gluon-ffda-1.1~20180518-d-link-dir-615-d1-sysupgrade.bin
  • gluon-ffda-1.1~20180518-d-link-dir-615-d2-sysupgrade.bin
  • gluon-ffda-1.1~20180518-d-link-dir-615-d3-sysupgrade.bin
  • gluon-ffda-1.1~20180518-d-link-dir-615-d4-sysupgrade.bin
  • gluon-ffda-1.1~20180518-gl-ar750-sysupgrade.bin

Redirect if Javascript is deactivated

It would be very nice, if the application would redirect the user directly to the directory listing of nginx, if the user has deactivated Javascript.

Not sure how hard this is to implement, but it would be very nice!

Raspberry Pi 3

Match for file gluon-ffda-1.1~20170813-raspberry-pi-3.img.gz was not exhaustive. Missing filename parts: 3
Match for file gluon-ffda-1.1~20170813-raspberry-pi-3-sysupgrade.img.gz was not exhaustive. Missing filename parts: 3

OpenMesh OM2Pv4, A40, A60

New devices that landed in master a few days ago:

No rule for firmware image: gluon-ffda-1.1~20180610-openmesh-om2pv4.bin
No rule for firmware image: gluon-ffda-1.1~20180610-openmesh-a40-sysupgrade.bin
No rule for firmware image: gluon-ffda-1.1~20180610-openmesh-a60-sysupgrade.bin
Match for file gluon-ffda-1.1~20180610-openmesh-om2p-hsv4-sysupgrade.bin was not exhaustive. Missing filename parts: hsv4

VoCore 8M/16M issue

We have two images:

  • gluon-ffda-0.10.0~20170411-vocore-8M-sysupgrade.bin
  • gluon-ffda-0.10.0~20170411-vocore-16M-sysupgrade.bin

The regex match is incomplete, "VoCore" cannot be selected.

TP-Link Archer C25 v1

archer-c25-v1

No rule for firmware image: gluon-ffda-1.1~20171022-tp-link-archer-c25-v1.bin
No rule for firmware image: gluon-ffda-1.1~20171022-tp-link-archer-c25-v1-sysupgrade.bin

Support für Modelle der Targets ar71xx-mikrotik, brmc2708-*, sunxi

Die folgenden Modelle tauchen wegen fehlender Metadaten nicht im Wizard auf:

Unknown verndor lemaker-banana-pi gluon-ffda-0.9.0~20160721-lemaker-banana-pi.img.gz
app.js:273
Unknown verndor lemaker-banana-pro gluon-ffda-0.9.0~20160721-lemaker-banana-pro.img.gz
app.js:273
Unknown verndor lemaker-lamobo-r1 gluon-ffda-0.9.0~20160721-lemaker-lamobo-r1.img.gz
app.js:273
Unknown verndor mikrotik-rootfs.tar.gz gluon-ffda-0.9.0~20160721-mikrotik-rootfs.tar.gz
app.js:273
Unknown verndor mikrotik-vmlinux-lzma.elf gluon-ffda-0.9.0~20160721-mikrotik-vmlinux-lzma.elf
app.js:273
Unknown verndor raspberry-pi-2 gluon-ffda-0.9.0~20160721-raspberry-pi-2.img.gz
app.js:273
Unknown verndor raspberry-pi gluon-ffda-0.9.0~20160721-raspberry-pi.img.gz
app.js:273
Unknown verndor raspberry-pi-2 gluon-ffda-0.9.0~20160721-raspberry-pi-2-sysupgrade.img.gz
app.js:273
Unknown verndor raspberry-pi gluon-ffda-0.9.0~20160721-raspberry-pi-sysupgrade.img.gz

Unable to download experimental images

Experimental download box doesn't open.

Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

TP-Link Archer C2600

Part of the newly added ipq608x target and still marked as broken but here it is:

No rule for firmware image: gluon-ffda-0.10.0~20170329-tp-link-archer-c2600.bin
No rule for firmware image: gluon-ffda-0.10.0~20170329-tp-link-archer-c2600-sysupgrade.bin

Versionsangaben nicht sortieren

beta: 0.9.2 // experimental: 0.10.0~20170204 // stable: 0.9.2

Die Sortierung der Branches am oberen, rechten Fensterrand ergibt absolut keinen Sinn.

Bitte die Branches in der Reihenfolge anzeigen, wie sie angegeben wurden.

x86-geode target

No rule for firmware image: gluon-ffda-0.10.0~20170204-x86-geode.img.gz
No rule for firmware image: gluon-ffda-0.10.0~20170204-x86-geode-sysupgrade.img.gz

Bitte entsprechend der Diskussion unter

  • Hersteller: PC Engines
  • Produkt: ALIX

eintragen.

Danke

Rocket M2/M5 Titanium

Match for file gluon-ffda-0.10.0~20170302-ubiquiti-rocket-m-ti.bin was not exhaustive.
Match for file gluon-ffda-0.10.0~20170302-ubiquiti-rocket-m2-ti.bin was not exhaustive.
Match for file gluon-ffda-0.10.0~20170302-ubiquiti-rocket-m5-ti.bin was not exhaustive.
Match for file gluon-ffda-0.10.0~20170302-ubiquiti-rocket-m-ti-sysupgrade.bin was not exhaustive.
Match for file gluon-ffda-0.10.0~20170302-ubiquiti-rocket-m2-ti-sysupgrade.bin was not exhaustive.
Match for file gluon-ffda-0.10.0~20170302-ubiquiti-rocket-m5-ti-sysupgrade.bin was not exhaustive.

VoCore2

Ich baue heute Nacht das ramips-mt7628 target mit, das Unterstützung für den VoCore 2 liefert. Bitte Support verbauen. Und bitte Fast-Forward! :)

freifunk-gluon/gluon@b8dc1a7

Extract strings into configuration

Currently much of the text displayed is part of the HTML site.

Make it part of the configuration instead, so people can modify it to their needs without having to change a file that is under revision control by git.

Error after support of multiple experimental branches

app.js:811

Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at app.js:811
    at Array.sort (/native)
    at showBranches (app.js:809)
    at updateHTML (app.js:849)
    at updateSearchQuery (app.js:260)
    at setSearchQuery (app.js:266)
    at HTMLLabelElement.imageTypeChangedEventHandler (app.js:762)
(anonymous) @ app.js:811
showBranches @ app.js:809
updateHTML @ app.js:849
updateSearchQuery @ app.js:260
setSearchQuery @ app.js:266
imageTypeChangedEventHandler @ app.js:762```

better compression of router graphics

I think we don't need a resolution as big as current for the router graphics. With all the pictures the wizard has a page size of around 9MB. Especially on slow connections and over mobile data connections this isn't a good idea. Downscaling shouldn't be a big deal with the convert tool.

new devices in v2018.2.x so far

No rule for firmware image: gluon-ffda-1.3~20180722-openmesh-a40.bin
No rule for firmware image: gluon-ffda-1.3~20180722-openmesh-a60.bin
Match for file gluon-ffda-1.3~20180722-openmesh-om2p-hsv4.bin was not exhaustive. Missing filename parts: hsv4
No rule for firmware image: gluon-ffda-1.3~20180722-openmesh-om2pv4.bin
No rule for firmware image: gluon-ffda-1.3~20180722-tp-link-re355.bin
No rule for firmware image: gluon-ffda-1.3~20180722-zyxel-nbg6716.bin
No rule for firmware image: gluon-ffda-1.3~20180722-ocedo-koala-sysupgrade.bin
No rule for firmware image: gluon-ffda-1.3~20180722-openmesh-a40-sysupgrade.bin
No rule for firmware image: gluon-ffda-1.3~20180722-openmesh-a60-sysupgrade.bin
Match for file gluon-ffda-1.3~20180722-openmesh-om2p-hsv4-sysupgrade.bin was not exhaustive. Missing filename parts: hsv4
No rule for firmware image: gluon-ffda-1.3~20180722-openmesh-om2pv4-sysupgrade.bin
No rule for firmware image: gluon-ffda-1.3~20180722-tp-link-re355-sysupgrade.bin
No rule for firmware image: gluon-ffda-1.3~20180722-zyxel-nbg6716-sysupgrade.tar

TL-WA730RE v1

No rule for firmware image: gluon-ffda-0.10.0~20170420-tp-link-tl-wa730re-v1.bin
No rule for firmware image: gluon-ffda-0.10.0~20170420-tp-link-tl-wa730re-v1-sysupgrade.bin

Mikrotik

No rule for firmware image: gluon-ffda-0.10.0~20170209-mikrotik-rootfs.tar.gz

new models

gluon-ffda-1.1~20180126-d-link-dir-615-d1-sysupgrade.bin
gluon-ffda-1.1~20180126-d-link-dir-615-d2-sysupgrade.bin
gluon-ffda-1.1~20180126-d-link-dir-615-d3-sysupgrade.bin
gluon-ffda-1.1~20180126-d-link-dir-615-d4-sysupgrade.bin
gluon-ffda-1.1~20180126-netgear-wndr3700v5-sysupgrade.bin
gluon-ffda-1.1~20180126-tp-link-archer-c58-v1-sysupgrade.bin
gluon-ffda-1.1~20180126-tp-link-archer-c59-v1-sysupgrade.bin
gluon-ffda-1.1~20180126-tp-link-archer-c60-v1-sysupgrade.bin
gluon-ffda-1.1~20180126-tp-link-cpe220-v1.1-sysupgrade.bin
gluon-ffda-1.1~20180126-tp-link-cpe520-v1.1-sysupgrade.bin
gluon-ffda-1.1~20180126-tp-link-tl-wr802n-v1-sysupgrade.bin
gluon-ffda-1.1~20180126-tp-link-tl-wr810n-sysupgrade.bin
gluon-ffda-1.1~20180126-ubiquiti-nanobeam-m5-sysupgrade.bin
gluon-ffda-1.1~20180126-zbt-wg3526-sysupgrade.bin

Ubiquiti Airgateway LR/Pro

Match for file gluon-ffda-0.10.0~20170503-ubiquiti-airgateway-lr.bin was not exhaustive. Missing filename parts: lr
Match for file gluon-ffda-0.10.0~20170503-ubiquiti-airgateway-pro.bin was not exhaustive. Missing filename parts: pro
Match for file gluon-ffda-0.10.0~20170503-ubiquiti-airgateway-lr-sysupgrade.bin was not exhaustive. Missing filename parts: lr
Match for file gluon-ffda-0.10.0~20170503-ubiquiti-airgateway-pro-sysupgrade.bin was not exhaustive. Missing filename parts: pro

GL-MT300a, GL-MT300n und GL-MT750

No rule for firmware image: gluon-ffda-1.1~20170907-gl-mt300a-sysupgrade.bin
No rule for firmware image: gluon-ffda-1.1~20170907-gl-mt300n-sysupgrade.bin
No rule for firmware image: gluon-ffda-1.1~20170907-gl-mt750-sysupgrade.bin

Neues Modell: TP-Link WBS210/510

No rule for firmware image gluon-ffda-0.10.0~20170108-tp-link-wbs210-v1.20.bin
No rule for firmware image gluon-ffda-0.10.0~20170108-tp-link-wbs510-v1.20.bin
No rule for firmware image gluon-ffda-0.10.0~20170108-tp-link-wbs210-v1.20-sysupgrade.bin
No rule for firmware image gluon-ffda-0.10.0~20170108-tp-link-wbs510-v1.20-sysupgrade.bin

warning for 841 devices

I think it would be great if you could define/activate a warning for the smaller 841 devices to inform owners about the big disadvantages of these devices.

Changelog URL

configurable changelog url pretty please

not per release, but maybe a URL with an overview of version history?

Remove unsafe-inline javascript

The what and why, and how to do it right:
https://developer.chrome.com/extensions/contentSecurityPolicy#JSExecution

Offending:
Mostly onclick/onchange handlers as far as I can tell, nice work!

            <select id="vendorselect"
                    onchange="firmwarewizard.setSearchQuery(this.value); scrollDown();"></select>

Verify against

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.