Commit Graph
247 Commits
Author SHA1 Message Date
Kaj SchittecatandClaude Opus 5.5 919af1cc47 Merge #616 (TerryTel93): emoji pack from the SD card, rebased on main
Follow-ups in the merge, from the review:
- emojiRememberRecent copies the picked text first: a Recent cell points into
  s_emoji_recent, and the shift overwrote it before the copy into slot 0.
- The text menu's Emoji opens the emoji set (it passed k_emoji_items, which
  marked the sheet as special characters, so nothing was remembered).
- Without a pack the picker is the plain grid it always was: no tabs, no
  Recent, and hearts never show as a "More" tab (they sit under Smileys).
- Removed wada_shape_flag_codepoint, which nothing called.
- emoji_data.c regenerated with the merged add-emoji.py (the eight bot emoji
  from beta_102 kept); the EmojiGlyph typedef stays on one line.
- .lang rows for the tab names in all 15 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:36:20 +01:00
Kaj SchittecatandClaude Opus 5.5 3558384ba7 lua: wada.net.request answers -1 without Wi-Fi or below 46 KB internal heap; store flush every 30 s under the watchdog guard (#788)
A Bluetooth-only boot never started lwIP, so a connect there asserts. A TLS
handshake on a short internal heap starves Wi-Fi's own buffers. The periodic
store flush runs on the UI thread and can hit SPIFFS garbage collection, the
beta_25 watchdog class, so it is guarded and rate-capped at 30 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:31:51 +01:00
Kaj Schittecat 78f88efd2b Merge #788 (oumike): Cyberspace app, wada.net.request over verified https, wada.json, label:on_press 2026-11-11 11:31:51 +01:00
Kaj SchittecatandClaude Opus 5.5 c31bfa45b1 lang: rows for the Chats unread-only filter (#825) and the empty-list lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:30:02 +01:00
Kaj SchittecatandClaude Opus 5.5 e2b7b11281 apps: language store v32 (new rows for this round, translations from #631)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:26:11 +01:00
Kaj SchittecatandClaude Opus 5.5 4f4c11df5d Merge PR #631 (oumike: i18n: translations from #611)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:25:03 +01:00
Kaj SchittecatandClaude Opus 5.5 129b91a7aa touch: option to hide MediaMesh and TAK texts in chats
MeshCore Open TAK and Wadamesh TAK carry photos, voice, one-time-pad traffic
and team tracking as ordinary texts, which read as gibberish here. With the
new switch in Radio & Mesh, messages between apps are dropped before any
notification and the rest show as a short label that keeps the caption. Off
by default. Frames still reach a connected phone app.

The recognition rules are jade-on-mesh's, from their notes for Wadamesh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:12:26 +01:00
Kaj SchittecatandClaude Opus 5.5 20e2ed9bae lang: rows for the Ebook app, GPS page, Ping trace, Max antenna, reactions and Pager theme strings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:54:15 +01:00
Kaj Schittecat a2c036aad7 Merge PR #799 (oumike: theme: Mute colours and animations (#798)) 2026-11-10 11:48:30 +01:00
Kaj Schittecat db1b57d9f0 Merge PR #782 (oumike): lang: Mark all as read translated in the chat list menu (#775) 2026-11-10 11:45:14 +01:00
Kaj Schittecat 1e5f83c534 Merge PR #773 (Ender436: ProTreck 1.3: local sun/twilight/moon times) 2026-11-10 11:44:21 +01:00
Michael A. CojocariandCopilot f0977725fd theme: muted tones under Mute colours and animations (#798)
While muted, the Colour section offers five tones: Slate (the muted
palette as before, the default), Sepia, Grey, Sage and Dusk. Each sets
the accent; with Tone the whole screen (default on) every surface and
text is also laid on the tone's dark-to-light ramp, status colours
keeping a little of their own. Off, only the accent takes the tone.
High contrast keeps its own colours. Saved as ui_mute_tn / ui_mute_wh;
the preview and the tone tiles use the same maths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Michael A. Cojocari <michael.cojocari@gmail.com>
2026-11-03 19:42:04 -05:00
Michael A. CojocariandCopilot 4644affad9 theme: Mute colours and animations (#798)
A new switch at the top of Settings > Theme > Colour for a calm, old-desktop
look, saved as ui_mute (default off) and applied at the next boot like the
rest of the theme:

- No animations: no boot splash, lock screen motion, Home radar sweep,
  live-dot breathing, advert ring, PIN shake or glance fades; scrolls, tab
  changes, Lua app scrolls and switch knobs jump instead of sliding.
- Constellation screensaver goes calm: no pulse, sweep, pings or packets; the
  burn-in steps (turn, drift, corner moves) stay, without the fade.
- Muted colours: a grey-blue accent, Regular look, and the link, mention,
  status and bubble colours pulled towards grey, in Day and Night.
- Solid panels: no background, no glass tiles, and popup backdrops are the
  theme background instead of see-through black.

While it is on, the accent, looks, rainbow, background and glass controls are
locked with a note; their saved values come back when it is turned off. High
contrast keeps its own colours but still loses the animations. T-Deck Pro is
unchanged (no Colour section).

Placeholder rows for the 3 new strings in the 15 language files; the
Constellation render harness takes CST_CALM=1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Michael A. Cojocari <michael.cojocari@gmail.com>
2026-11-03 15:52:41 -05:00
CarpeNoctemandCopilot 7dd9abd92d ebook: centre image placeholders again, with blank lines kept
6587555 left-aligned the placeholders because centred ones, often as wide as
the text column, looked wrong. That broke tapping: a tap opens a picture only
in the middle third of the screen, and a short left-aligned placeholder sits
entirely in the left third, where a tap turns the page instead.

Centre a placeholder that fits on one line (padding it with spaces, since the
page is one left-aligned label), and keep the blank line above and below it.
A placeholder that wraps stays left-aligned.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-03 13:20:16 +11:00
CarpeNoctemandCopilot 6587555f5e ebook: set image placeholders off with blank lines, not centred
Placeholders are often as wide as the text column, so centring looked wrong.
A blank line above and below now sets each one apart. text_lines ignores the
empty line after a trailing newline, so lines() adds it back; the harness
wrapper now matches the firmware there.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-03 12:27:04 +11:00
CarpeNoctemandCopilot cc7867cd35 ebook: show image placeholders in angle brackets
Angle brackets read more clearly than square ones. Comments, tests and the
store description follow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-03 11:54:12 +11:00
CarpeNoctemandCopilot fc9b679c29 ebook: centre image placeholders
A placeholder that fits on one line is padded with spaces to the middle of the
text column. Tests also check that an image inside a paragraph gets a line of
its own.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-03 11:09:05 +11:00
CarpeNoctemandCopilot 6edc5ce162 ebook: stub image display behind a proposed wada.ui.image call
Adds an Images menu row (always / on tap / never) that appears only when the
firmware has wada.ui.image, which it does not yet. Without it the app behaves
exactly as before (placeholders only). With it: on tap shows a picture fit to
the screen from the placeholder (tap, i key or menu row), always gives a
picture a page of its own, and never ignores taps on the placeholder. The
default stays never until the firmware call exists.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-03 10:42:32 +11:00
CarpeNoctemandCopilot 13ef64c5c8 ebook: show images as [image: alt text] placeholders
Use the img alt text when the book gives one, including images wrapped in
svg (common for covers), and ignore closing img tags so one image makes one
placeholder.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-03 10:40:12 +11:00
Ender436 470ccb9b35 Merge branch 'ALLFATHER-BV:main' into protreck-local-time 2026-11-01 17:10:45 -07:00
CarpeNoctemandCopilot 7a20ff02bd ebook: survive store.get returning a table; keep saved positions under the store's line limit
On beta_101 store.get(key) of a missing key returns the store's own table,
not nil (storeGet reads the default from stack slot 2, which is the table by
then), so the first launch called :gmatch on a table. Only strings and numbers
count as stored values now, and the harness reproduces the quirk for this app.

The store reloads lines of at most 191 bytes, so the serialized reading
positions are capped at 180 bytes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-02 03:02:13 +11:00
CarpeNoctemandCopilot f98155ec9d Add Ebook app: read stored-zip .epub books from the app folder
Pure-Lua reader using wada.fs: chapters, three text sizes, remembered
position, touch/trackball/jog-wheel/keyboard navigation. Includes
scripts/ebook-prep.py to repack epubs uncompressed, harness scenarios,
and a store page entry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: CarpeNoctem <cryptomax@pm.me>
2026-11-02 01:41:34 +11:00
Michael A. CojocariandClaude Opus 5.5 d1571d91ca lua: Cyberspace app, wada.net.request over verified https, wada.json, label:on_press
A client for cyberspace.online (cIRC rooms, C-Mail, the Feed) as a store app,
and the SDK pieces it needed:

- wada.net.request{url, method, headers, body, max}: any method, request
  headers, the real status code. https:// runs in a one-shot TLS task with the
  chain verified against the ISRG roots (CAP_LUA_HTTPS: off on the P4 boards,
  where TLS runs on the C6 unverified, and on the 2 MB Heltec V4).
- wada.json.decode/encode in C; 64-bit integers come back as exact text.
- label:on_press(fn): a label becomes a tap / long-press / cursor target.
- wada.store: get(key) with no default returned the store table for a missing
  key; flush wrote past its 192-byte line buffer; changes now reach the card
  within 2 s instead of only on close.

Host tests: test/test_lua_json.cpp and scripts/lua-harness/cyberspace/run.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01He9DHEuLWYQHXVBnNzzD6E
2026-10-30 20:36:57 -04:00
Michael A. CojocariandClaude Opus 5.5 e86e53c95b lang: "Mark all as read" translated in the chat list menu (#775)
The row was an English placeholder in every language but Polish, so the
Chats menu item stayed English (Heltec V4 TFT, French). Filled in all 14,
in the full menu phrasing; the tooltip row "Mark all read" keeps its
shorter text. i18n_builtin.h regenerated, so the V4's compiled-in table
carries them too. The store copies follow with the next language store
version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01He9DHAqRzswrcCw39ZcTgB
2026-10-29 16:22:15 -04:00
Michael A. CojocariandClaude Opus 5.5 57caecbf68 i18n: pl placeholder rows for the strings this PR wraps
pl.lang landed on main after this branch's last rebase. The 8 keys this PR
newly wraps in TR() (30 sec, the sleep hint, File Transfer, the spectrum
peak readouts, the send/receive progress) go in as key<TAB>key, like the
other placeholders there. i18n-audit is clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01He9DHEChzoehLNNDyGUBGY
2026-10-29 08:44:03 -04:00
Michael A. CojocariandClaude Opus 5.5 381c024662 i18n: translations on the live keys; drop the ccToggle wraps
Four rows carried their translations on keys no source uses any more,
while the live keys stayed English. Each translation moves to its live
key, and the dead rows go back to main's value:
- "Export Backup" -> "Export backup"
- "No backups yet. Use Export Backup above..." -> "... Export backup ..."
- "turn on if ...; disables modifier latching" -> "Turn on if .... It
  turns off modifier latching." (now two sentences, like the key)
- "Normal\nLarge text\nHuge text" -> "Large text" and "Huge text"

The control panel's Timer and Screenshot labels only feed ccTipTitle,
which already translates those slots, so their TR() wraps are dropped,
and with them the "Timer" row nothing reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MjAKa5hXgyBykCLqnwcjEy
2026-10-29 08:41:53 -04:00
Michael A. CojocariandCopilot 8cc674f39a i18n: drop the #630 rows; they ship with #630
The Device page, keyboard protocol and setup wizard Bluetooth strings
(Hardware, Radio:, Keyboard:, the four keyboard protocol states and the
Bluetooth hint) are now added by #630 itself, so the code and its
translations land together. Keeping them here too would duplicate the
keys once both merge. Also drops two notes no code uses any more
('Older keyboard protocol is now in Settings > Device.' and
'Diagnostics are on the Device page.').

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-29 08:41:53 -04:00
Michael A. CojocariandClaude Opus 5.5 6ed67832d9 i18n: translate the Device page and first-boot Bluetooth strings (#596, #416)
The .lang lines that came with the Device section (#596) and the
first-boot Bluetooth switch (#416). They live here so those PRs carry
code only; i18n_builtin.h is regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yt7fNCKmafm9LtRjyuUmS
2026-10-29 08:41:53 -04:00
Michael A. CojocariandClaude Opus 5.5 c9e24a66c8 i18n: no em dashes in ru/uk; translate "Hardware"
The ru and uk "SD unavailable" lines used an em dash where the English
uses a hyphen. "Hardware" (the Device page's card title) is translated
for every language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yt7fNCKmafm9LtRjyuUmS
2026-10-29 08:41:53 -04:00
Michael A. Cojocari f461e18416 i18n: translate the 63 keys missing from every language (#418)
i18n-audit.py reported 63 TR() keys with no row in any .lang file (62 in
Czech), so they showed in English whatever the language: the beta
test-report form and its summary, the USB Files page, the backups list,
Settings > Display's screen timeout and UI-size options, the paste-key
hint, the BOOT unlock hint, the landscape-keyboard restart notice and
others. Added them to all 14 languages, using each file's existing
wording, with every printf conversion and line break matching the key.
i18n_builtin.h regenerated.

i18n-audit.py now reports every language "ok (1272 keys covered)", and
i18n-scan-unwrapped.py 0 unwrapped literals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zE15egJdCZ9nRBZmg1YUq
(cherry picked from commit e5e1e5583f)
(cherry picked from commit 613965699d89abef5d7ab27a6c1a8a8123560eee)
2026-10-29 08:41:53 -04:00
Michael A. Cojocari 3aa0b90232 i18n: translate the strings that still showed in English (#418)
i18n-scan-unwrapped.py reported 16 user-visible literals that never went
through TR(), so they rendered in English in every language. Wrapped them:
the 30 sec slider label, the Spectrum peak readout (and its two live
formats, which the scan cannot see), the T-Deck Max sleep banner, the File
Transfer status lines and page title, the USB Files title, and the Reboot
Now / Forget confirm buttons. The add-channel menu items and the control
centre's Timer / Screenshot captions were already translated (or unused)
inside their helpers; they are wrapped at the call site too, which the
scanner expects and which is harmless. Three app-page titles assigned
directly (Send advert, Known regions, Blocked users), where the scan cannot
see them, are wrapped as well. "Esc" is a key-cap name and joins SKIP_TEXT.

The sleep banner's English also lost its typo ("Asleep:Tap Screen").

Translated in all 14 languages, along with the Forget-keyboard question
and "Known regions", which were English copies in most files.
i18n_builtin.h regenerated. The scan now reports 0 unwrapped literals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zE15egJdCZ9nRBZmg1YUq
(cherry picked from commit 6e9b92c278)
(cherry picked from commit dce673f7906b405f777839c1b75e7ab1f9964a8e)
2026-10-29 08:41:53 -04:00
Michael A. Cojocari 6617111cef i18n: translate the message-scope strings (#594)
"Scope", "my region" and "another region" were blank in 12 languages,
and "ambiguous (several regions matched)" was an English copy in 13, so
the Info popup's Scope line stayed English. Filled them in using each
language's existing scope/region wording (e.g. Region & Reichweite /
Regionsbereich), and regenerated i18n_builtin.h.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016zE15egJdCZ9nRBZmg1YUq
(cherry picked from commit 38cbcb3afe)
(cherry picked from commit e916d09cd3726dd105706b01cc8ed54647cfdaf8)
2026-10-29 08:40:25 -04:00
Kaj SchittecatandClaude Opus 5.5 e119ff8a8d lang: placeholder rows for the strings #753 adds
49 new TR() keys (the Pager key help, Quiet now, Shift + knob level pill,
emoji and quick-reply hints, lock and theme notes), appended as key<TAB>key
to the 14 files #755 did not translate, and the 3 invariant ones (Backspace,
N, M C H A S) to de.lang, only where the key is absent. i18n-audit is clean;
i18n_builtin.h regenerated: unchanged (placeholders are not baked).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:30:48 +01:00
Kaj SchittecatandClaude Opus 5.5 b308c3311e Merge #755: German strings for the T-LoRa Pager (MrYoshii)
de.lang conflict: main's rows since the PR's base (picture dimming, the 19
missing rows) and the PR's German rows unioned, one row per key, the later
(translated) row kept. Header stays at main's ver: 31. i18n_builtin.h
regenerated with scripts/build/gen-lang-builtin.py; only the German table
changes (1334 rows).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:27:58 +01:00
Kaj SchittecatandClaude Opus 5.5 f6bcb445f8 apps: language store v31 (22 new rows: settings, map and dimming strings)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:18:37 +01:00
Kaj Schittecat add2104012 Merge wip/locale-2026-10-28: 25 more time zones, GPS wake and SNTP clock fixes (M9 half hour), size-matched accented letters, 19 missing language rows, Peers without rooms
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	deploy/apps/lang/bg.lang
#	deploy/apps/lang/cs.lang
#	deploy/apps/lang/de.lang
#	deploy/apps/lang/el.lang
#	deploy/apps/lang/es.lang
#	deploy/apps/lang/fr.lang
#	deploy/apps/lang/hu.lang
#	deploy/apps/lang/it.lang
#	deploy/apps/lang/nl.lang
#	deploy/apps/lang/pl.lang
#	deploy/apps/lang/pt-br.lang
#	deploy/apps/lang/ro.lang
#	deploy/apps/lang/ru.lang
#	deploy/apps/lang/sr.lang
#	deploy/apps/lang/uk.lang
#	src/ui-touch/i18n_builtin.h
2026-10-28 08:49:39 +01:00
Kaj SchittecatandClaude Opus 5.5 879a452300 lang: rows for every TR() key the files were missing, "Connections" among them
The Settings group heading "Connections" had no row in any language, so it
stayed English (CONNECTIONS above Polish rows). The headings come from
kSettingsGroups through `for (const SettingsGroupDef& g : kSettingsGroups)
... TR(g.title)`, and i18n-audit.py's range-for rule only recognised
`for (auto& x : table)`, so the key never reached the audit. The rule now
takes any element type.

The audit then lists 18 more keys added since the last pass (the old-contact
purge, vibration, browser-build notes, the web location prompt). All 19 get
a row in all 15 files: real translations in de, nl, fr, es, it, pt-br and pl,
English placeholders elsewhere. i18n_builtin.h regenerated (V4 +3.9 KB).
i18n-audit.py: every file ok.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:47:50 +01:00
Kaj SchittecatandClaude Opus 5.5 841258284a touch(theme): adjustable picture dimming for the background and the lock wallpaper
A background picture was always toned down by a fixed amount (night: x107/256,
then every pixel held to a luma of 64; day: lifted 60% toward white, held up to
200), and the lock-screen wallpaper always sat under a black veil of 105/255.
On a dark theme that left a picture barely visible. Both now take a step: Off,
Light, Medium or Strong.

- Settings > Theme > Background: "Picture dimming" under the picture's button,
  shown while Image is picked; part of the page's pending choices, saved by
  Apply and restart (bgImageFit applies it once at boot).
- Settings > Lock screen > Look: "Wallpaper dimming", applies the next time the
  lock screen shows (veil 0 / 40 / 72 / 105).

Strong is the default and an absent key reads as Strong, so nothing changes for
anyone until they pick a step: PictureDim.h holds the per-pixel step, and
test/test_picture_dim.cpp checks Strong against the old formula on 281k
samples, plus range, ordering and the per-step readability bounds. New keys
bg_dim and lock_dim are standalone uchar keys in the settings backup list.
Three new strings, rows in every .lang, i18n_builtin.h regenerated.
V4 (no picture option there): +1624 B flash, the string table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:27:17 +01:00
Kaj SchittecatandClaude Opus 5.5 1ee32105de touch(clock): Central Africa and 24 more zones, GPS wake no longer sets a stale time, every SNTP sync reaches the clock
Discord (gadgeteerza, ThinkNode M9, beta_100): no Central Africa zone, the
clock often half an hour behind on a Custom UTC offset, and "Sync clock from
system" with Wi-Fi on not always setting it.

Zones: the saved setting is an index into the zone table, and Custom used to
be "one past the list", so appending zones would have moved it. Custom now
keeps its id (16) forever and the new zones (Central/South/East/West Africa,
Egypt, Eastern/Western Europe, Moscow, Turkey, Arabia, Iran, Gulf, Pakistan,
Nepal, Bangladesh, Indochina, Singapore, Perth, Korea, Adelaide, Brisbane,
New Zealand, Argentina, Mexico City, Newfoundland) sit after it. The picker
shows its own west-to-east order and opens on the current zone.

Half an hour behind: not the offset. WadaNmeaLocationProvider::begin() kept
the parser's pre-rest sentence, so after a GPS saver rest the first loop pass
saw a "valid" fix, the 30-minute re-sync was due, and the clock was set to
the moment the receiver went to rest. begin() now clears the parser, and
UITask::setGpsPower(true) calls syncTime() so the core provider (V4 and
others) gets the same. test_gps_time_sync runs the real provider against a
receiver sending true UTC: the pre-fix provider set the clock 1801 s behind
after a 30-minute rest; now every set is within 1 s.

Sync from system: on the M9 the system clock is the device clock, so the
button copied a clock onto itself. And the Wi-Fi loop wrote only the FIRST
SNTP result into the mesh clock: SNTP's hourly re-syncs set the system clock
only, the PCF8563 kept its old value, and the hourly chip resync (#583)
pulled the clock back to it. Every completed sync is now written through
(SntpClockPush.h, test_sntp_clock_push), and the button with Wi-Fi up
restarts SNTP and says "Clock synced" when the answer lands.

test_time_zones: the legacy ids keep their zones, every zone's offset in
January/July/October, Egypt's DST edges, and all 65536 saved
(tz_zone, time_offs) byte pairs through the exact prefs path to localtime().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:19:39 +01:00
Ender436 4c5ea958ae ProTreck 1.3: local sun/twilight/moon times
Use wada.sys.datetime() for the status bar and localise the ASTRO event times without changing the astronomy. The local civil date drives the day-of-year, the UTC offset is re-read at draw time (DST and half-hour zones included), and a host without sys.datetime() falls back to UTC with explicit labels. Refresh ASTRO immediately on open and retry when the clock or GPS fix arrives. Add harness scenarios for local time, UTC+13/-10, half-hour zones, a live timezone change, no clock, and the UTC fallback.
2026-10-26 16:06:12 -06:00
JoshandClaude Opus 5.5 0ad5c90fb4 i18n(de): translate the T-LoRa Pager strings
German rows for the strings the Pager work added: vibration settings, the
battery gauge lines in the popup, chart, lock screen and screensaver, charge
limits, battery care and the low-battery warnings, the battery pack capacity,
the motion settings, the shortcuts and key help, the ship-mode power-off
notice, the knob hint in the emoji picker, the lock and battery settings
notes. Also translates two rows that still carried the English text ("Sound is
off", "Do Not Disturb is on").

The English placeholder rows main appended for #748 to #751 are replaced in
place (the last row wins), the new ones are appended, and the file's version is
left as it is. i18n_builtin.h regenerated with scripts/build/gen-lang-builtin.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Josh <8422439+MrYoshii@users.noreply.github.com>
2026-10-26 16:35:53 +01:00
Kaj SchittecatandClaude Opus 5.5 95a9481589 touch: beta_100 - release notes, language store v30 (Polish)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 15:04:51 +01:00
Kaj Schittecat 1afa19a35e Merge Pager PRs #748-#752 (MrYoshii): vibration, charger + fuel gauge, ship mode, BHI260AP motion, lock-screen wallpaper
Reviewed with follow-ups: shared vibrate key with #730, CAP_CST_BATT_NOTE
(Pager only), backup key cap 192, host tests against fake chips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	deploy/apps/lang/bg.lang
#	deploy/apps/lang/cs.lang
#	deploy/apps/lang/de.lang
#	deploy/apps/lang/el.lang
#	deploy/apps/lang/es.lang
#	deploy/apps/lang/fr.lang
#	deploy/apps/lang/hu.lang
#	deploy/apps/lang/it.lang
#	deploy/apps/lang/nl.lang
#	deploy/apps/lang/pl.lang
#	deploy/apps/lang/pt-br.lang
#	deploy/apps/lang/ro.lang
#	deploy/apps/lang/ru.lang
#	deploy/apps/lang/sr.lang
#	deploy/apps/lang/uk.lang
#	scripts/run-host-tests.sh
2026-10-26 14:19:25 +01:00
Kaj SchittecatandClaude Opus 5.5 7fb164a0e5 lang: placeholder rows for the strings #748-#751 add
73 new TR() keys (vibration, charger and gauge, battery care, low battery,
motion settings, ship-mode power-off), appended as key<TAB>key to all 15
.lang files so translators see them; English until translated. Appended at
the end and only where the key is absent, so no existing translation is
shadowed. i18n_builtin.h regenerated: unchanged (placeholders are not baked).
The 17 keys i18n-audit already reported missing on main are left as they were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 14:09:22 +01:00
Kaj Schittecat a341dc759d Merge PR #759 (kremers): PMTiles raster archives on the SD card, with zoom limits
Reviewed with follow-ups: CAP_MAP_PMTILES (off on the Tanmatsu), bounded
directories, uncompressed directories accepted, one log per bad archive, the
Map file row only with SD tiles on, host test with generated archives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	deploy/apps/lang/bg.lang
#	deploy/apps/lang/cs.lang
#	deploy/apps/lang/de.lang
#	deploy/apps/lang/el.lang
#	deploy/apps/lang/es.lang
#	deploy/apps/lang/fr.lang
#	deploy/apps/lang/hu.lang
#	deploy/apps/lang/it.lang
#	deploy/apps/lang/nl.lang
#	deploy/apps/lang/pl.lang
#	deploy/apps/lang/pt-br.lang
#	deploy/apps/lang/ro.lang
#	deploy/apps/lang/ru.lang
#	deploy/apps/lang/sr.lang
#	deploy/apps/lang/uk.lang
#	src/ui-touch/i18n_builtin.h
2026-10-26 14:05:45 +01:00
Kaj SchittecatandClaude Opus 5.5 0074940d9d lang: rows for the PMTiles map picker strings (#759)
The nine new strings of @kremers' Map file picker and zoom limit had no rows in
the .lang files. nl, de, fr, es, it and pt-br are translated, the other
languages carry the English text until a translator picks them up.
i18n_builtin.h regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:57:49 +01:00
Kaj Schittecat 2f47c9bc93 Merge wip/backup-2026-10-26: #734 SD bin download, #708 P4 SD after Launcher + honest restore, #692 Indicator map storage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	src/ui-touch/i18n_builtin.h
2026-10-26 13:57:20 +01:00
Kaj SchittecatandClaude Opus 5.5 dcdd72aab1 touch: Indicator map says it has no tile storage, not "reflash the tiles partition" (#692)
The SenseCAP Indicator's partition table has no tiles partition by design,
and its microSD slot is wired to the RP2040 co-processor, which this build
does not drive. The map fell through to the generic "Map storage error.
Reflash the tiles partition." advice, which no reflash can satisfy.

New CAP_TILE_STORAGE (default 1, 0 on the Indicator) picks an honest
message instead. New string in all 15 .lang files (de, es, fr, nl
translated).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:49:12 +01:00
Kaj SchittecatandClaude Opus 5.5 a57d1f2057 touch: screensaver option to keep north up (#706)
The Constellation is not heading-up: it places nodes by true bearing, but
for burn-in the whole picture turns slowly about you (half a degree every
5 s, a turn an hour, following the time since boot), so north and its N
marker go round with it.

Settings > Display > Screensaver gets "Keep north up" (off by default):
the turn stays at 0 degrees, so north is at the top. The few-pixel drift,
your own node's pulse and the status changing corners still keep pixels
moving. Stored as a standalone key (ssaver_north) like the other
screensaver settings: no schema bump, no migration. The row greys out with
the screensaver off, like the others.

CAP_SSAVER_NORTH_LOCK gates it, 0 on the Tanmatsu for its AppFS ceiling
(its screensaver keeps turning, as before). nl, de, fr, es, it and pt-br
translated; the other languages carry the English for now.

test/constellation_render's render takes CST_UPTIME_MS and
CST_NORTH_LOCK=1, to render the turn 45 minutes in, with and without it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:41:06 +01:00
Kaj SchittecatandClaude Opus 5.5 698546011c touch: T-Display P4 under Launcher: SD after a cold boot, missing store, honest restore (#708)
Based on @oumike's draft PR #709, made to compile and checked off-device.

- P4 SD: Launcher reads the card over SPI, and a card in SPI mode ignores the
  native-mode CMD0 every SD_MMC mount starts with until it loses power. After
  a failed first mount, power the slot off with all six SD lines driven low
  for 300 ms, then retry the first rung before the slower ones.
- P4 store: the boot log names the 'storage' partition and its size, or says
  it is missing (Launcher's own partition table from the app-only .bin), and
  a boot alert says identity, channels and contacts cannot be saved. No
  fallback onto another data partition: under Launcher that belongs to
  another app.
- Restore: uiImportBackup reports when the identity or node prefs could not
  be written (out_saved). The picker and File Transfer's Restore then say so
  instead of "Imported N contacts" and a reboot into an empty store. The
  BackupImport enum now sits outside the WADA_WEB_FILE_TRANSFER block (the
  draft did not build without it), and the web stand-in mirrors out_saved.
- Two new strings in all 15 .lang files (de, es, fr, nl translated).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:34:36 +01:00