15 Commits

Author SHA1 Message Date
alan 7ecc12b747 LAN discovery: server advertises _pipelines._tcp over mDNS; app finds servers on the connect screen
Server: internal/discovery publishes a DNS-SD record (hashicorp/mdns) with
the port LAN clients dial (the web proxy via -mdns-port, which the
supervisor passes, or a non-loopback -addr) and TXT v, name, path, tls, auth.
On by default; -mdns=false or PIPELINES_MDNS=off disables it. Failures are
logged and never block startup; the advert is withdrawn on shutdown.

App: the Connect to Pipelines screen gets 'Find servers on this network'
behind a ServerDiscovery interface (Bonsoir: Android NSD with multicast lock,
iOS Bonjour with NSLocalNetworkUsageDescription and NSBonjourServices).
Tapping a server fills the address and connects; manual entry stays. Web has
no scan.
2026-11-03 14:54:54 +00:00
alan 4503febb07 App icon: the Pipelines tab glyph in white
Replaces the coloured graph with the Pipelines tab's own glyph (Material
account_tree, outlined, taken from the MaterialIcons font) in white on the
dark background, across Android, iOS and web.
2026-11-01 20:03:26 +00:00
alan d300fdc5a5 New app icon: a pipeline graph instead of the P
One stage forks into two parallel stages that rejoin in a finished ring, in
the app's palette on the dark background. Updates the Android adaptive,
themed and legacy launcher icons, the status-bar icon, the iOS icon set and
the web favicon and PWA icons, and adds the generator under tool/app_icon.
2026-11-01 18:02:34 +00:00
alan 826e420423 Deliver server notifications from the Android app itself
A native foreground service keeps an authenticated websocket to the
connected server (handed over by the app on every connect), subscribes with
a replay cursor, shows each notification with kind-based channels and
grouping, opens pipelines:// links on tap, and clears taps, dismissals and
cross-device clears. It starts at boot and app launch, backs off and follows
network changes. Settings gains the delivery switch, status, notification
and battery-exemption actions, and the server's optional ntfy_enabled
toggle.
2026-11-01 02:21:22 +00:00
alan 0aa0f9edc9 feat(app): open chats from pipelines://chat/<id> notification links
The app routes pipelines://chat/<id> to that chat, alongside the
existing pipelines://run/<id>, and Android registers the chat host so a
tapped ntfy notification opens the app on it.
2026-10-30 20:35:06 +00:00
alan f9dda00634 fix(app): use Pipelines as the installed display name 2026-10-24 09:33:34 +01:00
alan b499da304d feat(app): configure and safely switch multi-address servers 2026-10-24 03:04:53 +01:00
alan f28418cc62 fix(app): release builds keep JNI-called plugin code, so settings, sign-in and drafts are saved on the phone 2026-10-24 00:16:21 +01:00
alan dd324d1f92 feat(app): artifact viewer actions are bottom icons; swipe pages; native download, share and open in browser 2026-10-23 22:43:35 +01:00
alan 4619e905a9 feat(app): the app and its web build use the Pipelines icon 2026-10-23 21:29:48 +01:00
alan 6152292aff feat(app): Check for updates downloads the server's newest APK and opens the installer 2026-10-23 19:59:03 +01:00
alan a74a618c94 feat(app): native system notifications for runs and chats that need you 2026-10-23 19:56:14 +01:00
alan a57a847631 feat(app): pipelines://run/<id> notification links open the run on Android and iOS 2026-10-23 15:08:51 +01:00
alan 522f5a3ae0 build(android): declare the internet permission for the next client 2026-10-22 11:49:20 +01:00
alan 0e0ef5450e feat(app): scaffold isolated Flutter client and parallel work contracts 2026-10-21 13:14:07 +01:00