20200622_jeffrey - silenceuncrio/diary GitHub Wiki

0900

這個禮拜的 review list


M300 - task

  • [0%] P4 - BGP status (web ui)
  • [0%] P4 - give a init value for google map

M300 - issue

  • [0%] 1064: hard coding interface options is danger

M300 - bug

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

M330 - task

  • [100%] P2 - Setup Wizard Start flag factory default - PI(false)
  • [100%] P2 - No redirect for simple password - PI
  • [0%] P2 - web ui: connect the selected search operator
  • [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%] 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
    • 可以套用至全平台
  • [100%] web ui reboot 的倒數機制出了問題 - 似乎重開機時間變長了
  • [100%] wifi 2.4g wps 要拿掉

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%] P1 - wen ui: url filtering whitelist
  • [0%] P2 - Carrier Aggregation info porting

M360P - issue

  • [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

  • [100%] topology - byOne 的呈現
  • [10% ]Map track
    • 先用假資料
    • 想要有時間軸可以拉
  • [10%] node config
  • [50%] RWD and color, layout, navigation
  • [85%] dashboard
  • [75%] topology
  • [40%] map

0930

M360P - task - [0%] P1 - wen ui: url filtering whitelist

commit 2dfb119374db9dea5104ce470169b609aa972683
Refs: [hotfix/v1.08], {origin/hotfix/v1.08}
Author: jeffrey <[email protected]>
Date:   Mon Jun 22 10:04:33 2020 +0800

    add 'Behavior As' field at 'Firewall > URL Filter' web page
    - Black List (default)
    - White List

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

commit aaec3ca56fd3344c32c0e29ed8aee0fc6ed57c10
Refs: [hotfix/v1.08], {origin/hotfix/v1.08}
Author: jeffrey <[email protected]>
Date:   Mon Jun 22 10:28:41 2020 +0800

    change wording at 'Firewall > URL Filter'
    - List: Black/White

 proscend/prosrc/www/app/feature/urlfilter_summary.html | 6 +++---
 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 ++++
 4 files changed, 15 insertions(+), 3 deletions(-)

1035

M330 - task - [0%] P2 - PI only: make default is unselected for "Auto Show setup wizard..."


ini file 如果是 window 行結尾的話 SysCheckAttValue 會出錯 也就是 get setting 會出錯

光要找出這個錯誤點就花了我不少時間


commit 41ba123e4e810b54285b1fae237d86f9dca9986f
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Jun 22 17:03:43 2020 +0800

    about the following filed at 'Management > Administration'
    - Auto show the setting wizard after login if the wizard has not been finished
    give each customer profile ability to choose thier prefer default value
    - PI(BRAND_ID=66) want this field 'off' as default
    - others use 'on' as default

 .../factory/icos/web_ui_wizard/web_ui_wizard.ini   |   2 +
 .../factory/icos/web_ui_wizard/web_ui_wizard.ini   |   2 +
 proscend/prosrc/icos/icoslib/Makefile              |   1 +
 proscend/prosrc/icos/icoslib/entry.c               |   3 +
 .../prosrc/icos/icoslib/web_ui_wizard/Makefile     |  13 ++
 .../icos/icoslib/web_ui_wizard/web_ui_wizard.c     | 219 +++++++++++++++++++++
 proscend/prosrc/icos/include/icos_common.h         |   1 +
 proscend/prosrc/icos/include/icos_module.h         |   1 +
 .../prosrc/icos/include/module_web_ui_wizard.h     |  46 +++++
 proscend/prosrc/webcgi/wizard.c                    |  98 ++++++---
 10 files changed, 364 insertions(+), 22 deletions(-)

1705

M330 - task - [0%] P2 - PI only: weak password do not redirect to admin page after login

commit f795fb196184fb0921908ce0f4f9990bbd7ccb0d
Refs: [develop], {origin/develop}
Author: jeffrey <[email protected]>
Date:   Mon Jun 22 17:11:13 2020 +0800

    do not redirect to admin page for PI(BRAND_ID=66) when 'name/pass'='admin/admin'

 proscend/prosrc/www/src/app/feature/login.js.src | 4 ++++
 1 file changed, 4 insertions(+)