freifunk-darmstadt / gluon-firmware-selector Goto Github PK
View Code? Open in Web Editor NEWFirmware selector for gluon router images
Home Page: https://firmware.darmstadt.freifunk.net/
License: GNU Affero General Public License v3.0
Firmware selector for gluon router images
Home Page: https://firmware.darmstadt.freifunk.net/
License: GNU Affero General Public License v3.0
[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)
Da sind ggf. die Filenames auch wieder inkonsistent.
Soll:
Vendor: Alfa Networks
Modell: Tube2H
Ist:
Vendor: Alfa Networks
Modell: NETWORKS-TUBE2H
Siehe
freifunk-gluon/gluon@085cf0d
String: ubiquiti-unifi-ac-mesh
Vendor: Ubiquiti
Model: Unifi AC Mesh
Mir sind zwei Problem bei Modellerkennung aufgefallen.
No rule for firmware image: gluon-ffda-1.1~20170808-a5-v11.bin
No rule for firmware image: gluon-ffda-1.1~20170808-a5-v11-sysupgrade.bin
Model: A5-V11
https://wiki.openwrt.org/toh/unbranded/a5-v11
This is a white label product.
No rule for firmware image: gluon-ffda-0.10.0~20170222-tp-link-tl-wa7210n-v2.bin
We're on a really good way, safety-wise! https://observatory.mozilla.org/analyze.html?host=firmware.darmstadt.freifunk.net
One more nitpick for now as follows:
Your current CSP policy allows the use of 'unsafe-inline' inside of style-src. Moving style attributes into external stylesheets not only makes you safer, but also makes your code easier to maintain.
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!
No rule for firmware image: gluon-ffda-1.1~20170808-gl-ar300m-sysupgrade.bin
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
No rule for firmware image: gluon-ffda-0.10.0~20170606-ubnt-erx-sysupgrade.tar
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
Ex: AVM Fritz!Box 4020 should appear before any Buffalo device.
The gluon-firmware-wizard is incompatible with macOS/Safari since Safari doesn’t support Object.values() which is used in the searchModel() function, line 506 in file app.js.
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.
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
It would be helpful to have a config option to define multiple branches which are under the experimental warning.
For our use-case this would be the nightly branch
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
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.
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
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.
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
eintragen.
Danke
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.
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! :)
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.
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```
http://www.tp-link.de/products/details/cat-10_RE450.html
Device: tp-link-re450
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.
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
E.g. for the TP-Link Archer C25 the only one that exist is v1
, but you have to select it explicitly.
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
gluon-ffda-0.10.0~20170302-tp-link-wbs210-v1.20.bin
gluon-ffda-0.10.0~20170302-tp-link-wbs510-v1.20.bin
No rule for firmware image: gluon-ffda-0.10.0~20170209-mikrotik-rootfs.tar.gz
Catch missing images here.
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
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
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
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
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.
app.js:506 Uncaught TypeError: Object.values is not a function
Eine Suche nach Routerbildern wäre nicht schlecht. Bremen hat da was feines:
https://github.com/FreifunkBremen/bremen.freifunk.net/blob/redesign/assets/firmware.js
configurable changelog url pretty please
not per release, but maybe a URL with an overview of version history?
The Unifi AP Pro has a blue ring, not a green one. The green one is only on the original Unifi AP (and possible the LR variant).
It uses that image: https://firmware.darmstadt.freifunk.net/pictures/ubiquiti-unifi.jpg instead of https://firmware.darmstadt.freifunk.net/pictures/ubiquiti-unifi-ap-pro.jpg
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
Firmware versioning scheme doesn't seem to be consistent across communities,
so a parameter for the regex in config would be nice.
Parameter for picture path (router pics) in order to move this directory.
Within Safari 10.0.3 and macOS 10.12.3 the wizard doesn't open automatically the selector "modelselect".
Note: Our Firmware-Wizard is customized (index.html and app.css, https://ffm.freifunk.net/firmware/)
Existing behavior (Safari screenshot):
Expected behavior (Chrome screenshot):
Possibly identical with #27
When there is a new hardware version without a dedicated picture only the placeholder is displayed. I think it should at least show the most up to date picture present. For example the new CPE210v2 which was added to Gluon yesterday.
https://firmware.freifunk-rtk.de/rheingau/?q=TP-Link%E2%81%A3%20CPE%C2%A0210%E2%81%A3
Once I add a symlink or remove the new image the picture is displayed again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.