aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx
AgeCommit message (Collapse)Author
2022-01-22Prepare shared module for iOS support and updated appcompat and ↵Iván Ávalos
constraintlayout libraries
2022-01-20Added 2022 to copyright. Damn, I forgot we were in 2022.Iván Ávalos
2022-01-20Added license headers and removed unused importsIván Ávalos
2022-01-20Fallback ApiClient to default URL, so pre-URL-switch-capable apps don't fail ↵Iván Ávalos
at login
2022-01-20Implemented feature to switch to different Traccar servers by URL and ↵Iván Ávalos
removed annoying auto-generated redundant qualifiers
2022-01-18Fixed geofences retrieval in reports and lifecycle issue with unit details ↵Iván Ávalos
fragment
2022-01-18Increased request timeout and fetch units ticker to 20 secondsIván Ávalos
2022-01-17Set request timeout to 10 secondsIván Ávalos
2022-01-17Refactored map fragment into wrapper with an overlay that contains zoom buttonsIván Ávalos
2022-01-17Fixed retrieval of geofences for non-admin usersIván Ávalos
2022-01-17Temporary fix: catch exceptions when retrieving positionsIván Ávalos
2022-01-17Implemented timer that fetches units every 10 seconds, and updated map to ↵Iván Ávalos
work with timer
2022-01-16Fixed initial zoom issue and refactored layers into MapLayer in shared moduleIván Ávalos
2022-01-16Fixed notification token registrationIván Ávalos
2022-01-16Fixed event report types on APIIván Ávalos
2022-01-16Refactored report types into commonMain, added support for event report ↵Iván Ávalos
types in controller and API
2022-01-16Added hourmeter fieldIván Ávalos
2022-01-16Fixed focusOn not respecting max zoom, and added zoom level 21 to MapCalculusIván Ávalos
2022-01-16Added attribution and refactored map layers codeIván Ávalos
2022-01-16Moved layer definitions to map_layers.xml and adjusted zoom limits, and ↵Iván Ávalos
adjusted zoomLevelToScale(zoom)
2022-01-16Added comment explaining Mapnik stuffIván Ávalos
2022-01-16Set zoom limits of mapControl by converting zoom levels to Mapnik scale ↵Iván Ávalos
denominators
2022-01-15Improved loading indicators, improved layout semantics, added translations ↵Iván Ávalos
and changed default view to MAP
2022-01-15FCM token unregisters when logging outIván Ávalos
2022-01-15Fixes the 401 error while registering the FCM tokenIsidro Henoch
2022-01-15Added code for registering FCM token (HTTP 401 error)Iván Ávalos
2022-01-14Refactored even more session management code into SessionControllerIván Ávalos
2022-01-14Deleted unused controllers and refactored session management code into ↵Iván Ávalos
SessionController
2022-01-14Refactored reports code into ReportController.kt and added extra report periodsIván Ávalos
2022-01-13Fixed stops reportIván Ávalos
2022-01-13Implemented base for exporting XLSX reportsIván Ávalos
2022-01-12Fixes the empty unit detailsIsidro Henoch
2022-01-12Adds the user information functionalityIsidro Henoch
- Displays the user information - Allows the user to sign out
2022-01-11MapFragment properly draws reports and renamed iconsIván Ávalos
2022-01-08Finished events report, implemented GeofenceController, fixed geofencesGet() ↵Iván Ávalos
and many fixes
2022-01-04Implemented formatSpeed, redesigned UnitInformationFragment, added button to ↵Iván Ávalos
open device location in map, minor UI tweaks and added translations.
2022-01-04Fully implemented UnitMapFragment layout, moved MarkerType to commonMain and ↵Iván Ávalos
removed unnecessary content description warnings.
2022-01-03Merge branch 'reports'Isidro Henoch
# Conflicts: # androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesAdapter.kt # androidApp/src/main/res/values/strings.xml
2021-12-30- ViewModel LiveData no longer externally mutable.Iván Ávalos
- Observers in fragments now owned by viewLifecycleOwner. - Disabled center animation on MapFragment startup - Search filter now triggered automatically. - Case insensitive filter logic.
2021-12-30Implemented datetime formattingIván Ávalos
2021-12-27Implements the report functionality, UI is missingIsidro Henoch
2021-12-21Implements the commands listIsidro Henoch
- Shows command details - Sends a selected command to a device
2021-12-16Merge remote-tracking branch 'origin/main'Iván Ávalos
# Conflicts: # androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesAdapter.kt # androidApp/src/main/res/layout/unit_item.xml
2021-12-16- Basically fully implemented device item with all details and icons.Iván Ávalos
- Attributes for all models are deserialized as Map<String, JsonPrimitive>. - Removed redundant qualifier names
2021-12-16Updates unit details fragment to fetch the information for the given IDIsidro Henoch
2021-12-11Adds the search behaviourIsidro Henoch
- Updates units_activity to include a search input - Adds the search functionality to the Units VM - Adds the required events to the Units Activity to perform the search
2021-12-08WIP: Implements the basic structure for the units list/mapIsidro Henoch
- Updates the Devices and Positions APIs to properly construct the Url's query when there are null values - Adds a units controller to the shared module - Adds a devices and map fragment that each print the fetched units on the console - Adds a units view model to connect previously mentioned fragments with the units controller
2021-12-08WIP: Starts implementing the main activityIsidro Henoch
- Removes the MainActivity and the shared code it was using - Adds the UnitsActivity - Implements the Map/List toggle functionality
2021-12-06WIP: Adds the token persistanceIsidro Henoch
2021-12-05Adds x-www-form-urlencoded support to http clientIsidro Henoch
- Installs a serialization library - Installs a ktor logging library - Updates ApiClient to support x-www-form-urlencoded requests - Serializes the User data model