nebula_chen
b31588d7ad
feat(pisadmin):新增供应商用户创建关联系统的用户创建
2026-04-07 10:22:58 +08:00
nebula_chen
7935527618
Merge branch pis:develop into develop
2026-04-03 12:24:00 +00:00
nebula_chen
28d799c2e4
refactor(pisadmin):修改材料制程最低价与杂采材料表的关联逻辑;修改履历表的写入逻辑与前端实现
2026-04-03 20:22:52 +08:00
lewis
cb781ab1ed
Merge branch 'develop' into 'develop'
...
refactor(pisadmin):修改制程最低价和平均价的计算逻辑
See merge request pisteams/pis!50
2026-04-03 11:05:53 +00:00
nebula_chen
3e9fcc0198
Merge branch pis:develop into develop
2026-04-03 11:02:29 +00:00
nebula_chen
7a9822740c
refactor(pisadmin):修改制程最低价和平均价的计算逻辑
2026-04-03 18:57:09 +08:00
lewis
d3397b493d
Merge branch 'sync/pnpm-fix-to-develop' into 'develop'
...
refactor(storage): rename MinIO to RustFS throughout backend
See merge request pisteams/pis!49
2026-04-03 10:21:57 +00:00
lewis
f8214b1264
Merge branch 'develop' into 'develop'
...
feat(pisadmin):新增供应商用户信息页
See merge request pisteams/pis!48
2026-04-03 10:19:15 +00:00
lewis_yan
9a040f5836
chore(storage): update RustFS credentials for testing
2026-04-03 18:14:45 +08:00
nebula_chen
32c1488d5f
feat(pisadmin):新增杂采材料/加工制程最低信息表模型定义及序列化器
2026-04-03 17:32:29 +08:00
lewis_yan
a90809c3fc
refactor(storage): rename MinIO to RustFS throughout backend
...
- Rename minio_storage.py to rustfs_storage.py
- Update all MINIO_* settings to RUSTFS_* in env.py
- Update file_list.py to import rustfs_upload_file
- Update test files and factory to use rustfs engine
2026-04-03 17:12:04 +08:00
lewis_yan
1959f83d77
chore(deps): add pytest-django and factory_boy for testing
2026-04-03 16:53:25 +08:00
lewis_yan
5d0274c519
test: add MinIO file upload integration tests
...
- Add FileListFactory for test data creation
- Add TestFileUpload with 4 test cases:
- test_upload_file_success (requires MinIO running)
- test_upload_file_unauthenticated (passes without MinIO)
- test_upload_image_success (requires MinIO running)
- test_upload_without_file (passes without MinIO)
- Fix admin_user/normal_user fixtures to use factory_boy
sequence to avoid username collision
2026-04-03 16:52:56 +08:00
lewis_yan
7885d7a759
chore(deps): add boto3, remove unused oss2 and cos-python-sdk
2026-04-03 16:42:52 +08:00
lewis_yan
08a904ef2a
refactor(storage): remove aliyunoss and tencentcos storage engines
2026-04-03 16:42:14 +08:00
lewis_yan
076c3a5a43
feat(storage): simplify FileSerializer.create to use MinIO only
2026-04-03 16:41:50 +08:00
lewis_yan
c337707e05
feat(storage): add MinIO storage utility (boto3-based)
2026-04-03 16:41:04 +08:00
lewis_yan
671f9f4478
feat(storage): add MinIO configuration to env.py
2026-04-03 16:40:12 +08:00
nebula_chen
cb91c7c4f5
fix(pisadmin):修改制程最低价计算逻辑
2026-04-03 16:32:13 +08:00
nebula_chen
28f327b01d
Merge branch 'develop' of http://192.168.80.90:8086/nebula_chen/pis into develop
2026-04-03 15:19:28 +08:00
nebula_chen
59fb404460
feat(pisadmin):新增供应商用户信息页
2026-04-03 15:17:43 +08:00
lewis
4da9c01d70
Merge branch 'sync/pnpm-fix-to-develop' into 'develop'
...
chore: update .gitignore and CLAUDE.md to exclude superpowers files
See merge request pisteams/pis!47
2026-04-03 06:18:09 +00:00
lewis
c50d7219bd
Merge branch 'sync/pnpm-fix' into 'main'
...
chore: update pnpm-lock.yaml for husky and lint-staged
See merge request pisteams/pis!46
2026-04-03 06:12:37 +00:00
lewis_yan
a4ecd7cade
chore: update pnpm-lock.yaml for husky and lint-staged
2026-04-03 14:11:54 +08:00
lewis
82b29209c0
Merge branch 'chore/exclude-superpowers-from-repo' into 'main'
...
chore: update .gitignore and CLAUDE.md to exclude superpowers files
See merge request pisteams/pis!42
2026-04-03 05:58:15 +00:00
lewis_yan
abadbdc4ab
Merge docs/gitlab-mr-template into chore/exclude-superpowers-from-repo
2026-04-03 13:57:19 +08:00
lewis_yan
6dcd44ba42
docs: add Docs option to MR template change type
2026-04-03 13:56:10 +08:00
lewis_yan
69097e48b8
chore: update .gitignore and CLAUDE.md to exclude superpowers files
...
- Add .claude/ directory to .gitignore
- Add docs/scripts-documentation.md to .gitignore
- Add git注意事项 section to CLAUDE.md
- Remove tracked superpowers/docs files from git index
2026-04-03 13:53:19 +08:00
lewis
75a9cba3fa
Merge branch 'fix/pnpm-lockfile-update' into 'main'
...
fix: pnpm-lockfile-update
See merge request pisteams/pis!41
2026-04-03 05:49:01 +00:00
lewis
e06cf6e1b7
Merge branch 'docs/gitlab-mr-template' into 'main'
...
docs: add GitLab MR template
See merge request pisteams/pis!40
2026-04-03 05:46:45 +00:00
lewis_yan
b21a114e97
docs: add GitLab MR template
2026-04-03 13:45:26 +08:00
lewis_yan
6c29a614b3
docs: add GitLab MR template
2026-04-03 13:40:21 +08:00
lewis_yan
03701c5d49
docs: add GitLab MR template
2026-04-03 13:39:52 +08:00
lewis
3f6dafe855
Merge branch 'fix/pnpm-lockfile-update' into 'main'
...
fix: update pnpm-lock.yaml for CI build + dashboard type updates
See merge request pisteams/pis!39
2026-04-03 05:39:08 +00:00
lewis_yan
6031375607
feat(dashboard): add quote_timely_rate and status fields to store types
2026-04-03 13:34:44 +08:00
lewis_yan
09e4838c66
chore(deps): update pnpm-lock.yaml for husky and lint-staged
2026-04-03 13:34:42 +08:00
lewis
ebd32e3bc8
Merge branch 'develop' into 'develop'
...
更新邮件模板;修改供应商用户信息模型定义;修改部分信息编辑模式下可修改信息代码的bug;调整比价前端效果
See merge request pisteams/pis!37
2026-04-03 02:40:25 +00:00
lewis
630b3b0df6
Merge branch 'develop' into 'main'
...
feat: 建立 Git 协作规范 (Git Flow + Hooks + PR模板)
See merge request pisteams/pis!38
2026-04-03 02:33:26 +00:00
nebula_chen
af9406db3a
Merge branch 'develop' into 'develop'
...
# Conflicts:
# backend/apps/pisadmin/basicinfo/views/email_template.py
2026-04-03 02:23:36 +00:00
nebula_chen
3c50ad5d40
修改供应商用户信息表序列化器;修改操作日志写入逻辑;新增前端操作日志在询价单发布后显示供应商报价一览;调整报价单详情页成本结构前端设计
2026-04-03 10:20:32 +08:00
lewis_yan
5273e787f8
chore(dashboard): remove debug print statements
2026-04-03 09:44:32 +08:00
lewis_yan
720cf60d97
fix(dashboard): superadmin sees all supplier quotes, KPI及时的率, and UI polish
...
- Fix superadmin supplier dashboard: show all quotes instead of filtering by username
- Fix Count('id') -> Count('autoid') in trend queries
- Add quote_timely_rate, on_time_quotes, overdue_quotes to supplier KPI
- Add status field to supplier pending quotes
- Buyer chart now uses real trend data from backend
- Supplier quote list height matches buyer task list
- Remove KPI card top color bars
- Enlarge KPI card text (title: 18px, value: 52px) and center align
2026-04-03 09:43:28 +08:00
lewis_yan
57236e1633
docs: add PR template for standardized pull requests
...
- Add change description, related issues
- Add change type checklist (Feature/Bugfix/Hotfix/Refactor)
- Add self-check checklist for pre-commit compliance
- Add reviewer notes section
2026-04-03 09:22:44 +08:00
lewis_yan
16871c3333
feat(git): add husky + lint-staged for frontend
...
- Add .husky/pre-commit hook running lint-staged
- Add .lintstagedrc.json for staged file linting
- Add prepare script for husky setup on npm install
2026-04-03 09:22:24 +08:00
lewis_yan
921a1e2179
feat(git): add pre-commit with ruff for backend
...
- Add .pre-commit-config.yaml with ruff (lint + format)
- Add pre-commit and ruff to requirements.txt
- Ruff replaces flake8 + black + isort (10-100x faster)
2026-04-03 09:19:32 +08:00
lewis_yan
68eb2687c9
docs: add Git collaboration implementation plan
...
Plan for:
- Backend pre-commit with ruff (.pre-commit-config.yaml)
- Frontend husky + lint-staged setup
- PR template (.github/PULL_REQUEST_TEMPLATE.md)
2026-04-03 09:07:07 +08:00
lewis_yan
89de7b9da5
docs: update Git collaboration design - remove team size reference
2026-04-03 09:02:16 +08:00
lewis_yan
114720e557
docs: add Git collaboration design specification
...
Establish standard Git workflow for 6-person team:
- Standard Git Flow branch model
- PR/MR template and review process
- Code review etiquette (1-approver rule)
- Git Hooks: pre-commit for backend, husky for frontend
- Jenkins CI/CD integration
- Branch protection rules
2026-04-03 08:58:58 +08:00
nebula_chen
67b6cae723
更新邮件模板;修改供应商用户信息模型定义;修改部分信息编辑模式下可修改信息代码的bug;调整比价前端效果
2026-04-02 20:12:32 +08:00
lewis_yan
8d649ba43e
docs: update AI Agent design for AVC - use domestic LLM
...
Changes:
- Company name: AVC internal Agent development
- Model: Switch to domestic Chinese models (Qwen/ChatGLM)
2026-04-02 19:41:37 +08:00