Commit graph

37 commits

Author SHA1 Message Date
Patrick Britton 15e83c6a14 feat: Flutter group nav, quip repair API, share, capsule key rotation, admin groups/quips pages
Flutter:
- clusters_screen: _navigateToGroup now pushes real GroupScreen (was print)
- public_cluster_screen: calls GET /groups/:id/feed instead of fetchNearbyBeacons
- feed_sojorn_screen: _sharePost uses share_plus
- api_service: getSignedMediaUrl calls Go /media/sign endpoint
- quip_repair_screen: fully rewired to Go admin API (GET /admin/quips/broken, POST repair)
- private_capsule_screen: auto key rotation on open (_checkAndRotateKeysIfNeeded),
  _performKeyRotation helper; _CapsuleAdminPanel now ConsumerStatefulWidget with
  working Rotate/Invite/Remove/Settings modals

Admin panel:
- Sidebar: Groups & Capsules + Quip Repair links added
- /groups: full group management page with member panel + deactivate/remove
- /quips: quip repair page with per-row and repair-all
- /algorithm: live feed scores table (lazy-loaded)
- api.ts: listGroups, getGroup, deleteGroup, listGroupMembers, removeGroupMember,
  getBrokenQuips, repairQuip, setPostThumbnail, getFeedScores

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-17 15:45:42 -06:00
Patrick Britton c3329a0893 feat: Implement repost/boost API, profile layout persistence, feed algorithm wiring, and legacy cleanup
Backend:
- Add repost_handler.go with full CRUD (create, boost, delete, report, trending, amplification analytics)
- Add profile_layout_handler.go for profile widget layout persistence (GET/PUT)
- Wire FeedAlgorithmService into main.go as 15-min background score refresh job
- Fix follow_handler.go (broken interface, dead query pattern, naming conflict)
- Add DB migration for reposts, repost_reports, profile_layouts, post_feed_scores tables
- Add engagement count columns to posts table for feed algorithm
- Remove stale Supabase comments from auth middleware
- Delete cmd/supabase-migrate/ directory (legacy migration tool)

