Commit Graph

6 Commits

Author SHA1 Message Date
yuancheng 2c815cec02 Revert 150-160MHz as "valid" for POCSAG frequency - hardware rejects it
Confirmed on real hardware: setting POCSAG frequency to 155MHz makes
MMDVMHost exit immediately with "Received a NAK to the SET_FREQ
command from the modem" - the MMDVM_HS_Dual_Hat's ADF7021 chips are
tuned for UHF and can't physically retune to VHF 150-160. Since
MMDVMHost controls DMR/YSF/NXDN/P25/POCSAG through one process, this
takes the whole modem down, not just POCSAG - matches the "DMR turns
red after setting POCSAG" symptom reported.

The earlier commit (that added this range as green/valid) was wrong;
it gave false confidence for a frequency that hard-crashes the radio
service. Back to the original 144-148/220-225/420-450/842-950 ranges.
2026-07-22 00:07:16 +08:00
yuancheng 53b0218f75 Fix over-broad .log-table header fix: lh.php/localtx.php are mixed-align
The previous commit (4c58f85f) put class="log-table" on lh.php and
localtx.php too, which forced *every* header left - but only
Time/Mode/Callsign/Target are actually align="left" in those two
files. Source/Duration/Loss/BER have no align attribute at all (plain
<td>), so they were already correctly centered - the blanket fix just
moved the misalignment from the first 4 columns to the last 4.

Replace with a new `.al` class applied only to the specific <th>
elements whose column is genuinely align="left", leaving
Source/Duration/Loss/BER headers on the sitewide centered default to
match their centered data. last_herd.php/local_tx.php are untouched -
every column in those two really is align="left", so table.log-table
(all headers) remains correct there.
2026-07-21 15:57:07 +08:00
yuancheng 4c58f85ff1 Extend .log-table header fix to the other left-aligned activity tables
mmdvmhost/localtx.php and dstarrepeater/last_herd.php + local_tx.php
share the exact same pattern as mmdvmhost/lh.php (fixed in e8a569a7 /
2bc8f7b0): every data row is align="left" but headers inherited the
sitewide centered table text-align, so captions visually drift from
their column's actual content.

Deliberately did NOT touch dstarrepeater/active_starnet_groups.php's
two tables - checked their td alignment first and both are mostly
align="center" (only one column/cell is left-aligned in each), so
their headers already match their data; adding .log-table there would
have broken the columns that were already correct.
2026-07-21 15:50:17 +08:00
yuancheng 7c93c30689 Remove backup/restore and factory reset; add APRS/POCSAG custom settings
- Remove admin/config_backup.php (backup/restore page) and all nav
  links to it across the admin pages and the expert-mode shared header.
- Remove factory reset: the full-device version in configure.php
  (JS confirm, POST handler that reset three git repos + wiped /etc
  config, and the hidden form) and the CSS-only version in
  expert/edit_dashboard.php.
- Remove the PiStar-Remote and BM API full editors
  (admin/expert/fulledit_pistar-remote.php, fulledit_bmapikey.php)
  and their links from the expert-mode menu.
- Add a "custom" option to the APRS server dropdown in configure.php
  so operators can type their own server + port instead of picking
  from APRSHosts.txt; wires the port through to ircDDBGateway,
  YSFGateway/YSF2DMR/YSF2NXDN/YSF2P25, and APRSGateway (previously
  only the hostname was ever configurable, port was hardcoded 14580).
- Extend the POCSAG frequency band validator (functions.js) to also
  treat 150-160MHz as a valid/green range.
2026-07-21 14:41:30 +08:00
yuancheng 0febcf69f4 main 2026-07-19 18:27:27 +08:00
yuancheng fe4b286ce1 main 2026-07-19 18:01:05 +08:00