Roland
e0324ce0fc
Migrating Controller from port 8087 to 80 so that it is more discoverable. Reformatting Controller dashboard to make header at the top. Reformatting navigation bar to handle the new links which prevented Admin from being visible in some screens.
2026-04-09 15:01:05 -06:00
Roland
b8a532c8d9
Key changes:
...
- Add MapLibre GL JS viewer with light/dark themes, terrain layer,
and embedded static map page for coordinate sharing
- Add map pin support with persistent map_pins.yaml config
- Add map region subscriptions and downloader with progress tracking,
sourcing pre-extracted PMTiles from a cold CDN
- Add map export to PNG and GPS coordinate copy via context menu
- Add MapViewer React component alongside reworked Map page
- Add map catalog and region-building script (build_map_regions.py)
- Remove OSM import/render scripts, leaflet files, Apache configs,
renderd service, and osm-map-dumper Docker container
- Update Caddyfile to serve PMTiles and map static assets
- Update build/install/repair scripts for Protomaps dependencies
- Drop map_file table, add/drop map_subscription table (alembic)
- Adding button to skip primary drive mounting during onboarding.
2026-04-04 13:48:19 -06:00
Roland
fbb71e012d
Replace nginx with Caddy for TLS termination and reverse proxying.
...
- Replace nginx with Caddy as the web server for both Docker and native
(RPi/Debian) deployments. Caddy handles HTTPS termination, reverse
proxying to all services (API, React app, Controller, Kiwix, Help, Map),
and serves the media/download file browsers.
- Generate a Root CA and signed leaf certificates for HTTPS. The Root CA
uses Name Constraints to restrict signing to local addresses only
(.local, localhost, and RFC 1918 private IP ranges), mitigating MITM
risk if the CA key is compromised.
- Add an HTTP landing page that guides users through one-time CA
certificate installation on iOS, Android, macOS, Windows, Linux, and
Firefox, with auto-redirect when the cert is already trusted.
- Add trailing-slash redirects for /controller, /docs, /media, and
/download so bare paths don't fall through to the React catch-all.
- Add a Root CA download link on the Settings page under Configs.
- Update help.sh diagnostics for IPv6 listener detection and HTTP/2
status codes.
- Remove all nginx config files and the https_proxy Docker container.
- Bump wrolpi-help submodule with certificate documentation.
2026-03-07 18:48:44 -07:00
Roland
1deaeb3144
Clearing cached python files in repair.sh. Creating reset_virtual_environments.sh script which deletes the virtual environments and rebuilds them (requires internet)
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run
2026-02-28 16:11:12 -07:00
Roland
f375e4c955
Generating nginx certs on first startup.
2026-02-24 17:14:56 -07:00
Roland
50782f47cc
Checking that map dump is valid before building image. Protecting map
...
dump file in built image so that it cannot be modified.
2026-02-15 14:49:19 -07:00
Roland
0e5c977471
Creating WROLPi Controller desktop icon.
2026-02-14 17:05:57 -07:00
Roland
b9158b60fe
Creating Controller service which will control WROLPi services, admin, SMART, disks, and status. nginx will fallback to Controller UI when React UI is unavailable (such as during upgrades).
2025-12-15 15:48:40 -07:00
Roland
a1e0fb4e92
Creating a new Collection model for use in organizing FileGroups.
...
Replacing Channels and Domains with Collection.
Moving downloading relationships from Channel to Collection.
Created domains.yaml config to manage tagged domain collections.
Adding turn-key upgrade solution in the UI.
2025-12-06 15:11:37 -07:00
Roland
24a0646f99
Updating MOTD to suggest ip addresses on login.
CodeQL / Analyze (push) Has been cancelled
2025-08-18 11:33:44 -06:00
Roland
da693f03cf
Build frontend app in repair script now that built app is restored.
2025-03-23 09:59:13 -06:00
Roland
af5d4dfd51
Disabling JIT for map database as recommended by mod_tile because of excess memory usgae.
2025-01-11 11:06:01 -07:00
Roland
11bdbc4dc7
Creating map db cluster in pi-gen build. Removing duplicate pgpass creation.
2025-01-04 10:51:14 -07:00
Roland
3285887a1b
Repairing openstreetmap-carto project.mml in case the port is removed by git, restarting renderd after map services are configured.
2025-01-01 17:58:33 -07:00
Roland
7324e83626
Creating script which migrates map database to new database for custom niceness.
2025-01-01 16:41:21 -07:00
Roland
7d6b7114a7
Adding TRACE level for logging beyond debug. Reworking async_client for tests, not all tests need the App to handle signals, so any test that needs signals can use the new await_switches fixture which primes the app.
2024-12-11 11:52:33 -07:00
Roland
2dd243230f
Adding two MOTD, one for before repair, one that is moved in after repair is successful.
2024-10-16 18:57:08 -06:00
Roland
218fb3e760
Replacing Tag names with escaped tag names to avoid errors in Tags Directory.
2024-10-16 18:56:10 -06:00
Roland
2ad363281f
Delaying map startup because it prevents the API from starting.
2024-10-16 18:56:00 -06:00
Roland
00c4e6ece0
nginx needs to serve downloads from the media directory.
2024-10-02 17:10:05 -06:00
Roland
2f43b34b79
Moving wrolpi user creation above usage.
2024-10-01 11:29:45 -06:00
Roland
0a2a8c0702
Enable apache headers during repair.
2024-06-18 16:58:53 -06:00
Roland
0640cdafda
Removing pi user requirement from pi build process and repair script.
2024-06-17 17:59:49 -06:00
Roland
305764ee38
Removing duplicate 000-default.conf config file copy.
2024-06-13 09:44:34 -06:00
Roland
38de2f9b40
Moving HTTP kiwix/help services to 9085/9086 ports. Nginx will serve HTTPS proxy for kiwix/help services at the old ports. Modifying apache2 to use HTTPS to serve map.
...
Using new https_proxy docker container to serve HTTPS for zim, map and help.
2024-06-12 21:38:51 -06:00
Roland
56d430df22
Making config directory during repair, but only if the media directory is mounted and empty.
2024-03-16 19:57:01 -06:00
Roland
ef94f2446a
Restart wrolpi help after repair as completed.
2023-11-22 12:36:00 -07:00
Roland
57262442bd
Installing WROLPi help environment for RPi and Debian.
2023-11-22 11:21:49 -07:00
Roland
a491ea7677
RaspberrypiOS now matches location of serve on Debian 12.
2023-11-22 10:47:10 -07:00
Roland
aabe57eac9
Adding wrolpi directory to global git safe directory.
2023-10-09 13:17:12 -06:00
Roland
8230174fcd
Map initialization script will only ask to reset if the map database exists.
2023-10-09 12:20:51 -06:00
Roland
cc6d20dac6
repair.sh will initialize map database if it does not exist.
2023-10-09 12:14:38 -06:00
Roland
7fd8a8527a
Reworking Debian install with real system.
2023-10-03 19:21:12 -06:00
Roland
6e0f9a999c
Combining install scripts into a new repair script. Removing create_db script in favor of repair script.
2023-10-03 12:15:29 -06:00