Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
f02b25e8f3 change design 2026-08-17 23:17:30 +03:00
SlimusMinus
66ff0dc5bf fixed image and name chat 2026-08-13 00:37:41 +03:00
SlimusMinus
2b9cb62c72 fixed code v3 2026-08-12 23:28:35 +03:00
SlimusMinus
e45c9326ed fixed code v2 2026-08-12 00:38:04 +03:00
SlimusMinus
7f59ee1f38 fixed code 2026-08-11 00:24:07 +03:00
SlimusMinus
b924bc5f94 added files in git 2026-07-03 00:04:56 +03:00