Commit Graph

87 Commits

Author SHA1 Message Date
SlimusMinus
bfc9a1bd1d Fix map marker photos: escapeCssUrl no longer encodes the letter "s"
The character class /['"()\s<>]/ matched a backslash and the letter "s"
instead of whitespace, so every "s" in a marker image URL became %73
(https:// -> http%73://). The colored circles still rendered, but the
background-image URL was broken. Use \\s (backslash + whitespace).

Add tests: escapeCssUrl keeps a presigned URL intact and still encodes
backslash/whitespace; MapView puts the original imageUrl into the marker
template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 22:51:36 +03:00
SlimusMinus
ec713f3da1 Posts API stage 2: one post at /posts/{id}, no legacy user-posts fallback
- Post detail and map focus load GET /api/v1/posts/{id}
- My posts use only GET /api/v1/users/{id}/posts
- README: requires the stage 2 backend (deploy backend first)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 00:05:20 +03:00
SlimusMinus
804018d2ce Campaign stats in admin, user posts via new route, safer ad creation
- Admin: campaign stats panel (impressions, clicks, CTR per campaign and ad) with date range
- My posts: GET /api/v1/users/{id}/posts with paging, fallback to the legacy route
- Ad creation: retry after a failed video upload reuses the created ad; show backend 400 text
- Fullscreen ad form: only absolute http(s) target URLs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 11:53:08 +03:00
SlimusMinus
db37befb8d Support new backend contracts: single-flight refresh, ad impression tokens, error handling
- apiFetch: proactive refresh, cross-tab single-flight via Web Locks, no logout on transient errors
- AuthContext: save tokens returned on own login change, revoke refresh on logout, sync tabs
- Ads: X-Session-Id, impressionToken in impression/click, IAB viewability, safe http(s) targetUrl
- STOMP: refresh before CONNECT, stop reconnect loop on dead session, /user/queue/errors behind flag
- Auth form: password 8 chars / 72 bytes; 429/413 messages via describeApiError
- My posts with auth + moderation badges; post form step validation and field limits
- Map: escape user text in Yandex hint/template

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 02:03:42 +03:00
SlimusMinus
c334dab4a2 moved word review on review page 2026-10-19 01:33:26 +03:00
SlimusMinus
80a5b641ce fixed empty advertising slot 2026-10-19 01:24:03 +03:00
SlimusMinus
838443fcb2 del add unknown city 2026-10-19 00:36:41 +03:00
SlimusMinus
28fedb4308 fixed city search 2026-10-19 00:18:49 +03:00
SlimusMinus
49ba7f737a fixed search and add hints 2026-10-18 23:49:56 +03:00
SlimusMinus
f75df406ce fixed compress image 2026-10-15 01:29:07 +03:00
SlimusMinus
67f0b9c488 pinned the calendar 2026-10-15 01:05:01 +03:00
SlimusMinus
23e692afe8 add missing AddressAutocomplete and yandexGeo files
They are imported by CreateUpdatePost.jsx and useYandexMap.js but were left
out of d3f4ae0, which broke the Docker build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 00:09:21 +03:00
SlimusMinus
5c48067842 fix chat list image taken from the clicked card instead of the chat
createOrGetChat stored the clicked card's post for the returned chat id,
even when the backend returned an existing chat about another ad. The
chat then showed the new ad's image until the next list fetch replaced
it with the real one. The backend's chat.post is now the source of truth;
card data only adds the emoji for the same ad.

Also limit the chat input to 4000 characters, matching the backend.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 01:23:12 +03:00
SlimusMinus
89fdef31cc fixed push on button NakhodkaLanding on sideBar 2026-10-12 00:27:48 +03:00
SlimusMinus
1aeda90da1 added timezone and fix chat 2026-10-11 23:29:27 +03:00
SlimusMinus
b924483231 added carousel image on post on mainFeed 2026-10-09 01:21:14 +03:00
SlimusMinus
77a873a78c fixed mainLogo filter 2026-10-09 00:23:16 +03:00
SlimusMinus
6dc61050d9 Add Docker build and deploy pipeline
Some checks failed
deploy-frontend / deploy (push) Failing after 11s
2026-10-07 23:27:38 +03:00
SlimusMinus
0074e51829 added rejected posts for admin 2026-10-06 02:06:44 +03:00
SlimusMinus
bd3f997677 fixed lan and lon on post 2026-10-06 01:24:28 +03:00
SlimusMinus
d94a6782a4 fix bug and errors 2026-10-06 01:00:10 +03:00
SlimusMinus
841bf091d4 added all feeds for admin 2026-10-02 01:50:42 +03:00
SlimusMinus
a4a9f955d8 fixed map by redis 2026-09-29 01:06:59 +03:00
SlimusMinus
58352267fa deleted full likes 2026-09-24 00:20:41 +03:00
SlimusMinus
4e20315998 added advertising 2026-09-23 23:38:54 +03:00
SlimusMinus
30a4cbf61b added new logo 2026-09-14 01:49:49 +03:00
SlimusMinus
e2d4f7017b deleted likes 2026-09-13 21:23:49 +03:00
SlimusMinus
c58a921d73 changed reward on button 2026-09-10 00:57:31 +03:00
SlimusMinus
4021840429 added blur on topBar 2026-09-09 23:42:03 +03:00
SlimusMinus
204627565f added button back from map and fix post on map 2026-09-08 23:20:27 +03:00
SlimusMinus
f0a7327a1a added button back from map and fix post on map 2026-09-07 01:32:22 +03:00
SlimusMinus
4b0cb4e5a9 fixed get profile avatar and get user from back 2026-09-03 00:29:19 +03:00
SlimusMinus
98473d4b59 added geolocation 2026-09-01 01:19:59 +03:00
SlimusMinus
99ad944eac split pages CreateUpdatePost on two part and fixed button map 2026-09-01 01:03:07 +03:00
SlimusMinus
406a473e57 fixed logo and word itemFound 2026-08-31 23:57:07 +03:00
SlimusMinus
b60a92ab55 fixed icons on sidebar 2026-08-31 01:53:12 +03:00
SlimusMinus
7e33552993 added logo and bagFix 2026-08-31 01:03:41 +03:00
SlimusMinus
408a97e5b2 added post modal for feed on map 2026-08-27 01:30:03 +03:00
SlimusMinus
0041f2cb74 added border on post on feed 2026-08-26 01:13:36 +03:00
SlimusMinus
8326866393 added map on post 2026-08-24 01:26:06 +03:00
SlimusMinus
1f0cbc50bf added functional my favorites posts 2026-08-24 00:46:00 +03:00
SlimusMinus
54ee12c57c fixed start page and profile icon 2026-08-21 00:43:19 +03:00
SlimusMinus
8093e9d0e1 fixed search page 2026-08-19 01:07:55 +03:00
SlimusMinus
cac60af1af fixed main page 2026-08-19 00:47:10 +03:00
SlimusMinus
10fea3cf2a fixed start page and scroll in modal window 2026-08-18 01:06:50 +03:00
SlimusMinus
f02b25e8f3 change design 2026-08-17 23:17:30 +03:00
SlimusMinus
134b5c5849 fix mobile version 2026-08-14 00:41:44 +03:00
SlimusMinus
053b7b52ad added date on chat 2026-08-13 00:52:56 +03:00
SlimusMinus
66ff0dc5bf fixed image and name chat 2026-08-13 00:37:41 +03:00
SlimusMinus
d1e9c9fc7e fixed calendar on post 2026-08-12 23:59:16 +03:00