mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-11 01:26:37 +00:00
Compare commits
2
Commits
v3.8.1
...
734adfba7d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
734adfba7d | ||
|
|
58aff7b7f0 |
@@ -125,6 +125,19 @@ New modules a plugin may import via `src.*` (floor on 3.5.0):
|
||||
fetched, which keeps the peak memory of a four-capped-month fetch to about
|
||||
16 MB over the sequential path rather than 43 MB — `docs/LOW_MEMORY_BOARDS.md`
|
||||
puts a 1 GB Pi 3B+ at under 200 MB of headroom.
|
||||
- `ESPNDataSource.fetch_standings` asks each league the endpoint that league
|
||||
actually publishes. It tried `/standings` first whatever the league and fell
|
||||
back to `/rankings` only on a 404, but college leagues answer `/standings`
|
||||
with a 200 that carries no poll, so the fallback never fired: the rank badge
|
||||
simply never appeared and anything keyed off rankings quietly did nothing.
|
||||
Endpoints are now ordered by whether the league publishes a poll, and a 200
|
||||
that lacks the key counts as a miss, so a league answering both still ends up
|
||||
with whichever carries the poll. Only a 404 is routine — that is how a league
|
||||
says it has none; a connection error, a timeout or an unparseable body is
|
||||
logged as an error again, and a bug raised while inspecting the payload is no
|
||||
longer swallowed as a missing poll. This is the implementation the football,
|
||||
baseball and hockey boards already ship; core was the last copy on the old
|
||||
one.
|
||||
|
||||
### Scrolling
|
||||
|
||||
@@ -354,6 +367,19 @@ New modules a plugin may import via `src.*` (floor on 3.5.0):
|
||||
budget, so a rollback finishes inside the unit's 30-minute limit instead of
|
||||
being killed mid-way.
|
||||
|
||||
### Installers
|
||||
|
||||
- The generated `ledmatrix_web` sudoers rules are parsed before they are
|
||||
installed. Both installers built the drop-in from `which` lookups and copied
|
||||
it into `/etc/sudoers.d` without ever checking it, and a malformed file there
|
||||
makes sudo refuse every command for every user — on a headless Pi, that is
|
||||
unrecoverable over SSH. `first_time_install.sh` now runs `visudo -c` on the
|
||||
generated file and, if it does not parse, prints what visudo said and leaves
|
||||
the installed file untouched instead of replacing it with a broken one;
|
||||
`configure_web_sudo.sh` does the same before offering the rules for
|
||||
confirmation. `first_time_install.sh` also built that file at a fixed `/tmp`
|
||||
path as root; `mktemp` now picks the name.
|
||||
|
||||
### Small fixes (update-all, plugin system settings, scripts)
|
||||
|
||||
- **Check & Update All** counts a plugin that had nothing to update as
|
||||
|
||||
Reference in New Issue
Block a user