aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client
AgeCommit message (Collapse)Author
2022-01-26Implemented dependency injection with Swift property wrappersIván Ávalos
2022-01-26Disabled automatic storage of cookies in iOS engine ↵Iván Ávalos
(https://youtrack.jetbrains.com/issue/KTOR-3748), so we can handle them manually.
2022-01-25Refactored session handling into a shared SessionManager to prevent ↵Iván Ávalos
mutability and get it run in Native (untested!)
2022-01-25Latest test codeIván Ávalos
2022-01-22Removed all Java references from shared moduleIván Ávalos
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-18Increased request timeout and fetch units ticker to 20 secondsIván Ávalos
2022-01-17Set request timeout to 10 secondsIván Ávalos
2022-01-16Fixed initial zoom issue and refactored layers into MapLayer in shared moduleIvá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 attribution and refactored map layers codeIvá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-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-12Adds the user information functionalityIsidro Henoch
- Displays the user information - Allows the user to sign out
2022-01-08Finished events report, implemented GeofenceController, fixed geofencesGet() ↵Iván Ávalos
and many fixes
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-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-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-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
2021-12-04Replaced Java stuff with Kotlin native stuff, and deleted ↵Iván Ávalos
ApplicationDelegates (probably useless)
2021-12-04Removed unneeded files and made API functions suspendingIván Ávalos
2021-12-04Removed unneeded files and made API functions suspendingIván Ávalos
2021-12-04Rewrote HTTP client code using KtorIván Ávalos
2021-12-03Added Swagger auto-generated API client (no Ktor yet)Iván Ávalos