web/firmware-selector-openwrt-org.git
4 years agomake code nicer in some places
Moritz Warning [Sun, 2 Aug 2020 13:50:53 +0000 (15:50 +0200)]
make code nicer in some places

4 years agoadd comment
Moritz Warning [Sun, 2 Aug 2020 10:21:14 +0000 (12:21 +0200)]
add comment

4 years agocollect.py cleanuo
Moritz Warning [Fri, 31 Jul 2020 23:30:27 +0000 (01:30 +0200)]
collect.py cleanuo

4 years agoallow scraping via wget
Moritz Warning [Fri, 31 Jul 2020 23:19:05 +0000 (01:19 +0200)]
allow scraping via wget

much slower, but works better without this special feature:
https://downloads.openwrt.org/releases/19.07.3/targets/?json

4 years agoremove a word
Moritz Warning [Fri, 31 Jul 2020 13:20:54 +0000 (15:20 +0200)]
remove a word

4 years agodo no delete data folder
Moritz Warning [Fri, 31 Jul 2020 13:09:07 +0000 (15:09 +0200)]
do no delete data folder

it might have data we want to keep

4 years agoallow collect.py script to script sites like downloads.openwrt.org
Moritz Warning [Fri, 31 Jul 2020 12:55:08 +0000 (14:55 +0200)]
allow collect.py script to script sites like downloads.openwrt.org

4 years agouse double quote for python code
Moritz Warning [Fri, 31 Jul 2020 10:56:32 +0000 (12:56 +0200)]
use double quote for python code

4 years agofix some query selectors
Moritz Warning [Fri, 31 Jul 2020 00:02:00 +0000 (02:02 +0200)]
fix some query selectors

4 years agoallow different release codes
Moritz Warning [Thu, 30 Jul 2020 23:20:30 +0000 (01:20 +0200)]
allow different release codes

4 years agouse format strings
Moritz Warning [Thu, 30 Jul 2020 23:19:55 +0000 (01:19 +0200)]
use format strings

4 years agorename images-title to build-title v2.2.2
Moritz Warning [Thu, 2 Jul 2020 18:11:33 +0000 (20:11 +0200)]
rename images-title to build-title

4 years agobump version to 2.2.2
Moritz Warning [Sun, 19 Jul 2020 20:10:49 +0000 (22:10 +0200)]
bump version to 2.2.2

4 years agofix typo
Moritz Warning [Sun, 19 Jul 2020 20:10:02 +0000 (22:10 +0200)]
fix typo

4 years agoMerge branch 'master' of github.com:mwarning/yet_another_firmware_selector
Moritz Warning [Fri, 3 Jul 2020 09:10:31 +0000 (11:10 +0200)]
Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector

4 years agouse document.querySelector
Moritz Warning [Tue, 30 Jun 2020 20:22:56 +0000 (22:22 +0200)]
use document.querySelector

