Commit Graph
146 Commits
Author SHA1 Message Date
jpirnay 38d07d5f13 Merge branch 'master' of https://github.com/jpirnay/crosspoint-reader into feat-expose-override 2026-05-23 21:25:08 +02:00
jpirnay 62ac2fcec6 Remove debug logs 2026-05-23 19:58:50 +02:00
jpirnay ff93b152a3 Fix koreader sync regresssion 2026-05-23 13:20:01 +02:00
jpirnay a03f5faad5 Expose override menu 2026-05-23 10:24:12 +02:00
jpirnay f5dee12646 Ensure activitytracker updates get flushed to disk 2026-05-23 09:55:58 +02:00
jpirnay af98985050 Review comments 2026-05-22 14:13:19 +02:00
jpirnay cb3cfb6b22 Fixes 2026-05-21 23:29:35 +02:00
jpirnay 5bb3980dc0 Add quick resume 2026-05-21 23:13:28 +02:00
jpirnay 65418c2606 Phase 1 - basic architecture 2026-05-19 23:49:42 +02:00
jpirnay 7c1ffdb860 more teardown on deep sleep (Mirror #2060) 2026-05-19 19:51:49 +02:00
jpirnay c55a36c702 Implement silent reboot 2026-05-19 19:38:04 +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