20200406_jeffrey - silenceuncrio/diary GitHub Wiki

0905

這個禮拜的 review list


M300 - task

  • [100%] let web module exit before lte

M300 - issue

M300 - bug

  • [30%] firmware upgrade 卡在 40%
    • pc 網卡直連 M300 lan 端
    • 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到
  • [0%] ospf 的 network 要設自己的 ip 很讓人困惑

M330 - task

  • [100%] WiFi STA 第一次 scan 參數帶 1 讓 jessy 快速的帶出 scan 過的資料
  • [100%] let web module exit before lte
  • [0%] P3 - Hytec Korea - Please reflect the deletion of "IPv4 Host2" from Health Check
  • [0%] P3 - Hytec Korea - Please delete "LTE config" menu
  • [0%] P3 - Hytec Korea - Please leave only Baand 2 and 8 in lock band selections
  • [0%] P3 - Hytec Korea - delete WPS
  • [0%] P3 - Hytec Korea - Please delete "SSID2"
  • [0%] P3 - Hytec Korea - SIM status customization
  • [0%] P3 - Hytec Korea - Please delete the menu "Schedule Reboot"
  • [0%] P3 - Hytec Korea - When web-access trial is failed 3 times in a row, the login trial screen should be locked for 10 mins
  • [0%] P3 - Hytec Korea - (Web) OPTIONS method should be removed
  • [0%] P3 - Hytec Korea - (Web) Server information should not wxposed (Server: lighttpd / 1.4.30)
  • [0%] P4 - Hytec Korea - to combine full Web UI version and simple Web UI vwesion
  • [70%] P4 - CTCU - Web UI: GPS Track drawing(Server)
    • 應該可以被合併到 M350-C - task - [0%] ISMS Support - web ui
  • [0%] P4 - Airtel - BGP Attributers shall be supported
    • 可以問 winston 試著跟他那邊的 bgp 進度同步一下
  • [0%] P4 - Airtel - GUI Display LTE Signal strength indicator
  • [0%] P4 - Airtel - Upon Failure of above comparision, ...

M330 - issue

  • [60%] 0000993: apply sometimes fail

M330 - bug

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

M350-C - task

  • [0%] release v0.03 - 2020-04-09

  • [100%] let web module exit before lte

  • [20%] ISMS Support - web ui

    • npx create-react-app web
    • npm install react-router-dom
    • React Router - Basic Routing
    • include React Bootstrap
      • npm install react-bootstrap bootstrap
    • react-fontawesome
    • [RWD] apply 'Fixed Bootstrap 4 Vertical Sidebar Navigation'
    • [RWD] each content page has a button to toggle the sidebar
  • [100%] WiFi 5GHz web page

    • 801.11ac
    • [100%] WiFi (5 GHz) > WiFi Config
    • [100%] WiFi (5 GHz) > MAC Filter
    • [100%] WiFi (5 GHz) > Client List
    • [100%] 單獨新增一個 WiFi WPS 的設定 page
    • [100%] status page 要多一個 WiFi AP (5 GHz) 的 information
    • [100%] 原本的 WiFi 要改成 WiFi (2.4 GHz)
    • [100%] 只有一個 WiFi menu group
  • [100%] VLAN web page

  • [100%] WiFi STA 第一次 scan 參數帶 1 讓 jessy 快速的帶出 scan 過的資料

M350-C - issue

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
    • 可以套用至全平台
  • [0%] web ui reboot 的倒數機制出了問題 - 似乎重開機時間變長了

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

  • [100%] let web module exit before lte

M360P - issue

  • [60%] 0000936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...
  • [60%] 0000787: 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

task

  • [100%] P2 - 幫公司繳 apple 年費
    • 雙重認證 搞定了 但登入後沒有出現 renew 帳號的按鈕
    • 等收到電子發票再去請款
    • 已使用 申請零用金 方式來請款
  • [0%] P2 - 病假待補證明 - 碘 131 隔離期間
  • [80%] Vmware jubuntu compile 環境
    • [60%] M300
      • Building the Docker image - build-m300 - 失敗
        • 放棄
      • load docker image from exported tar from jbox
        • 成功
        • 進 container 後 source proenv.sh fail
    • [100%] M330
    • [100%] M350
    • [100%] M350-C
    • [100%] M360P

0920

M350-C - task - [30%] WiFi 5GHz web page

  • [0%] WiFi (5 GHz) > MAC Filter
commit 897369c277fe56fd478e593364899082c1ef1b87
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Mon Apr 6 09:57:04 2020 +0800

    add 'WiFi (5 GHz) > MAC Filter'
    - also the online manual

 proscend/prosrc/www/Makefile                       |   1 +
 .../prosrc/www/app/feature/wifi_mac_filter_5g.js   |  90 +++++++++++
 .../www/app/feature/wifi_mac_filter_edit_5g.html   |  38 +++++
 .../app/feature/wifi_mac_filter_summary_5g.html    | 171 +++++++++++++++++++++
 proscend/prosrc/www/app/locale-en.json             |   5 +
 proscend/prosrc/www/app/locale-fr.json             |   5 +
 proscend/prosrc/www/app/locale-zh-tw.json          |   5 +
 .../src/app/feature/wifi_mac_filter_5g.html.src    |   3 +
 proscend/prosrc/www/src/index.html.src             |   1 +
 proscend/prosrc/www/src/manual.html.src            |   1 +
 proscend/prosrc/www/src/manual/sidebar.h.html      |   1 +
 .../www/src/manual/wifi_mac_filter_5g.h.html       |  32 ++++
 proscend/prosrc/www/src/menu.html.src              |   1 +
 13 files changed, 354 insertions(+)

