Commit Graph
7 Commits
Author SHA1 Message Date
zimonianhua 07f4be3fc1 build: 移除Dockerfile中的mailcap依赖并优化前端配置
Docker Build and Push / build (push) Has been cancelled
- 删除Dockerfile中不必要的mailcap包以精简镜像
- 将前端配置从process.env改为import.meta.env以适配现代构建工具
- 移除Go代码中手动设置mime类型的冗余逻辑
- 修复静态资源路由路径格式(/assets改为assets/)
- 优化导入语句格式和代码结构
2026-02-10 20:46:06 +08:00
zimonianhua 7f9b638553 fix: use all: prefix for embed to include files starting with underscore
Docker Build and Push / build (push) Has been cancelled
2026-02-10 20:40:35 +08:00
zimonianhua 39d61dd7ad fix: 修复Docker镜像中静态资源加载问题
Docker Build and Push / build (push) Has been cancelled
- 在Dockerfile中添加mailcap包以提供mime类型支持
- 修正静态资源路由路径从"assets/"改为"/assets"
- 显式注册.js和.css文件的mime类型,防止因缺少mime配置导致浏览器加载失败
2026-02-10 20:31:31 +08:00
zimonianhua 3519a26495 chore: 删除已弃用的部署工作流并更新生产环境检测
Docker Build and Push / build (push) Has been cancelled
删除三个已弃用的 GitHub Actions 工作流文件 (deploy_docs_pages.yml, demo_site_deploy.yml, custom_deploy.yml),这些工作流已不再使用。
同时更新 web/config.js 中的生产环境检测逻辑,使其同时识别 'prod' 和 'production' 环境变量值,提高配置的灵活性。
2026-02-10 20:17:26 +08:00
zimonianhua fbf7885131 build: 分离开发与发布环境的 Docker 构建配置
Docker Build and Push / build (push) Has been cancelled
custom-deploy-your-server / build-deploy (push) Has been cancelled
deploy-demo-site / build-deploy (push) Has been cancelled
Deploy Docs to GitHub Pages / build (push) Has been cancelled
Deploy Docs to GitHub Pages / Deploy (push) Has been cancelled
- 新增 Dockerfile.release 用于生产环境,仅包含运行所需的最小依赖
- 重构原 Dockerfile 为多阶段构建,集成前端构建与后端编译
- 更新 .goreleaser.yaml 以使用新的发布镜像配置
- 新增 GitHub Actions 工作流用于自动构建和推送 Docker 镜像
2026-02-10 19:57:51 +08:00
zimonianhua 26e45ce8c3 build: 更新 go.mod 中的依賴項版本
custom-deploy-your-server / build-deploy (push) Has been cancelled
deploy-demo-site / build-deploy (push) Has been cancelled
Deploy Docs to GitHub Pages / build (push) Has been cancelled
Deploy Docs to GitHub Pages / Deploy (push) Has been cancelled
更新多個依賴項至新版本,包括 google/uuid (v1.3.0 → v1.6.0)、modernc.org/sqlite (v1.23.1 → v1.45.0) 及其相關模組,並添加了新的依賴項 ncruces/go-strftime 和 golang.org/x/exp。
2026-02-10 19:00:38 +08:00
zimonianhua 9538ab481b feat: 新增企业微信应用消息发送渠道
custom-deploy-your-server / build-deploy (push) Has been cancelled
deploy-demo-site / build-deploy (push) Has been cancelled
Deploy Docs to GitHub Pages / build (push) Has been cancelled
Deploy Docs to GitHub Pages / Deploy (push) Has been cancelled
- 添加 WeChatCorpAccount 消息类型常量
- 新增企业微信应用配置结构体和渠道验证逻辑
- 实现企业微信应用消息发送服务,支持 text、markdown 和 textcard 格式
- 添加前端配置界面,支持动态接收者设置
- 集成代理支持(HTTP/HTTPS/SOCKS5)
2026-02-10 18:52:59 +08:00