Commit log

81f33b2 add receipts through presence, XEP-0115, XEP-0184

Denver Gingerich created

dc203f3 deliver msg text; working full message round-trip

Denver Gingerich created

7cc634f first msg rcv: fix listen host, signal user re msg

Denver Gingerich created

3af36c7 some minor updates to the recently-merged 26d6c4f

Click to expand commit body
* include new copyright line, as the file has an additional author now
* split up the `require` lines a bit as we're not alphabetical anymore
* move/rename the HTTP listen port in the command-line parameters
* revert ARGV change since others missed in 26d6c4f; reordering anyway
* add comment to #write so I remember why it was added to begin with

Denver Gingerich created

26d6c4f Basic webhook handler using Goliath

Click to expand commit body
Demonstrates how to integrate Goliath into your EM reactor alongside
Blather.  And also how to send an XMPP stanza in response to a webhook.

Stephen Paul Weber created

2bcd0d8 send SMS (not rcv yet); using Net::HTTP, later: EM

Denver Gingerich created

965f2e6 terminate Redis server connection when appropriate

Denver Gingerich created

c8acc93 need to index by phone number for when SMS is rcvd

Denver Gingerich created

8a9f0bb more validation: num must be "+..", Redis ret code

Denver Gingerich created

65c0077 we only need to split string once to get bare JID

Denver Gingerich created

8ced3c6 commit credentials to Redis server upon validation

Denver Gingerich created

7465dac first use of Catapult: check number, return err/ok

Denver Gingerich created

591e2a3 update subscription closure notes/code for clarity

Denver Gingerich created

66cee34 remove trivial method debug lines & simplify code

Denver Gingerich created

275fdca replace custom data form hack w Blather::Stanza::X

Denver Gingerich created

3e5fa36 reply() does the hard work I've been doing myself

Denver Gingerich created

61a1558 icky XPath/namespace parsing is now Blather-native

Click to expand commit body
We used to catch all iq stanzas and do our own checks to see if they
matched the element name and namespace we were looking for.  Something
like this:

```
	query_node = i.children.find { |v| v.element_name == "query" }
	if query_node.namespace.href ==
		'http://jabber.org/protocol/disco#items'
		...
```

But singpolyma pointed out that this isn't necessary.  So now we use
Blather-native message filtering, and things are much prettier.  And,
more importantly, they are also much more correct.

This diff is fairly small because the largest blocks remain the same
(with the same indentation).  Smaller blocks were moved, de-indented.

Denver Gingerich created

7458aa5 implement fallback correctly; incorrect in 77c28c9

Denver Gingerich created

44ff0f0 instruction fix for 4a31c60; names now non-obvious

Denver Gingerich created

4a31c60 update form names to match XEP-0077 - Section 14.1

Denver Gingerich created

78af96f print out registration values; next step: use them

Denver Gingerich created

22e1bd5 add reg form (Psi/others need it), reply w success

Denver Gingerich created

8d16ce8 add description of what this actually is to README

Denver Gingerich created

77c28c9 add license, Gemfile, and technically-correct code

Denver Gingerich created

077826a and update the location of the README accordingly

Denver Gingerich created

2e58b93 update README so it uses better markup than GitHub

Denver Gingerich created

f7d045c Initial commit

Denver Gingerich created