8db4e68
Lint ruby for style
Click to expand commit body
Configure rubocop linter and fix some inconsistencies in the existing code.
Stephen Paul Weber created
8db4e68
Lint ruby for style
Configure rubocop linter and fix some inconsistencies in the existing code.
Stephen Paul Weber created
373688b
abe7480 ver bump; eventually: auto-print commit ID
Denver Gingerich created
abe7480
merge in "Tell existing user they are registered"
This is slightly related to #3 as we need to use <registered/> there as well. And this commit should also make it less likely that the user will hit the "tries to register again" case mentioned there. See merge request !1 for the discussion and details behind this merge.
Denver Gingerich created
d1d1c5e
Tell existing user they are registered
Fill in the non-secret part of the form (the phone number they are currently registered with) and send back the <registered/> element.
Stephen Paul Weber created
4daf5c1
bail instead of crash on Gajim's bad <close/> sid
Denver Gingerich created
cb57cb9
Conversations "CHECK IMAGE SIZE" fixed w subscribe
Denver Gingerich created
f15bc1a
follow on to 19c57cf: fix register text source URL
Denver Gingerich created
26df072
presence-on-subscribe needed, ie. for deliver rcpt
Denver Gingerich created
4853ba6
fix canonical URL - the square braces are unneeded
Denver Gingerich created
19c57cf
add note regarding canonical location of this repo
Denver Gingerich created
226f261
add hourly ping to avoid Prosody auto-disconnects
Denver Gingerich created
66d1928
simplify localpart detection thanks to singpolyma
Denver Gingerich created
43aec7c
make stdout synchronous so easier to read log file
Denver Gingerich created
bf3ef36
fix delivery error name, send; tag needs +resource
Denver Gingerich created
5344748
internal msgs (from 8753120) get delivery receipts
Denver Gingerich created
8753120
if both users on sgx-catapult deliver msg directly
We don't support delivery receipts or picture messaging with this feature yet - those should be straight-forward and are coming soon.
Denver Gingerich created
9c129df
print the time on startup to aid in debugging logs
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
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
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
Denver Gingerich created
6f6af43
mistakenly printed "id" param (DNE); wanted "tag"
Denver Gingerich created
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
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 '+'
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
* 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
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