Commit Graph

22 Commits

Author SHA1 Message Date
Doug Borg 0137fd66aa Add consistent User-Agent header to all HTTP clients
Create UserAgentClient (http.BaseClient wrapper) that injects a
User-Agent header into every request, reading app name and version
from VersionService and contact/homepage from dev_config.dart.

Format follows OSM tile usage policy:
  DeFlock/<version> (+https://deflock.org; contact: admin@stopflock.com)

Replaces 4 inconsistent hardcoded UA strings and adds UA to the 9
call sites that previously sent none.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 19:31:27 -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 c712aba724 Add flutter_lints and fix analyzer errors, dead code, and unused imports 2026-02-08 14:23:06 -07: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 dccafc898b Fix changesets not getting closed, other updates to queue mechanism 2025-12-01 15:01:48 -06:00
stopflock 95fad14261 min zoom 1, max cameras 8, extract node from way 2025-11-19 22:46:09 -06: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 02c66b3785 App version from pubspec only. Bump version. 2025-10-03 10:44:33 -05:00
stopflock a05abd8bd8 Deletions! 2025-09-28 21:44:28 -05:00
stopflock 4053c9b39b use real node id for pending uploads, more camera -> node 2025-09-28 20:20:00 -05:00
stopflock 3ddebd2664 nodes, not cameras 2025-08-29 16:44:34 -05:00
stopflock 208b3486f3 first pass at operator profiles 2025-08-29 15:09:19 -05:00
stopflock 395ef77fe3 gunshot detection - direction optional as defined by profile 2025-08-29 13:47:32 -05:00
stopflock c42d3afd0b Fix edit submission (addnode version to xml changeset) and improve queue UI upon successful submission. And bump version - patch for 0.9.4. 2025-08-28 23:29:34 -05:00
stopflock d7fbfaaaeb add profile name to changeset comment 2025-08-28 14:00:40 -05:00
stopflock d9f6c8c8e0 Update existing node instead of creating new. DNU ANY COMMIT ON THIS BRANCH PRIOR TO HERE!!!!111!!!1!! 2025-08-28 12:39:30 -05:00
stopflock 6d079b3c34 forgot to import dev_config to uploader 2025-08-16 19:56:27 -05:00
stopflock e293727ec8 Put version reported to OSM into dev_config 2025-08-16 19:53:47 -05:00
stopflock 640903d954 still cant believe this works 2025-08-05 22:56:47 -05:00
stopflock dcdff6abbd profile filtering and submissions fixes 2025-08-05 17:30:55 -05:00
stopflock 2e1b504419 upload working 2025-07-19 19:49:17 -05:00
stopflock 56518bab28 pretty broken, icons missing, login not working. browser opens though and cams still appear on map 2025-07-19 14:11:02 -05:00