Tim Abbott
db3905475c
zephyr_mirror: Fix case where we're not forwarding class messages.
...
(imported from commit c40ae12522dcf3a7c3b02d92dbc230c8b4c582ac)
2012-10-12 10:16:20 -04:00
Tim Abbott
3071afe3d4
zephyr_mirror: Automatically subscribe to streams in ~/.zephyr.subs.
...
(imported from commit b28b28a81416c52813975c2cdbf65d282deec3df)
2012-10-11 16:28:51 -04:00
Keegan McAllister
717186a149
zephyr_mirror: Don't un-HTML-escape messages forwarded to MIT
...
The messages coming in from the API should no longer contain these entities,
unless the user typed them.
(imported from commit d6b6aa300557d4603c68ffc3b5966115a5787aae)
2012-10-11 15:01:54 -04:00
Tim Abbott
6aac490dc8
zephyr_mirror: Get new classes to subscribe to from the humbug server.
...
(imported from commit 7cf321cdc97cf10719ca89b4ee1e7c2e8d979e40)
2012-10-11 14:49:04 -04:00
Tim Abbott
705dc202bf
zephyr_mirror: Forward instances longer than 30 characters.
...
(imported from commit af0b2fbbcc8dee13dd70084d4f81a841193bd812)
2012-10-11 11:53:57 -04:00
Tim Abbott
ea07716d32
Rename instance to subject.
...
(imported from commit 6b4693da03f106448c137cf81cf9801cac44f2b8)
2012-10-10 18:01:39 -04:00
Tim Abbott
567256ede0
Change send_message to accept a stream, not a class.
...
(imported from commit 0f58de2502bec227f5f33e44692d03f2f28d6f63)
2012-10-10 17:48:17 -04:00
Tim Abbott
f4150479a8
Rename Recipient.CLASS to Recipient.STREAM.
...
(imported from commit a530194163f7260c73921137fa1ff671f14516f6)
2012-10-10 17:47:13 -04:00
Tim Abbott
9915ebf3ed
zephyr_mirror: Print out the message before logging it.
...
This should make debugging easier.
(imported from commit 101bab269b98ee5c2f56780d97e6b94c0887a306)
2012-10-10 16:33:23 -04:00
Tim Abbott
1fe29ac836
Make instance names lower case when mirroring zephys.
...
(imported from commit 7e55f2339bb242ae29a7ee4db5c5f2bd654e8f7e)
2012-10-09 10:55:42 -04:00
Tim Abbott
283b973bc5
Rewrite API to use the Python requests library.
...
(imported from commit 314cf906eb25ea46f580ca70852b9d3478531229)
2012-10-04 17:25:58 -04:00
Tim Abbott
fa349af466
Forward messages with non-null non-ping opcodes.
...
(imported from commit 4b1a8749f05624891f4d9996188e9597eeb234f1)
2012-10-04 17:25:58 -04:00
Tim Abbott
8f1a418fd0
Slightly increase the leniency for forwarding 'old' messages.
...
There are non-buggy situations when it can be higher than 5 seconds.
(imported from commit cc63c0bdb10a201cc30c17854e5a506bac7e68d7)
2012-10-03 17:08:32 -04:00
Tim Abbott
d2a43dd6e1
Convert zephyr_mirror humbug sending to use the API.
...
(imported from commit 948a12a1dca903c47b7427248688f2079c7eecdb)
2012-10-03 16:50:29 -04:00
Tim Abbott
e01519e8b7
zephyr_mirror: Drop PING messages earlier.
...
This simplified debugging.
(imported from commit 4571901a5349d5ec1ec9246c94edb65e016160ac)
2012-10-03 13:48:29 -04:00
Tim Abbott
18b87a0ede
zephyr_mirror: Fix bug computing recipients when sending huddles.
...
(imported from commit c6a7eadfa9cd007945d423e4e93f088857897e26)
2012-10-03 13:48:29 -04:00
Tim Abbott
9ada692a9a
Rename forge_zephyr to forge_message.
...
(imported from commit aa2dc6e24a9c1bd6be09bfa26241663ae143cef9)
2012-10-03 12:27:34 -04:00
Tim Abbott
3d29bc9d24
Fix new_zephyr => content conversion for zephyr mirror script.
...
(imported from commit 2bcc46749efce5c0ee693abfb13cf460b31f99d7)
2012-10-02 17:52:41 -04:00
Tim Abbott
0bb3717079
zephyr_mirror: Rewrite to use the API.
...
(imported from commit 6d3bce15eb045f28897abb6ddcdbea8e10629a7d)
2012-10-02 17:19:42 -04:00
Tim Abbott
8c875b26fe
zephyr_mirror: Move to the API subdirectory.
...
(imported from commit cea9809770e66ceb7baf63c444715e01ed97aa8c)
2012-10-02 15:49:25 -04:00