20171122_jeffrey - silenceuncrio/diary GitHub Wiki

0855

review

0905

Usage Display 再加強一下

commit a5aaad697a73ae732ac392c2fd87508afa57d565
Author: jeffrey <[email protected]>
Date:   Wed Nov 22 09:05:33 2017 +0800

    fine tune the 'Real Time Usage Display'

 proscend/prosrc/www/app/feature/usageDisplay.js | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

0920

Usage Display web page 一開始的 nav tab 不需要 login, 調整一下

commit 8e78be5d3224ceb25e5754a19cbc5ca8bb73fd96
Author: jeffrey <[email protected]>
Date:   Wed Nov 22 09:20:26 2017 +0800

    some static page need auth because their controlloer has resolve with no auth

 proscend/prosrc/icos/iweb/iweb.c | 3 +++
 1 file changed, 3 insertions(+)

0935

reboot.js 重新載入 index.html 的方式要修正一下

否則只是呼叫到 angular route

造成的結果就是沒套用到新的 index.html

firmware upgrade 後最需要的就是使用者重新去要一個 index.html

$window.location.href 取代 $location.url("/") 即可

commit ff52006b707513ae7967e895ee7ea5c9a22d8408
Author: jeffrey <[email protected]>
Date:   Wed Nov 22 09:37:52 2017 +0800

    use '$window.location.href' to open 'index.html' to make sure every web sources reload again

 proscend/prosrc/www/app/feature/reboot.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

這樣一來應該才真正解決掉 user 在 firmware upgrade 完產生網頁跟 device 版本不 match 的問題

1110

build 個 planet 的 image 來 review 一下 web page

看看有沒有受到這次 CTCU 客製化的影響

1145

在盤 planet 網頁的時候發現 Client List 那一頁開啟異常的慢

故意切換到另一個 dual image partition 的 nobrand 版本並沒有發現該情況

在故意切回 planet 的 partition 試試

這次就正常了... 先不去追了

畢竟自己主要的目的是盤網頁

目前 planet 的所有 menu tree 的網頁都能正常開啟

1305

花點時間也盤一下 CTCU 的網頁

除了預設的 IP = 10.1.1.1(255.0.0.0) 要注意之外

網頁都算正常

1600

幫忙在 upgrade_cfile() 的時候順便複製一份到另一個 partition 去

commit d8a75c922285b8ec8d25cfa5693f7bf97ebc8321
Author: jeffrey <[email protected]>
Date:   Wed Nov 22 16:01:01 2017 +0800

    cp the cfile to another dual image partition while upgrade_cfile()

 proscend/prosrc/icos/script/FirmwareUpgrade.sh | 5 +++++
 1 file changed, 5 insertions(+)

1745

再幫 ariel 小修一下

commit 87a2d921b2e1287568a6723b9d57db043d46f8bb
Author: jeffrey <[email protected]>
Date:   Wed Nov 22 17:45:47 2017 +0800

    change 'scaleLabel' from 'MB Per Second' to 'MB/sec'

 proscend/prosrc/www/app/feature/usageDisplay.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)