sky121113
|
bca22ffb99
|
[RELEASE] 遠端指令與庫存管理效能優化正式上線
1. 全面優化指令中心與庫存管理頁面之 JSON 資料結構,大幅降低渲染延遲。
2. 針對 remote_commands 資料庫表補齊 command_type, status, created_at 索引。
|
2026-05-16 20:40:31 +08:00 |
|
sky121113
|
903f471d51
|
[PROMOTE] 優化遠端指令中心與庫存管理效能
1. 優化指令中心與庫存管理頁面之 JSON 傳遞,減輕 DOM 渲染負擔。
2. 針對 remote_commands 資料表新增 command_type, status, created_at 索引。
|
2026-05-16 20:39:12 +08:00 |
|
sky121113
|
9fce030f5c
|
merge: remote performance optimization
|
2026-05-16 20:39:01 +08:00 |
|
sky121113
|
51d5ac87c7
|
refactor: optimize command center and stock management performance with lightweight JSON and DB indexes
|
2026-05-16 20:38:05 +08:00 |
|
sky121113
|
6fcb197eb5
|
[RELEASE] Production Update: Optimized inventory warning logic
1. fix: update low stock warning threshold to 20% of max_stock
2. merge: integrate inventory threshold 20% fix
|
2026-05-16 20:09:52 +08:00 |
|
sky121113
|
8fa2421978
|
[PROMOTE] Dev to Demo: Updated low stock warning logic to 20% threshold
1. fix: update low stock warning threshold to 20% of max_stock
2. merge: integrate inventory threshold 20% fix
|
2026-05-16 20:08:37 +08:00 |
|
sky121113
|
5574f845ab
|
merge: integrate inventory threshold 20% fix
|
2026-05-16 20:08:20 +08:00 |
|
sky121113
|
9bf670b951
|
fix: update low stock warning threshold to 20% of max_stock
1. 移除硬編碼的門檻值 5。
2. 改用 stock <= (max_stock * 0.2) 進行動態判斷。
3. 增加 max_stock > 0 過濾,避免空貨道產生錯誤警示。
|
2026-05-16 20:07:12 +08:00 |
|
sky121113
|
7b80400a09
|
[RELEASE] Production Update: Optimized temperature logging behavior
1. fix: 移除冗餘的 4 小時溫度保底日誌,大幅減少生產環境日誌噪音。
|
2026-05-16 16:57:18 +08:00 |
|
sky121113
|
e9f04958af
|
[PROMOTE] Dev to Demo: Optimized temperature logging behavior
1. fix: 移除冗餘的 4 小時溫度保底日誌,減少無意義噪音。
|
2026-05-16 16:51:29 +08:00 |
|
sky121113
|
88dde0dd25
|
fix: remove redundant 4-hour temperature fallback log to reduce noise
|
2026-05-16 16:49:38 +08:00 |
|
sky121113
|
f04d9ba31f
|
[RELEASE] 晉升 demo 變更至 main 環境 (2026-05-15)
1. [FEAT] 金流配置優化:公司名稱改為選填並優化列表顯示。
2. [DB] 執行資料庫遷移,將 payment_configs.company_id 設為 nullable。
|
2026-05-15 17:33:23 +08:00 |
|
sky121113
|
d1c7b48ce6
|
[PROMOTE] 晉升 dev 變更至 demo 環境 (2026-05-15)
1. [FEAT] 金流配置優化:公司名稱改為選填並優化列表顯示 (Commit: 450e6db)
2. [DB] 執行資料庫遷移,將 payment_configs.company_id 設為 nullable。
|
2026-05-15 17:31:58 +08:00 |
|
sky121113
|
450e6dbe67
|
[FEAT] 金流配置優化:公司名稱改為選填並優化列表顯示
1. 新增資料庫遷移腳本,將 payment_configs 資料表的 company_id 欄位改為可為空 (nullable)。
2. 修改 PaymentConfigController 的驗證邏輯,允許 company_id 為空值。
3. 調整金流配置的新增與編輯頁面,移除公司名稱的必填限制及相關 JavaScript 攔截邏輯。
4. 優化金流配置列表,當配置未綁定公司時,將顯示標籤改為「系統」。
|
2026-05-15 17:28:33 +08:00 |
|
sky121113
|
bfd12b9ca8
|
[RELEASE] Promote demo to main (2026-05-15)
1. [FEAT] 客戶管理欄位非必填化:調整 companies.code 為 nullable 並擴張長度至 100。
2. [FIX] 部署流程穩定性優化:修正標籤映射、解決部署衝突並優化生產環境本地 Runner 設定。
|
2026-05-15 17:05:35 +08:00 |
|
sky121113
|
ea4dbbdedf
|
[PROMOTE] dev to demo
1. [FEAT] 客戶管理欄位(客戶代號、起始日)非必填化:調整 companies.code 為 nullable 並增加長度。
2. [FIX] 優化 CI/CD 流程:修正標籤映射與 Runner 設定,確保生產環境部署穩定性。
|
2026-05-15 17:04:22 +08:00 |
|
sky121113
|
2f550839cc
|
[FEAT] 客戶管理欄位(客戶代號、起始日)非必填化
1. 新增遷移檔將 companies.code 改為 nullable 並增加長度至 100,解決刪除時字串過長的問題。
2. 修改 CompanyController 驗證邏輯,允許 code 與 start_date 為空。
3. 更新前端公司管理頁面,移除 code 與 start_date 的必填限制與 UI 標記。
|
2026-05-15 17:02:59 +08:00 |
|
sky121113
|
cfaa8dfe54
|
[FEAT] 同步生產環境部署流程至與 Demo 站一致的嚴謹架構
|
2026-05-15 16:22:03 +08:00 |
|
sky121113
|
21d1a0e3c1
|
[FIX] 修正標籤映射以支援 Node.js 環境
|
2026-05-15 16:19:18 +08:00 |
|
sky121113
|
9471332d49
|
[FIX] 解決部署流程衝突並應用生產環境本地 Runner 優化
|
2026-05-15 16:15:49 +08:00 |
|
sky121113
|
c412b9c43d
|
[FEAT] 優化生產環境部署流程與 Runner 設定
1. 在生產環境主機 (star-cloud-prod) 安裝並啟動獨立的 act_runner (標籤: prod)。
2. 修改 .gitea/workflows/deploy-prod.yaml,將部署模式從 SSH/Rsync 改為本地 Docker 模式。
3. 確保 demo 與 prod 環境隔離,提升部署效率與安全性。
|
2026-05-15 16:15:16 +08:00 |
|
sky121113
|
74de9abdac
|
Merge branch 'demo'
|
2026-05-15 15:53:49 +08:00 |
|
sky121113
|
bc7c94ca0d
|
Merge branch 'dev' into demo
|
2026-05-15 15:53:36 +08:00 |
|
sky121113
|
b2e6e2567a
|
[FIX] 實施生產環境 Runner 隔離\n\n1. 修改 deploy-prod.yaml 將 runs-on 設定為 [ubuntu-latest, prod]\n2. 確保生產環境任務只由 gitea_work 專用機器執行
|
2026-05-15 15:53:32 +08:00 |
|
sky121113
|
8262637454
|
Merge branch 'dev' into demo
|
2026-05-15 15:52:14 +08:00 |
|
sky121113
|
928a1a8370
|
[STYLE] 調整 Demo 部署標籤為 ubuntu-latest 搭配 demo\n\n1. 將 runs-on 修改為 [ubuntu-latest, demo]\n2. 此舉能確保使用 Runner 預設的 ubuntu 環境標籤並精確鎖定至 demo 專用機
|
2026-05-15 15:52:06 +08:00 |
|
sky121113
|
8998de9179
|
Merge branch 'dev' into demo
|
2026-05-15 15:50:12 +08:00 |
|
sky121113
|
7662b20598
|
[FIX] 修正 Runner 標籤配置以支援 Docker 環境執行\n\n1. 將 self-hosted 標籤從 host 模式改為 docker 模式\n2. 確保 Actions 可以在容器內找到 node 執行環境
|
2026-05-15 15:50:12 +08:00 |
|
sky121113
|
cec0ed6394
|
Merge branch 'dev' into demo
|
2026-05-15 15:44:36 +08:00 |
|
sky121113
|
46dbeb59fb
|
[CI] Update demo runner label to [self-hosted, demo]
|
2026-05-15 15:44:36 +08:00 |
|
sky121113
|
c15f28eaa7
|
[RELEASE] Promote demo to main (2026-05-15) - UI Cleanup and Admin Fix
|
2026-05-15 15:32:31 +08:00 |
|
sky121113
|
b40257f676
|
[SYNC] Update local main from remote
|
2026-05-15 15:32:31 +08:00 |
|
sky121113
|
c705e01f4f
|
[SYNC] Merge main back to demo to sync CI fixes
|
2026-05-15 15:28:40 +08:00 |
|
sky121113
|
0e2f2d8ed4
|
[FEAT] 隱藏機台列表的刷卡機/掃碼機顯示與日誌中的設備狀態紀錄分頁
|
2026-05-15 15:15:31 +08:00 |
|
sky121113
|
239ab7fafd
|
[FIX] 修正新增客戶時初始帳號未標記為管理員的問題
1. 在 CompanyController 新增客戶時,明確為初始管理員帳號加上 is_admin = true,確保其在各權限管理介面能正確顯示。
|
2026-05-15 15:05:43 +08:00 |
|
sky121113
|
320af5c0c6
|
refactor(ci): use native ssh instead of appleboy/ssh-action to avoid download issues
|
2026-05-15 14:09:21 +08:00 |
|
sky121113
|
ff6cb13308
|
fix(ci): add apt lock waiting and check for rsync/ssh in deploy-prod
|
2026-05-15 14:06:12 +08:00 |
|
sky121113
|
2290622765
|
[RELEASE] demo to main - 2026-05-15
1. Consolidate changes from demo branch including advertisement notification fixes and accumulated features.
|
2026-05-15 14:04:36 +08:00 |
|
sky121113
|
871e7b0b8b
|
[PROMOTE] dev to demo - 2026-05-15
1. fix: improve advertisement notification feedback and error handling
|
2026-05-15 14:02:51 +08:00 |
|
sky121113
|
143050a5c6
|
fix: improve advertisement notification feedback and error handling
|
2026-05-15 14:01:50 +08:00 |
|
sky121113
|
313ab72056
|
[FIX] 補回上傳成功後的 session flash 訊息
|
2026-05-15 13:53:24 +08:00 |
|
sky121113
|
1d07a90e51
|
[PROMOTE] 晉升 dev 到 demo (包含廣告上傳修復)
|
2026-05-15 13:52:08 +08:00 |
|
sky121113
|
0685c71141
|
[FIX] 修復廣告圖片上傳失敗與優化錯誤提示
1. 修正正式環境 Nginx client_max_body_size 限制導致的上傳失敗問題(已於 Host 端同步修正)。
2. 在 AdvertisementController@store 加入 try-catch 區塊與 Log 紀錄,確保圖片處理異常時回傳 JSON 錯誤。
3. 優化前端上傳 AJAX 邏輯,當發生 413 (檔案太大) 或 500 錯誤時提供明確的提示訊息。
|
2026-05-15 13:50:33 +08:00 |
|
sky121113
|
12226dd7d0
|
[STYLE] 微調部署腳本格式
1. 刪除 deploy-prod.yaml 第 35 行的多餘空行。
|
2026-05-15 12:03:32 +08:00 |
|
sky121113
|
cb9b8b072d
|
[FIX] 修正正式環境 CI/CD 卡在 apt-get 互動提示的問題
1. 加入 DEBIAN_FRONTEND=noninteractive 環境變數。
2. 增加 Dpkg::Options 強制自動處理設定檔衝突,避免部署掛起。
|
2026-05-15 11:57:51 +08:00 |
|
sky121113
|
c92ced4150
|
[FIX] 觸發正式環境 CI/CD 重新部署
1. 在 deploy-prod.yaml 新增註解以產生異動,藉此重新觸發 CI/CD 以驗證 SSH 金鑰修復後的連線狀況。
|
2026-05-15 11:57:18 +08:00 |
|
sky121113
|
e96e9dcb93
|
[STYLE] 調整正式站部署腳本格式
1. 微調 .gitea/workflows/deploy-prod.yaml 檔案內的空行排版。
|
2026-05-15 11:54:06 +08:00 |
|
sky121113
|
0a1109ec34
|
[REFACTOR] 移除舊有部署腳本範本
1. 刪除 .gitea/workflows/deploy-remote-template.yaml,因其相關邏輯已完整整合至 deploy-prod.yaml 與 deploy-demo.yaml 腳本中。
|
2026-05-15 11:41:16 +08:00 |
|
sky121113
|
24d7602f5a
|
[FIX] 以 appleboy/ssh-action 重構正式環境部署腳本
1. 改用 appleboy/ssh-action 取代 ssh 字串指令,對齊 deploy-remote-template 的架構。
2. Step 1 改回用 rsync 同步程式碼,SSH 金鑰由 runner 自行注入,移除 shimataro/ssh-key-action 依賴。
3. 加入智慧重建判斷(Step 2):僅在 Dockerfile/compose.yaml 有變更時才執行 --build,加速一般部署。
4. 完整對齊 Step 3 的 chown / composer / npm / artisan 初始化邏輯,確保與 demo 部署行為一致。
|
2026-05-15 11:14:49 +08:00 |
|
sky121113
|
1401912059
|
[FIX] 重構正式環境部署腳本,改用 SSH+tar 方式同步程式碼
1. 棄用 rsync 直接同步方案,改用 tar 打包傳送再遠端解壓,與 demo 部署邏輯一致。
2. 將 docker compose 換成 docker-compose,修正 GCP 主機僅有舊版 v1 CLI 的相容問題。
3. 拆分 Step 步驟結構,對齊 demo workflow 的 Step 0~5 風格。
4. docker exec 加入 -u 1001:1001 確保產出檔案不會被 root 佔用。
|
2026-05-15 11:12:05 +08:00 |
|