Commit Graph

17 Commits

Author SHA1 Message Date
ProtoTess 149fe3a0a3 Fix nlreturn errors by adding blank lines before returns in multi-line closures 2026-01-16 06:17:16 +00:00
ProtoTess 5371705524 Fix nlreturn linting errors by adding nolint directives for inline closures and format with gofmt 2026-01-16 06:15:23 +00:00
ProtoTess 3e6dd827f7 Format cmd/onvif-diagnostics/main.go with gofmt 2026-01-16 06:13:19 +00:00
ProtoTess 08117299c1 Fix remaining nlreturn and wrapcheck linting errors 2026-01-16 06:12:27 +00:00
ProtoTess a0c79e83ee Format cmd/onvif-diagnostics/main.go with gofmt 2026-01-16 06:08:49 +00:00
ProtoTess 603b90422f Fix linting errors: exitAfterDefer, hugeParam, rangeValCopy, magic numbers, nlreturn, nolintlint 2026-01-16 06:06:37 +00:00
ProtoTess 268330840c Refactor code for improved readability and maintainability; add utility functions for score calculation and archive processing 2026-01-16 05:55:37 +00:00
ProtoTess 9cf30e2c41 cleanup 2026-01-16 04:58:24 +00:00
0x524a bfad9e910c chore: enhance golangci-lint configuration and clean up error handling
- Added new linters for the examples directory to improve code quality checks.
- Updated output formatting to direct lint results to stdout for better visibility.
- Cleaned up comments related to error handling in various files for clarity and consistency.
2025-12-03 00:14:24 -05:00
0x524a 02f79ea7a7 refactor: enhance code clarity and maintainability across multiple files
- Updated comments to improve clarity and adhere to best practices in ascii.go, main.go, and diagnostics.
- Removed unnecessary linter directives for improved readability in imaging.go and ptz.go.
- Reformatted function signatures and added helper calls in tests for consistency and clarity.
- Enhanced error handling and logging consistency in various server files, ensuring better maintainability.
2025-12-02 22:21:20 -05:00
0x524a c1daba5be6 refactor: introduce constants for improved maintainability in tests and server configurations
- Added constants for test endpoints, usernames, and XML headers in client_test.go and device_certificates_test.go to enhance readability and reduce hardcoded values.
- Updated various test cases to utilize these constants, ensuring consistency across tests.
- Refactored imaging settings and server configurations to use defined constants for default values, improving clarity and maintainability in server/device.go and server/imaging.go.
- Enhanced comments throughout the code to clarify functionality and adhere to best practices.
2025-12-02 21:39:54 -05:00
0x524a 31df3f8b79 refactor: improve code readability and maintainability across multiple files
- Reformatted function signatures for better clarity in media.go and onvif-quick/main.go.
- Replaced hardcoded values with constants in ascii.go and server/imaging.go for improved maintainability.
- Enhanced error handling and logging consistency in onvif-diagnostics/main.go and server/server.go.
- Updated comments to clarify functionality and ensure adherence to ONVIF specifications across various files.
2025-12-02 08:54:23 -05:00
0x524a de752f249e refactor: standardize constants and improve brightness calculations
- Replaced hardcoded values with constants for default dimensions and timeout settings in various files.
- Updated brightness calculation logic to use defined constants for maximum color value and bit shifts.
- Enhanced the ASCII image generation function to utilize new constants for improved readability and maintainability.
2025-12-02 08:53:13 -05:00
0x524a 96ac509c24 refactor: update HTTP request handling and improve documentation
- Replaced http.NewRequest with http.NewRequestWithContext in client tests for better context management.
- Updated method names and comments for clarity, including renaming GetWsdlUrl to GetWsdlURL and StorageUri to StorageURI for consistency.
- Enhanced comments across various files to provide clearer descriptions of functionality and ONVIF specifications.
2025-12-02 08:41:37 -05:00
0x524a 9e3b5e0170 feat: add comprehensive ONVIF test reports and enhance documentation
- Introduced CAMERA_TEST_REPORT.md and COMPREHENSIVE_TEST_SUMMARY.md to document testing results for the Bosch FLEXIDOME indoor 5100i IR camera.
- Added detailed analysis of ONVIF Media Service operations and implementation status in MEDIA_OPERATIONS_ANALYSIS.md and MEDIA_WSDL_OPERATIONS_ANALYSIS.md.
- Updated implementation status documentation to reflect the completion of all 79 operations in the ONVIF Media Service.
- Enhanced existing comments and documentation across various files for better clarity and consistency.
2025-12-02 02:29:51 -05:00
ProtoTess e4c5f0412c fix: remove unused includeRaw variable in onvif-diagnostics 2025-11-17 03:34:42 +00:00
ProtoTess 24b17e3e0b fix: update .gitignore to preserve cmd/ source directories and add missing CLI tools 2025-11-17 03:32:32 +00:00