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
|
9cb4e253f4
|
api: Cast message ids to int before trying to compute the maximum.
(imported from commit 1723c48758711b9ace3db95d82ad91c76512ffa3)
|
2012-10-10 16:29:05 -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
|
0867c25d51
|
api: Clean up code duplication and add automatic retries on 503s.
(imported from commit 5c0654d1048a97a0f451c560544266a4261d9426)
|
2012-10-04 18:08:20 -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
|
acb321f3a4
|
Rename 'zephyrs' => 'messages' when formatting a message list to send to clients.
(imported from commit bfbb556f2444aca8277f54c363eccb678b6bf2dc)
|
2012-10-04 14:42:38 -04:00 |
|
Tim Abbott
|
c3a3d9072b
|
Fix zephyr mirror unicode issues, hopefully once and for all.
This code successfully sends every message in our corpus of past
zephyrs.
(imported from commit 14d42ca9288e2a218eaad880691d6bd213a045ce)
|
2012-10-03 17:55:14 -04:00 |
|
Tim Abbott
|
68916a228d
|
API: Disable history in the mechanize browser.
(imported from commit 8907f3af6283ab3ac72a22e936952757af56d1c3)
|
2012-10-03 17:21:26 -04:00 |
|
Tim Abbott
|
2e2c296899
|
api: Cut down a bit on the error handling verbosity.
(imported from commit b665b939f8474f0d631125ecd7c3d300e338ff3c)
|
2012-10-03 17:14:50 -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
|
9330142937
|
Update post-receive hook to send messages via the API.
(imported from commit 81f4c9e55c44f19208c42d9a8e8db33ce44b02ac)
|
2012-10-03 14:32:05 -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
|
d2ca08dd6f
|
Rename the 'new_zephyr' argument to the more descriptive 'content'.
(imported from commit b47e2c4823bbfbf2f94cbafb24ed5d78dfbe841b)
|
2012-10-02 17:29:55 -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
|
9c500c5b0d
|
Rename /api/v1/get_updates to /api/v1/get_messages.
(imported from commit f856637158cf9fda64ba333b532a5941de8fcbab)
|
2012-10-02 16:29:34 -04:00 |
|
Tim Abbott
|
aaa62c0837
|
Refactor how the API handles options.
(imported from commit caff4a0b8b2d88e5e60fe3a7727b6d4ac5f63bd0)
|
2012-10-02 16:21:34 -04:00 |
|
Keegan McAllister
|
bebed43a23
|
Remove unused imports
(imported from commit 3f9c19a73028b86d386df90c0ffafa33168482e1)
|
2012-10-02 16:14:42 -04:00 |
|
Tim Abbott
|
37630daeba
|
[schema] Add an API for sending/receiving messages.
(imported from commit 209d525dc5892fc4c392a8ced1588c838cbb17c4)
|
2012-10-02 15:49:25 -04:00 |
|
Tim Abbott
|
8c875b26fe
|
zephyr_mirror: Move to the API subdirectory.
(imported from commit cea9809770e66ceb7baf63c444715e01ed97aa8c)
|
2012-10-02 15:49:25 -04:00 |
|
Tim Abbott
|
7c1423a855
|
Initial commit of sqlalchemy models.
(imported from commit 8f4763da55bd3f2bbea090d196c6d7850e2b2c71)
|
2012-08-28 12:41:50 -04:00 |
|