aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers
AgeCommit message (Collapse)Author
2022-05-20- [shared] unitsFlow exposed to allow access to unfiltered units.Iván Ávalos
- [android] Improved memory usage by using unitsFlow in map. - [ios] Not rewritten yet, filter won't work.
2022-04-11- [shared] Added DateUtils 'expect' class for platform-specific date format.Iván Ávalos
- [android] Redesigned reports view, now supports custom reports! - [ios] Not rewritten yet, it won't build!
2022-04-09- [shared] Rewrote ReportDates to allow for custom date period.Iván Ávalos
- [android] Rewrote report handling to use new ReportPeriod. - [ios] Not rewritten yet, it won't build!
2022-02-27Initial implementation of reportsIván Ávalos
2022-02-20Fixed potential bug when unregistering FCM tokenIván Ávalos
2022-02-19Fixed registerFcmToken() accidentally adding quotes to previous tokensIván Ávalos
2022-02-13Changed Array<> to List<> for iOS compatibilityIván Ávalos
2022-02-07Added sendCommand() method to CommandsController, and updated Android app to ↵Iván Ávalos
use controller
2022-02-06Make CommandsController injectableIván Ávalos
2022-02-06Added CommandsControllerIván Ávalos
2022-01-31Merge branch 'main' into ios_appIván Ávalos
2022-01-31Attach tickerFlow to viewModelScope in an attempt to bind it to app ↵Iván Ávalos
lifecycle more effectively
2022-01-31Tries to fix the units update issueIsidro Henoch
2022-01-26Implemented dependency injection with Swift property wrappersIván Ávalos
2022-01-25Refactored session handling into a shared SessionManager to prevent ↵Iván Ávalos
mutability and get it run in Native (untested!)
2022-01-23Added printStackTrace to SessionController.kt methodsIván Ávalos
2022-01-22Removed more references to Log.d in controllersIván Ávalos
2022-01-22Removed Log.d in SessionController.ktIván Ávalos
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-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-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 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-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-12Fixes the empty unit detailsIsidro Henoch
2022-01-08Finished events report, implemented GeofenceController, fixed geofencesGet() ↵Iván Ávalos
and many fixes
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-21Implements the commands listIsidro Henoch
- Shows command details - Sends a selected command to a device
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-04Added first controllers (unreviewed and untested)Iván Ávalos