web/firmware-selector-openwrt-org.git
4 years agoadd missing spaces in constructed title
Moritz Warning [Mon, 6 Apr 2020 14:03:56 +0000 (16:03 +0200)]
add missing spaces in constructed title

4 years agomore example data files to misc folder v2.2.0
Moritz Warning [Sun, 5 Apr 2020 23:10:48 +0000 (01:10 +0200)]
more example data files to misc folder

this makes for a more cleaner view of the base directory

4 years agosmaller padding
Moritz Warning [Sun, 5 Apr 2020 22:56:15 +0000 (00:56 +0200)]
smaller padding

4 years agoadd footer with project link and version
Moritz Warning [Sun, 5 Apr 2020 22:45:35 +0000 (00:45 +0200)]
add footer with project link and version

4 years agofix problems with fonts not supporting certain languages
Moritz Warning [Sun, 5 Apr 2020 22:20:55 +0000 (00:20 +0200)]
fix problems with fonts not supporting certain languages

this was a problem with Turkish in firefox

4 years agofix chrome incompatibility
Moritz Warning [Sun, 5 Apr 2020 22:19:43 +0000 (00:19 +0200)]
fix chrome incompatibility

4 years agofixup: rename version_commit to version_code
Paul Spooren [Sun, 5 Apr 2020 21:42:36 +0000 (11:42 -1000)]
fixup: rename version_commit to version_code

Since OpenWrt upstream 07449f692c the variable is called `version_code`
instead of `version_commit` as it is really not only a commit but a
combination of *number of commits* and commit hash.

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agoMerge branch 'master' of github.com:mwarning/yet_another_firmware_selector
Moritz Warning [Thu, 2 Apr 2020 00:03:31 +0000 (02:03 +0200)]
Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector

4 years agomove up link to demo
Moritz Warning [Thu, 2 Apr 2020 00:02:52 +0000 (02:02 +0200)]
move up link to demo

