agentuser
38b9b64809
feat: configurable download origin (gmp.download-origin), defaults to path-only
2026-05-11 17:13:01 +08:00
agentuser
da415aab80
feat: add 30-minute auto-cleanup for generated cache files
2026-05-11 17:07:47 +08:00
agentuser
9fc145ae61
docs: update openapi.yaml to reflect JSON export + download endpoint
2026-05-11 16:36:25 +08:00
CloseIn
4fccbd1ad1
chore: update OpenAPI spec with new contact name and server description
2026-05-11 16:34:05 +08:00
agentuser
318a5bdf7a
refactor: export API returns JSON with download URL, add FileCacheService
2026-05-11 16:30:55 +08:00
CloseIn
e107e1eb92
chore: update OpenAPI spec with new service title and server URL
2026-05-08 12:01:26 +08:00
agentuser
7b79f1f551
switch to poi-tl for template rendering, add OpenAPI spec
...
- Replace manual DOCX ZIP manipulation with poi-tl library
- Templates use {{variable}} syntax, editable in Word
- Add postProcess hook for dynamic content (table rows)
- Clean up unused generate() method from TemplateProvider
- Remove custom ExportResult/ExportFileWriter complexity
- Add docs/openapi.yaml — OpenAPI 3.1 spec for export API
2026-05-08 11:53:43 +08:00
CloseIn
180c8e78aa
update template
2026-05-08 11:38:11 +08:00
agentuser
12b3e378a1
docs: add API documentation for docx export endpoint
2026-05-08 11:35:47 +08:00
agentuser
31a8f57082
remove LFS tracking (Gitee free tier doesn't support LFS), store .docx as regular file
2026-05-08 11:17:04 +08:00
agentuser
7442f77bd0
refactor: streaming download, Git LFS templates, deploy workflow
...
- Replace base64 JSON response with StreamingResponseBody (zero-buffer)
- Error responses return JSON via GlobalExceptionHandler (400/404)
- Add git-lfs track for *.docx to keep repo lean
- Add deploy/deploy.sh: one-click build + restart
- Add deploy/clean-lfs.sh: periodic LFS cache cleanup
- Add deploy/gmp-service.service: systemd service unit
- Remove unused ApiResponse and DocxExportData DTOs
- Fix build.sh/run.sh jar name (gmp-mock-service -> gmp-service)
- Add TemplateNotFoundException for missing templates
2026-05-08 11:12:47 +08:00
CloseIn
ad4b0e93f0
update server port in application.yml to 6666
2026-05-08 10:32:10 +08:00
CloseIn
ac5a30844e
init
2026-05-07 15:54:19 +08:00