Commit Graph
136 Commits
Author SHA1 Message Date
jpirnay a2161f067e Implement silent reboot 2026-05-19 19:39:40 +02:00
jpirnay ffa8ab0911 Revert "USB serial logs now flow on cold+warm boot without jiggle (#2034)"
This reverts commit c539c11a74.
2026-05-19 18:15:34 +02:00
jpirnay c539c11a74 USB serial logs now flow on cold+warm boot without jiggle (#2034) 2026-05-19 13:09:22 +02:00
jpirnay d492684393 Prperly use font override on boot 2026-05-17 14:01:22 +02:00
jpirnay 85749b9991 Fix 2026-05-15 10:06:09 +02:00
jpirnay 2e1db2ec68 Moe changes 2026-05-15 00:21:31 +02:00
jpirnay 25e1a64eb8 More fixes 2026-05-15 00:02:16 +02:00
jpirnay 07bdb10842 Fix button navigation 2026-05-14 18:44:49 +02:00
jpirnay f4e5de741d Review comments 2026-05-13 21:23:32 +02:00
jpirnay 60f326cb7f Use upstream 2026-05-13 14:56:25 +02:00
jpirnay 4982f803a7 A couple of fixes 2026-05-11 23:02:27 +02:00
jpirnay 2b1dbb6737 Add extended TiltModel 2026-05-11 16:29:40 +02:00
jpirnay 68206447fa Reload document on boot again 2026-05-10 21:57:18 +02:00
jpirnay 12bd9c46d7 Allow short press for X3 2026-05-10 21:44:11 +02:00
jpirnay 5304086bcd Fixes 2026-05-10 21:06:55 +02:00
jpirnay a0aee0ba1b SD-card firmware update + X3 bootloader compatibility (#1786) 2026-05-07 19:38:12 +02:00
jpirnay b8f2ecf23d Rework logic 2026-05-06 21:38:00 +02:00
jpirnayandCopilot b0abcb3894 Amend startup logic
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 13:49:48 +02:00
jpirnay 6eae99362d Add orientation change to button actions 2026-05-04 13:27:40 +02:00
jpirnay 770688dc72 Amend button behaviour 2026-05-03 16:18:31 +02:00
jpirnay 99c5f7207c Merge pull request #163 from jpirnay/feat-sdfonts-ui
feat: Complete sdfonts integration
2026-05-02 21:08:07 +02:00
jpirnayandCopilot 06dfc6c50b Recover parts of the regression fiasco
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 18:19:23 +02:00
jpirnay fd111fbf98 Fix screenshot button bleed through 2026-05-01 16:07:48 +02:00
jpirnay aa9fae16d9 Integrate upstream #1392 by adriancaruana 2026-04-28 10:00:22 +02:00
jpirnay ea99b764ce Review changes 2026-04-27 14:38:20 +02:00
jpirnay adc0a52af1 Some fixes 2026-04-27 13:52:55 +02:00
jpirnay edf7ce1ae2 Review comments 2026-04-26 17:57:26 +02:00
jpirnayandCopilot 3046a1a94a More cleaningup
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 17:12:52 +02:00
jpirnayandCopilot f0fe02d77a Update logic to avoid collision
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 16:46:22 +02:00
jpirnay a1d0ddec49 Introduce extended button handler 2026-04-26 12:26:29 +02:00
jpirnay 9621dc1181 Cleanup startup 2026-04-23 16:44:27 +02:00
Arthur TazhitdinovandCopilot c867669560 feat: Support for multiple OPDS servers (#1209)
* Add support for configuring and using multiple OPDS servers, replacing
the previous single-server limitation. Closes
https://github.com/crosspoint-reader/crosspoint-reader/issues/1178
* New OpdsServerStore singleton (modeled after WifiCredentialStore) that
persists up to 8 OPDS servers to /.crosspoint/opds.json with MAC-based
password obfuscation.
* One-time migration from legacy single-server fields in
CrossPointSettings to the new store on first boot.
* New OpdsServerListActivity for the device UI — works in two modes: a
settings list (add/edit/delete servers) and a picker (select which
server to browse). When only one server is configured, the picker is
skipped automatically.
* Renamed CalibreSettingsActivity → OpdsSettingsActivity for clarity. It
now edits individual OpdsServer entries (name, URL, username, password,
delete).
* OpdsBookBrowserActivity now receives an OpdsServer at construction and
uses its credentials for all fetches/downloads, and shows the server
name in the header.
* HttpDownloader::fetchUrl and downloadToFile accept optional per-call
username/password parameters instead of reading from global settings.
* REST API endpoints on CrossPointWebServer: GET /api/opds, POST
/api/opds, POST /api/opds/delete — passwords are never exposed over the
API (only a hasPassword flag), and omitting the password field on update
preserves the existing one.
* Web UI (SettingsPage.html) with dynamic OPDS server management cards —
add, edit, save, and delete servers from the browser.
<img width="932" height="906" alt="SCR-20260416-stvu"
src="https://github.com/user-attachments/assets/a8f18d84-4204-46a0-bb31-b73d24b3255f"
/>

* The OpdsServerStore JSON format and obfuscation scheme are identical
to WifiCredentialStore, so the same JsonSettingsIO infrastructure
handles both.
* The web API uses POST /api/opds/delete instead of DELETE /api/opds
because the ESP32 WebServer doesn't support the DELETE method with a
request body.
* Existing single-server configurations are migrated automatically — no
user action required. After migration the legacy CrossPointSettings
fields are cleared so it only runs once.
* The HttpDownloader changes are backward-compatible: the credential
parameters default to empty strings, so existing callers are unaffected.

---

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**< YES >**_

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-23 11:14:50 +02:00
jpirnay 7da8b335ab Review comments 2026-04-21 22:16:23 +02:00
jpirnay 157a19ff35 Address cppcheck issue 2026-04-21 22:04:07 +02:00
jpirnay 4efbc035ba Try resetting the version info 2026-04-21 21:47:30 +02:00
jpirnay bc1b0499fd Fix unnecessary X3 battery drain 2026-04-19 19:22:48 +02:00
jpirnay 2f4cea3706 Add Global Bookmark feature 2026-04-15 09:32:52 +02:00
jpirnay b39c4710d2 Integrate upstream 1626 + 1658 2026-04-14 10:00:46 +02:00
jpirnay 66e76b2949 Optimize startup order 2026-04-12 23:24:43 +02:00
jpirnay bec30e3403 Review fixes 2026-04-12 22:25:12 +02:00
jpirnay df3fec574d Add submenus 2026-04-12 14:21:48 +02:00
jpirnay 1459e9fb61 Revert "Prevent render conficts (hopefully)"
This reverts commit 0f2ab3b39d.
2026-04-09 23:41:09 +02:00
jpirnay 0f2ab3b39d Prevent render conficts (hopefully) 2026-04-09 23:31:18 +02:00
jpirnay 72a2a91550 Add UI support for darkness levels 2026-04-08 19:24:17 +02:00
jpirnay 4f00ed6348 Fast wakeup (not waiting for button release) 2026-04-06 10:07:50 +02:00
jpirnay 633cc04f41 Additional checks 2026-04-06 09:56:27 +02:00
jpirnay 213ebfc016 Second attempt at proper debouncing 2026-04-06 09:48:11 +02:00
jpirnay 2d6d14af1f Making screenshot command device dimensions aware 2026-04-05 11:29:23 +02:00
jpirnay 7e2291915f Merge branch 'x3-support'
# Conflicts:
#	lib/GfxRenderer/GfxRenderer.h
#	open-x4-sdk
2026-04-04 10:05:14 +02:00
Justin Mitchell 0db9d93f1c feat: add Xteink X3 hardware support
Adds HAL-level support for the Xteink X3 (SSD1677 controller, 792x528
display). Includes device detection, display initialization, button
mapping, power management, and theme adjustments for the X3 form factor.
2026-04-03 04:04:17 -04:00