Commit Graph

11 Commits

Author SHA1 Message Date
Claude 923a346eac
feat(web,server): improve offline mode functionality
Enhance offline mode to fully support local-only operation:

Frontend changes:
- Hide OAuth login options when offline (SignIn.tsx)
  OAuth providers require external internet access and won't work
  offline, so they're now hidden when network is unavailable
- Coordinate inputs already available in LocationDialog for manual entry
  Users can enter lat/lng directly when map tiles don't load

Backend changes:
- Add better logging for webhook network failures (webhook.go)
  Webhooks already fail gracefully via async goroutines, now with
  clearer logging to indicate network may be offline

The app now functions fully offline for core features when both
frontend and backend are running on local network:
- Local username/password auth works (OAuth hidden)
- All memo operations work (webhooks logged but don't block)
- Maps allow coordinate input (tiles unavailable but functional)
- Geocoding falls back to coordinates (already implemented)
2025-11-19 03:36:06 +00:00
johnnyjoy 976bd332fe chore: fix linter 2025-06-24 21:55:27 +08:00
johnnyjoy d6a75bba4c refactor: webhook service 2025-06-24 21:28:21 +08:00
Steven f12d7ae8bc chore: add asynchronous webhook dispatch 2025-05-27 20:01:04 +08:00
Steven f33571fec6 feat: update webhook request payload 2024-06-05 20:53:20 +08:00
Steven 2e0d5412b4 chore: tweak webhook payload 2024-06-01 23:46:00 +08:00
Steven 6010139291 chore: remove unused 2024-05-29 07:36:51 +08:00
Steven 775b79338d chore: update object in s3 2024-05-02 21:44:17 +08:00
Steven 7c5261b5d2 chore: tweak resource definition 2024-03-20 21:17:04 +08:00
Bryan 4aa4417d91
chore: allow all 20x response status code in webhook (#2947) 2024-02-13 09:30:48 +08:00
Steven bc965f6afa chore: implement webhook dispatch in api v1 2023-11-25 10:31:58 +08:00