20190307_jeffrey - silenceuncrio/diary GitHub Wiki
0910
先 update 一下 M330 的 code
jessy 有 update 了 firmware 的格式
web upgrade 需要再重新估算一下時間
/api/firmwareUpload
耗時 28 秒Write the firmware image to MTD device ...
耗時 56 秒
所以 progress bar 總共要跑 28 + 56 = 84 秒
所以每個百分比大概會花 0.84 秒
利用 javascript 的 $timeout 每 0.84 秒抓一次
/api/firmwareUpload
耗時 28 秒約佔了 33 %
1015
commit 530042411fcd34b5f9fe22e609cbce924791bec7
Author: jeffrey <[email protected]>
Date: Thu Mar 7 10:16:28 2019 +0800
according to the actual testing to modify the time related calculation for progress bar
proscend/prosrc/www/app/feature/firmware.js | 41 ++++++++++++++++-------------
1 file changed, 22 insertions(+), 19 deletions(-)
1100
ariel 表示 M330 top banner 上的座標有問題
commit a603c7d5c34e069b47c4b938db55d9eb247652c6
Author: jeffrey <[email protected]>
Date: Thu Mar 7 11:14:15 2019 +0800
fix the problem of the 'Location' and 'Googole Maps' on top banner
proscend/prosrc/webcgi/status.c | 13 +++++++++++++
proscend/prosrc/www/app/app.controller.js | 19 +++++++++++++++++++
2 files changed, 32 insertions(+)
另外 login 或 logout 之後還是不要讓 user 再按一次 OK 鈕比較好
commit 18e8de174f49db1ca09456d4244334e030e1e087
Author: jeffrey <[email protected]>
Date: Thu Mar 7 11:16:58 2019 +0800
after login or logout, user do not need to press the confirm button
proscend/prosrc/www/app/feature/login.js | 6 ++++++
proscend/prosrc/www/app/feature/logout.js | 3 +++
2 files changed, 9 insertions(+)
1135
依據 Angularjs some routes slow to load
整個掃一遍
commit 97cb532da89bc20a494cd6af24db6868307f0b0f
Author: jeffrey <[email protected]>
Date: Thu Mar 7 11:37:22 2019 +0800
do `$route.reload();` before `$location.url("/reboot");` to speed up the redirection
proscend/prosrc/www/app/feature/configuration.js | 3 +-
proscend/prosrc/www/app/feature/dualSim.js | 27 +++++++++++++----
proscend/prosrc/www/app/feature/dualSim_2apn.js | 36 +++++++++++++++++-----
proscend/prosrc/www/app/feature/firmware.js | 3 +-
proscend/prosrc/www/app/feature/lock_bands.js | 18 ++++++++---
proscend/prosrc/www/app/feature/lteConfig.js | 38 ++++++++++++++++++------
proscend/prosrc/www/app/feature/restart.js | 3 +-
proscend/prosrc/www/app/feature/timeAndDate.js | 9 ++++--
8 files changed, 105 insertions(+), 32 deletions(-)
1355
commit 97e53f4c2432ad61170ea042c651bfa47973ef73
Author: jeffrey <[email protected]>
Date: Thu Mar 7 13:49:42 2019 +0800
change word at 'Management > Identification':
- "LAN MAC Address" to "LAN Ethernet MAC Address"
- "WAN MAC Address" to "WAN Ethernet MAC Address"
proscend/prosrc/www/app/locale-en.json | 4 ++--
proscend/prosrc/www/app/locale-fr.json | 4 ++--
proscend/prosrc/www/app/locale-zh-tw.json | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
1515
commit 7602e979c2bfd7707b7756284c662431ed4580f6
Author: jeffrey <[email protected]>
Date: Thu Mar 7 15:15:31 2019 +0800
correct the flag for CHG_WAN_NET
proscend/prosrc/webcgi/connmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
1620
react 可以利用現有的 api 做 login 了
commit 57bb94c66ee682a751876d34880940c653c83e19
Author: jeffrey <[email protected]>
Date: Thu Mar 7 16:17:16 2019 +0800
react practice:
- SignIn: use '/api/login'
proscend/prosrc/www/react_01/package.json | 1 +
.../www/react_01/src/components/SignIn/index.js | 75 ++++++++++++++++++++--
2 files changed, 72 insertions(+), 4 deletions(-)