20191028_jeffrey - silenceuncrio/diary GitHub Wiki

0905

review

1020

M330[release/v0.08] - add 'DO' panel at 'Status' page

commit a42e084ee47d8f2b617001c13645720661542bba
Refs: [release/v0.08], {origin/release/v0.08}
Author: jeffrey <[email protected]>
Date:   Mon Oct 28 10:20:29 2019 +0800

    add 'DO' panel at 'Status' page
    - display the status of the 'DO'

 proscend/prosrc/webcgi/status.c                    |  7 ++++++
 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 +++
 .../prosrc/www/src/app/feature/status.html.src     | 28 ++++++++++++++++++++++
 5 files changed, 44 insertions(+)

1120

利用 WiKi 來整理一下 GPS Track Server

1525

客戶 hytec 反映 M330 的問題表示如下

image

By the way “Apply” button cannot be seen in Google Chrome. It can be seen in IE.

目前 session 機制的確偶爾會看見異常

但沒能花時間好好去追是哪出了問題


以下為例

image

當 M330 的 session timeout 的時候

whoAmI 這個 CGI 會會應 HTTP 100 伴隨一個 json 表示 level: 0

lte.cgi?act=gps_config 因為 session timeout 的關係所以得到 HTTP 401 的回應

目前 angular 處理 HTTP 401 回應便是導到 login 畫面

假使某一個 page 的 whoAmI 得到 level: 0 而且並沒有任何 HTTP 401 的回應的話

便會出現 Apply 按鈕消失的情況

理論上按 F5 可以解決該問題

但我應該花點時間來找出問題的成因


ariel 到是希望我找個方法來徹底解決 瀏覽器 cache 的問題

主要是今天我改了 status 那一頁

但 ariel 又因為 cache 的問題已為我沒有改到

希望徹底解決就是不希望 cache 的問題再度出現

以下是個解決 angular template 被 cache 的方式

templateUrl: 'app/feature/qos.html?uuid=' + Math.random(),

目前 M330 並不是所有的 page 都套用這樣的方式

我想不管這個方法是否徹底有效

以一個產品而言

我至少要讓處理問題的邏輯一致

說做就做

1810

客戶希望 M360P 一個 partition 空掉的問題能在這個禮拜給出 solution