Commit Graph

13 Commits

Author SHA1 Message Date
SlimusMinus
4b7db41a97 fixed show phone number 2026-10-27 22:52:10 +03:00
SlimusMinus
a029254cf0 Tests for auth refresh, ad viewability and URL safety; nginx, Dockerfile, README
- Jest: single-flight refresh, session expiry vs transient errors, token save on login change,
  logout revoke, IAB viewability, safe URLs, HTML escaping, password policy, ad session id
- test:ci with explicit testMatch (dot-directories in worktree paths hid all tests)
- nginx: gzip, nosniff/Referrer-Policy/X-Frame-Options, no-cache for index.html
- Dockerfile: npm ci, REACT_APP_WS_ERROR_QUEUE build arg
- README: new backend contracts, flags, compatibility notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 11:56:39 +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
49ba7f737a fixed search and add hints 2026-10-18 23:49:56 +03:00
SlimusMinus
0074e51829 added rejected posts for admin 2026-10-06 02:06:44 +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
4e20315998 added advertising 2026-09-23 23:38:54 +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
7f59ee1f38 fixed code 2026-08-11 00:24:07 +03:00
SlimusMinus
abbcc330e7 added refresh token 2026-08-03 02:44:57 +03:00