4 years agorename url => download_url (#51)
Moritz Warning [Thu, 25 Jun 2020 18:54:53 +0000 (20:54 +0200)]
rename url => download_url (#51)

this is more descriptive about the url is used for

4 years agofix renamed json file in example
Moritz Warning [Thu, 25 Jun 2020 16:48:51 +0000 (18:48 +0200)]
fix renamed json file in example

4 years agouse svg logo
Moritz Warning [Fri, 19 Jun 2020 15:58:28 +0000 (17:58 +0200)]
use svg logo

4 years agoignore underscore, hyphen and dot in match
Moritz Warning [Fri, 19 Jun 2020 14:19:13 +0000 (16:19 +0200)]
ignore underscore, hyphen and dot in match

4 years agoupdate website link v2.2.1
Moritz Warning [Thu, 18 Jun 2020 13:57:27 +0000 (15:57 +0200)]
update website link

4 years agoadd mobile support
Moritz Warning [Wed, 17 Jun 2020 10:30:12 +0000 (12:30 +0200)]
add mobile support

4 years agoinherit color for all links
Moritz Warning [Wed, 17 Jun 2020 15:34:39 +0000 (17:34 +0200)]
inherit color for all links

meant for build log and YAFS website link

4 years agomove web content to www folder
Moritz Warning [Tue, 16 Jun 2020 20:02:05 +0000 (22:02 +0200)]
move web content to www folder

This makes a better separation of actual content and meta data (readme, license, etc.) much better.

4 years agobump version to 2.2.1
Moritz Warning [Tue, 16 Jun 2020 15:50:51 +0000 (17:50 +0200)]
bump version to 2.2.1

4 years agotypo: asa => asu
Moritz Warning [Tue, 16 Jun 2020 15:49:11 +0000 (17:49 +0200)]
typo: asa => asu

4 years agouse inherited color for link to build log
Moritz Warning [Tue, 16 Jun 2020 14:36:00 +0000 (16:36 +0200)]
use inherited color for link to build log

4 years agoshow asu build log for build success
Moritz Warning [Fri, 12 Jun 2020 20:36:26 +0000 (22:36 +0200)]
show asu build log for build success

4 years agofix indentation
Moritz Warning [Sun, 14 Jun 2020 22:08:46 +0000 (00:08 +0200)]
fix indentation

4 years agoforgot asu_url as url prefix
Moritz Warning [Sun, 14 Jun 2020 22:07:11 +0000 (00:07 +0200)]
forgot asu_url as url prefix

this makes it work with chef.libremesh.org again

4 years agorename profiles.json to overview.json (#45)
Moritz Warning [Fri, 12 Jun 2020 20:04:05 +0000 (22:04 +0200)]
rename profiles.json to overview.json (#45)

For the basic use case, the URLs in config.js are explicit file paths.
For ASU, this is expected to be the base URL of the ASU API.

4 years agoMerge branch 'master' of github.com:mwarning/yet_another_firmware_selector
Moritz Warning [Mon, 8 Jun 2020 18:18:50 +0000 (20:18 +0200)]
Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector

4 years agouse profiles.json file name in documentation
Moritz Warning [Mon, 8 Jun 2020 18:15:03 +0000 (20:15 +0200)]
use profiles.json file name in documentation

4 years agoMerge pull request #38 from mwarning/limit_packages
Moritz Warning [Sun, 7 Jun 2020 11:21:41 +0000 (13:21 +0200)]
Merge pull request #38 from mwarning/limit_packages

limit packet list selection

4 years agolimit packet list selection
Moritz Warning [Sun, 7 Jun 2020 01:40:21 +0000 (03:40 +0200)]
limit packet list selection

the packet list can only contain unique items from the package index, a minus in front of a packet is allowed

Signed-off-by: Moritz Warning <moritzwarning@web.de>
4 years agoMerge pull request #37 from aparcar/asu2
Moritz Warning [Sat, 6 Jun 2020 11:26:24 +0000 (13:26 +0200)]
Merge pull request #37 from aparcar/asu2

fix autocomplete + buildate, move exampels

4 years agofix autocomplete + buildate, move exampels
Paul Spooren [Sat, 6 Jun 2020 08:41:21 +0000 (22:41 -1000)]
fix autocomplete + buildate, move exampels

autocomplete never worked because of wrong files naming. The package
index file is called `index.json` and now available on the ASU server.

The build date never worked for images created by the official OpenWrt
build bots, fixed by reading the `last-modified` header.

Examples files are now in their own folders to follow the structure of
ASU, which offers not only profiles but also package information in the
version folders.

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agoremove openwrt.org specific paths
Moritz Warning [Fri, 5 Jun 2020 21:10:00 +0000 (23:10 +0200)]
remove openwrt.org specific paths

this would require every json file input to include an url value

4 years agofix typo
Moritz Warning [Wed, 3 Jun 2020 10:44:23 +0000 (12:44 +0200)]
fix typo

4 years agosupport upstream json format
Paul Spooren [Sun, 24 May 2020 22:27:41 +0000 (12:27 -1000)]
support upstream json format

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agoadd autocompletion to package list
Moritz Warning [Fri, 22 May 2020 23:43:18 +0000 (01:43 +0200)]
add autocompletion to package list

the package list will autocomplete packages and only allow known
packages

4 years agoadd default values for a better experience
Moritz Warning [Mon, 1 Jun 2020 20:27:08 +0000 (22:27 +0200)]
add default values for a better experience

4 years agoupdate example database for snapshot
Moritz Warning [Sun, 24 May 2020 21:46:04 +0000 (23:46 +0200)]
update example database for snapshot

4 years agofix for different profiles.json format
Moritz Warning [Sun, 24 May 2020 21:45:34 +0000 (23:45 +0200)]
fix for different profiles.json format

4 years agofix python method
Moritz Warning [Sun, 24 May 2020 21:45:14 +0000 (23:45 +0200)]
fix python method

4 years agocollect.py: support multiple paths/files as command line argument
Moritz Warning [Sun, 24 May 2020 12:00:33 +0000 (14:00 +0200)]
collect.py: support multiple paths/files as command line argument

4 years agocollect.py: support new format
Moritz Warning [Sun, 24 May 2020 11:59:57 +0000 (13:59 +0200)]
collect.py: support new format

4 years agoMerge branch 'master' of github.com:mwarning/yet_another_firmware_selector
Moritz Warning [Sat, 23 May 2020 22:52:29 +0000 (00:52 +0200)]
Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector

4 years agocollect.py: add option change image name prefix
Moritz Warning [Sat, 23 May 2020 22:51:41 +0000 (00:51 +0200)]
collect.py: add option change image name prefix

this is useful for custom image releases when the image files have been renamed afterwards

4 years agoasu: send target to ASU server
Paul Spooren [Fri, 10 Apr 2020 07:31:54 +0000 (21:31 -1000)]
asu: send target to ASU server

The updated API requires the target as the 'profiles' are not unique
(e.g. for x86 images).

Signed-off-by: Paul Spooren <mail@aparcar.org>
4 years agoMerge pull request #33 from rogerpueyo/master
Moritz Warning [Tue, 7 Apr 2020 13:27:39 +0000 (15:27 +0200)]
Merge pull request #33 from rogerpueyo/master

Catalan strings

4 years agoAdd Catalan translation
Roger Pueyo Centelles [Tue, 7 Apr 2020 13:24:23 +0000 (15:24 +0200)]
Add Catalan translation

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
4 years agoFix typo in English translation
Roger Pueyo Centelles [Tue, 7 Apr 2020 13:22:14 +0000 (15:22 +0200)]
Fix typo in English translation

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
4 years agoadd note about asu
Moritz Warning [Tue, 7 Apr 2020 13:03:27 +0000 (15:03 +0200)]
add note about asu

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'