Commit Graph
76 Commits
Author SHA1 Message Date
Ian Renton 068c732796 Attempt to fix CPU utilisation bug by preventing the heartbeat callback leak in the SSE stream handlers and replacing Timer-based with Event-based threads. Also compiled regexes in advance for DXCC callsign lookups for efficiency, and fixed my misunderstanding of what Queue.empty() does 2026-02-27 08:28:43 +00:00
Ian Renton 3cd1352ff3 CQ/ITU zone lookups 2026-02-03 19:06:43 +00:00
Ian Renton 5230fa535f Set up web UI using web_ui_options embedded directly into HTML, to avoid more complex JS load order faff #102 2026-01-30 22:24:12 +00:00
Ian Renton cfff8dd832 Allow providers to be off-by-default in the web UI. Closes #93 2026-01-11 15:03:17 +00:00
Ian Renton 6cf1b38355 Fix metrics content type? 2025-12-24 10:10:46 +00:00
Ian Renton bcc40d1416 SSE custom headers #3 2025-12-24 09:44:55 +00:00
Ian Renton 2fead92dc5 SSE updates every 5 seconds is probably fine, we don't really need every second. #3 2025-12-24 08:57:38 +00:00
Ian Renton 70dc1b495c Fix SSE connections not respecting filters #3 2025-12-23 22:24:30 +00:00
Ian Renton 6116d19580 Fix issue with SSE queues getting lost #3 2025-12-23 21:26:39 +00:00
Ian Renton 86beb27ebf Implement SSE endpoints in Tornado #3 2025-12-23 21:01:41 +00:00
Ian Renton d463403018 Implement web server metrics in Tornado #3 2025-12-23 14:23:50 +00:00
Ian Renton 23a6e08777 Implement more request handlers in Tornado #3 2025-12-23 14:05:28 +00:00
Ian Renton 61784e8af6 Split up some code for sanity #3 2025-12-23 11:51:00 +00:00
Ian Renton fd246fc17b Partial reimplementation of the web server using Tornado #3 2025-12-23 11:03:01 +00:00
Ian Renton 70a7bd4814 Use SSE frontend #3 2025-12-22 15:47:45 +00:00
Ian Renton fd2986f310 First attempt at SSE backend #3 2025-12-22 13:02:11 +00:00
Ian Renton c95c6bb347 First attempt at SSE backend #3 2025-12-22 12:04:35 +00:00
Ian Renton 097c75eadd Improve SIG Ref lookup 2025-12-15 12:13:41 +00:00
Ian Renton 8a4f23ac72 Improve expired spot handling and efficiency of handling expired spots during web requests. 2025-11-29 16:12:44 +00:00
Ian Renton 368e69bf00 Use tower-cell icon for cluster/unknown spots rather than the desktop icon 2025-11-26 21:49:11 +00:00
Ian Renton 255719f3b5 Add a special 'NO_SIG' option to 'sig' query params, which will allow us to filter out all xOTA spots/alerts, leaving just the generic ones. #84 2025-11-26 21:13:14 +00:00
Ian Renton 4f83468309 Add config for "Number of Spots" and "Spot Age" values used in the web UI. Closes #79 2025-11-13 21:18:27 +00:00
Ian Renton 2ccfa28119 Get "qth" friendly name from QRZ/clublog and return in the callsign lookup. Closes #77 2025-11-02 20:51:16 +00:00
Ian Renton d80c4cfbeb Provide an externally usable callsign lookup feature. #73 2025-11-02 16:52:27 +00:00
Ian Renton 286ff66721 Refactor looking up SIG reference details into a common location, taking it out of the individual spot providers. This means we can now look up references properly from Cluster spot comments, etc. Closes #74 as there is no longer any duplication of these lookups. Works towards #54 as sig_refs now specify their sig internally. 2025-11-02 15:45:19 +00:00
Ian Renton 0e8c7873d8 Lookup for sig_ref data #73 2025-11-02 14:13:03 +00:00
Ian Renton 0570b39e09 Add Spot page to allow sig and sig_ref entries. Closes #71 2025-11-01 12:38:57 +00:00
Ian Renton 471c487132 Allow adding the DX grid when spotting #71 2025-11-01 11:11:33 +00:00
Ian Renton a3ec923c56 Improve add spot page warning and server-side validation. #71 2025-11-01 10:29:18 +00:00
Ian Renton 69821f817b Extract "add spot" into its own page 2025-11-01 08:52:46 +00:00
Ian Renton 04435e770a Add dx_call_includes filter 2025-10-31 17:33:27 +00:00
Ian Renton 9768f976c5 Add prometheus metrics endpoint. Closes #67 2025-10-30 13:32:10 +00:00
Ian Renton 6ce66fdb62 Take SSIDs into account in the dedupe spots function #68 2025-10-30 10:51:56 +00:00
Ian Renton 0db674eeb2 Continue work on bands display. #48 2025-10-20 21:01:00 +01:00
Ian Renton 6ca9f28a56 Start work on bands display. #48 2025-10-20 18:44:51 +01:00
Ian Renton b4d88a4770 Provide a more useful response when a ValueError is encountered parsing a user's API request. #59 2025-10-20 08:54:15 +01:00
Ian Renton e11483e230 Implement has_sig spot filter. Closes #49 2025-10-19 14:36:22 +01:00
Ian Renton 772d9f4341 Support de-dupe and comment filtering for spots. Closes #45 2025-10-19 10:18:01 +01:00
Ian Renton 87846f09f8 Partial map implementation #42 2025-10-16 22:17:33 +01:00
Ian Renton d02f0e1afc Tweaks for v1.0 2025-10-14 19:42:09 +01:00
Ian Renton cfa3aaedb0 Refactor utils.py as a helper class so we have some control about when the lookup services actually start 2025-10-13 20:16:40 +01:00
Ian Renton a5a4981b7e Extra defensive coding 2025-10-13 18:31:32 +01:00
Ian Renton 8582dfdc75 More data for mobile layout and extra defensive coding 2025-10-13 18:27:32 +01:00
Ian Renton 791a3a0dc4 Toggle to allow DXpeditions to be displayed even if they exceed max_duration. Closes #17 2025-10-09 17:29:21 +01:00
Ian Renton 277743dac7 Version API and add spot_allowed to options call. Closes #35 2025-10-09 15:35:29 +01:00
Ian Renton c66693fc99 POSTing a spot should use the request body not a URL param. #35 2025-10-09 15:29:25 +01:00
Ian Renton 1843286f92 Provide UTC/local toggle. Closes #32 2025-10-08 17:16:56 +01:00
Ian Renton 24c6ba98ef Give status info its own page 2025-10-08 16:33:02 +01:00
Ian Renton b45fda2dd2 Fix status query. Closes #36 2025-10-08 16:26:43 +01:00
Ian Renton e01b6d5ea9 Fix some bugginess with how expired alerts and alert max_duration were handled. Closes #34 2025-10-08 16:09:39 +01:00