Commit Graph
28 Commits
Author SHA1 Message Date
PicelBoi b5b336f4d7 add curDate and curDatePlusFive for tide forecast 2025-12-15 21:05:50 -05:00
PicelBoi f7909aa02a Test using the locId/locType/cntryCd instead of loc/lat 2025-12-15 20:45:50 -05:00
A-c0rN 48e209d33d Make the LocationKeys configurable
- Added "LocationKeys" to the LocationConfig
 - Added extra debugging for exceptions
 - Added some catches for existing exceptions
 - I doubt this will work first try.
2025-05-14 10:08:53 -05:00
April P. 568084ce0e Make sure a locationCache entry is not null before returning the cached object 2025-05-09 21:50:09 -07:00
April P. e6344beac1 Fix GetData not checking for String.Empty as well as if the string is null 2025-05-09 21:16:51 -07:00
April P. 2dd4f511b3 Provide better logging when GetJsonData catches on an error 2025-05-09 21:07:33 -07:00
April P. 3e302786e8 Properly pass JSON Parsing exceptions 2025-05-09 21:01:59 -07:00
April P. 4a3a983b88 Fix LFRecord.db path, fixes issue where tasks would hang due to invalid database location (see #6) 2025-04-01 13:20:05 -07:00
April P. 983dc69150 Create new {geocode} URL formatting parameter 2025-03-31 21:31:45 -07:00
April P. 5ddfe496ee Remove geocodes from the base API class 2025-03-31 21:30:36 -07:00
April P. 126a545532 Fix sqlite database directory in SQLiteConnection string 2025-03-24 23:00:32 -07:00
April P. 65fad3ff4d Replace {geocodes} with the concatenated list of current locations 2025-03-24 22:34:49 -07:00
April P. 7ab1fc052a Add geocoordinates to the global list whenever a new location is stored in memory 2025-03-24 22:32:52 -07:00
April P. 75a1018f41 Show verbose record generation logs when in debug mode 2025-02-16 18:59:40 -08:00
April P. 4c7f930e82 Wrap API download attempts in a try/catch block to avoid hanging if there is an unhandled status code 2025-02-16 18:58:43 -08:00
April P. 47ce52fe7f Add extra check for an HTTP 400 error when downloading records 2024-12-31 14:05:52 -08:00
April P. 7b561e96ad Log warning during failure to collect Json data 2024-12-18 22:08:03 -08:00
April P. 4dc7201337 Fix null value check when downloading Json data 2024-12-18 21:56:17 -08:00
April P. 387473df7d Replace zone id with county id when placeholder is being used. Fixes #2. 2024-12-18 21:55:08 -08:00
April 7381550335 Cache locations after pulling them from the LFRecord database (#1) 2024-12-18 22:32:23 +00:00
April P. fd431b11c5 Close reader after getting the inner XML from the file 2024-12-18 13:43:06 -08:00
April P. 7f8eabafb8 Close SQLite database after getting location information 2024-12-18 13:40:56 -08:00
April P. acce401e29 Log stacktrace when getting XML errors 2024-12-18 00:04:25 -08:00
April P. 9cd197f84f Use zones instead of county codes for alerts 2024-12-17 22:17:25 -08:00
April P. 31aebf2e06 Shortened countyCode down a bit 2024-12-17 21:49:02 -08:00
April P. b41050da26 Add method for deserializing JSON endpoints 2024-12-17 20:38:09 -08:00
April P. 744a2ff49c Fix formatting in API base 2024-12-13 14:56:27 -08:00
April P. a20c075b27 Create base classes for record generation 2024-12-13 14:47:56 -08:00