Commit Graph

73 Commits

Author SHA1 Message Date
Dương Cầm
6e73b7aee7 fix: Sửa lỗi QR Code URL (support custom public URL via ENV) v1.5.3 v1.5.4 2026-01-25 11:42:20 +07:00
Dương Cầm
ec2c307c6c fix: Tối ưu cho Unraid (WAL mode), fix nút Back settings, thêm docs update v1.5.1 v1.5.2 2026-01-25 11:27:12 +07:00
Dương Cầm
f7d1cd6fd3 feat: Cải thiện UI Mobile Dialog, thêm thời gian sử dụng và sửa lỗi ESLint
## UI/UX
- Sửa layout Dialog chi tiết trên Mobile (tránh rớt chữ Bluetooth/Receiver)
- Thêm logic tính toán thời gian sử dụng (⏱️ X năm Y tháng)
- Thêm break-words/break-all cho các trường text dài

## Code Quality
- Sửa lỗi ESLint và TypeScript trong src/app/actions.ts
- Loại bỏ các any type không an toàn
- Cải thiện xử lý lỗi (unknown type + instanceof Error)
v1.5.0
2026-01-25 11:00:51 +07:00
Dương Cầm
4649d66b16 fix(db): Cho phép build không cần DATABASE_URL nhưng vẫn warn ở runtime v1.4.1 2026-01-25 10:40:40 +07:00
Dương Cầm
65bf9c74ea feat: Cải thiện UI Dark Mode, Mobile và sửa lỗi mất dữ liệu Docker
## Thay đổi chính:

### UI/UX
- Sửa lỗi Dark Mode trong LocationManager và SmartAddForm
- Tối ưu Header, InventoryManager và UserMenu cho Mobile
- Cải thiện độ tương phản và layout responsive

### Sửa lỗi ESLint
- Sửa lỗi truy cập biến trước khai báo trong settings/page.tsx
- Thay thế any type bằng kiểu cụ thể
- Xóa import không sử dụng

### Docker & Database
- Bổ sung .dockerignore loại trừ file SQLite
- Cập nhật db.ts bắt buộc DATABASE_URL trong production
- Thêm document hướng dẫn triển khai Docker

