Commit Graph
7 Commits
Author SHA1 Message Date
ancsemi 92738c2b09 Replace em dashes in server code comments and scripts 2026-10-10 16:08:55 -04:00
ancsemi fb0d6fb18d Replace em dashes in the docs and web pages 2026-10-10 16:08:55 -04:00
ancsemi 8e69c7ab3c Setup wizard: each step's label updates as it finishes
The label lookup also matched the spinner inside a running step's icon, so
the text was written there and lost; steps kept their starting text.
2026-10-03 11:35:12 -04:00
ancsemi a938fcb4db Setup wizard: Restore from a backup (#5713)
The first page of the setup wizard now offers Restore from a backup next to
Get Started. It takes a backup made with Messages ticked and brings back the
accounts, channels, messages, settings and (when included) uploaded files,
so there is no new admin to create and then import over. Data already on the
computer is kept as .pre-restore copies, a bad or partial backup is refused
before anything is touched, and the new .env names the restored admin. The
restore itself is installer/restore-backup.js, using the same extractor as a
restore from Settings.
2026-10-03 11:34:51 -04:00
ancsemi a3af38f915 The last empty catches: background polls, webhook retries and relay calls log, plugins and the installer say why
The server pass covered try/catch blocks; these were promise .catch(() => {})
calls it did not look at. Presence polls (Steam, Spotify, Last.fm), webhook
redelivery, the emoji data refresh and relay viewer changes now log a warning
when they fail. The two queue chains that swallow on purpose (Ferry sends,
relay restarts) say so, since the caller already sees the error. In the bundled
plugins and the installer each catch now gives its reason or logs, and three
try blocks around calls that cannot throw are gone. Test cleanup is unchanged.
2026-10-02 10:31:55 -04:00
Amnibro 4a4435afe0 Every install path uses Haven's own certificate generator (#5586)
4.5.0 taught the server to make its certificate itself, but Start Haven.bat, Install Haven.ps1 and the web installer still went looking for openssl.exe first and reported a skipped certificate as done. They now call the same generator through scripts/gen-cert.js, the certificate carries the CA and server-auth flags phones expect when you import it, and the guide and support page stop telling people to install OpenSSL. Reported by MutantRabbit767.
2026-09-08 17:23:38 -04:00
anmire 544824d9a7 feat: One-click installer, FCM mobile push notifications, push relay (#109)
Contributed by @anmire.

- One-Click Installer: Windows (.bat bootstrap + PowerShell WPF wizard), Linux/macOS (bash with package-manager auto-detect), web-based setup UI (installer/server.js + installer/index.html), Inno Setup script for Windows .exe
- FCM Mobile Push Notifications: src/fcm.js module supporting direct mode (Firebase service account), custom relay mode, or automatic Haven Global Relay fallback. No new runtime dependencies (uses existing jsonwebtoken). Hooks into sendPushNotifications alongside existing web-push.
- Push Relay: haven-push-relay/ — standalone Express relay server + Firebase Cloud Function for self-hosted relay deployments
2026-03-01 21:27:58 -05:00