9c129df
print the time on startup to aid in debugging logs
Click to expand commit body
This mirrors what we did in jmp-fwdcalls commit 5901c10, but also adds
some more newlines to make it look nicer (which jmp-fwdcalls had
already).
Note that both mpx-catapult and sgx-catapult are being updated here;
aside from the new log line printing, there are no functional changes.
Denver Gingerich
created
73f30ab
fix schema: catapult_num now _jid to reflect usage
Click to expand commit body
The "catapult_num-N" keys have always stored the JID associated with N
so it makes more sense to call this "catapult_jid-N" - this is really
a "JID key", not a "number key" (hence the accompanying variable name
change). Furthermore, we will be adding another number-indexed table
to the schema soon ("catapult_fwd-N"), which will eventually be used
for forwarding calls, but is initially mostly a placeholder in the DB,
used only for sending verification codes via phone from jmp-register.
It makes much less sense to have "catapult_num-N" in this situation.
Denver Gingerich
created
e856b2f
number keys store JID as val, not list of size one
Click to expand commit body
This is for compatibility with jmp-register commit f7ee1fe (whose code
is not yet active), and for general simplicity and correctness. We
can now use SETNX to mitigate races rather than set-then-check-length.
Denver Gingerich
created
6989ab7
add shortcode support - simple translation for now
Denver Gingerich
created
7af1585
b205c55 ok - Content-Length may help Conversations
Denver Gingerich
created
b205c55
support HEAD to fix Conversations "File not found"
Denver Gingerich
created
f08c081
MMS now 2-way: send to XMPP user added via 5c2b063
Denver Gingerich
created
5c2b063
add MMS proxy so media URLs don't need Basic Auth
Denver Gingerich
created
e6b9fe0
continue 1c75de7: now saves and sends files as MMS
290b14a
fix for e62b487 - missing var, missed version bump
Denver Gingerich
created
e62b487
make up delivery receipt IQ id; prior use invalid
Denver Gingerich
created
ed87866
add/print version string on startup; 10 good start
Denver Gingerich
created
1c75de7
initial XEP-0234 support; rcv-only, no save or snd
Denver Gingerich
created
291cdb0
use list return sugar so creds usage more readable
Click to expand commit body
Thanks to singpolyma for the suggestion; use more Ruby-isms as I can.
Denver Gingerich
created
ba959c9
policy-violation now item-not-found on missing '+'
Click to expand commit body
This change was suggested by singpolyma; looks more correct to me too.
Denver Gingerich
created
4e93afe
update user-visible (C) notice; missed in 3af36c7
Denver Gingerich
created
287bc0d
don't echo message; have round-trip since dc203f3
Denver Gingerich
created
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
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