Commit Graph
159 Commits
Author SHA1 Message Date
Ian Renton 9d117a6069 Split out event type SIGs, and do other enum conversions. Closes #138 2026-09-02 09:38:05 +01:00
Ian Renton 606cf1be68 Start converting some enum-like strings to proper enums, plus global reformat 2026-09-02 08:37:13 +01:00
Ian Renton 5a6fc19ab5 dxstats.py now uses is_ham_hf flag on bands list instead of providing its own. Closes #139 2026-09-02 07:46:02 +01:00
Ian Renton fa2e4b929a Start converting some enum-like strings to proper enums 2026-09-02 07:26:02 +01:00
Ian Renton ba56acd7ac Fix a bug where solar conditions and status data were not properly persisted to disk between restarts. Release v2.0.5 2026-08-29 09:17:24 +01:00
ian 5a77248dbc Fix a bug in calling the V1 add spot endpoint 2026-08-25 20:41:12 +00:00
Ian Renton c5d6a65786 Bug fixes and minor doc clarifications 2026-08-20 07:30:21 +01:00
Ian Renton 38bc03a603 Improve checking callsign validity by regex, and fix passing v1 type credentials into v2 APIs 2026-08-17 16:30:24 +01:00
Ian Renton 842e91b34a Re-add translation of QRZ/HamQTH query params to header params, since it turns out someone was using that 2026-08-16 15:23:05 +01:00
Ian Renton 7220a0f58d ruff format && ruff check --fix 2026-08-16 14:11:45 +01:00
Ian Renton 8e48287edf Bug fixes 2026-08-16 14:02:22 +01:00
Ian Renton 2ffa4780e8 More ruff linter fixes 2026-08-15 08:52:26 +01:00
Ian Renton 335d15bfa0 More ruff linter fixes 2026-08-15 08:50:03 +01:00
Ian Renton a6e54f524d More ruff linter fixes 2026-08-15 08:43:19 +01:00
Ian Renton dd89ff4af7 Replace root logger calls with module-specific loggers 2026-08-15 08:35:06 +01:00
Ian Renton af3f82c14d Use ruff linter to fix issues and provide consistent formatting 2026-08-15 08:25:54 +01:00
Ian Renton 7391c28cd0 flynt pass to provide consistency to string formatters and concatenation 2026-08-15 07:55:32 +01:00
Ian Renton bff5b79f8f Logging tidy-up, IDE inspection fixes 2026-08-15 07:42:38 +01:00
Ian Renton efec8e220e Oops, "type" was a bad choice of field name 2026-08-14 17:59:15 +01:00
Ian Renton c285b86131 Transparent redirect handler instead of returning HTTP 308 to clients 2026-08-12 18:49:06 +01:00
Ian Renton c687202a61 Replace dash-separated config & API properties with underscore-separated versions. #127 2026-08-10 20:55:18 +01:00
Ian Renton 5c86346074 Merge branch 'main' into 2.0-pre
# Conflicts:
#	core/config.py
#	core/status_reporter.py
#	server/handlers/api/options.py
#	static/js/bands.js
#	static/js/map.js
#	static/js/spots.js
#	templates/status.html
2026-08-10 18:34:32 +01:00
Ian Renton 7860b60f47 Fix an issue where "spot providers enabled by default" was still being fetched through WEB_UI_OPTIONS on a path that required spot providers to have a "name" field in *config* rather than at runtime. Closes #124 2026-08-10 06:06:33 +01:00
Ian Renton 4be4e4550a Backwards compatibility for critical v1 APIs. Closes #119 2026-08-08 14:15:29 +01:00
Ian Renton ac35a920cf Hellmerge #95 branch into 2.0-pre. #119 2026-08-08 09:52:14 +01:00
Ian Renton 4e7c5a05aa Merge branch '95-send-spots-to-xota' into 2.0-pre
# Conflicts:
#	README.md
#	core/config.py
#	server/handlers/api/addspot.py
#	server/handlers/api/lookups.py
#	server/handlers/api/options.py
#	server/webserver.py
#	spothole.py
#	static/apidocs/openapi.yml
2026-08-08 09:32:27 +01:00
Ian Renton 62b3414d29 Refactor of caching & data storage part 17 #118 2026-08-04 22:11:34 +01:00
Ian Renton 459d999f57 Refactor of caching & data storage part 16 #118 2026-08-03 22:15:29 +01:00
Ian Renton 50ab27e4a2 Refactor of caching & data storage part 13 #118 2026-08-03 08:56:34 +01:00
Ian Renton 11a236e668 Refactor of caching & data storage part 10 #118 2026-08-02 10:31:31 +01:00
Ian Renton fa6c3c0a55 Merge branch 'main' into 95-send-spots-to-xota
# Conflicts:
#	README.md
#	config-example.yml
#	core/config.py
#	server/handlers/api/addspot.py
#	server/handlers/api/options.py
#	static/js/add-spot.js
#	static/js/bands.js
#	static/js/map.js
2026-08-02 07:47:40 +01:00
Ian Renton 41aecc6007 Refactor of caching & data storage part 7 #118 2026-08-01 10:34:20 +01:00
Ian Renton ed7f13f079 Refactor of caching & data storage part 6 #118 2026-08-01 09:11:40 +01:00
Ian Renton 23edd4e02e Refactor of caching & data storage part 4 #118 2026-07-31 21:02:37 +01:00
Ian Renton 818fd2d504 Refactor of caching & data storage part 2 #118 2026-07-31 15:18:23 +01:00
Ian Renton d26ddff7d1 Refactor of caching & data storage part 1 2026-07-31 14:12:55 +01:00
Ian Renton c3bcc1190d Structure changes to match other projects and minor logging improvements 2026-07-26 07:47:38 +01:00
Ian Renton 3c4c595288 Put static assets in a separate directory so they can be delivered directly by nginx 2026-07-25 16:49:49 +01:00
Ian Renton 4a9ff2c636 Improve error reporting 2026-07-25 13:43:13 +01:00
Ian Renton e7253c0916 Improve error reporting 2026-07-25 13:42:21 +01:00
Ian Renton 2fc9658571 Improve error handling to spare the server log from user's malformed requests and stop trying to parse data from providers if the HTTP status was not 200 2026-07-25 08:17:17 +01:00
Ian Renton eee0d70140 Create SIGRef objects when converting dict to Spot object in the spot object's own __post_init__ method rather than in add_spot.py 2026-07-10 17:45:43 +01:00
Ian Renton 600a330e63 Fix a bug where SIGs weren't being handled properly in the add spot JS 2026-07-10 17:38:33 +01:00
Ian Renton 4d29e0026f Config option to disable logging web requests, to spare the log file. 2026-07-10 12:17:09 +01:00
Ian Renton b09108b41b Fix a bug where some NaN values could leak into the JSON output, causing it to be invalid. Created a new safe_json_dumps method since we would otherwise now be providing multiple parameters all over the code 2026-06-28 18:09:44 +01:00
Ian Renton 3b5a4efb0b Merge branch 'main' into 95-send-spots-to-xota
# Conflicts:
#	core/constants.py
#	data/spot.py
2026-06-26 08:16:09 +01:00
Ian Renton d1df772649 Disambiguation between Towers and Toilets on the Air 2026-06-25 19:25:05 +01:00
Ian Renton 7a34526a91 Merge branch 'main' into 95-send-spots-to-xota 2026-06-21 21:28:20 +01:00
Ian Renton 89bb5d5e3e Fix broken options call 2026-06-21 21:28:05 +01:00
Ian Renton d1c4dd4e4c Merge branch 'main' into 95-send-spots-to-xota
# Conflicts:
#	webassets/apidocs/openapi.yml
2026-06-21 11:12:48 +01:00