Commit Graph

9 Commits

Author SHA1 Message Date
SlimusMinus
3dd174afa5 Add verification questions, claim flow and scam warnings
- post form: up to 3 verification questions (loss and found) and a
  "how not to get scammed" note; sent as verificationQuestions JSON
- feed card: "I found it" / "It's mine" instead of "Write" for posts with
  questions; phone shows "after check" until the author approves
- chat draft shows ClaimForm; VerificationPanel lets the author approve or
  reject answers and locks the claimant's input until approval, then offers
  the author's phone
- messages: claim answers card, verification system line, fraudSignal
  warnings for the recipient; ChatSafetyNotice with new-account mark
- tests, README

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 01:04:55 +03:00
SlimusMinus
df91e7e129 Add first-visit tip and how-to guide for guests
- guests in the feed see a "New here?" tip with a waving hand: swipe up to
  dismiss on mobile (top), close button on desktop (bottom right); shown
  once, remembered in localStorage
- GuideModal: six short steps (feed and map, map pins, posting, chat with
  photos/video, phone reveal, marking as returned) plus safety tips;
  guests get a sign-in button
- "How it works" item in the mobile menu and the desktop sidebar
- ru/en texts, tests, README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 22:25:15 +03:00
SlimusMinus
94af58b542 Document chat media, phone reveal and desktop layout in README
- chat: post info in header and list, photo and video attachments,
  viewer, /chats/new draft, new chat endpoints and WebSocket updates
- phone reveal via proof-of-work, phoneVisible consent, closedAt
- desktop layout components, new hooks, utils and styles
- fix outdated notes: compressImage, chat creation endpoint, backend branches

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 21:46:27 +03:00
SlimusMinus
5cd2fe70a4 Add GitHub Actions CI: lint, typecheck, tests and build on PRs to master
Runs on every pull request to master and on push to master (Node 22,
npm ci, CI=true). The gitea deploy workflow is unchanged. README
describes the check and recommends making it required for master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 22:27:35 +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
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
b924483231 added carousel image on post on mainFeed 2026-10-09 01:21:14 +03:00
SlimusMinus
d94a6782a4 fix bug and errors 2026-10-06 01:00:10 +03:00
SlimusMinus
93dc722d27 Initialize project using Create React App 2026-04-27 00:35:44 +03:00