Flutter:
- Fix all repost_service.dart API paths (were doubling /api/ prefix against base URL)
- Rename forceResetBrokenKeys() -> resetIdentityKeys() in E2EE services
- Remove dead _forceResetBrokenKeys method from secure_chat_screen.dart
- Implement _navigateToProfile(), _navigateToHashtag(), _navigateToUrl() in sojorn_rich_text.dart

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-17 14:04:24 -06:00
Patrick Britton 56a9dd032f feat: Add enhanced video moderation with frame extraction and implement placeholder UI methods
- Add VideoProcessor service to PostHandler for frame-based video moderation
- Implement multi-frame extraction and Azure OpenAI Vision analysis for video content
- Enhance VideoStitchingService with filters, speed control, and text overlays
- Add image upload dialogs for group avatar and banner in GroupCreationModal
- Implement navigation placeholders for mentions, hashtags, and URLs in sojornRichText
2026-02-17 13:32:58 -06:00
Patrick Britton 04c632eae2 fix: Resolve all compilation errors - GroupCategory conflicts, ref access, privacy types, and icon/color properties 2026-02-17 11:24:48 -06:00
Patrick Britton d01be18b12 fix: Final compilation errors - update API calls to use new Groups system 2026-02-17 11:19:25 -06:00
Patrick Britton 6217cb2ffd fix: Resolve remaining compilation errors in Groups feature 2026-02-17 11:16:39 -06:00
Patrick Britton f1ee925057 fix: Resolve compilation errors in Groups feature 2026-02-17 11:13:41 -06:00
Patrick Britton 6cba4e5c59 feat: Complete Groups discovery UI and creation modal 2026-02-17 11:10:03 -06:00
Patrick Britton 31d7816e92 feat: Add GroupCard widget and start integrating Groups UI into ClustersScreen 2026-02-17 11:06:07 -06:00
Patrick Britton c1c7ebd678 feat: Add Groups system - Flutter models and API methods 2026-02-17 11:04:51 -06:00
Patrick Britton b3abcf9c6e fix: Navigate to beacon tab instead of pushing new BeaconScreen to avoid duplicate GlobalKey error 2026-02-17 10:48:13 -06:00
Patrick Britton 6d43ae2b09 fix: Make NetworkService web-safe by skipping connectivity monitoring on web platform 2026-02-17 10:46:50 -06:00
Patrick Britton 2b3704a3f9 fix: Update viewable_profile_screen to handle void return from followUser 2026-02-17 10:43:55 -06:00
Patrick Britton 00b4705a00 fix: Remove duplicate follow methods and fix FollowButton to use provider 2026-02-17 10:42:08 -06:00
Patrick Britton 70d4bc5140 feat: Initialize NetworkService in main.dart and add OfflineIndicator to HomeShell 2026-02-17 10:35:37 -06:00
Patrick Britton 7f618bcdf2 feat: Add feed filtering UI with FeedFilterButton and integrate into personal feed 2026-02-17 10:33:32 -06:00
Patrick Britton 62233d5892 feat: Add FeedFilter model and begin feed filtering integration 2026-02-17 10:27:31 -06:00
Patrick Britton 5f7dfa7a93 feat: Add error handling utilities, NetworkService, RetryHelper, and OfflineIndicator 2026-02-17 10:22:07 -06:00
Patrick Britton d403749092 feat: Add SuggestedUsersSection widget with horizontal scrolling cards 2026-02-17 10:19:56 -06:00
Patrick Britton da93bc3579 feat: Follow system - database migration, backend handlers, FollowButton widget, API methods 2026-02-17 10:16:44 -06:00
Patrick Britton bc3fdb4211 fix: replace deprecated activeColor with activeTrackColor on Switch.adaptive 2026-02-17 03:58:28 -06:00
Patrick Britton 57cb964737 feat: Phase 5 - Privacy Dashboard with score, toggles, segmented controls, and encryption status 2026-02-17 03:44:19 -06:00
Patrick Britton 2c6c8a7c20 feat: Phase 6 - Skeleton loaders for Groups/feed, seed groups SQL migration 2026-02-17 03:41:39 -06:00
Patrick Britton f5612be301 feat: Phase 5 - Harmony State explainer modal with progression chart, tappable from profile 2026-02-17 03:38:10 -06:00
Patrick Britton 60a42c4704 feat: Phase 2.1 - Enhanced thread detail with highlighted OP, thread connectors, chain metadata, and improved reply composer 2026-02-17 03:34:14 -06:00
Patrick Britton bf4ac02d4b feat: Phase 1.3 - Nav helper badges (Videos/Alerts) and long-press tooltips 2026-02-17 03:32:51 -06:00
Patrick Britton 0c183c3491 feat: Phase 1.2 - 3-screen onboarding modal (Welcome, Features, Harmony) 2026-02-17 03:31:32 -06:00
Patrick Britton c255386db5 feat: Phase 1.1 - Groups page overhaul with discovery, category filtering, and join flow 2026-02-17 03:29:20 -06:00
Patrick Britton 2bfb8eecea feat: replace Turnstile with ALTCHA across Flutter app, Go backend, and website 2026-02-17 03:18:50 -06:00
Patrick Britton 602a139349 fix: update auth screens to use ALTCHA instead of Turnstile 2026-02-17 01:53:09 -06:00
Patrick Britton a3fcfe67ab feat: replace Turnstile with ALTCHA for all authentication
- Add ALTCHA service with challenge generation and verification
- Update auth and admin handlers to use ALTCHA tokens
- Replace Turnstile widget with ALTCHA widget in Flutter app
- Update admin frontend to use ALTCHA token
- Add ALTCHA challenge endpoints for both auth and admin
- Maintain development bypass for testing
- Remove Turnstile dependencies from authentication flow
2026-02-16 22:18:29 -06:00
Patrick Britton cc312c7e9f fix: add development bypass for Turnstile verification
- Add development bypass to Flutter sign_in_screen.dart
- Re-enable Turnstile in admin_handler.go with dev bypass
- Add development bypass to admin login page
- Resolves login issues during development/testing
2026-02-16 22:00:49 -06:00
Patrick Britton c1463256d2 fix: disable turnstile for admin login and troubleshooting 2026-02-16 21:18:05 -06:00
Patrick Britton 1de9997476 feat(auth): Add password reset functionality (backend + app + web) & enhance Turnstile integration 2026-02-16 13:06:00 -06:00
Patrick Britton d5fc89b97a 2026-02-16 07:27:41 -06:00
Patrick Britton 4a97801080 cleanup: removed unused backup files and deprecated docker compose config 2026-02-16 07:10:57 -06:00
Patrick Britton 434937961c security: sanitized baseline for public release 2026-02-15 00:33:24 -06:00