20200408_jeffrey - silenceuncrio/diary GitHub Wiki

0900

因應 john 的改動

commit 7a8ce493055ce6dfad2b281d2b22cdecee1358ce
Author: john <[email protected]>
Date:   Tue Apr 7 17:33:13 2020 +0800

    [WWW]align VLAN_SUBNET start index to 101.

 proscend/prosrc/icos/include/icos_utility.h      | 13 +++------
 proscend/prosrc/www/app/feature/proxy_arp.js     | 16 +++++------
 proscend/prosrc/www/app/feature/qos.js           | 18 ++++++-------
 proscend/prosrc/www/app/feature/vlan.js          | 34 ++++++++++++------------
 proscend/prosrc/www/app/feature/wifi_apsta.js    | 16 +++++------
 proscend/prosrc/www/app/feature/wifi_apsta_5g.js | 16 +++++------
 proscend/prosrc/www/app/feature/wizard.js        | 16 +++++------
 7 files changed, 61 insertions(+), 68 deletions(-)

幫忙修一下 Proxy ARP 要配合的修正

commit c23fb3f470f707b12a19ac58dc92065a9b77927f
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 09:31:19 2020 +0800

    correct the 'Subnet Interface' at 'Service > Proxy ARP' page

 proscend/prosrc/www/app/feature/proxy_arp.js           | 12 ++++++++++++
 proscend/prosrc/www/app/feature/proxy_arp_summary.html |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

1015

因應目前新增了 WiFi (5 GHz)

原本的 WiFi 都要明確地讓使用者知道這是 WiFi (2.4 GHz)

commit 4b959b3a6a37124a30d631bc9ea0f4313a6433dd
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 10:13:44 2020 +0800

    change the wording 'WiFi' to 'WiFi (2.4 GHz)' at 'WAN > Priority'
    - we will offer WiFi (5 GHz) in the future
    - we need to let user know the current 'WiFi' is 'WiFi (2.4 GHz)'

 proscend/prosrc/www/app/locale-en.json                 | 2 +-
 proscend/prosrc/www/app/locale-fr.json                 | 2 +-
 proscend/prosrc/www/app/locale-zh-tw.json              | 2 +-
 proscend/prosrc/www/src/app/feature/wanPriority.js.src | 2 +-
 proscend/prosrc/www/src/manual/wan_priority.h.html     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
ommit 02f510210cbbb88478786e6cecbbf4534770b21f
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 10:39:44 2020 +0800

    change wording 'WiFi STA' to 'WiFi STA (2.4 GHz)'
    - we will offer WiFi STA (5 GHz) in the future

 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 ++--
 proscend/prosrc/www/src/manual/sidebar.h.html  | 2 +-
 proscend/prosrc/www/src/manual/status.h.html   | 2 +-
 proscend/prosrc/www/src/manual/wifi_sta.h.html | 4 ++--
 6 files changed, 10 insertions(+), 10 deletions(-)

commit 499a16a4cd4bb6d66fdfae8770b481d0df3beb0c
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 10:24:27 2020 +0800

    change the wording "WAN WiFI" to "WAN WiFi (2.4 GHz)" at 'Status' page

 proscend/prosrc/www/app/locale-en.json    | 2 +-
 proscend/prosrc/www/app/locale-fr.json    | 2 +-
 proscend/prosrc/www/app/locale-zh-tw.json | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

1140

M330 - issue - [0%] 0000993: apply sometimes fail

先收集一下情報 update 在該 issue

參考 issue 908 - http://192.168.0.125/view.php?id=908

雖然目前還沒複製出來

但最有可能的原因是 apply 的當下, web serber lighttpd process 因不明原因被消失了(be killed ?)
我們 icos 有重新啟動 lighttpd 的機制
但 apply 的當下, lighttpd process 的消失造成的現象便是 apply fail
重新再被啟動的 lighttpd 再作相同的事便不再會因不明原因被消失

說不明原因表示還不清楚 root cause

但可以參考 issue 908 的解法

give the second chance to apply again at 'LTE > Daul APN'
- since the cgi lte.cgi?act=apply fail sometimes
- do not find root cause yet

相關連結如下
https://192.168.0.124/RD/M360P/-/commit/616d6b82173be6796ddb195b7a91e64c4009c0e9

1300

M350-C - task - [10%] ISMS Support - web ui

先就目前的進度來 refactoring

參考 THE ROAD TO FIREBASE 來重構

commit 1987747f232989db4e5cab39a4dec95f58dd4bef
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 13:17:14 2020 +0800

    refactoring

 web/src/App.css                  |  54 ------------
 web/src/App.js                   | 186 ---------------------------------------
 web/src/components/App/index.css |  54 ++++++++++++
 web/src/components/App/index.js  | 186 +++++++++++++++++++++++++++++++++++++++
 web/src/index.js                 |   2 +-
 5 files changed, 241 insertions(+), 241 deletions(-)

一步一步前進


commit d94171c5d21723f54efd099ca959c200739a5848
Refs: [develop]
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 13:27:06 2020 +0800

    refactoring
    - components/Home

 web/src/components/App/index.js  | 16 ++--------------
 web/src/components/Home/index.js | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 14 deletions(-)
commit 3cffa65b74e798159903423ae1cf81bb2373863d
Refs: [develop]
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 13:32:37 2020 +0800

    refactoring
    - components/About

 web/src/components/About/index.js | 24 ++++++++++++++++++++++++
 web/src/components/App/index.js   | 15 +--------------
 2 files changed, 25 insertions(+), 14 deletions(-)

1330

M350-C - task - [10%] ISMS Support - web ui

ISMS-Server meeting

  • Spring
  • Leo
  • Jeffrey
  • Aaron

meeting minutes

  • 第一階段 - 六月底目標
    • dashboard
      • 首頁
      • 一眼可以看到目前受管理機台有無問題
    • topology
      • 可以看到受管機台的 list
      • 進入每個 Node 可以作 get/set
        • get/set 先鎖定 interface 相關的資訊
    • UI 的展示用假資料也無仿
    • 四月底前每周的 二 四 兩天 meeting

1520

commit 0b588e5e31c3b7930599c2cff828a09521133bed
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 15:28:02 2020 +0800

    refactoring
    - components/Map

 web/src/components/App/index.js | 38 +--------------------------------
 web/src/components/Map/index.js | 47 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 37 deletions(-)

commit 0d55849015a38fc7c8b40e770a5064cbdccc3fdd
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 15:24:51 2020 +0800

    refactoring
    - components/Dashboard

 web/src/components/App/index.js       | 15 +--------------
 web/src/components/Dashboard/index.js | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 14 deletions(-)

繼續參考 THE ROAD TO FIREBASE 來重構


commit 00ed41c793e27194858bde28bbe158fee41a786a
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 15:46:21 2020 +0800

    refactoring
    - components/Navigation

 web/src/components/App/index.js        | 25 ++-----------------
 web/src/components/Navigation/index.js | 45 ++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 23 deletions(-)

commit 80d050627e802f129a4ee60fb89bdb52e8444873
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Wed Apr 8 15:57:29 2020 +0800

    using 'chart.js' at components/Dashboard
    - [Creating a dashboard with React and Chart.js](https://www.createwithdata.com/react-chartjs-dashboard/)

 web/package-lock.json                  |  31 ++++
 web/package.json                       |   1 +
 web/src/components/Dashboard/index.css |  21 +++
 web/src/components/Dashboard/index.js  | 261 ++++++++++++++++++++++++++++++++-
 4 files changed, 306 insertions(+), 8 deletions(-)