Tim Abbott
b699ad6cde
zephyr_mirror: Add options to run class mirror without sharding for debugging.
...
(imported from commit 4fcc403504d93e30aca6046cba9f1fe5342faac6)
2012-11-29 13:57:06 -05:00
Tim Abbott
b3c1f08b3b
zephyr_mirror: Don't leak zephyr_mirror processes on send_humbug failures.
...
(imported from commit be005018672369683d9e3bdbf144f96f58af6b6c)
2012-11-29 13:57:06 -05:00
Tim Abbott
b54e5eb3c0
zephyr_mirror: Replace bare excepts with 'except Exception'.
...
(imported from commit 857212e0e5116471e418d37845550108c0a47d2b)
2012-11-29 13:57:05 -05:00
Tim Abbott
de3799589b
zephyr_mirror: Compare zephyr subs from server after normalization.
...
(imported from commit eea290698e83c7d26f23ab3bb0201914417f0e09)
2012-11-28 22:26:10 -05:00
Tim Abbott
18aace499c
zephyr_mirror: Add two more restricted access classes.
...
(imported from commit 06ff0e19c1522ade018aea66f152fdfa55c18e1d)
2012-11-28 22:26:10 -05:00
Tim Abbott
a1d8e9d30f
get_updates: Replace the "mirror" argument with checking "client".
...
(imported from commit bd84c2c7a456de8ea7ec35eaf76b5bf8647ca61a)
2012-11-28 17:41:38 -05:00
Tim Abbott
f58898fba7
zephyr_mirror: Pass an encoded stream to hashlib for sharding.
...
(imported from commit cc57b3956198b66c9cfc84423434a71b8200d819)
2012-11-28 15:44:35 -05:00
Tim Abbott
9505b38004
zephyr_mirror: Validate zephyr subscriptions happened successfully.
...
(imported from commit 494895b87eb9b555175c9890c5c2046cf4ce40ac)
2012-11-28 15:44:35 -05:00
Tim Abbott
84ab466ff3
zephyr_mirror: Fix display of personals on non-message classes.
...
(imported from commit 42ff030d2d78c530428dcede406d46fc71521fef)
2012-11-27 14:12:19 -05:00
Tim Abbott
8cf9012977
zephyr_mirror: Run the class mirror in 16 parallel shards.
...
(imported from commit cb17ef999e94cc57d5b01114479728b04475c9c4)
2012-11-27 12:09:57 -05:00
Tim Abbott
af40020ff9
zephyr_mirror: Add a --no-forward-from-humbug option.
...
We'll use this to only have one of our shards forward from Humbug.
(imported from commit a6f3c2180b49c1fa826baf1ae9e7e3ba252a5bfa)
2012-11-27 12:09:57 -05:00
Tim Abbott
cdabd2b90a
zephyr_mirror: Clean up unnecessary logic in process_notice.
...
(imported from commit 28599789016fd1006c2de4d5ddc3cf1f10baa47f)
2012-11-27 12:09:57 -05:00
Tim Abbott
4b6f771be1
zephyr_mirror: Fix the check for whether a Zephyr is a personal.
...
(imported from commit 609b6339fa82ecbd6435a386d24bf555e75a8120)
2012-11-27 12:09:57 -05:00
Tim Abbott
f05967034b
zephyr_mirror: Reorder process_notice to log fewer "Skipping" messages.
...
Previously, we were sending "Skipping message we got from Humbug!"
for messages we wouldn't have forwarded anyway.
(imported from commit 36df85a61336ac00e3d7913d5a417d6b42764350)
2012-11-27 12:09:57 -05:00
Tim Abbott
a9b938d7ac
zephyr_mirror: Don't display/log some useless "Skipping" notices.
...
In this case, if we're configured to not forward personals, there's no
point in logging a decision not to forward one.
(imported from commit 62c37591c6a70afb6235de626b0c6a3502cbcb27)
2012-11-27 12:09:56 -05:00
Tim Abbott
09c5a5c06f
zephyr_mirror: Simplify optparse usage.
...
(imported from commit d7cce4236dae6f369ea1cc4e12f89c2011718b7f)
2012-11-27 12:09:56 -05:00
Tim Abbott
369f5e9d80
zephyr_mirror: Don't use @(@color(blue)) in zsigs.
...
(imported from commit e4b594e3c22c25fa4f87baaad09227396bb92a0d)
2012-11-26 16:19:09 -05:00
Tim Abbott
789a5c5e2d
zephyr_mirror: Use default format to indicate what came from Humbug.
...
(imported from commit 5c2fdccb08d605a37d6c87c37f023c06a0a9a760)
2012-11-26 16:18:05 -05:00
Tim Abbott
e16e5f7e1a
zephyr_mirror: Refactor zwrite_args handling a bit.
...
(imported from commit 4923c90dc546022d48f226c2a204e9d09717b563)
2012-11-26 14:58:34 -05:00
Tim Abbott
3cc5973511
api: Add copyright and MIT license notices to distributed tools.
...
(imported from commit 9f93050f988549dc363f5a7c798c8a9fa1c01d29)
2012-11-26 12:25:38 -05:00
Tim Abbott
6ac25fb9ba
zephyr_mirror: Don't break long words/urls when mirroring.
...
(imported from commit df2b6a6969fc54016eeee4996df317e2843844c8)
2012-11-21 15:55:18 -05:00
Tim Abbott
5587b502a2
zephyr_mirror: Add exception handling around all main loop code.
...
(imported from commit 5dc46decf882302a6c58f3bb788362f82f293b35)
2012-11-19 12:44:12 -05:00
Tim Abbott
ab9858ba65
zephyr_mirror: Use minimal wrapper script that is hard to accidentally break.
...
(imported from commit 45967b8b806df616b0480b217dd5db82c5a2cabd)
2012-11-19 12:44:06 -05:00