Commit Graph
34 Commits
Author SHA1 Message Date
Голиков Maximillian Антон 6db5900099 feat(handler):lab4 add AttachmentHandler.Get 2026-10-22 10:08:31 +03:00
Голиков Maximillian Антон c83f6c4a9b feat(handler):lab4 add AttachmentHandler with Upload 2026-10-22 09:12:47 +03:00
Голиков Maximillian Антон d3cc2113fe feat(dto):lab4 include attachment_ids in Message response 2026-10-21 19:14:37 +03:00
Голиков Maximillian Антон c912fe437e feat(dto):lab4 add AttachmentResponse 2026-10-21 20:03:10 +03:00
Голиков Maximillian Антон d62e74f3ac feat(service):lab4 add AttachmentService.Upload with S3 and compensation
- Upload: LimitReader -> DetectContentType -> DecodeConfig -> sha256
- Create(pending) -> Put -> MarkReady
- MarkFailed on Put error (compensation, avoid hanging pending rows)
- Download: member check + status ready via ObjectStorage
- Get: member check by chat_id
2026-10-21 19:04:22 +03:00
Голиков Maximillian Антон 15a2d7aa85 feat(service):lab4 add AttachmentService.Download via ObjectStorage 2026-10-21 18:19:34 +03:00
Голиков Maximillian Антон 21363f5b91 feat(service):lab4 add AttachmentService.Get with member check 2026-10-21 17:52:07 +03:00
Голиков Maximillian Антон 4a71b690c3 feat(service):lab4 add AttachmentService scaffold with helpers 2026-10-21 17:28:11 +03:00
Голиков Maximillian Антон a632a37080 feat(domain):lab4 add Expected hint to UnsupportedMediaTypeError 2026-10-21 16:53:02 +03:00
Голиков Maximillian Антон 7a0b02fc4e fix(s3/init):lab4 make mc-init idempotent without grep and mktemp 2026-10-21 16:20:00 +03:00
Голиков Maximillian Антон aa6fee6e82 chore(compose):lab4 add mc-init for bucket, api user and policy 2026-10-21 15:58:00 +03:00
Голиков Maximillian Антон f14111ccdf chore(compose):lab4 add MinIO service with volume and healthcheck 2026-10-21 12:45:26 +03:00
Голиков Maximillian Антон cbf553e183 feat(config):lab4 add optional S3 settings 2026-10-21 11:28:36 +03:00
Голиков Maximillian Антон 0e5b7375d5 fix(storage/s3):lab4 fail fast when bucket does not exist and chore deps 2026-10-21 10:49:06 +03:00
Голиков Maximillian Антон 6fb1e27375 feat(storage/s3):lab4 add MinIO-backed ObjectStorage 2026-10-21 10:33:06 +03:00
Голиков Maximillian Антон a4a8c3e473 feat(config):lab4 add S3 settings 2026-10-20 09:48:02 +03:00
Голиков Maximillian Антон f88c746b5e feat(domain):lab4 add ObjectStorage interface 2026-10-20 08:57:23 +03:00
Голиков Maximillian Антон cace078c65 feat(postgres):lab4 load attachment ids in ListByChat 2026-10-20 08:22:38 +03:00
Голиков Maximillian Антон 57efb9ce0d feat(postgres):lab4 add loadAttachmentIDs helper 2026-10-19 21:29:36 +03:00
Голиков Maximillian Антон 6cc487b0f3 feat(postgres):lab4 wire validate and link attachments into CreateIdempotent 2026-10-19 20:00:11 +03:00
Голиков Maximillian Антон 936747fe76 feat(postgres):lab4 add linkAttachments helper 2026-10-19 19:04:11 +03:00
Голиков Maximillian Антон 9becd7ddf0 feat(postgres):lab4 add validateAttachments helper 2026-10-19 18:23:00 +03:00
Голиков Maximillian Антон 54eca57152 feat(postgres):lab4 expose Attachments() via Storage 2026-10-19 16:21:55 +03:00
Голиков Maximillian Антон d22d493b1a feat(postgres):lab4 add AttachmentRepo.ExistingKeys and interface assertion 2026-10-19 15:44:08 +03:00
Голиков Maximillian Антон 8fe9e0a962 feat(postgres):lab4 add AttachmentRepo.MarkReady and MarkFailed 2026-10-19 13:53:08 +03:00
Голиков Maximillian Антон d208a7bef3 feat(postgres):lab4 add AttachmentRepo.GetByID 2026-10-19 12:41:08 +03:00
Голиков Maximillian Антон 17f8a65e87 feat(postgres):lab4 add AttachmentRepo scaffold and Create 2026-10-19 11:48:30 +03:00
Голиков Maximillian Антон 0e88b1c102 refactor(domain):lab4 add comments with ai to ease up understanding 2026-10-19 10:56:32 +03:00
Голиков Maximillian Антон 57bcb05da8 feat(domain):lab4 add ConflictError 2026-10-19 10:49:30 +03:00
Голиков Maximillian Антон 200615f5ba feat(domain):lab4 add attachments, status, errors 2026-10-19 10:25:52 +03:00
Голиков Maximillian Антон 4441156621 fix(migration):lab4 add pending status 2026-10-19 09:11:02 +03:00
Голиков Maximillian Антон 84994921bb feat(migration):lab4 add attachments tables with indexes 2026-10-19 08:47:52 +03:00
Голиков Maximillian Антон 76322040e5 import lab3 files 2026-10-18 21:14:01 +03:00
Mikhail Verkovykh ec540a1a72 Подготовить skeleton лабораторной 4 по мессенджеру 2026-09-10 18:01:35 +03:00