Commit Graph
1426 Commits
Author SHA1 Message Date
Sameh Khamis 5608b12a25 Show JTWC cyclones: western Pacific, Indian Ocean and Southern Hemisphere (#1891)
* Show JTWC warnings in Cyclone advisories

Cyclone advisories now also read the Joint Typhoon Warning Center (keyless,
public domain) for the western North Pacific, North Indian Ocean and Southern
Hemisphere, beside NHC and CPHC.

- server/providers/jtwc.js reads JTWC's warnings feed, each storm's JMV 3.0
  warning (.tcw) and its overlay (.kmz). /api/cyclones merges them with NHC's:
  one storm per id, NHC's advisory where NHC lists the storm. A failed JTWC
  read keeps its last storms, marked stale, and never hides NHC's.
- Storms carry an agency. A JTWC warning has no cone; its 34-knot wind danger
  area is drawn as its own dashed area and named for the selected storm.
- A JTWC storm's card notes that the regional centre's warning is official
  and that JTWC winds are 1-minute averages. Source and coverage wording names
  both agencies.
- Each storm is served while its own advisory is usable (12 hours for NHC,
  13 for JTWC).

* Keep one JTWC failure from affecting other storms or NHC

- A storm whose JTWC warning cannot be read or parsed is left out and the
  others are shown; the read fails only when every listed storm's does.
- JTWC is read under its own 8-second deadline. A failed or slow JTWC read
  keeps JTWC's last good storms and never delays, fails or stales the NHC
  answer.
- Danger-swath longitudes past ±180 (a ring crossing the antimeridian) are
  wrapped into -180..180 instead of dropping the ring.

* Add the changelog entry for JTWC cyclones
2026-11-20 21:48:15 -08:00
German Khokhlov b94e556693 Merge branch 'main' into byrdit/cctv-visible-only-fetch 2026-11-20 19:26:40 +04:00
German Khokhlov 40d567893e Merge branch 'main' into codex/fix-cctv-session-admission 2026-11-20 17:58:30 +04:00
German Khokhlov 23efd3b343 Merge main into codex/fix-cctv-session-admission
Main's Street View budget tests in the media feed-type file now mount the
provider through the shared CCTV test harness, which also resets the Google
rate-limit setting.
2026-11-20 17:39:46 +04:00
German Khokhlov 20647f6549 Merge origin/main into byrdit/cctv-visible-only-fetch
# Conflicts:
#	src/layers/cctv/frames.test.mjs
2026-11-20 17:33:48 +04:00
German Khokhlov c00c272bd8 Merge branch 'main' into codex/fix-annotation-height-culling 2026-11-20 17:26:36 +04:00
German Khokhlov f54d612aab Merge branch 'main' into codex/fix-annotation-height-culling 2026-11-20 17:24:08 +04:00
German Khokhlov 1a57469fd1 Merge branch 'main' into german/recent-imagery-auto-successor 2026-11-20 17:10:30 +04:00
German Khokhlov 4262829e27 Merge branch 'main' into german/recent-imagery-auto-successor 2026-11-20 17:03:24 +04:00
German Khokhlov 5b1c1ede29 Merge branch 'main' into feat/blender-camera-interchange-submit 2026-11-20 16:53:45 +04:00
Denis Groshev 050e0a3a7a Merge main into denis/iss-live-telemetry 2026-11-20 13:12:36 +01:00
Denis Groshev dac8738b80 Installations: a label takes a click only where nothing else is drawn
An interactive overlay entry is a card that takes every click from what is
drawn under it, so a base's label kept an aircraft or vessel under it from
being selected. The labels are no longer interactive entries. The layer
claims a click on a label box through the pick registry's click claim, as
CCTV counts do, only where nothing another layer draws is under it; over
the map or the layer's own dots and fills the label takes it, and another
layer's card painted over the label keeps its click. The label box is read
from the box the overlay painted for it (overlayHost.paintRect).
2026-11-20 13:12:21 +01:00
German Khokhlov a5d6963d41 Merge branch 'main' into codex/cctv-shared-batch-20261019 2026-11-20 14:20:48 +04:00
German Khokhlov 812cff85df Merge branch 'main' into codex/cctv-shared-batch-20261019 2026-11-20 14:07:54 +04:00
German Khokhlov c2a4ad44cc Merge branch 'main' into fix/places-no-store-on-errors 2026-11-20 14:06:05 +04:00
German Khokhlov 4e03e82987 Merge main 2026-11-20 13:51:17 +04:00
Denis Groshev edbf3a234d Merge main into denis/iss-live-telemetry
Conflicts: the locale catalogs and package boundaries are three-way merges
(no message changed differently on both sides); zh-Hant is regenerated
from zh-CN. bhoteKoshiEmbeddedMedia.js keeps main's card counter and the
branch's shared YouTube loader (youtubeApi.js), so the media file builds
one script element fewer. The Cockpit briefing's LIVE tab and the orbital
NADIR/RESET button are main's UiButton.
2026-11-20 10:50:16 +01:00
German Khokhlov b2f746cdb2 Merge remote-tracking branch 'origin/main' into fix/places-no-store-on-errors 2026-11-20 13:48:55 +04:00
German Khokhlov e9c6071cb8 Merge remote-tracking branch 'origin/main' into german/cctv-nearest-same-camera 2026-11-20 13:48:51 +04:00
German Khokhlov a08cf7a2cd Merge main 2026-11-20 13:35:15 +04:00
German Khokhlov a12cf91070 Merge remote-tracking branch 'origin/main' into fix/cctv-streetview-fallback-catalog 2026-11-20 13:30:58 +04:00
German Khokhlov f10ea2e6b4 Merge main and keep both sets of CCTV rendering tests 2026-11-20 13:24:48 +04:00
German Khokhlov 2017ce27ee Merge remote-tracking branch 'origin/main' into fix/places-no-store-on-errors 2026-11-20 13:17:50 +04:00
German Khokhlov ab33ac5332 Merge remote-tracking branch 'origin/main' into german/cctv-nearest-same-camera
# Conflicts:
#	src/layers/cctv/selection.test.mjs
2026-11-20 13:17:49 +04:00
German Khokhlov 081c0b561d Merge remote-tracking branch 'origin/main' into fix/cctv-streetview-fallback-catalog 2026-11-20 13:17:05 +04:00
German Khokhlov 1b78f86b17 Merge remote-tracking branch 'origin/main' into fix/cockpit-utility-phone-row 2026-11-20 13:14:11 +04:00
German Khokhlov 09588b98bf Commit the shown CCTV camera with FOCUS, not a hidden picker option
The picker no longer keeps a hidden, disabled copy of the opening camera.
That copy could be re-picked with ArrowDown on a closed list, could show
twice in the iOS picker, and left Firefox without an accessible value.
The list now selects the camera's own option, as before. A native list
sends no change for the option it already shows, so FOCUS (or NEAREST,
when that camera is the nearest) keeps the shown camera. Closing the list
without a choice keeps automatic selection.
2026-11-20 12:55:52 +04:00
German Khokhlov 58d2c23860 fix(cctv): label a refused viewer's frame fallback instead of the live row
/frame now keeps a pullable HLS camera's shared health, so a viewer
refused for capacity saw its placeholder or Street View frame under the
live row's LIVE · OK badge and "Live HLS connected". When a video camera
is shown on its frame fallback while the row says live, the panel badge
now reads FALLBACK · DEGRADED and the meta line drops the live message;
the shared row stays as it is for the other viewers.
2026-11-20 12:29:50 +04:00
German Khokhlov 11175cc867 Merge branch 'main' into fix/places-no-store-on-errors 2026-11-20 12:26:59 +04:00
German Khokhlov 17cec5a8bb Merge branch 'main' into feat/paraguay-acaray-yacyreta 2026-11-20 12:19:38 +04:00
German Khokhlov 0bebd59b69 Merge main into codex/fix-cctv-session-admission 2026-11-20 11:48:38 +04:00
German Khokhlov ed38a1ab3f fix(cctv): keep an HLS camera's health through the refused viewer's frame
A viewer refused for capacity falls back to /frame after hls.js gives up.
For a pullable HLS camera without a snapshot, /frame only has a
placeholder or a Street View frame, which says nothing about the stream,
yet it wrote degraded over the health that /media owns. /frame now
leaves that health as it is; a dead upstream is still reported through
/media.

Tests: the middleware suite covers both fallbacks, a real upstream
failure that still degrades, and cross-site segment and release refusals
on a live HLS lease; capacity checks use HLS_LIMITS and HlsCapacityError;
the three CCTV suites share one provider harness in src/testSupport.
CURRENT-STATE and the changelog fragment describe the refusal.
2026-11-20 11:48:22 +04:00
German Khokhlov 49785e423d fix(cockpit): scope the centred phone row and keep Stories unread in Cockpit
The centred Display/Radio row now applies only inside the phone shell
(720 px and below) on flight and bridge views; satellite and provider
cockpits, narrow short windows (under 390x450) and very short windows
(under 240 px) keep main's right-anchored place, so the row no longer
lands on the desktop rail, orbital zoom, LOOK AHEAD, Reset or the Stories
button. The row sizes to its launchers instead of spanning the width.

The first-visit Stories announcement stays hidden and unread while
Cockpit is open: a Stories tap that Cockpit refuses no longer marks it
seen, so it shows again after Exit.

The unit tests and the Cockpit QA cover the phone boundary, glyph and
side taps, the destination cue, short and narrow windows and the
announcement's return.
2026-11-20 11:39:45 +04:00
German Khokhlov 01d4a3f454 CCTV Street View budget: key the client before the camera wait, share the default
- The /frame handler reads the client's network key (IPv6 /64) before it
  awaits the camera, so a client that drops the connection is still
  charged to its own window instead of the shared fallback key.
- The budget is charged only after the Google key and finite catalog
  coordinates are confirmed, and the key is read once.
- Places and the CCTV window share one default (GOOGLE_DEFAULT_PER_MIN).
- Tests: the catalog-only test checks heading/fov/pitch from the query at
  the catalog location; the budget test covers unknown ids, forwarded
  requests and /64 grouping; a real-socket test covers a dropped
  connection. The duplicate pose test is removed.
- .env.example, SECURITY.md, CURRENT-STATE and the changelog fragment
  describe the separate per-IP window, the catalog position and the
  placeholder for seed cameras.
2026-11-20 11:31:14 +04:00
German Khokhlov 881473cdd2 Merge remote-tracking branch 'origin/main' into german/recent-imagery-auto-successor 2026-11-20 11:15:13 +04:00
Sameh Khamis 763b892716 Merge branch 'main' into samehkhamis/grounded-military-height 2026-11-19 20:49:31 -08:00
Sameh Khamis 22275814fb Merge branch 'main' into samehkhamis/grounded-military-height 2026-11-19 20:34:59 -08:00
Sameh Khamis 91dee5dabe Merge remote-tracking branch 'origin/main' into samehkhamis/omnibar-above-timeline 2026-11-19 20:32:04 -08:00
Sameh Khamis 2dd26de768 Add the changelog entry for #1877 2026-11-19 20:22:43 -08:00
Sameh Khamis 1cc06c021a Changelog entry for #1876 2026-11-19 20:16:34 -08:00
Sameh Khamis f07f40271d Changelog: #1875 2026-11-19 19:45:30 -08:00
Sameh Khamis 3e6d2165fd Changelog: #1873 2026-11-19 18:59:36 -08:00
Sameh Khamis 93c68281d9 Merge branch 'main' into samehkhamis/omnibar-centred 2026-11-19 17:10:42 -08:00
Sameh Khamis 17bfc203c5 Merge branch 'main' into samehkhamis/find-it 2026-11-19 16:56:33 -08:00
Sameh Khamis 41e988606c Add the changelog entry for #1872 2026-11-19 16:56:19 -08:00
Sameh KhamisandManjunath Paparaju 80999ff007 Add the changelog entry for #1871
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 16:36:54 -08:00
Sameh Khamis 250a78c0f9 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:54:31 -08:00
Sameh Khamis c586087147 Add the changelog entry for #1870 2026-11-19 15:40:48 -08:00
Sameh Khamis 5258f1b2a4 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:39:50 -08:00
German Khokhlov fdf7ed93ce fix(annotations): sample arrow, route and area points outside the view (#1277)
A point of an arrow, route or area outside the view frustum was not
sampled and stood in at 0 m, so a partly visible arrow could hide, point
at the wrong place or vanish behind the eye. Such points are sampled again
within the 32-sample budget and the one-second retry, as on main; lone
points outside the view still skip sampling. The 0 m stand-in exceptions
are removed. Also from review: shared viewPlanes for transit and the
renderer, a −430..9000 m segment test against the view planes, tighter
tests and shorter docs.
2026-11-20 03:39:09 +04:00