Commit Graph

26 Commits

Author SHA1 Message Date
SlimusMinus
03e2b36c8d fixed address for map 2026-10-15 00:13:19 +03:00
SlimusMinus
01ac227bdb fixed address for map 2026-10-15 00:02:10 +03:00
SlimusMinus
45c4273ea8 fix chats: one chat per ad, ordering, delivery after commit, errors
A chat was unique per user pair, so contacting the same author about a
second ad returned the old chat with the old post_id, and the chat list
showed the other ad's title and image.

- chats are unique per (user_one_id, user_two_id, post_id); migration 015
  drops the old pair constraint whatever its name and adds the new one
- getOrCreateChat looks the chat up by users and post, and checks that the
  other user exists and the post belongs to one of the participants
- chat list is sorted by last message time (chat creation as fallback)
- WebSocket message and unread events are sent only after commit
- chat errors are ApiException: 404 not found, 403 not a participant,
  400 validation; messages are limited to 4000 characters
- Post.images ordered by id so the cover image is stable everywhere

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 01:23:09 +03:00
SlimusMinus
818c8f6a11 Add Docker build and deploy pipeline
All checks were successful
deploy-backend / deploy (push) Successful in 8m24s
2026-10-07 22:56:56 +03:00
SlimusMinus
015b68d96d changed jdk on 25 springBoot on 3.5.6 and fix code 2026-09-30 00:27:10 +03:00
SlimusMinus
870739f45f added posts on feed and posts on map 2026-09-29 01:03:54 +03:00
SlimusMinus
942cd09585 added advertising 2026-09-23 23:34:05 +03:00
SlimusMinus
5b06b420ef added reward text 2026-09-10 01:02:03 +03:00
SlimusMinus
4ebd16f48d fixed minio lifecycle on 180 days 2026-09-09 23:44:50 +03:00
SlimusMinus
e83c08b395 fixed image moderation and dell redis config 2026-09-07 01:39:07 +03:00
SlimusMinus
a44b6c42ba added searchMap methods 2026-08-20 01:35:23 +03:00
SlimusMinus
13ed934c60 fixed web-socket and add rewards on post 2026-08-12 00:41:31 +03:00
SlimusMinus
7429515143 fixed GeocodingService add alter city 2026-08-04 00:33:17 +03:00
SlimusMinus
7660128d96 added refresh token 2026-08-03 02:43:46 +03:00
SlimusMinus
bea9696a28 added statistics for create and found posts 2026-07-30 00:18:05 +03:00
SlimusMinus
844b369f07 added field rules_accepted in posts 2026-07-29 01:22:49 +03:00
SlimusMinus
a6fb187212 added ai-moderation image and text 2026-07-29 00:56:32 +03:00
SlimusMinus
f371a442d0 fixed image locale storage on minio 2026-07-10 01:27:30 +03:00
SlimusMinus
c49f2d108b added reviews 2026-06-23 00:09:57 +03:00
SlimusMinus
236d00f2f9 added chats with another users 2026-06-22 01:08:47 +03:00
SlimusMinus
bafb636cbe added security and fix edit profile 2026-06-18 00:22:50 +03:00
SlimusMinus
62d55d70d0 added phone for post 2026-05-29 01:19:10 +03:00
SlimusMinus
dfcd77fe88 del front and add auth 2026-05-04 00:46:20 +03:00
SlimusMinus
08f7b18218 added liquibase db 2026-03-30 00:12:26 +03:00
SlimusMinus
263242e469 start backend 2026-03-26 00:21:30 +03:00
SlimusMinus
611b1c82ad added start backend 2026-03-24 00:34:04 +03:00