Commit Graph

85 Commits

Author SHA1 Message Date
Janez T
3a0bcabdea feat: Add support for offline vector maps using MBTiles
- Introduced new MapLayerType for vector MBTiles.
- Enhanced MapLayer class to handle vector-specific properties.
- Implemented MBTilesService for managing MBTiles files, including import and deletion functionalities.
- Updated MapManagementScreen to allow importing and managing MBTiles files.
- Added UI components for displaying and interacting with MBTiles layers.
- Integrated vector tile rendering in MapTab, supporting dynamic theme loading.
- Updated pubspec.yaml to include necessary dependencies for MBTiles and vector tiles.
2025-10-16 23:35:43 +02:00
Janez T
7f20e5ad36 feat: Bump project version to 21 and update related files 2025-10-16 22:20:03 +02:00
Janez T
16505cbfe4 feat: Update project version to 20, add new permissions for Flutter commands, and upgrade dependencies including share_plus 2025-10-16 22:19:00 +02:00
Janez T
e74ebda54d feat: Update project version to 19, add repeaters filter and theme support, and enhance contact list display 2025-10-16 21:43:19 +02:00
Janez T
58d8ef0dae feat: Implement location tracking service and haptic feedback for device advertising 2025-10-16 21:27:22 +02:00
Janez T
c6c56f858d feat: Add localization support for contact and SAR marker display names 2025-10-16 21:09:33 +02:00
Janez T
b6283e1c8f Remove old app icons and update Info.plist version; add radio settings localization and improve device configuration UI 2025-10-16 21:01:29 +02:00
Janez T
abca014720 chore: Update project version to 14 in project.pbxproj and Info.plist; enhance connection provider to throttle sync and login requests 2025-10-16 18:07:12 +02:00
Janez T
2a25574860 feat: Update app icons and manifest for improved branding and localization support
- Changed AndroidManifest.xml to use new launcher icon.
- Added new launcher icon images for various resolutions in Android mipmap directories.
- Updated iOS project.pbxproj and Info.plist to version 13.
- Refactored iOS AppIcon asset catalog with new icon sizes and updated Contents.json.
- Modified pubspec.yaml to include flutter_launcher_icons for automatic icon generation.
- Updated web manifest colors for better branding.
- Added new favicon and icon images for web support.
2025-10-16 17:45:19 +02:00
Janez T
5fbde99fa7 chore: Update project version to 12 in project.pbxproj and Info.plist 2025-10-16 16:32:20 +02:00
Janez T
09e53e579a feat: Implement notification service for SAR messages and add localization support 2025-10-16 16:31:35 +02:00
Janez T
d69355a9b8 feat: Add localized delivery status and time ago for messages 2025-10-16 16:10:25 +02:00
Janez T
f95edcb477 fix: Update import path for AppLocalizations in CompassSarList widget 2025-10-16 16:07:22 +02:00
Janez T
01a1bbec44 Refactor localization in UI components and error messages
- Updated various UI components to utilize AppLocalizations for better internationalization support.
- Replaced hardcoded strings with localized strings in home_screen.dart, ble_connection_manager.dart, contact_tile.dart, room_login_sheet.dart, compass widgets, and sar_update_sheet.dart.
- Improved user feedback messages by integrating localization for actions like pinging contacts, displaying connection statuses, and error notifications.
- Enhanced the clarity of UI elements by ensuring all text is translatable, improving the overall user experience for non-English speakers.
2025-10-16 15:39:48 +02:00
Janez T
1056380f3a Add localization support for various UI elements and messages
- Integrated localization for alert dialogs, snack bars, and button labels in PacketLogScreen and SettingsScreen.
- Updated location tracking service messages to use localized strings.
- Enhanced ContactTile and DirectMessageSheet with localized text for user interactions.
- Implemented localization in DrawingLayer and DrawingToolbar for map-related actions.
- Updated SAR Update Sheet to utilize localized strings for user prompts and actions.
- Ensured consistent use of localization across all relevant widgets and screens.
2025-10-16 15:19:05 +02:00
Janez T
9def8daf0c feat: Refactor MaterialApp initialization into a separate method for improved readability 2025-10-16 14:57:11 +02:00
Janez T
3a8eac2ec2 feat: Enhance home screen status bar with connection indicators and improved layout 2025-10-16 14:54:25 +02:00
Janez T
4c8e0e5d61 Add Croatian and Slovenian localizations, implement locale preferences, and update settings screen
- Created `app_localizations_hr.dart` and `app_localizations_sl.dart` for Croatian and Slovenian translations.
- Added `app_sl.arb` file for Slovenian localization strings.
- Enhanced `main.dart` to support locale selection and initialization.
- Updated `home_screen.dart` and `settings_screen.dart` to handle locale changes and display current language.
- Implemented `locale_preferences.dart` service for managing locale settings using SharedPreferences.
- Modified `pubspec.yaml` to include `flutter_localizations` and enable localization file generation.
2025-10-16 14:42:43 +02:00
Janez T
95333a13b8 feat: Refactor home screen layout to improve button visibility and RX/TX indicators 2025-10-16 14:29:15 +02:00
Janez T
c05ae8de89 feat: Enhance home screen layout with RX/TX indicators and device config button 2025-10-16 14:26:48 +02:00
Janez T
9ab5469759 feat: Add RX/TX indicators preference with toggle in settings 2025-10-16 14:25:15 +02:00
Janez T
9c1922b4fd feat: Update project version to 11 and enhance BLE packet logging with RSSI and SNR information 2025-10-16 14:20:40 +02:00
Janez T
9ae3acb3dc feat: Update project version to 9 and enhance debug print functionality 2025-10-16 14:03:44 +02:00
Janez T
bf4305bdb3 feat: Enhance BLE connection strength indicator with RSSI display and adjust spacing 2025-10-16 13:53:08 +02:00
Janez T
38cda87841 feat: Enhance button styling in direct message sheet for improved visibility 2025-10-16 13:45:52 +02:00
Janez T
520f343261 feat: Remove manual location update functionality and improve password handling in room login 2025-10-16 13:44:35 +02:00
Janez T
23c439a92e Refactor message handling and enhance BLE connection management
- Cleaned up message formatting in MessagesTab for better readability.
- Improved SAR message parsing to include optional inline messages.
- Updated BLE connection manager to monitor RSSI values and added callback for RSSI updates.
- Adjusted drawing message parser to remove sender name from JSON and extract it from packet metadata.
- Enhanced drawing toolbar to reflect changes in message creation without sender name.
- Ensured consistent error handling and logging across BLE operations.
2025-10-16 13:32:58 +02:00
Janez T
5a096c048e feat: Implement compact JSON handling for map drawings and add chat notifications for sent/received drawings 2025-10-15 22:45:30 +02:00
Janez T
800786ec9c feat: Enhance drawing functionality with sender tracking and sharing capabilities 2025-10-15 22:41:57 +02:00
Janez T
317addba9e feat: Update project version to 5 and adjust fullscreen button position in map tab 2025-10-15 22:16:24 +02:00
Janez T
6ee1c9ae79 feat: Update color handling in map drawings and enhance message sync functionality 2025-10-15 22:13:15 +02:00
Janez T
3651f53ef2 feat: Add drawing functionality with line and rectangle support, including toolbar and layer integration 2025-10-15 22:04:23 +02:00
Janez T
aab79a56ea feat: Implement advertisement path tracking with location history and UI integration 2025-10-15 21:59:04 +02:00
Janez T
6be182e20a feat: Add new contact and message tracking features, including unread status and removal functionality 2025-10-15 21:49:33 +02:00
Janez T
2849ab92aa feat: Enhance message display with rich sender names and replace SnackBars with ToastLogger for notifications 2025-10-15 20:15:13 +02:00
Janez T
f5a6e1f9ab Fixes 2025-10-15 19:57:10 +02:00
Janez T
24234e7000 feat: Implement smart ping with automatic fallback and enhance telemetry handling 2025-10-15 19:37:37 +02:00
Janez T
91d9326804 Refactor contacts management and improve path handling
- Updated ContactsProvider to initialize with device public key for filtering out self contacts.
- Added methods to check if a contact has a learned routing path and to get path quality indicators.
- Enhanced AppProvider to initialize ContactsProvider with device public key.
- Modified ConnectionProvider to log path status when sending messages.
- Created ContactStorageService for persisting contacts to local storage.
- Removed import/export functionality from MapManagementScreen.
- Updated UI components in DirectMessageSheet and SarUpdateSheet to use theme colors.
- Removed file_picker dependency from pubspec.yaml and generated plugin registrant.
2025-10-15 19:20:46 +02:00
Janez T
3f03b2e789 feat: Add heading accuracy information and warning display in DetailedCompassDialog 2025-10-15 15:26:42 +02:00
Janez T
f76cd227e1 feat: Adjust padding in SAR Update Sheet for keyboard visibility 2025-10-15 15:19:58 +02:00
Janez T
52efa03d32 feat: Add message deletion functionality with confirmation dialog and options 2025-10-15 15:04:09 +02:00
Janez T
61d0b831ab feat: Enhance message sending feedback and improve reconnection logic with optimized delays 2025-10-15 14:59:00 +02:00
Janez T
829b8605eb feat: Implement automatic reconnection handling and enhance message processing with sender identification 2025-10-15 14:53:55 +02:00
Janez T
f50b429e34 Add fastlane setup for iOS deployment 2025-10-15 14:31:17 +02:00
Janez T
a6e317bc37 Enhance validation and error handling across various screens
- Updated ConnectionProvider to track pending messages before sending to avoid race conditions.
- Integrated ValidationService in DeviceConfigScreen for validating latitude, longitude, frequency, and TX power inputs.
- Added bounds and zoom level validation in MapManagementScreen using ValidationService.
- Refactored MapTab to utilize LocationTrackingService for location updates and removed deprecated location permission handling.
- Replaced BackgroundLocationService with LocationTrackingService in SettingsScreen, improving location update management and error handling.
- Enhanced SAR Update Sheet to validate coordinates, notes length, and location accuracy before sending SAR markers.
2025-10-15 11:09:34 +02:00
Janez T
823a3c50f7 feat: Enhance message handling with recipient public key and delivery status for improved retry support 2025-10-15 10:56:52 +02:00
Janez T
276d0f4470 feat: Add LocationTrackingService for GPS tracking and mesh network integration
- Implemented LocationTrackingService to handle GPS tracking, distance thresholds, and location broadcasting.
- Added permission handling, SharedPreferences persistence, and real-time position updates via callbacks.

feat: Introduce MapMarkerService for managing map markers

- Created MapMarkerService to generate contact and SAR markers, calculate distances, and manage marker display.
- Included methods for user location markers and distance/bearing calculations.

feat: Implement ValidationService for input validation and sanitization

- Developed ValidationService to validate coordinates, radio parameters, distances, time intervals, and names.
- Added parse and sanitize methods for common input types, ensuring robust error handling and user feedback.
2025-10-15 10:55:11 +02:00
Janez T
d69a83fded feat: Implement auto-zoom functionality for preselected contacts and SAR markers in DetailedCompassDialog 2025-10-15 10:47:33 +02:00
Janez T
3c3db22eb0 style: Update padding and text styles in LocationDisplay and CompassHeader for improved UI consistency 2025-10-15 10:44:46 +02:00
Janez T
dbaf09e701 feat: Add LocationDisplay widget for reusable location display with modal formats
feat: Enhance CompassContactList and CompassSarList with relative bearing display
refactor: Update DetailedCompassDialog to integrate LocationDisplay and improve layout
2025-10-15 10:39:14 +02:00