Commit Graph
118 Commits
Author SHA1 Message Date
windyboy 4ff44804f2 refactor: Remove coverage files from gitignore 2024-08-12 10:12:49 +08:00
windyboy e468e1f89c refactor: Add ToString method to ParsedMessage struct 2024-08-09 11:13:25 +08:00
windyboy 85ce23cb16 refactor: Update 'Content' field in HasuraRepository.CreateNew method 2024-08-09 11:07:07 +08:00
windyboy 091a054eab refactor: Rename 'text' field to 'content' in telegrams table 2024-08-09 10:29:17 +08:00
windyboy 9768bad108 chore: Add task for generating test coverage report 2024-08-07 20:37:34 +08:00
windyboy 68387e4a90 refactor: Add task for generating test coverage report 2024-08-07 20:05:43 +08:00
windyboy 622bd8e11b refactor: Remove commented-out code in schedule_parser.go 2024-08-07 20:01:14 +08:00
windyboy 8a1de2db43 refactor: Add coverage.html to .gitignore 2024-08-07 20:01:06 +08:00
windyboy 3a1f533d63 hasura 2024-08-07 17:16:07 +08:00
windyboy 15ce2c033a refactor: Update aviation_parser.go to remove unused code and update constants 2024-08-07 17:05:42 +08:00
windyboy e1cc851cc3 refactor: Rename 'body_and_footer' column to 'text' in telegrams table 2024-08-07 14:10:15 +08:00
windyboy dd10023199 refactor: Add installation of gq tool to Taskfile 2024-08-07 14:10:03 +08:00
windyboy f340c66b19 refactor: Update aviation_parser.go to remove unused code and update constants 2024-08-07 11:10:18 +08:00
windyboy 55a286f521 refactor: Improve error handling in NATS message handling 2024-08-07 11:10:08 +08:00
windyboy e4fa138089 refactor: Update constants and remove unused code in aviation_parser.go and constants.go 2024-08-07 10:47:15 +08:00
windyboy 5515f353b4 refactor: Refactor aviation_parser.go to improve code readability and maintainability 2024-08-06 22:46:01 +08:00
windyboy bbaea62788 refactor: Update parseWaypoints function to return error in schedule_parser_test.go 2024-08-06 22:28:46 +08:00
windyboy afafd51bad refactor: Remove unused code and update regular expressions in schedule_def.go 2024-08-06 13:12:19 +08:00
windyboy 1e37e21331 chore: Update go.mod dependencies to latest versions 2024-08-06 12:44:43 +08:00
windyboy a57e924501 refactor: Update aviation_parser.go and pattern.go to use BodyConfig struct instead of config.BodyConfig 2024-08-06 12:44:32 +08:00
windyboy bef663ca3d refactor: Update Civial Aviation Authority Telegram message processor usage in main.go and add NATS server connection logging 2024-08-05 15:58:46 +08:00
windyboy 3c37410737 refactor: Update Nats handler and Hasura repository initialization 2024-08-05 11:42:33 +08:00
windyboy 1a858cf19c refactor: Remove redundant code and improve configuration handling in main.go 2024-08-05 11:23:22 +08:00
windyboy 3c917c93af refactor: Update main.go to process Civial Aviation Authority Telegram messages and add CLI flag for Nats server address and topic 2024-08-05 10:58:20 +08:00
windyboy c54bcbc0a8 refactor: Update Taskfile.yml to use lowercase variable names for consistency 2024-08-05 10:11:33 +08:00
windyboy 65500a8d45 refactor: Add task to install ginkgo for testing 2024-08-02 19:45:49 +08:00
windyboy 6a689b073f deps 2024-08-02 16:43:26 +08:00
windyboy 70e33742fa mod tidy 2024-08-02 16:39:34 +08:00
windyboy b9e9c2b8a7 refactor: Remove commented code for extracting flight numbers 2024-08-02 16:04:11 +08:00
windyboy 2690f571ad refactor: Add support for parsing HO, NS, and EU Airlines flight schedule data 2024-08-02 14:58:44 +08:00
windyboy aff70c7373 refactor: Update flight schedule parser to handle multiple flight numbers 2024-08-02 14:37:12 +08:00
windyboy 8798727a0d refactor: Update FlightNumberPattern regex to handle multiple flight numbers 2024-08-02 14:21:12 +08:00
windyboy 144f3a9d9a refactor: Add support for parsing 翔鹏航空 (8L) flight schedule data 2024-08-02 12:39:57 +08:00
windyboy a37596b40b refactor: Add support for parsing ZH Airlines flight schedule data 2024-08-02 12:37:12 +08:00
windyboy 7b1a072f32 refactor: Add support for parsing 9C Airlines flight schedule data 2024-08-02 11:47:07 +08:00
windyboy 81cf4584ac remove schedule parser definition to another file 2024-08-02 11:40:46 +08:00
windyboy 158a03d4c3 refactor: Improve parsing of CK Airlines (CK) flight schedule data 2024-08-02 11:36:21 +08:00
windyboy 2962dee69d 3U schedule 2024-08-02 11:24:09 +08:00
windyboy a734f5f25c refactor: Improve parsing of flight schedule data 2024-08-02 11:15:23 +08:00
zhiqiang feng d91e61ab5d up 2024-08-02 10:01:49 +08:00
windyboy 7222be4b59 refactor: Add test for parsing date in schedule_parser_test.go 2024-07-31 21:46:47 +08:00
windyboy 20872710ce refactor: Improve parsing of flight schedule data 2024-07-31 17:48:36 +08:00
windyboy 54dcefb08a refactor: Improve parsing of flight schedule data
The code changes in `schedule_parser_test.go` enhance the parsing logic for flight schedule data. This improves the accuracy and functionality of the code when extracting information such as index, task, date, flight number, aircraft registration, waypoints, and departure/arrival times from the input line. The changes ensure more reliable and consistent parsing of flight schedule data.
2024-07-31 17:46:18 +08:00
windyboy 6c01443da8 refactor: Add support for parsing GS Airlines flight schedule data 2024-07-31 17:40:56 +08:00
windyboy 4bd2adda51 refactor: Add support for parsing JD Airlines flight schedule data 2024-07-31 17:27:14 +08:00
windyboy 2729e33f59 refactor: Add support for parsing JD Airlines flight schedule data 2024-07-31 17:09:41 +08:00
windyboy 48d1ad60dc refactor: Improve parsing of Hainan Airlines (HU) flight schedule data 2024-07-31 16:59:20 +08:00
windyboy b37667873f refactor: Improve parsing of flight schedule data
The code changes in `schedule_parser.go` enhance the parsing logic for flight schedule data. This improves the accuracy and functionality of the code when extracting information such as index, task, date, flight number, and aircraft registration from the input line. The changes ensure more reliable and consistent parsing of flight schedule data.
2024-07-31 16:49:36 +08:00
windyboy 2a1dc1eebe refactor: Update parsing of flight schedule data for improved accuracy and functionality 2024-07-31 16:04:52 +08:00
windyboy 34ea30b594 refactor: Remove genqlient.yaml configuration file
The code changes delete the genqlient.yaml configuration file, as it is no longer needed. This simplifies the project structure and removes unnecessary files.
2024-07-31 12:34:45 +08:00