Tim Abbott
f7689d400f
zephyr_mirror: Improve retries for forwarding back to MIT.
...
(imported from commit b8a4b3b9d0d27eae1e604db2c308b109009278d6)
2012-10-02 14:08:00 -04:00
Tim Abbott
c36790c7ba
zephyr-mirror: Fix race where we'd miss some messages.
...
(imported from commit b807bf3a487fa67ad4bceece37d899a0b13c4418)
2012-10-01 14:48:04 -04:00
Tim Abbott
864a51f424
Force all zephyr mirror users into @mit.edu domain.
...
(imported from commit 58c9038164d7bddbb4c0d4d27582580448ae8cdc)
2012-10-01 14:36:12 -04:00
Tim Abbott
720813ea7b
Print timestamps to zephyr mirror console.
...
(imported from commit 9aacfc5384d70cd627e78577c4f8ef3d25fc7942)
2012-10-01 14:36:12 -04:00
Tim Abbott
ce979592b0
Don't send zsigs to the Humbug server.
...
(imported from commit 376dcda28063466de3dbc3a461130218bfd49d7b)
2012-10-01 14:36:12 -04:00
Tim Abbott
f224ba72d4
Add TODO for why the current message getting API is bad.
...
(imported from commit 40b80e9ba190e2eba790a39039dafd6485ec469f)
2012-09-28 21:13:51 -04:00
Tim Abbott
b4f7165072
zephyr_mirror: Add print statement for message download retries.
...
(imported from commit 8fc38d709679371ca338e7d819f3cf5e6d061935)
2012-09-28 21:13:16 -04:00
Tim Abbott
13e1984bbd
zephyr_mirror: Fix last hardcoding of starnine@mit.edu.
...
(imported from commit de2a00451428ecdc44380528e4ca88bfeacdb9ab)
2012-09-28 18:09:19 -04:00
Tim Abbott
f5000c16ce
Default to not logging zephyrs sent by tool.
...
(imported from commit 7f4193390b8a7a68b321775d1701a4ddf20c8bfc)
2012-09-28 17:39:35 -04:00
Tim Abbott
ee1ba168e0
zephyr_mirror: Fix some handling of case when forwarding.
...
(imported from commit 780da6f5486c6901b288cc95ed534b449bd9b6b8)
2012-09-28 16:35:54 -04:00
Tim Abbott
c9edd4085f
zephyr_mirror: Add code to re-login if we lose connection.
...
This isn't totally tested since it's a little hard to produce the
exact behavior, but it's worth a try.
(imported from commit 7f29f181bbf5b82aed2ce63e29a11611b69485e2)
2012-09-28 16:35:54 -04:00
Tim Abbott
06ee153faa
Use zero-width characters for message loop checking.
...
(imported from commit 61f6dca96cd1d8431258afc0181e71d5b709e300)
2012-09-28 15:57:51 -04:00
Tim Abbott
0a4366ea6b
Genericize zsig computation.
...
(imported from commit 264b1f0d2177fe22e0f373b7ecf8f6c75c8438ca)
2012-09-28 15:57:51 -04:00
Tim Abbott
5d4bcb7f3e
zephyr_mirror: Made debugging output more brief.
...
(imported from commit 521b9631ddb9c1ec9ea8f37574591d3449a76336)
2012-09-28 15:57:51 -04:00
Tim Abbott
8ffba78d89
Wrap messages sent back to zephyr.
...
(imported from commit 7c307a2fe461e94b2cf96d11511249a9f73dbe55)
2012-09-28 14:39:50 -04:00
Tim Abbott
fd944c3c81
zephyr_mirror: Automatically add Tim's python-zephyr to sys.path.
...
(imported from commit 045d24c6c5c04747287f47f14540dc0dc9b4295e)
2012-09-28 14:39:42 -04:00
Tim Abbott
b872536621
Remove the tabbott-test4 handicap on syncing class messages.
...
(imported from commit dc6545ec7da73bde72d16b752b69132e4a086ad9)
2012-09-27 17:54:47 -04:00
Tim Abbott
ccee128d61
New prototype zephyr mirroring system with bidirectional support.
...
(imported from commit cfb95ae8d0a241e7c068106e561dc18e16461596)
2012-09-27 17:33:21 -04:00
Keegan McAllister
20240d869c
Rename get_updates_longpoll to get_updates
...
(imported from commit 15635904584b324bdfa1414caea12c3bc4ce54c8)
2012-09-27 15:46:36 -04:00
Tim Abbott
5a80f5248a
zephyr_mirror: Truncate instances for now.
...
(imported from commit 43487c86c4847baba4500665a735547c9d8e8098)
2012-09-27 15:17:53 -04:00
Tim Abbott
e65f45d64d
zephyr_mirror: Remove markdown import.
...
(imported from commit 0e7198b9bce5f0f44960918e543c87d4d9165ac1)
2012-09-26 18:26:14 -04:00
Tim Abbott
4458c8f3d7
Fix unicode issues.
...
(imported from commit 542dc67a3d2e2d44ef212354b38e4f8212ddef64)
2012-09-26 16:46:32 -04:00
Tim Abbott
5a1c7c4903
zephyr_mirror: Improve unicode handling etc. for forwarding zephyrs.
...
(imported from commit 75dda82a0abd0c8643f13fdb0111c6dd7e31f746)
2012-09-26 15:31:59 -04:00
Tim Abbott
c11f35a749
zephyr-mirror: Testing support for syncing back to MIT.
...
(imported from commit 4d08311f72c296906035f06e635a60ec99a1a6ab)
2012-09-26 15:27:04 -04:00
Tim Abbott
62f6cd77d6
zephyr_mirror: Hopefully fix unicode decoding issues.
...
(imported from commit 48d88b09b3fe8bc9d6328477ef2bd089ab77e8e6)
2012-09-26 14:51:15 -04:00
Tim Abbott
62e2838c58
zephyr_mirror: Rename send_zephyr to send_humbug.
...
(imported from commit e95b430ee46cb681661b0dd458530150317fe4c7)
2012-09-26 10:44:47 -04:00
Tim Abbott
2a1503fd35
Hopefully fix huddle message deduplication with MIT sync.
...
(imported from commit bccaa67d02e72b1c444d39b019d5bd87800b1441)
2012-09-24 16:30:24 -04:00
Tim Abbott
11e5e8785d
Preparation for syncing messages back to MIT.
...
(imported from commit 551b697366702de93579de259a9bc644be8d66ec)
2012-09-24 14:31:40 -04:00
Tim Abbott
a8e83040e5
Add support for specifying per-user MIT subscription lists.
...
(imported from commit d6e91917c071e59b5611bfefe326ac47684299c3)
2012-09-24 10:51:49 -04:00
Tim Abbott
f960c21931
zephyr-mirror: Add support for syncing huddles.
...
(imported from commit 0709ca40c5510ed9dbf28c666cff96609e8d41c2)
2012-09-21 16:44:26 -04:00
Tim Abbott
f9eed538f6
zephyr-mirror: Add support for relaying of personals messages.
...
(imported from commit d43eb3c3b0eadd2378155184d0c6556f6626e5f6)
2012-09-21 16:44:21 -04:00
Tim Abbott
ee8f28a084
Use email addresses as unique identifiers rather than usernames.
...
Note that this code still assumes one's email address (stripped of
domain) is unique.
(imported from commit e98f96601ad109811978fc00b1165e97d8f7b185)
2012-09-21 09:43:22 -04:00
Keegan McAllister
03150b6ab0
zephyr_mirror: Get the CSRF token from the login form
...
It's simpler, and avoids BeautifulSoup choking on the huge JSON lines.
(imported from commit 3a0aa0ae063f79b3a4c73a2a9915d325fc19c6e1)
2012-09-17 19:52:04 -04:00
Keegan McAllister
f63759679a
zephyr_mirror: Change error handling and output
...
(imported from commit 62a296833b19b810e9d2be58dd7f8b7bb5e69b6b)
2012-09-17 15:40:47 -04:00
Keegan McAllister
a1cd13aea5
zephyr_mirror: Let the server handle escaping and line unwrapping (via Markdown)
...
(imported from commit 65d00bf911231cb15d3a6713e64ed8dff28a613a)
2012-09-17 15:39:01 -04:00
Keegan McAllister
3fc265dac3
zephyr_mirror: Get Athena fullnames from Hesiod
...
(imported from commit 04c9df5f9a9930bf876992b4875d700e1fdba79c)
2012-09-12 21:41:52 -04:00
Keegan McAllister
054c30a6db
Move MIT Zephyr subs list into its own file
...
(imported from commit 260ed986c1d69c141e42bea4803ebe0396a86715)
2012-09-12 20:30:07 -04:00
Keegan McAllister
5090a3fb91
zephyr_mirror: urlencode Unicode properly
...
(imported from commit 74d58039e4b763a2738bb485ab9ba6aa9c802d92)
2012-09-11 17:17:17 -04:00
Keegan McAllister
94325e63e6
zephyr_mirror: Keep going on exceptions
...
(imported from commit 606a864e106a2353c7e439ac9c23b14bddd6e94f)
2012-09-11 13:28:44 -04:00
Keegan McAllister
a4cf0164ca
zephyr_mirror: Unwrap lines using a regex
...
(imported from commit f882547b79ac2c92ff010d597f28437a4ead8fe5)
2012-09-11 13:25:37 -04:00
Tim Abbott
de0255d651
zephyr_mirror: Hack to try to eliminate fixed withs of zephyrs.
...
(imported from commit 58a26863e77d4bbfca3f7b488c008b7e6a4804f3)
2012-09-11 10:50:48 -04:00
Keegan McAllister
1c64ce8bfc
zephyr_mirror: Only resend old messages when invoked with --resend-log
...
(imported from commit e5a7c8d5b920d796ebbf68efc2beca6b14036695)
2012-09-07 13:18:35 -04:00
Keegan McAllister
028bb9aa8d
zephyr_mirror: Log zephyrs and send them on startup
...
(imported from commit 5ceda51c643ddaf0042e8bb8f89e1353585b49c5)
2012-09-07 13:18:35 -04:00
Keegan McAllister
83cb955413
zephyr_mirror: Rename for importing
...
(imported from commit 251e3d2ac47dc9a6de8205869a757ae673866d1e)
2012-09-07 11:45:42 -04:00