Commit Graph

190 Commits

Author SHA1 Message Date
20f7ab5aa2 Refactor ClimateProfile struct to change boolean fields to string for improved consistency in JSON representation
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
2025-07-10 16:17:22 -04:00
d41a2a7618 Change ClimateZoneFrontAirVolume type from int to string for consistency with JSON tags
Some checks failed
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Failing after 22s
2025-07-10 16:09:50 -04:00
cbca67a61d Update golang.org/x/net dependency to v0.42.0
Some checks failed
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Failing after 23s
2025-07-10 16:08:04 -04:00
c3d0fa53f1 Refactor ClimateProfile struct for improved readability and consistency in JSON tags
Some checks failed
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Failing after 26s
2025-07-10 16:07:05 -04:00
89b3d44d82 Refactor vehicle climate control methods to improve parameter handling and add new climate preset updates
Some checks failed
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Failing after 24s
2025-07-10 08:36:31 -04:00
ebe98e685a Remove debug logging from JSON unmarshalling in CustomTime types
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-09 09:48:38 -04:00
ed6ee5aacc Enhance JSON unmarshalling in CustomTime types to improve string parsing and add debug logging
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-09 09:43:31 -04:00
7f5b092c64 Refactor JSON unmarshalling in CustomTime types to simplify quote handling and improve null value checks
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
2025-07-08 22:38:09 -04:00
c018850e34 Fix JSON unmarshalling in CustomTime types to correctly handle escaped quotes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-08 22:33:46 -04:00
7ec4dc5f1a Fix JSON unmarshalling for CustomTime types to correctly handle escaped quotes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 27s
2025-07-08 22:32:30 -04:00
a455733f8b Enhance JSON unmarshalling for CustomTime types to handle null values and improve string parsing
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-08 22:21:02 -04:00
0b2ed38ca3 Enhance session validation handling in API endpoints and refactor vehicle-related structures for improved clarity and functionality.
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-08 22:11:16 -04:00
07e3005e9c Remove session validation checks from vehicle selection and contact methods
Some checks failed
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Failing after 24s
2025-07-08 16:42:39 -04:00
e8a1d8f54e Add session validation checks before executing vehicle commands
Some checks failed
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Failing after 27s
2025-07-08 16:32:45 -04:00
30bd0bde44 Refactor session validation and enhance error handling in vehicle commands
Some checks failed
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Failing after 24s
2025-07-08 15:34:07 -04:00
aec4b8435b Enhance MySubaru API integration with improved error handling and new utility functions
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
- Refactor Response struct's parse method to return detailed error messages based on API error codes.
- Introduce UnixTime type for handling Unix timestamps in JSON marshaling and unmarshaling.
- Add email masking utility function to obfuscate email addresses for privacy.
- Implement containsValueInStruct function to check for substring presence in struct fields.
- Create comprehensive unit tests for UnixTime, email masking, and struct value checking.
- Update vehicle service request method documentation for clarity.
2025-07-08 11:26:45 -04:00
1d8d175be0 Refactor vehicle command functions to improve readability and maintainability
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-06 17:33:34 -04:00
ac19db1271 Update mobile API version to v2.31 2025-07-06 17:33:26 -04:00
f850b55b52 Add methods for two-factor authentication and vehicle refresh functionality 2025-07-06 17:33:22 -04:00
699dc13118 Fix vehicle VIN case sensitivity and update module dependency version
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-06 15:17:56 -04:00
3c927fd83b Enhance documentation for API client and vehicle structures; improve test function naming for clarity
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
2025-07-06 15:15:12 -04:00
d8cf2c3fd7 Remove unused indirect dependency on github.com/neilotoole/slogt
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
2025-07-06 15:00:39 -04:00
152eb2c7b7 Refactor code structure and remove redundant sections for improved readability and maintainability
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
2025-07-06 14:23:35 -04:00
b61b5664b7 Add ValidateSession method to check vehicle status and log errors
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 27s
2025-07-05 16:14:10 -04:00
cff0624807 Ensure channel closure in LightsStart, LightsStop, and GetLocation methods; improve error handling in executeServiceRequest
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 27s
2025-07-05 13:50:31 -04:00
3f426d206d Some testing
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
2025-07-05 13:34:23 -04:00
fffb194bf5 Refactor service request execution to improve error handling and remove unused message simulation
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 28s
2025-07-05 13:16:44 -04:00
85ae2658a2 Fix parameter order in service request execution for consistency
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 27s
2025-07-05 12:36:57 -04:00
f06a46b3cc Refactor service request URLs and enhance retry logic in vehicle service methods
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-05 12:33:34 -04:00
b2a76f83cc Enhance authentication error handling and logging in auth function
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-07-02 17:28:07 +03:00
d616854f4e Improve error handling and logging in HTTP request execution
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
2025-07-02 17:24:57 +03:00
16af99d38e More debug
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
2025-07-02 16:16:12 +03:00
3afa650200 More debug
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 46s
2025-07-02 16:12:50 +03:00
23e242be8a Enabled auth debug output
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
2025-07-02 16:08:39 +03:00
0ff98f1f1f Add tests for timestamp, URL generation, VIN validation, and vehicle charging functionality
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 1m13s
- Implement unit tests for timestamp generation to ensure it returns numeric and increasing values.
- Add tests for URL transformation based on generation type.
- Create tests for VIN validation, including valid, invalid check digits, and incorrect lengths.
- Introduce tests for vehicle charging functionality, covering scenarios for electric vehicles, non-electric vehicles, and missing remote features.
- Log errors for JSON parsing issues in the client.
2025-07-02 12:07:03 +03:00
0744d16401 Refactor some functions 2025-07-02 12:06:23 +03:00
21a928bf70 Debuging response outputs
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s
2025-06-09 12:46:14 -04:00
cb008f61e7 Enabled some Debug as an Info output
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
2025-06-06 17:37:48 -04:00
fd26de9b82 Updated go.mod for the example
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
2025-06-06 17:29:31 -04:00
017d7de3a2 Changes Tire Pressure (PSI) at Vehicle Status from int to float64
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 27s
2025-06-06 17:28:15 -04:00
91ab2ddf00 Updated dependencies
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 22s
2025-06-05 17:03:09 -04:00
af42a5971e Fixed parts parsing regexp
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 22s
2025-06-05 17:02:00 -04:00
a42ed54f38 Added trouble detection
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
2025-06-05 16:56:29 -04:00
c27e5adfe0 Fixed tire pressure reporting 2025-06-05 16:54:35 -04:00
28f650dc7d Added Locks status and tire pressure (psi and kpa)
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 22s
2025-06-05 16:43:46 -04:00
57e0e7899d Changed the way of parsing parts
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 22s
2025-06-05 14:14:33 -04:00
91c3c44b54 Changed the way of parsing parts
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
2025-06-05 14:11:08 -04:00
15a792ac9b Changed the way of naming climate profiles
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
2025-06-05 10:58:30 -04:00
849a544ffa Changed the way of naming climate profiles
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s
2025-06-05 10:53:52 -04:00
af28d7b2ed More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 24s
2025-06-04 17:28:21 -04:00