20200810_jeffrey - silenceuncrio/diary GitHub Wiki

0900

這個禮拜的 review list


M300 - task

  • [100%] P1 - use proscend logo for CID 1
  • [0%] P4 - BGP status (web ui)
  • [0%] P4 - give a init value for google map

M300 - issue

  • none

M300 - bug

  • [30%] firmware upgrade 卡在 40%
    • pc 網卡直連 M300 lan 端
    • 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到

M330 - task

  • [100%] P1 - use proscend logo for CID 1
  • [100%] P2 - option to enable/disable the web
  • [0%] P3 - sync multi language from m330 to all mobile project

M330 - issue

  • none

M330 - bug

  • [0%] firmware upgrade 上傳成 M300 的 firmware 第一次失敗後到至後續上傳正確的也會失敗
    • lighttpd 回 request entity too large

M350-C - task

  • [0%] P1 - connection table web ui
  • [0%] P2 - no more mark_wan_lte related to display signal image at top banner
  • [0%] P2 - Dynamic Web UI by HW_MCSV
  • [0%] P2 - Dynamic Firmware Upgrade by HW_MCSV
  • [0%] P2 - Web UI: WAN as LAN

M350-C - issue

  • none

M350-C - bug

  • [20%] web ui openvpn wizard 會讓 lighttpd process 被 kill 掉
    • M330 不會
    • M330 的 lighttpd 為 1.4.30
    • M350 的 lighttpd 為 1.4.40
  • [80%] 修改 menu.html.src 透過 web upgrade 後會 cache 舊的 menu
    • 可以套用至全平台

M350-C - misc

  • [30%] 跨 repository 間 code 的 sync - 培養功力
    • 起手式
      git format-patch -k --stdout ${A_COMMIT_HASH}..${B_COMMIT_HASH} > xxx.patch
      git am -k -3 < xxx.patch
      
    • git am 失敗的時候該怎麼辦? git apply --reject

M360P - task

  • [0%] P2 - web ui: Carrier Aggregation info porting

M360P - issue

  • [60%] 1103: ui menu not base on compile flag
  • [60%] 936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...
  • [60%] 787: when local ethernet link is 100 half, firmware upgrade via web ui fail

M360P - bug

  • [30%] - 0000908: sometimes first time modify LTE NET mode or APN on dual APN will apply fail - root cause 是 lighttpd 重啟了
    • M360P 的 lighttpd 為 1.4.30

ISMS Server - task

  • [80%] node config
  • [80%] node map
  • [100%] token management
  • [100%] group management
  • [10%] multi language

ISMS Server - bug

  • [100%] super_super user management edit 出錯
  • [0%] super user [email protected] sign in - dashboard 出錯

MISC

  • none

M330 - task - [0%] P2 - option to enable/disable the web

就是要做的跟 M360P 一樣


commit 882523c9c1f79af161f7acbb659c6c161a65ca38
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 13:31:51 2020 +0800

    now our web module supports 4 modes: Off, HTTP, HTTPS and Both

 proscend/prosrc/icos/clishell/Makefile             |   1 +
 proscend/prosrc/icos/clishell/menutree.c           |   3 +
 proscend/prosrc/icos/clishell/web.c                | 211 +++++++++++++++++++++
 proscend/prosrc/icos/icoslib/web/webcfg.c          | 192 +++++++------------
 proscend/prosrc/webcgi/web.c                       |   2 +
 proscend/prosrc/www/app/feature/web.html           |  18 ++
 proscend/prosrc/www/app/feature/web.js             |   4 +-
 proscend/prosrc/www/app/locale-de.json             |   5 +
 proscend/prosrc/www/app/locale-en.json             |   5 +
 proscend/prosrc/www/app/locale-es.json             |   5 +
 proscend/prosrc/www/app/locale-fr.json             |  11 +-
 proscend/prosrc/www/app/locale-it.json             |   5 +
 proscend/prosrc/www/app/locale-nl.json             |  11 +-
 proscend/prosrc/www/app/locale-zh-tw.json          |  12 ++
 .../prosrc/www/src/manual/management_web.h.html    |  11 +-
 15 files changed, 368 insertions(+), 128 deletions(-)

1400

commit cb0fba788fc8f543a24be72ea677b1360113e25d
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 13:57:49 2020 +0800

    use login_keep_login

 web/src/components/dashboard/index.js |  8 ++++++++
 web/src/components/nodeM300/index.js  | 22 ++++++++++++++++++++--
 web/src/components/nodeTrack/index.js |  8 ++++++++
 web/src/components/setting/index.js   | 22 +++++++++++++++++++++-
 web/src/components/topology/index.js  |  8 ++++++++
 web/src/utils/index.js                | 22 ++++++++++++++++++++++
 6 files changed, 87 insertions(+), 3 deletions(-)

commit fe6fc9ce59878b15dacdb255f2c3ac72880d0f6e
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 14:13:27 2020 +0800

    refactoring components/dashboard/widgetContainer

 web/src/components/dashboard/widgetContainer.js | 26 ++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

commit 84e4ed14a8a3f73a8c0839957502ccee5800b916
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 15:43:31 2020 +0800

    refactoring components/topology/nodeInformation

 web/src/components/model/Alarm.js               |  87 ------
 web/src/components/model/ConnStatistics.js      | 227 ----------------
 web/src/components/model/DeviceStatus.js        | 340 ------------------------
 web/src/components/model/index.js               |  23 --
 web/src/components/nodeStatus/alarm.js          |  99 +++++++
 web/src/components/nodeStatus/connStatistics.js | 245 +++++++++++++++++
 web/src/components/nodeStatus/deviceStatus.js   | 340 ++++++++++++++++++++++++
 web/src/components/nodeStatus/dns.js            |  38 +++
 web/src/components/nodeStatus/index.js          |  49 ++++
 web/src/components/topology/nodeInformation.js  | 116 +++-----
 10 files changed, 805 insertions(+), 759 deletions(-)

commit a1e705d59e740790199d800e218b04be448f6573
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 16:05:51 2020 +0800

    refactoring components/topology

 web/src/components/dashboard/index.js          |  6 +-
 web/src/components/topology/index.js           | 10 +--
 web/src/components/topology/nodeInformation.js | 75 -----------------------
 web/src/components/topology/status.js          | 84 ++++++++++++++++++++++++++
 4 files changed, 93 insertions(+), 82 deletions(-)

commit d467124991620b87d53c881828d548baa2d8eabc
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 16:46:26 2020 +0800

    at Dashboard, update per 16 seconds

 web/src/components/dashboard/health.js         | 153 ++++++++++++++++---------
 web/src/components/dashboard/signalStrength.js | 146 ++++++++++++++---------
 2 files changed, 193 insertions(+), 106 deletions(-)

commit cf562c7a2fcb91d0251770323070f9041899e83e
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 17:14:30 2020 +0800

    refetch the status while props.id changed

 web/src/components/topology/status.js | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

commit 405176dc4ed9e6a58d1c38792ac11b12f760a268
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Aug 10 17:40:55 2020 +0800

    redirect to sign in page while query fail at dashboard

 web/src/components/dashboard/health.js         | 17 ++++++++++++++++-
 web/src/components/dashboard/signalStrength.js | 16 ++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)