### Tài liệu
- Thêm docs/DOCKER_DEPLOYMENT.md
v1.4.0
2026-01-25 10:35:32 +07:00
Duong
b12e6337ee fix: ui updates and prevent data loss on docker update 2026-01-25 02:37:25 +07:00
Duong
5961f2571c fix: updateItem warrantyEnd date conversion logic to prevent string type error in Prisma 2026-01-25 02:26:30 +07:00
Duong
c421e42838 docs: add DOCKER.md deployment guide, cleanup release scripts 2026-01-25 02:20:51 +07:00
Duong
2bd292676c feat: fix db.ts to respect DATABASE_URL for Docker, add Other icon, fix mobile tabs CSS, fix chart warnings 2026-01-25 01:52:26 +07:00
duongcamcute
afe5128583 fix: vietnamese font issue by syncing layout and global css variables v1.3.2 2026-01-24 23:20:18 +07:00
duongcamcute
d4e145040d fix: stop tracking db file, fix warranty date format, add serial number input v1.3.1 2026-01-24 23:09:32 +07:00
duongcamcute
911b121707 refactor: replace prompt with SpecInput UI, fix security vulnerabilities in actions/api v1.3.0 2026-01-24 22:42:18 +07:00
duongcamcute
d50e66b387 Fix: Allow insecure cookies for HTTP self-hosting v1.2.2 2026-01-24 21:51:39 +07:00
duongcamcute
9ce843345b Fix: Add use client to Offline page 2026-01-24 21:19:30 +07:00
duongcamcute
d12cccbb31 Fix CI: Add manual trigger and branch push trigger 2026-01-24 21:14:26 +07:00
duongcamcute
adf8eabee1 Fix: Configure Docker Buildx for Github Actions v1.2.1 2026-01-24 21:11:21 +07:00
duongcamcute
bd61c2c610 Release v1.2.0: Add Unsorted Stats, Security Fixes & Docker CI/CD v1.2.0 2026-01-24 21:08:18 +07:00
Dương Cầm
7d65233436 Update README.md 2026-01-16 18:20:28 +07:00
AI Assistant
7347d504fe docs: add web demo section and cleanup remaining files 2026-01-16 18:19:37 +07:00
AI Assistant
964a1c781d chore: remove all guides and actions, finalize readme 2026-01-16 18:16:13 +07:00
AI Assistant
742fb22ab4 chore: cleanup docs and prep release v1.1.0 2026-01-16 18:07:22 +07:00
AI Assistant
6d0aef4163 feat: enhance admin security, add img delete, optimize docker 2026-01-16 18:00:48 +07:00
AI Assistant
5bd3eb9b87 fix(prisma): add linux-musl-openssl-3.0.x target and update docs 2026-01-16 17:51:46 +07:00
AI Assistant
2085b6ff70 chore: disable vercel, fix docker perms, add unraid guide 2026-01-16 17:41:03 +07:00
AI Assistant
d13e1d5bc5 fix(docker): switch to prisma db push to resolve migration conflicts 2026-01-16 17:32:57 +07:00
AI Assistant
71cec30152 fix(docker): skip postinstall scripts during deps install to avoid missing schema error 2026-01-16 17:27:13 +07:00
AI Assistant
9b3604fed2 fix(docker): switch to npm install to resolve cross-platform lockfile issues 2026-01-16 17:24:54 +07:00
AI Assistant
80b8f1577f fix: force sync package-lock.json to resolve npm ci error 2026-01-16 17:23:13 +07:00
AI Assistant
0930cbf3ac chore: update package-lock.json to match v1.1.0 2026-01-16 17:19:56 +07:00
AI Assistant
3572e0176d chore(release): bump version to 1.1.0, cleanup logs, update docker guide 2026-01-16 17:13:04 +07:00
AI Assistant
3280cb0c20 docs: add demo link and limitations section to README 2026-01-16 13:46:46 +07:00
AI Assistant
24bab61550 style: redesign item card to overlay status and fix layout overflow 2026-01-16 13:42:38 +07:00
AI Assistant
e20136e193 style: harden ui with whitespace-nowrap for tags and buttons 2026-01-16 13:39:00 +07:00
AI Assistant
1fad410879 fix(ui): prevent status badge wrap and improve location text layout 2026-01-16 13:37:24 +07:00
AI Assistant
47a03e33d2 chore: update demo database with admin user and sample data 2026-01-16 13:31:07 +07:00
AI Assistant
00481beb65 fix: resolve item schema mismatches (remove quantity, fix purchaseDate) 2026-01-16 12:21:04 +07:00
AI Assistant
f6b7391bb9 fix: align seed script with prisma schema (remove description, add type) 2026-01-16 12:19:01 +07:00
AI Assistant
aa67db698a fix: replace location upsert with findFirst to avoid non-unique field error 2026-01-16 12:16:39 +07:00
AI Assistant
eeaf860b5d fix: cast nextConfig to any to bypass strict typescript check 2026-01-16 12:14:21 +07:00
AI Assistant
8b5414aedb fix: suppress typescript error for valid nextjs config 2026-01-16 12:12:17 +07:00
AI Assistant
e57c0ebece fix: standardization for vercel sqlite deployment 2026-01-16 12:05:47 +07:00
AI Assistant
3cb3bd0c9f fix: remove duplicate database client declaration 2026-01-16 12:02:33 +07:00
AI Assistant
a36f4b4ef3 chore: remove stale generated prisma client files 2026-01-16 11:56:00 +07:00
AI Assistant
ead0ec3345 refactor: use default prisma client path to fix vercel engine error 2026-01-16 11:55:48 +07:00
AI Assistant
502790a44e fix: copy db to tmp for vercel readonly fs and add more binary targets 2026-01-16 11:51:58 +07:00
AI Assistant
a0fcbd67f7 fix: add rhel-openssl-3.0.x binary target for vercel 2026-01-16 11:46:13 +07:00
AI Assistant
828a92f45e fix: move db to prisma folder and hardcode file path for vercel 2026-01-16 11:41:35 +07:00
AI Assistant
02adff27a5 fix: seed admin user and prevent write on login in demo mode 2026-01-16 11:35:21 +07:00
AI Assistant
3051415ab8 chore: add postinstall script for vercel deployment 2026-01-16 11:29:56 +07:00
AI Assistant
49a5e79ccd feat: implement demo mode with write protection and seed data 2026-01-16 11:21:55 +07:00