Commit Graph

419 Commits

Author SHA1 Message Date
c7e1154af8 fix: 支援 Port 8081 直接訪問租戶 (IP-based tenancy support)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 08:58:32 +08:00
d28671b60c fix: 配置端口代理與 TrustProxies
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 49s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-16 08:39:25 +08:00
4b2ccd36b8 feat: 添加 Nginx 反向代理並統一容器名稱為 star-erp
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m38s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:35:09 +08:00
b685c818a4 fix: 停用 asset_helper_tenancy 以修復 Vite 資源路徑
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m15s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:16:00 +08:00
bf48fe0c35 chore: 修正部署腳本中的容器名稱 (koori-erp -> star-erp)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m1s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:08:02 +08:00
2b752b51ff chore: 更新部署工作流程
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Failing after 41s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 17:06:03 +08:00
9bc7c8514b feat: 租戶建立自動產生預設網域與管理員帳號
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m0s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 修改 TenantController 自動產生預設網域 ({tenant_id}.{TENANT_DEFAULT_DOMAIN})
- 新增 TenantDatabaseSeeder 自動建立 admin 帳號
- 啟用 SeedDatabase Job 在建立租戶時自動執行 seeder
- 新增 TENANT_DEFAULT_DOMAIN 環境變數支援不同環境
- 補充中央資料庫所需的 migrations
2026-01-15 16:55:24 +08:00
287ac6faa3 feat(auth): separate landlord and tenant login experience based on domain
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:56:11 +08:00
9ce8ff4e06 fix(middleware): create missing PreventAccessFromTenantDomains middleware
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 55s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:43:22 +08:00
a6b5496529 fix(tenancy): implement UniversalTenancy middleware to handle central domain on IP
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 52s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:39:04 +08:00
79e5916d19 fix(routes): implementing universal routes to resolve 404 on central domain
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 46s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:36:59 +08:00
a6ed2720d5 fix: 修復 central_domains 從環境變數讀取
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m4s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:25:33 +08:00
190d6c2bd9 fix: 修復 PermissionSeeder 使用 firstOrCreate 避免重複建立
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 59s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:23:02 +08:00
a64a4682f3 fix: 修復權限 migration 使用 firstOrCreate 避免重複建立錯誤
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 13:19:35 +08:00
4f745c1021 feat: 實作 Multi-tenancy 多租戶架構 (stancl/tenancy)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m3s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 安裝並設定 stancl/tenancy 套件
- 分離 Central / Tenant migrations
- 建立 Tenant Model 與資料遷移指令
- 建立房東後台 CRUD (Landlord Dashboard)
- 新增租戶管理頁面 (列表、新增、編輯、詳情)
- 新增域名管理功能
- 更新部署手冊
2026-01-15 13:15:18 +08:00
3e3d8ffb6c git
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-15 11:23:51 +08:00
74a084d938 refactor: optimize user role display and update ui skills
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 59s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-14 14:57:05 +08:00
f7238c2860 fix: 統一 UI 按鈕樣式並新增 button-outlined-error hover 效果
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 51s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 修正 5 處硬編碼顏色樣式改用預定義按鈕類別
- 新增 button-outlined-error 的 hover 狀態(bg-red-50)
- 修正倉庫模組刪除按鈕樣式統一性
- 角色管理權限 Badge 改用標準組件
- 新增 UI 統一性規範 skill
- 修復 1 處 lint 警告(移除未使用參數)

