Commit log

aa3c768 Print --recent events as we seek

Click to expand commit body
--recent seeks from newest events to oldest, so printing as we seek instead of
batching and printing in reverse changes this flag's message ordering to mirror
seek ordering: newest to oldest.

Amolith created

39647f0 exercise MMS rewriting for long msgs

Click to expand commit body
basically, add FakeFs and set MMS_{PATH, URL}, then fix things that
those two broke

Phillip Davis created

926f41d Actually exclude all property tests from unit target

Stephen Paul Weber created

33b9fb7 Less noisy tests

Stephen Paul Weber created

db34159 harden message_body generator

Click to expand commit body
as such, resulting nil/"" + fix tests:
- guard s.body with .to_s in to_catapult_possible_oob
- accept OOB-only stanzas in message handler guard
- fix tests that don't handle nil/empty message_body
- fix the main handler's guard to accept stanzas with a body OR media
- test_invisible_separator fixed, needed to bypass changes to the body
  from XML roundtrip
- discovered unholy geometries in webmock's JSON parsing

Phillip Davis created

6c68cc8 Replace log4r with ougai + yoink puts

Phillip Davis created

22e722a remove some stupid HTTP mocks

Phillip Davis created

1623a4e refactor: message_body into rantly extension

Phillip Davis created

15e3f20 accept 202 from Bandwidth messaging API

Phillip Davis created

8bf0263 refactor: extract BW_MESSAGES_URL into test_helper

Phillip Davis created

d8d57db make invisible separator tests less dumb and pass

Phillip Davis created

9b9bfae backport: handle non-exceptions in `panic`

Click to expand commit body
i suspect, but have no evidence, that this is motivated by
EM::HttpClient

Phillip Davis created

767302c hotfix URI parsing

Click to expand commit body
The following changes since commit 111ceaa651dea6a6c82555e8e7f0fcfb2b18fbfb:

  backport: handle non-exceptions in `panic` (2026-03-26 11:42:34 -0400)

are available in the Git repository at:

  https://gitlab.com/phdavis1027/sgx-bwmsgsv2.git 7658ce847544ccb59c6ccd4ce9f9717d5582a75e

for you to fetch changes up to 7658ce847544ccb59c6ccd4ce9f9717d5582a75e:

  URI.parse all the things (2026-03-28 11:43:25 -0400)

----------------------------------------------------------------
Phillip Davis (2):
      explicitly verify_peer in `call_catapult`
      URI.parse all the things

 sgx-bwmsgsv2.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Phillip Davis created

0612cb3 reject outbound messages containing invisible separator U+2063

Phillip Davis created

ac6daf3 dont allow outbound mms outside of NANP

Phillip Davis created

961321b backport: kill "API response to send"

Stephen Paul Weber created

c4b2010 backport: i love censorship

Phillip Davis created

71450dd Merge branch 'resend-all-and-multiple' of https://git.secluded.site/sgx-bwmsgsv2

Click to expand commit body
* 'resend-all-and-multiple' of https://git.secluded.site/sgx-bwmsgsv2:
  Add multiple numbers, file input, --all to resend-inbounds

Stephen Paul Weber created

3ca7726 backport: big prob == no prob

Phillip Davis created

85c71dc Backport hotfix, don't exit on exception

Stephen Paul Weber created

b6058eb Add multiple numbers, file input, --all to resend-inbounds

Click to expand commit body
Accept repeatable --number flags and --file for bulk number lists. Add
--all to resend to every customer, gated behind interactive confirmation
(type y/yes) or --force. Abort in non-TTY without --force.

Widen the event filter to match both 'in' and 'thru' messages, since
both are inbound from the customer's perspective.

Validate that --all is mutually exclusive with --number/--file, and that
at least one targeting option is always provided.

Amolith created

3d18a98 fix: filter_map broke on prod

Phillip Davis created

7404d81 fix: `.then` and early-return stream events

Click to expand commit body
- previous code used `.then` on a non-promise, which doesn't work on
  ruby 2.7
- also, early-return case failed to consider resend events, fixed that

Phillip Davis created

b20d069 document control code stripping

Phillip Davis created

39e82dc test(port-out-pin): invalid format returns error

Phillip Davis created

086cf8e test(port-out-pin): mismatched pins returns error

Phillip Davis created

603fca5 test(port-out-pin): complete nil pin returns error

Phillip Davis created

d1649c1 test(port-out-pin): complete success sets pin

Phillip Davis created

cc3b889 test(port-out-pin): execute rejects unregistered

Phillip Davis created

4eb32f4 test(port-out-pin): execute returns form

Phillip Davis created

916eab9 test(disco-items): unregistered user gets error

Phillip Davis created

809763b test(disco-items): ineligible tn shows no commands

Phillip Davis created

dc1564b test(disco-items): eligible tn shows port-out cmd

Phillip Davis created

03fc2fa test(disco-info): non-get produces no output

Phillip Davis created

ae8dbbb test(disco-info): gateway returns gateway identity

Phillip Davis created

5a5ba62 test(disco-info): user node returns user caps

Phillip Davis created

7dbe844 refactor: process_stanza -> test_helper

Phillip Davis created

4b389bb refactor: xmpp_error_{text,name} -> test_helper

Phillip Davis created

c1d4d3a refactor: move `invoke_webhook` to test_helper

Phillip Davis created

aa2d836 test(webhook): nil text with media, empty body

Phillip Davis created

91096d5 test(webhook): empty to returns 400

Phillip Davis created

4ee797e test(webhook): non-array to returns 400

Phillip Davis created

a437bc2 test(webhook): missing message/type returns 400

Phillip Davis created

b40e75e test(webhook): non-POST method produces no output

Phillip Davis created

5de9ba4 test(webhook): non-root URI produces no output

Phillip Davis created

f61d47d test(webhook): empty params produces no output

Phillip Davis created

1ab0958 test(webhook): unknown type sends notification

Phillip Davis created

a8c44ff test(webhook): empty text no media returns 400

Phillip Davis created

cd4762e test(webhook): resend emits stream event

Phillip Davis created

7cfd167 test(webhook): received emits stream event

Phillip Davis created