WaboSign 1.3.0
Adds three new SMS providers alongside the existing BulkVS integration.
Added
- Twilio — form-encoded POST to the Messages API; Basic Auth with
SID:Token; treats a201response carrying anerror_codeas a failure. - VoIP.ms — query-string-auth GET to
sendSMS; treatsstatus != "success"as a failure even on HTTP 200; enforces the API's 160-byte hard cap before dispatch. - SignalWire — Twilio-shaped client targeting the per-account Space URL host; strips
https://and any trailing/from the user-supplied space URL. - /settings/sms — dynamic provider select driven by
Sms::SUPPORTED_PROVIDERS, per-provider field blocks toggled by a nonce'd inline script (the app's CSP requires nonces on inline JS). - SMS.md — per-provider "Configuring …" sections, wire-format quick-reference table, updated extension and status-code map sections.
Changed
- lib/sms.rb dispatches via per-provider classes and delegates the "is this configured" check to each provider — replaces the BulkVS-only hardcoded gate in
enabled_for?. - app/controllers/sms_settings_controller.rb extends the preserve-secret-on-blank-edit pattern (used for BulkVS) to all four providers' password/token fields via a
SECRET_KEYSarray. - Existing BulkVS configs keep working unchanged — credentials remain in their existing keys; the
providerkey defaults tobulkvswhen absent.
Notes
- Released image:
ghcr.io/wabolabs/wabosign:1.3.0(also tagged:latest). - This release is a fast-follow on 1.2.0 — same upstream-sync state, plus the SMS providers.