1120

M350-C - task - [40%] WiFi 5GHz web page

  • [0%] WiFi (5 GHz) > Client List
commit acb3d5f763c032b8d902d81b2a80a0662420aad4
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Mon Apr 6 11:54:36 2020 +0800

    add 'WiFi (5 GHz) > Client List'
    - also the online manual

 proscend/prosrc/www/app/feature/wifi_info_5g.html  | 136 +++++++++++++++++++++
 proscend/prosrc/www/app/feature/wifi_info_5g.js    |  78 ++++++++++++
 proscend/prosrc/www/app/locale-en.json             |   9 +-
 proscend/prosrc/www/app/locale-fr.json             |  16 ++-
 proscend/prosrc/www/app/locale-zh-tw.json          |   9 +-
 proscend/prosrc/www/src/index.html.src             |   1 +
 proscend/prosrc/www/src/manual.html.src            |   1 +
 proscend/prosrc/www/src/manual/sidebar.h.html      |   1 +
 .../www/src/manual/wifi_infomation_5g.h.html       |  35 ++++++
 proscend/prosrc/www/src/menu.html.src              |   1 +
 10 files changed, 282 insertions(+), 5 deletions(-)

1300

M350-C - task - [40%] WiFi 5GHz web page

  • [0%] 單獨新增一個 WiFi WPS 的設定 page
commit fd5458e6e1cceea4eafadfe40d1ac62ecf576c59
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Mon Apr 6 14:49:26 2020 +0800

    add 'WiFi WPS'

 proscend/prosrc/webcgi/Makefile                  |   4 +
 proscend/prosrc/webcgi/wifi_ap_common.c          | 100 +++++++++++++++++++++++
 proscend/prosrc/www/app/feature/wifi_wps.html    |  43 ++++++++++
 proscend/prosrc/www/app/feature/wifi_wps.js      |  63 ++++++++++++++
 proscend/prosrc/www/app/locale-en.json           |  13 +++
 proscend/prosrc/www/app/locale-fr.json           |  13 +++
 proscend/prosrc/www/app/locale-zh-tw.json        |  13 +++
 proscend/prosrc/www/app/services/icos.service.js |  11 +++
 proscend/prosrc/www/src/index.html.src           |   1 +
 proscend/prosrc/www/src/menu.html.src            |  14 ++++
 10 files changed, 275 insertions(+)

1530

M350-C - task - [0%] let web module exit before lte

這很重要

不然 LTE module 在 M350-C 上 exit 要花掉快一分鐘

會讓 reboot page 機制失效 - web module 還沒 exit

commit c29491546456522ed98ffba6c57519c29dc283a5
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Mon Apr 6 15:36:46 2020 +0800

    let web module exit before lte
    - web module init after lte

 proscend/prosrc/icos/icoslib/entry.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

1540

M350-C - task - [70%] WiFi 5GHz web page

  • [0%] 原本的 WiFi 要改成 WiFi (2.4 GHz)
  • [0%] 只有一個 WiFi menu group

這可以一起作

commit 5530c16702f01ba00beddcf1d0c5c47fe9aa7c79
Refs: [release/v0.03], {origin/release/v0.03}
Author: jeffrey <[email protected]>
Date:   Mon Apr 6 16:08:15 2020 +0800

    refactoring the WiFi menu group

 proscend/prosrc/www/app/feature/wifi_wps.html      |  2 +-
 proscend/prosrc/www/app/locale-en.json             | 17 ++++++-----
 proscend/prosrc/www/app/locale-fr.json             | 17 ++++++-----
 proscend/prosrc/www/app/locale-zh-tw.json          | 17 ++++++-----
 proscend/prosrc/www/src/manual.html.src            |  6 ++--
 proscend/prosrc/www/src/manual/sidebar.h.html      | 30 +++++++++----------
 proscend/prosrc/www/src/manual/wifi_config.h.html  |  4 +--
 .../prosrc/www/src/manual/wifi_config_5g.h.html    |  4 +--
 .../prosrc/www/src/manual/wifi_infomation.h.html   |  4 +--
 .../www/src/manual/wifi_infomation_5g.h.html       |  4 +--
 .../prosrc/www/src/manual/wifi_mac_filter.h.html   |  4 +--
 .../www/src/manual/wifi_mac_filter_5g.h.html       |  4 +--
 proscend/prosrc/www/src/manual/wifi_wps.h.html     | 26 ++++++++++++++++
 proscend/prosrc/www/src/menu.html.src              | 35 +++++-----------------
 14 files changed, 95 insertions(+), 79 deletions(-)

1610

M350-C - task - [0%] VLAN web page

commit fd0dee52f8c4f7f7b5704f474b2f11474aebc262
Author: jeffrey <[email protected]>
Date:   Mon Apr 6 17:12:36 2020 +0800

    modify 'LAN > VLAN' page according to designer

 proscend/prosrc/webcgi/vlan.c             | 41 +++++++++++++++++++
 proscend/prosrc/www/app/feature/vlan.html | 66 ++++++++++++++++++++++++++++---
 proscend/prosrc/www/app/locale-en.json    |  3 ++
 proscend/prosrc/www/app/locale-fr.json    |  3 ++
 proscend/prosrc/www/app/locale-zh-tw.json |  3 ++
 5 files changed, 111 insertions(+), 5 deletions(-)

1740

M330 - task - - [0%] let web module exit before lte

commit b0fbfc7765417bca57c75a3fc60ddb606094c812
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Apr 6 17:53:40 2020 +0800

    let web module exit before lte
    - web module init after lte

 proscend/prosrc/icos/icoslib/entry.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)