Commit Graph

83 Commits

Author SHA1 Message Date
Doug Borg 5728b4f70f Force simulate mode when OSM OAuth secrets are missing
Preview/PR builds don't have access to GitHub Secrets, so the OAuth
client IDs are empty. Previously this caused a runtime crash from
keys.dart throwing on empty values. Now we detect missing secrets
and force simulate mode, which already fully supports fake auth
and uploads.

Also fixes a latent bug where forceLogin() would crash with
LateInitializationError in simulate mode since _helper is never
initialized when OAuth setup is skipped.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 11:25:17 -07:00
stopflock 57df8e83a7 fix tests for profile order, add correct migration 2026-03-02 13:56:07 -06:00
stopflock bc671c4efe Fix phantom FOVs, reorderable profiles 2026-03-02 12:38:49 -06:00
stopflock 19b3ca236e no longer lose operator profile selection when making other changes to a node 2026-02-10 18:28:07 -06:00
Doug Borg 5abcc58a78 Address PR review: truncate error response logs and close http client
- Gate full error response body logging behind kDebugMode; truncate to
  500 chars in release builds to avoid log noise and data exposure
- Add RoutingService.close() and call from NavigationState.dispose()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 14:32:34 -07:00
Doug Borg 037165653c Fix lint warnings and cleanup unused code after RadioGroup migration
Remove unused imports, fields, variables, and dead code introduced
during the RadioGroup widget migration and prior changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 13:36:18 -07:00
Doug Borg 4fddd8e807 Replace print() with debugPrint() across codebase
Fixes avoid_print lint warnings by using debugPrint which respects
release mode and avoids console overflow on mobile platforms.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-08 14:23:07 -07:00
Doug Borg c712aba724 Add flutter_lints and fix analyzer errors, dead code, and unused imports 2026-02-08 14:23:06 -07:00
stopflock 2620c8758e dev mode, imperial units incl. custom scalebar 2026-02-06 20:28:08 -06:00
stopflock 8804fdadf4 Remove special "existing tags" profile case; existing tags profile now empty. 2026-02-06 09:56:08 -06:00
stopflock c50d43e00c Pass through all extraneous tags on an existing node, always. Strip out special case for "existing tags" profile, replace with an empty temp profile so all can be treated the same. 2026-02-05 13:21:54 -06:00
stopflock aba919f8d4 Fix submissions using existing tags profile by stripping non-xml-safe chars. Allow customizing changeset comment. 2026-02-01 22:22:31 -06:00
stopflock f76268f241 get rid of old versions of edited nodes when submitting in sim mode 2026-02-01 16:02:49 -06:00
stopflock ba3b844c1e "existing tags" temp profile when editing, "existing operator" profile when such tags exist, full editing of existing nodes via refine tags 2026-02-01 14:50:47 -06:00
stopflock 4a36c52982 Node fetch rework 2026-01-30 19:11:00 -06:00
Heath Dutton🕴️ 33ae6473bb pass viewbox to nominatim search for location-biased results 2026-01-29 10:42:56 -05:00
stopflock 3fc3a72cde Fixes for 360-deg FOVs 2026-01-28 20:21:25 -06:00
stopflock 607ecbafaf Concurrent submissions 2025-12-23 17:56:16 -06:00
stopflock e6b18bf89b NSI and tag refinement 2025-12-10 12:52:20 -06:00
stopflock ffec43495b Better suspected locations download indicator 2025-12-07 11:00:42 -06:00
stopflock 16b8acad3a Suspected locations database 2025-12-07 10:23:36 -06:00
stopflock 4fba26ff55 Route distance timeout warning 2025-12-06 15:07:34 -06:00
stopflock 8c4f53ff7b nav UX tweaks 2025-12-05 16:36:04 -06:00
ALPR Watch 0ec53c3a11 Enable avoidance distance settings 2025-12-03 07:33:50 +01:00
ALPR Watch 9782352909 Start to change navigation to alprwatch API
This only covers the success path. Known todos:

* failure modes in routing
* developer documentation
* feature flags
2025-12-03 07:31:22 +01:00
stopflock bb3d398c9c More camera -> node 2025-12-02 21:17:07 -06:00
stopflock 5043ef3e34 Repopulate node cache from pending 2025-12-02 19:16:33 -06:00
stopflock c81014d530 maxCameras->maxNodes, default from dev_config 2025-12-02 15:50:11 -06:00
stopflock 31f6960d44 Navigation start+end too close warning 2025-12-02 15:02:49 -06:00
stopflock bc03dcbe89 OSM message notifications in theory 2025-12-02 12:10:09 -06:00
stopflock dccafc898b Fix changesets not getting closed, other updates to queue mechanism 2025-12-01 15:01:48 -06:00
stopflock 9319bbda48 Support FOV range notation: 0-360, 90-270, 10-45;90-125 2025-11-21 19:25:34 -06:00
stopflock 95fad14261 min zoom 1, max cameras 8, extract node from way 2025-11-19 22:46:09 -06:00
stopflock 6c53d988de Further improve tag views, implement upload queue pause toggle 2025-11-17 13:37:48 -06:00
stopflock 326b7ec523 Fix restriction on moving provisional edit nodes which are part of a way (pinch/fling) 2025-11-16 10:27:18 -06:00
stopflock 2cf840e74d Improvements to suspected locations 2025-11-13 13:22:46 -06:00
stopflock 3810dfa8d2 configurable button width, always enable network status indicator, new version migration logic available through changelog_service 2025-11-12 15:53:14 -06:00
stopflock d9f415c527 Multiple cameras on one pole 2025-10-29 12:17:16 -05:00
stopflock b80e1094af deletions no longer using stub profile, more handling of builtin profiles by lists. 2025-10-24 18:28:39 -05:00
stopflock 0db4c0f80d all profiles as lists, better handling, stop using a fallback profile for broken submissions without one 2025-10-24 17:31:04 -05:00
stopflock f1f145a35f Operator profiles as list. Add simon property group. 2025-10-24 17:11:43 -05:00
stopflock c8ae925dc1 Add new builtin profiles, better handline of initialization, bump version 2025-10-24 16:23:09 -05:00
stopflock 2a7004e5a2 require profile selection 2025-10-24 13:49:48 -05:00
stopflock c8e2727f69 bump ver, get rid of buggy north-lock 2025-10-22 17:36:34 -05:00
stopflock cd2ab00042 North-up compass and rotation lock 2025-10-22 15:27:28 -05:00
stopflock 7ace123b4b auto-refresh suspected csv, put url in dev_config 2025-10-14 22:15:52 -05:00
stopflock f9351ba272 Suspected location exclusion zone, drawn under real nodes, and update progress bar 2025-10-06 22:21:05 -05:00
stopflock 4a44ab96d6 Sorta working suspected locations 2025-10-06 21:07:08 -05:00
stopflock cc0386ee97 UX and bones of suspected locations 2025-10-06 19:36:54 -05:00
stopflock a08d61fb98 Add other providers, max zoom per tile type 2025-10-05 15:08:27 -05:00