root
7182e6828b
Fix geolocation: button-triggered, error messages in Russian
2026-08-20 18:45:42 +00:00
root
31c53cd8d5
Fix: leaflet.js local, consent status check, OSM direct tile URL
...
- vendor/leaflet.js (no more CDN dependency for JS)
- direct tile.openstreetmap.org (was {s}.tile)
- backend GET /api/v1/auth/consents (check if all accepted)
- frontend ConsentApi.status() before showing overlay
- only show overlay once
2026-08-20 18:43:19 +00:00
root
6d98fc90eb
Full CSS rewrite: fix layout, prevent Leaflet overflow, mobile frame
2026-08-20 18:40:21 +00:00
root
9d3a0c783b
Fix consent overlay: relative to mobile-frame, not body
2026-08-20 18:38:43 +00:00
root
cb05669c7c
Fix auth: backend returns Access/Refresh (CamelCase), JS expected access/refresh
...
Store.save() now handles both cases. Refresh endpoint uses 'Refresh' key.
This was causing /me 401 right after register.
2026-08-20 18:36:41 +00:00
root
e5dceb250b
Debug register button: log to console, show clear error
2026-08-20 18:02:04 +00:00
root
41019d476d
Fix registration button: enable when email+8+ chars; show hint
2026-08-20 18:00:50 +00:00
root
be8d196734
Fix mobile frame: tabbar inside frame, button visible, proper layout
2026-08-20 17:58:30 +00:00
root
d87e0bafa0
Make mode toggle visible: orange button, z-index 9999, hidden on real mobile
2026-08-20 17:57:19 +00:00
root
05254ec339
Fix mode toggle: don't reload, just swap class
2026-08-20 17:56:03 +00:00
root
ffbc917a5d
Add mobile emulator mode for desktop testing
...
- 390px-wide frame on desktop, mimics mobile Telegram
- Toggle button (top-right): 'Mobile' / 'Fullscreen'
- Auto-detects screen width, remembers choice in localStorage
- Real mobile (≤768px) uses native layout
2026-08-20 17:54:45 +00:00
root
897fc4cd31
Add email login fallback (for testing outside Telegram)
...
WebApp detects if Telegram SDK is missing, shows email login form
so we can test without the bot running.
2026-08-20 17:52:38 +00:00
root
21d281a1c6
Telegram WebApp: Mini App with map, chats, profile, reviews
...
- index.html with bottom tabbar (Map/Chats/Profile/Settings)
- Telegram WebApp SDK auth via /api/v1/auth/telegram
- Consent gate on first login (4 checkboxes)
- Map view with Leaflet (OSM) + nearby users + radius selector
- Chat list + single chat with WebSocket realtime
- Profile editing (drinks, activities, purposes)
- Review screen with stars + anonymous toggle
- User reviews list with stats
- User profile (public) with rating, write/block/report
- Legal pages (TERMS / PRIVACY / DISCLAIMER)
2026-08-20 17:43:16 +00:00
81f586d24e
Initial commit
2026-08-20 20:36:38 +03:00