變更檔案:
- resources/css/app.css: 新增 button-outlined-error hover 樣式
- resources/js/Components/Warehouse/WarehouseDialog.tsx
- resources/js/Pages/Admin/Role/Index.tsx
- resources/js/Pages/Warehouse/EditInventory.tsx
- resources/js/Pages/Warehouse/Inventory.tsx
- resources/js/Pages/Warehouse/SafetyStockSettings.tsx
- .agent/skills/ui-consistency/SKILL.md (新增)
2026-01-14 11:31:36 +08:00
7dfe46ff9a refactor: 優化使用者管理介面與角色顯示
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 54s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
- 移除 Header 中的角色名稱顯示
- 調整使用者表單欄位順序(使用者名稱、姓名並排)
- 將角色分配區塊移至基本資料下方
- 修復 email 欄位 null 值警告
- 修復角色選擇無限迴圈錯誤
- 統一角色顯示格式(中文名稱在上,代號在下)
2026-01-14 09:52:56 +08:00
8e364bc2f7 fix: update role display names and seeder
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 55s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-14 08:56:02 +08:00
2e166d44d2 fix: Ensure db:seed runs during deployment
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m3s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:34:05 +08:00
78a7ca4261 fix: DatabaseSeeder 呼叫 PermissionSeeder 並在部署時執行 Seed
Some checks failed
Koori-ERP-Deploy-System / deploy-production (push) Has been cancelled
Koori-ERP-Deploy-System / deploy-demo (push) Has been cancelled
2026-01-13 17:33:31 +08:00
e3afc0b64a fix: 顯示使用者角色以除錯 & 強化權限指派邏輯
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:27:19 +08:00
4d6d37743e fix: 前端權限檢查邏輯讓 super-admin 自動通過
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 49s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:24:42 +08:00
a0a61ba683 feat: 確保 super-admin 角色擁有系統所有權限且開啟 Gate bypass
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:21:36 +08:00
2e7aeef367 feat: 新增 Migration 確保 admin 使用者自動被設為 super-admin 角色
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 45s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:15:32 +08:00
566dfa31ae feat: 統一清單頁面分頁與每頁顯示 UI
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m11s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-13 17:09:52 +08:00
f18fb169f3 feat: 統一全系統頁面標題樣式、優化側邊欄與實作角色成員查看功能 2026-01-13 17:00:58 +08:00
6600cde3bc style: 統一全系統按鈕樣式、新增表格序號欄位、移除裝飾性圖示並同步頁面邊距 2026-01-13 14:23:45 +08:00
f0e6c6e4d1 style: 移除麵包屑首頁項,側邊欄新增儀表板選單並修正選中狀態 2026-01-13 13:37:51 +08:00
ecfcbb93ed feat: 完成權限管理系統、統一頁面標題樣式與表格對齊規範 2026-01-13 13:30:51 +08:00
6770a4ec2f chore: 更新部署設定與文件 2026-01-13 10:00:36 +08:00
b17e305374 chore: 清理 deploy.yaml,移除冗餘註解
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 44s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 11:03:39 +08:00
7ffbc2b1ea fix: 在 rsync 中排除 public/build,避免 Vite manifest 錯誤
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 48s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 10:37:28 +08:00
4f85f80f8e chore: 格式調整
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 49s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 10:34:38 +08:00
4e24b70af3 refactor: 移除維護模式啟用/停用步驟
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m0s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 10:32:55 +08:00
ff66b295e1 perf: 純程式碼更新時跳過 docker compose,減少停機時間
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 10:29:24 +08:00
d736bf9802 feat: 新增條件式容器重建邏輯,減少 502 停機時間
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 53s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 10:22:29 +08:00
7c1ee40882 feat: 新增部署維護模式步驟,減少 500 錯誤發生
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 54s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 10:15:07 +08:00
9793ab774b refactor: revert composer install location and clean up workflow
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 55s
2026-01-12 09:56:22 +08:00
5da14da58e chore: formatting and minor updates to deploy workflow
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 47s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 09:42:49 +08:00
6e174a09a5 refactor: move composer install to host level in deploy workflow
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 49s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 09:32:28 +08:00
0f45a539de feat: add common exclusions to rsync in deploy workflow
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 2m20s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 09:19:52 +08:00
268fc10ded feat: implement SSH action for container management and health checks
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Failing after 45s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 09:12:16 +08:00
822a83f700 feat: configure SSH key for demo deployment
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 32s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 08:59:30 +08:00
c84d6f7600 feat: install rsync and openssh-client in deploy workflow
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Failing after 29s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 08:45:45 +08:00
1dd50473ce chore: update deploy workflow
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Failing after 5s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-12 08:44:07 +08:00
24ae6f3eee feat: 新增採購單發票欄位、更新 SearchableSelect 樣式與搜尋門檻至 10 個項目
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m17s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-09 10:18:52 +08:00
d60367ac57 Save progress on test-demo before deploy
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 37s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-09 09:07:27 +08:00
3088959c7c 管理採購單的商品金額修正
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 29s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-01-08 17:51:06 +08:00