20190731_jeffrey - silenceuncrio/diary GitHub Wiki
0915
一早來就看到一條蠻嚴重的 issue
M330 - 0000636: [WEB UI] routing table is empty
M330[develop] - use absolute path '/usr/sbin/ip' and '/sbin/ifconfig' at 'RouteStatus.sh'
commit 5998734a09ffb908d145aa2106f598e22371a835
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jul 31 10:33:21 2019 +0800
use absolute path '/usr/sbin/ip' and '/sbin/ifconfig' at 'RouteStatus.sh'
- or 'IP Routing > Static Route' page will get a empty routing table
proscend/prosrc/icos/script/RouteStatus.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
1055
不過 M300 上的現象並不一樣
M300 只要在 CGI 裡指定 RouteStatus.sh 的絕對路徑即可
不用管 RouteStatus.sh 裡的 ip 及 ifconfig
commit 4b862f74e0f9ef03cdd065042d807ab324292d04
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jul 31 10:56:36 2019 +0800
use absolute path '/usr/sbin/icos/RouteStatus.sh' at route.cgi
- or 'IP Routing > Static Route' page will get a empty routing table
proscend/prosrc/webcgi/route.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
收集一下 lighttpd 版本在各平台的情報
- M300
ICR-4103:/www/cgi-bin# lighttpd -v lighttpd/1.4.53 (ssl) - a light and fast webserver - M330
bash-4.2# lighttpd -v lighttpd/1.4.30 (ssl) - a light and fast webserver Build-Date: Jul 9 2019 06:33:14 - M360P
root@M360-PW:~# lighttpd -v lighttpd/1.4.30 (ssl) - a light and fast webserver Build-Date: Jul 5 2019 01:41:50
看一下 M360P
發現根本沒這問題...
果然我是搞工程的
軟體工程
還是要親臨現場
太多現實面的問題
無關邏輯
哈哈
1110
回到昨天 M330 沒解完的 issue
- 0000629 - [WEB UI] RIP configure key over 16, still apply success
- 0000630 - [WEB UI] RIP configure KEY ID 256, apply success, but display 0
- 0000631 - [WEB UI] OSPF configure KEY ID 256, apply success, but display 0
0000629 - [WEB UI] RIP configure key over 16, still apply success
M330[develop] - at 'IP Routing > RIP', add the maxlength validator to the 'key' field
commit 0f562baf6b8ac425c87906666788c4be439e003c
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jul 31 11:37:47 2019 +0800
at 'IP Routing > RIP', add the maxlength validator to the 'key' field
proscend/prosrc/www/app/feature/rip_2g.html | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
0000630 - [WEB UI] RIP configure KEY ID 256, apply success, but display 0
M330[develop] - at 'IP Routing > RIP', add the min and max validator to the 'Key ID' field
commit 9f949f0c1dd8cbeba2a009985b48e553a00cbf1f
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jul 31 11:47:26 2019 +0800
at 'IP Routing > RIP', add the min and max validator to the 'Key ID' field
- min = 1
- max = 255
proscend/prosrc/www/app/feature/rip_2g.html | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
0000631 - [WEB UI] OSPF configure KEY ID 256, apply success, but display 0
M330[develop] - at 'IP Routing > OSPF', add the min and max validator to the 'Key ID' field
commit 6e6b8bf8d3bb956f6f6f050ae317975864619a69
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jul 31 11:51:58 2019 +0800
at 'IP Routing > OSPF', add the min and max validator to the 'Key ID' field
- min = 1
- max = 255
proscend/prosrc/www/app/feature/ospf_2g.html | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
1320
M330 的 multi-user 改到 release/v0.06 開工
M330[release/v0.06] - multi-user 開工
1715
M330[release/v0.06] - implement multi-user for web ui
commit 514ef60ea654e831763367917d865f3e05e3520f
Refs: [release/v0.06], {origin/release/v0.06}
Author: jeffrey <[email protected]>
Date: Wed Jul 31 17:14:25 2019 +0800
implement multi-user for web ui:
- Management > Adminisstration
- top banner
- menu
- System > *
- WAN > *
- LTE > *
- WiFi > *
proscend/prosrc/webcgi/api.c | 6 +-
proscend/prosrc/webcgi/jweb.c | 34 +++
proscend/prosrc/webcgi/jweb.h | 3 +
proscend/prosrc/webcgi/system.c | 41 ++-
proscend/prosrc/www/app/app.controller.js | 15 ++
.../prosrc/www/app/feature/administration.html | 288 +++++++++++++++++++--
proscend/prosrc/www/app/feature/administration.js | 155 ++++++++++-
proscend/prosrc/www/app/feature/apn_config.html | 6 +-
proscend/prosrc/www/app/feature/apn_config.js | 11 +-
.../prosrc/www/app/feature/comPorts_summary.html | 4 +-
proscend/prosrc/www/app/feature/comPorts_v2.js | 8 +-
proscend/prosrc/www/app/feature/dnsDhcp6c.js | 13 +-
proscend/prosrc/www/app/feature/dnsLte.js | 8 +-
proscend/prosrc/www/app/feature/logging.html | 6 +-
proscend/prosrc/www/app/feature/logging.js | 12 +-
proscend/prosrc/www/app/feature/login.js | 18 +-
proscend/prosrc/www/app/feature/logout.js | 3 +
proscend/prosrc/www/app/feature/lteConfig.html | 2 +-
proscend/prosrc/www/app/feature/lteConfig.js | 9 +-
proscend/prosrc/www/app/feature/lteGps.html | 2 +-
proscend/prosrc/www/app/feature/lteGps.js | 8 +-
proscend/prosrc/www/app/feature/serving_cell.html | 2 +-
proscend/prosrc/www/app/feature/serving_cell.js | 9 +-
proscend/prosrc/www/app/feature/sms.html | 4 +-
proscend/prosrc/www/app/feature/sms.js | 13 +-
proscend/prosrc/www/app/feature/switch.html | 2 +-
proscend/prosrc/www/app/feature/switch.js | 8 +-
proscend/prosrc/www/app/feature/timeAndDate.html | 2 +-
proscend/prosrc/www/app/feature/timeAndDate.js | 8 +-
proscend/prosrc/www/app/feature/ussd.html | 2 +-
proscend/prosrc/www/app/feature/ussd.js | 9 +-
proscend/prosrc/www/app/feature/wanEthernet.html | 2 +-
proscend/prosrc/www/app/feature/wanEthernet.js | 14 +-
proscend/prosrc/www/app/feature/wanPriority.js | 8 +-
.../prosrc/www/app/feature/wan_health_check.html | 2 +-
.../prosrc/www/app/feature/wan_health_check.js | 8 +-
proscend/prosrc/www/app/feature/wifi_info.html | 4 +-
.../www/app/feature/wifi_mac_filter_summary.html | 10 +-
proscend/prosrc/www/app/locale-en.json | 21 +-
proscend/prosrc/www/app/locale-fr.json | 29 ++-
proscend/prosrc/www/app/locale-zh-tw.json | 21 +-
proscend/prosrc/www/app/services/icos.service.js | 22 +-
.../prosrc/www/brand_ctcu/src/brand/top.html.src | 6 +-
.../prosrc/www/brand_hytec/src/brand/top.html.src | 6 +-
.../www/brand_nobrand/src/brand/top.html.src | 10 +-
.../www/brand_proscend/src/brand/top.html.src | 10 +-
.../prosrc/www/src/app/feature/dnsDhcp6c.html.src | 2 +-
.../prosrc/www/src/app/feature/dnsLte.html.src | 2 +-
.../www/src/app/feature/wanPriority.html.src | 2 +-
proscend/prosrc/www/src/menu.html.src | 8 +
50 files changed, 718 insertions(+), 180 deletions(-)
先 commit 一部分的 code
剩下的明天繼續
眼睛酸了
1800
M300[develop] - add 'WAN > Health Check' page
commit ebdd7496ac19fb8f0a0719d16c21c00f60910bd0
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date: Wed Jul 31 17:57:22 2019 +0800
add 'WAN > Health Check' page
- remove 'Ethernet Ping Health' tab from 'WAN > Ethernet' page
- remove 'LTE Ping Health' fieldset from 'LTE > LTE Config' page
proscend/prosrc/webcgi/connmgr.c | 6 +
proscend/prosrc/www/app/feature/wanEthernet.html | 152 --------------------
proscend/prosrc/www/app/feature/wanEthernet.js | 34 +----
.../prosrc/www/app/feature/wan_health_check.html | 160 +++++++++++++++++++++
.../prosrc/www/app/feature/wan_health_check.js | 56 ++++++++
proscend/prosrc/www/app/locale-en.json | 32 +++++
proscend/prosrc/www/app/locale-fr.json | 32 +++++
proscend/prosrc/www/app/locale-zh-tw.json | 32 +++++
.../prosrc/www/src/app/feature/lteConfig.html.src | 101 -------------
proscend/prosrc/www/src/index.html.src | 1 +
proscend/prosrc/www/src/menu.html.src | 1 +
11 files changed, 322 insertions(+), 285 deletions(-)