4 years agoindex.html: add Spanish translation (#29)
Franco Castillo [Wed, 1 Apr 2020 10:22:44 +0000 (07:22 -0300)]
index.html: add Spanish translation (#29)

Signed-off-by: Franco Castillo castillofrancodamian@gmail.com
4 years agoMerge pull request #30 from castillofrancodamian/master
Moritz Warning [Wed, 1 Apr 2020 10:22:13 +0000 (12:22 +0200)]
Merge pull request #30 from castillofrancodamian/master

Update i18n.js

4 years agoUpdate i18n.js
Franco Castillo [Wed, 1 Apr 2020 02:30:52 +0000 (23:30 -0300)]
Update i18n.js

Signed-off-by: Franco Castillo castillofrancodamian@gmail.com
4 years agoadd norwegian language option to select list
Moritz Warning [Mon, 30 Mar 2020 20:51:08 +0000 (22:51 +0200)]
add norwegian language option to select list

4 years agoMerge pull request #28 from Dalen-ROP/master
Moritz Warning [Mon, 30 Mar 2020 20:49:05 +0000 (22:49 +0200)]
Merge pull request #28 from Dalen-ROP/master

Added Norwegian (bokmål) translation

4 years agoAdded Norwegian (bokmål) translation
Dalen-ROP [Mon, 30 Mar 2020 20:20:23 +0000 (22:20 +0200)]
Added Norwegian (bokmål) translation

4 years agoadd italian language option to select list
Moritz Warning [Mon, 30 Mar 2020 18:59:09 +0000 (20:59 +0200)]
add italian language option to select list

4 years agoMerge pull request #27 from Ansuel/patch-1
Moritz Warning [Mon, 30 Mar 2020 18:55:50 +0000 (20:55 +0200)]
Merge pull request #27 from Ansuel/patch-1

Add italian translation

4 years agoAdd italian translation
Ansuel Smith [Mon, 30 Mar 2020 18:11:21 +0000 (20:11 +0200)]
Add italian translation

Add italian translation to i18n file

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
4 years agocleanup language
Moritz Warning [Mon, 30 Mar 2020 09:54:55 +0000 (11:54 +0200)]
cleanup language

- add language items to selection
- order languages alphabetically

4 years agoMerge pull request #25 from erdoukki/erdoukki-patch-lang-french
Moritz Warning [Mon, 30 Mar 2020 09:47:46 +0000 (11:47 +0200)]
Merge pull request #25 from erdoukki/erdoukki-patch-lang-french

add french translation

4 years agoMerge branch 'master' into erdoukki-patch-lang-french
Moritz Warning [Mon, 30 Mar 2020 09:47:08 +0000 (11:47 +0200)]
Merge branch 'master' into erdoukki-patch-lang-french

4 years agoMerge pull request #24 from obsy/master
Moritz Warning [Mon, 30 Mar 2020 09:46:08 +0000 (11:46 +0200)]
Merge pull request #24 from obsy/master

Polish translation

4 years agoMerge branch 'master' into master
Moritz Warning [Mon, 30 Mar 2020 09:45:37 +0000 (11:45 +0200)]
Merge branch 'master' into master

4 years agoMerge pull request #23 from sinancetinkaya/turkish
Moritz Warning [Mon, 30 Mar 2020 09:43:51 +0000 (11:43 +0200)]
Merge pull request #23 from sinancetinkaya/turkish

Turkish

4 years agoUpdate i18n.js
GANDALF [Mon, 30 Mar 2020 09:31:33 +0000 (11:31 +0200)]
Update i18n.js

add french translation

4 years agoPolish translation
Cezary Jackiewicz [Mon, 30 Mar 2020 05:39:02 +0000 (07:39 +0200)]
Polish translation

4 years agoTurkish
sinan [Mon, 30 Mar 2020 01:14:24 +0000 (04:14 +0300)]
Turkish

4 years agouse browser language setting as first choice
Moritz Warning [Sun, 29 Mar 2020 18:00:59 +0000 (20:00 +0200)]
use browser language setting as first choice

4 years agoremove contributions section
Moritz Warning [Sun, 29 Mar 2020 12:40:14 +0000 (14:40 +0200)]
remove contributions section

4 years agoremove example data
Moritz Warning [Sun, 29 Mar 2020 12:32:29 +0000 (14:32 +0200)]
remove example data

not needed anymore

4 years agouse modern fetch api
Moritz Warning [Sun, 29 Mar 2020 02:20:17 +0000 (04:20 +0200)]
use modern fetch api

4 years agofix asu link
Moritz Warning [Sat, 28 Mar 2020 16:41:02 +0000 (17:41 +0100)]
fix asu link

4 years agoremove console output v2.1.0
Moritz Warning [Sat, 28 Mar 2020 12:05:15 +0000 (13:05 +0100)]
remove console output

4 years agoremove unused buildlog elements
Moritz Warning [Sat, 28 Mar 2020 12:04:51 +0000 (13:04 +0100)]
remove unused buildlog elements

4 years agofix broken html
Moritz Warning [Sat, 28 Mar 2020 11:25:02 +0000 (12:25 +0100)]
fix broken html

4 years agoadd missing columns
Moritz Warning [Sat, 28 Mar 2020 11:23:08 +0000 (12:23 +0100)]
add missing columns

4 years agodisable asu again
Moritz Warning [Fri, 27 Mar 2020 21:51:18 +0000 (22:51 +0100)]
disable asu again

4 years agoupdate and rework translation code
Moritz Warning [Fri, 27 Mar 2020 13:49:51 +0000 (14:49 +0100)]
update and rework translation code

4 years agoimprove asa build status text
Moritz Warning [Fri, 27 Mar 2020 02:11:32 +0000 (03:11 +0100)]
improve asa build status text

4 years agoshow asu build date
Moritz Warning [Fri, 27 Mar 2020 12:34:40 +0000 (13:34 +0100)]
show asu build date

4 years agofix translation items
Moritz Warning [Fri, 27 Mar 2020 02:38:35 +0000 (03:38 +0100)]
fix translation items

4 years agofix wrong asa field name
Moritz Warning [Fri, 27 Mar 2020 02:17:41 +0000 (03:17 +0100)]
fix wrong asa field name

4 years agofix html typo
Moritz Warning [Fri, 6 Mar 2020 23:00:14 +0000 (00:00 +0100)]
fix html typo

4 years agofix css for release/versions box
Moritz Warning [Fri, 6 Mar 2020 18:37:24 +0000 (19:37 +0100)]
fix css for release/versions box

4 years agoUse updated server API (#14)
Moritz Warning [Thu, 5 Mar 2020 13:13:24 +0000 (14:13 +0100)]
Use updated server API (#14)

Instead of returning the full url to the binary directory now returns
`bin_dir` only. This is possible as `asu_url` is already defined
locally. This approach allows devices not using https to download
content unencrypted, meaning the server response does not delegate the
protocol.

In addition a boolean value is returned stating if a buildlog was
created, which is shown in case of failures.

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agoMerge pull request #18 from mwarning/rename
Paul Spooren [Thu, 5 Mar 2020 09:42:03 +0000 (23:42 -1000)]
Merge pull request #18 from mwarning/rename

rename varaibles 'version' => 'release' and 'commit' => 'code'

4 years agochange release to version
Moritz Warning [Wed, 4 Mar 2020 23:51:50 +0000 (00:51 +0100)]
change release to version

this makes the code more consistent

4 years agoMerge branch 'master' of github.com:mwarning/yet_another_firmware_selector
Moritz Warning [Mon, 2 Mar 2020 12:20:00 +0000 (13:20 +0100)]
Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector

4 years agofix error log text
Moritz Warning [Mon, 2 Mar 2020 12:19:39 +0000 (13:19 +0100)]
fix error log text

4 years agouse separate method to get model name
Moritz Warning [Mon, 2 Mar 2020 12:18:30 +0000 (13:18 +0100)]
use separate method to get model name

4 years agoUpdate README.md
Moritz Warning [Wed, 26 Feb 2020 16:44:25 +0000 (17:44 +0100)]
Update README.md

4 years agoadd note about patching older OpenWrt releases to output json
Moritz Warning [Mon, 24 Feb 2020 17:23:14 +0000 (18:23 +0100)]
add note about patching older OpenWrt releases to output json

4 years agofix sort images by name v2.0.0
Moritz Warning [Sun, 23 Feb 2020 18:31:20 +0000 (19:31 +0100)]
fix sort images by name

4 years agouse type for download button
Moritz Warning [Fri, 21 Feb 2020 21:03:03 +0000 (22:03 +0100)]
use type for download button

do not use any tags

4 years agouse image type field if available
Moritz Warning [Fri, 21 Feb 2020 20:50:08 +0000 (21:50 +0100)]
use image type field if available

4 years agoupdate readme
Paul Spooren [Fri, 21 Feb 2020 20:02:45 +0000 (10:02 -1000)]
update readme

shorten long lines and set chef url to github as chef.libremesh.org is
down.

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agoMerge pull request #12 from mwarning/lambda
Paul Spooren [Fri, 21 Feb 2020 19:59:16 +0000 (09:59 -1000)]
Merge pull request #12 from mwarning/lambda

use lamda syntax

4 years agoupdate screenshot
Paul Spooren [Fri, 21 Feb 2020 19:57:19 +0000 (09:57 -1000)]
update screenshot

now in OpenWrt design

4 years agouse lamda syntax
Moritz Warning [Fri, 21 Feb 2020 19:40:38 +0000 (20:40 +0100)]
use lamda syntax

4 years agoingore character case for tags
Moritz Warning [Fri, 21 Feb 2020 19:27:25 +0000 (20:27 +0100)]
ingore character case for tags

4 years agodisable autocorrection/spellcheck for Android/iOS
Moritz Warning [Fri, 21 Feb 2020 19:22:14 +0000 (20:22 +0100)]
disable autocorrection/spellcheck for Android/iOS

4 years agofix method name
Moritz Warning [Fri, 21 Feb 2020 19:11:43 +0000 (20:11 +0100)]
fix method name

4 years agoadd cc0 license
Moritz Warning [Fri, 21 Feb 2020 14:57:30 +0000 (15:57 +0100)]
add cc0 license

4 years agoudpate translations
Moritz Warning [Fri, 21 Feb 2020 14:03:06 +0000 (15:03 +0100)]
udpate translations

4 years agodisable sasu backend by default
Moritz Warning [Fri, 21 Feb 2020 13:45:42 +0000 (14:45 +0100)]
disable sasu backend by default

4 years agoremove dead code
Moritz Warning [Thu, 20 Feb 2020 17:42:29 +0000 (18:42 +0100)]
remove dead code

4 years agostyle build button
Moritz Warning [Thu, 20 Feb 2020 17:42:08 +0000 (18:42 +0100)]
style build button

4 years agoforgot to join titles
Moritz Warning [Thu, 20 Feb 2020 10:35:02 +0000 (11:35 +0100)]
forgot to join titles

4 years agomore specific css selector
Moritz Warning [Thu, 20 Feb 2020 10:25:19 +0000 (11:25 +0100)]
more specific css selector

this might help with future css changes

4 years agofixup hidden spinner
Paul Spooren [Thu, 20 Feb 2020 02:32:44 +0000 (16:32 -1000)]
fixup hidden spinner

The images div is hidden while loading gif should be shown

4 years agoCleanup (#11)
Moritz Warning [Wed, 19 Feb 2020 22:57:21 +0000 (23:57 +0100)]
Cleanup (#11)

* use single quote where possible

* refactor asu code for tighter integration

- shorten code
- use translations

4 years agohide asu feature when not enabled
Moritz Warning [Tue, 18 Feb 2020 23:21:16 +0000 (00:21 +0100)]
hide asu feature when not enabled

but enable by default for this branch for development

4 years agoworking image request UI example
Paul Spooren [Tue, 18 Feb 2020 02:16:11 +0000 (16:16 -1000)]
working image request UI example

This patch adds the basic functionality to request custom images. Error
codes are handled via alert messages and successful builds show.

No style added, no badge for *custom* images added, no *build at* etc,
this adds just the logic and UI elements, without style.

The global variable "data" is a workaround to share information over
multiple functions. I'm sure there is a cleaner way to do so.

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agodisable asu by default v1.0.0
Moritz Warning [Tue, 18 Feb 2020 13:42:51 +0000 (14:42 +0100)]
disable asu by default

4 years agoremove unused files
Moritz Warning [Mon, 17 Feb 2020 15:54:09 +0000 (16:54 +0100)]
remove unused files

4 years agoMerge branch 'master' of github.com:mwarning/yet_another_firmware_selector
Moritz Warning [Mon, 17 Feb 2020 13:57:10 +0000 (14:57 +0100)]
Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector

4 years agofix names-18.06.7.json and names-19.07.1.json format
Moritz Warning [Mon, 17 Feb 2020 13:56:55 +0000 (14:56 +0100)]
fix names-18.06.7.json and names-19.07.1.json format

4 years agouse openwrt branding (#6)
Paul Spooren [Mon, 17 Feb 2020 12:32:02 +0000 (02:32 -1000)]
use openwrt branding (#6)

Co-authored-by: Moritz Warning <moritzwarning@web.de>
4 years agoadd comment for asu_build option
Moritz Warning [Mon, 17 Feb 2020 10:07:06 +0000 (11:07 +0100)]
add comment for asu_build option

4 years agore-add older releases
Moritz Warning [Mon, 17 Feb 2020 10:06:15 +0000 (11:06 +0100)]
re-add older releases

it is a good show case for the demo and we need those for the use on openwrt.org

4 years agoadd dynamic image creation code & json refactor
Paul Spooren [Mon, 17 Feb 2020 06:26:15 +0000 (20:26 -1000)]
add dynamic image creation code & json refactor

again, make JSON files more like upstream:

* images: use dict instead of simple file. This allows adding
information like checksums or types. Again, I dealt so much with
heuristics withn OpenWrt build system that I avoid it as much as
possible. From my side I'd remove fragments like `findCommonPrefix` and
just rely on upstream info.
* commit: replace with `version_commit` (as there is also
`version_number`
* link: replace with `url` as *link* referes to something clickable in
the browser while url is more generic, including machine reads
* activate sort_keys in collect.py, this creates reproducible json files
and surely makes some JSON parser happy
* %foobar: instead of using `%` I changed the replacement to mustache[0]
which is also usable via Pythons `format()` function and easier to read.
Say a string like %target-info/foobar could mean a variable `target` or
`target-info`, using {target}-info/foobar makes things easier
* %file: remove this entirely and just append whatever desired file at
the end. Is there any case where the downloaded file is not at the end?

all these changes where done to be compatile with the *asu*, meaning a
image builder backend that creates images with specificed packages on
demand. Example code is added within the top of index.js. The server
takes `version`, `profile` and `packages` as arguments and returns
within a few seconds a freshly build firmware, which is automatically
shown in the frontend.

[0]: mustache.github.io/

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agoforgot image link
Moritz Warning [Sun, 16 Feb 2020 20:51:28 +0000 (21:51 +0100)]
forgot image link

4 years agofix element id
Moritz Warning [Sun, 16 Feb 2020 20:43:43 +0000 (21:43 +0100)]
fix element id

4 years agotarget value is fixed in openwrt now
Moritz Warning [Sun, 16 Feb 2020 17:42:42 +0000 (18:42 +0100)]
target value is fixed in openwrt now

4 years agoudpate readme
Moritz Warning [Sun, 16 Feb 2020 14:22:38 +0000 (15:22 +0100)]
udpate readme

4 years agofix comment
Moritz Warning [Sun, 16 Feb 2020 14:19:31 +0000 (15:19 +0100)]
fix comment

4 years agouse separate json file for each version
Moritz Warning [Sun, 16 Feb 2020 11:50:59 +0000 (12:50 +0100)]
use separate json file for each version

4 years agosmall i18n fix
Moritz Warning [Sat, 15 Feb 2020 17:01:57 +0000 (18:01 +0100)]
small i18n fix

4 years agodo not sort keys
Moritz Warning [Fri, 14 Feb 2020 22:38:36 +0000 (23:38 +0100)]
do not sort keys

this is important when the snapshot release should appear before other releases

4 years agoyet another format change
Moritz Warning [Fri, 14 Feb 2020 19:51:05 +0000 (20:51 +0100)]
yet another format change

hopefully helps attented sysupgrade server support

4 years agoallow to use includes only
Moritz Warning [Thu, 13 Feb 2020 11:27:04 +0000 (12:27 +0100)]
allow to use includes only

4 years agoavoid character case mismatches
Moritz Warning [Wed, 12 Feb 2020 21:51:34 +0000 (22:51 +0100)]
avoid character case mismatches

4 years agosome images use - or . as delimiter
Moritz Warning [Wed, 12 Feb 2020 20:09:21 +0000 (21:09 +0100)]
some images use - or . as delimiter

4 years agofix js syntax
Moritz Warning [Wed, 12 Feb 2020 18:50:59 +0000 (19:50 +0100)]
fix js syntax

4 years agoremove debug output
Moritz Warning [Wed, 12 Feb 2020 17:37:43 +0000 (18:37 +0100)]
remove debug output

4 years agonew data format
Moritz Warning [Wed, 12 Feb 2020 17:27:56 +0000 (18:27 +0100)]
new data format

4 years agoreorder releases
Moritz Warning [Mon, 10 Feb 2020 10:56:58 +0000 (11:56 +0100)]
reorder releases

4 years agoadd link to demo
Moritz Warning [Mon, 10 Feb 2020 10:49:49 +0000 (11:49 +0100)]
add link to demo

4 years agoremove dead code
Moritz Warning [Tue, 4 Feb 2020 15:44:03 +0000 (16:44 +0100)]
remove dead code

4 years agoadd misc readme
Moritz Warning [Tue, 4 Feb 2020 13:34:07 +0000 (14:34 +0100)]
add misc readme