Leo Franchi
7902ecf9b5
Refactor filedrop code to allow for other senders
...
(imported from commit 861db4a5d4036d6c77f7e9921217fbf83e217c8b)
2013-04-19 18:04:50 -04:00
Leo Franchi
80e8e7b21e
Allow dropping of raw text and urls without showing an error
...
Don't show an error if we can't handle the drop contents, since it may
just be empty rather than being a browser unsupported issue
(imported from commit 986495b4a94f4afacf75ffb35ea507d86c369b2f)
2013-04-19 18:04:50 -04:00
Leo Franchi
14fd888a08
Handle mime-type if uploaded image specifies it
...
(imported from commit 716908a528fd21daedd4df4d7a71f7606acce671)
2013-04-19 18:04:49 -04:00
Leo Franchi
85df171753
Add integrations writeup for Pivotal tracker
...
(imported from commit 3e1601bbbae465a1c607ddf7258e9f24ddcdb1b6)
2013-04-19 13:46:41 -04:00
Leo Franchi
d34bdedcdb
Add tests for pivotal tracker integration
...
(imported from commit 3d3cff2eed91029ebacc5a0be284572db1a01135)
2013-04-19 13:46:41 -04:00
Leo Franchi
082ea8642e
[manual] Add support for parsing Pivotal XML activity
...
This adds a dependency on the python package 'defusedxml'
(imported from commit bd5c7655e636ab1aa945e619e7a0063187bafb83)
2013-04-19 13:46:27 -04:00
Leo Franchi
7b0423efc1
Use incr instead of gauge when sending events to drawAsInfinite to statsd
...
(imported from commit 08a4b6920c7a4a8f472f147ddce7c04710fe5c0a)
2013-04-19 09:56:41 -04:00
Jeff Arnold
7b87c201f0
Revert "Automatically condense long messages"
...
This reverts commit 057f08f2fcef43070b0838a600f6a89c479b4ee8.
(imported from commit ba1dbfcaeef6bc1d5befb2d59122217f532065ac)
2013-04-18 21:45:59 -04:00
Jeff Arnold
484095d815
Revert "Center the message condenser messages with respect to the message body"
...
This reverts commit a56ca3e9f20e9b01236b58be7a279d28b97e74bc.
(imported from commit a6068566828b21dec150fcb9ad2c458bb369aa30)
2013-04-18 21:45:55 -04:00
Jeff Arnold
13f5d30d83
Revert "Don't collapse messages that would only be collapsed by a small amount"
...
This reverts commit 56e8df87d3eae62080962474eae23ab75f009819.
(imported from commit 15d71ab73d269eaa3d8a2f52c5781290ee183627)
2013-04-18 21:45:34 -04:00
Jeff Arnold
955f1febdf
Revert "Increase the threshhold for triggering collapsing./"
...
This reverts commit cd1dac8b4726cef82eb2dc957fc7edced298fa9c.
(imported from commit 6ddaad88d3d2b402ef162e5b9a7e450238feb5fd)
2013-04-18 21:45:13 -04:00
Leo Franchi
d02f46fba7
Log a statsd event when restarting the server
...
(imported from commit e9fa632a39f0a6b6aa7311e80e68faf4178a2cf3)
2013-04-18 18:05:52 -04:00
Leo Franchi
29ad205b01
Add a management command to send a statsd message
...
(imported from commit 25ead4a0dee185a139eb5401e109c9cbe937c7bf)
2013-04-18 18:05:52 -04:00
Leo Franchi
652b821d64
Add a bunch of statsd logging
...
(imported from commit 8c17a76fed08c34abab3cc45d76a0fb30774d73a)
2013-04-18 18:05:52 -04:00
Leo Franchi
46415d4984
Add statsd helpers and wrappers
...
(imported from commit 9d5b805ae416a65ac49dda8e8e11d9831308116c)
2013-04-18 18:05:52 -04:00
Leo Franchi
1d25f36554
Add a decorator for sending count information to statsd
...
(imported from commit 5263e39d8c235ac56517f0a69a1b1337e6f8942a)
2013-04-18 18:05:52 -04:00
Leo Franchi
1388cd2ec8
[manual] Enable statsd on staging/prod and local machines that support it
...
This requires django-statsd-mozilla to be installed on staging/prod
(imported from commit 3885b1e1bf07e1e4479505f0a59bfe7f0b473393)
2013-04-18 18:05:52 -04:00
Leo Franchi
499ef75c26
Add configuration files for graphite and statsd
...
(imported from commit bb2c14d816f9ead54bed9da1f227c5e35c9a36bb)
2013-04-18 18:05:51 -04:00
Tim Abbott
3fa32c8f7d
Decrease restart timeouts for django and tornado command lines.
...
(imported from commit 5653de5e4e39f6ecfade794738d334a360bf2a7e)
2013-04-18 17:15:29 -04:00
Tim Abbott
9e85e6e0b9
Fix ordering constraint on get_old_messages query to UserMessage table.
...
Amazingly, this saves about 250ms on every get_old_messages query in
my testing on postgres.humbughq.com (previously, we were scanning all
rows in the zephyr_usermessage table rather than using an index).
(imported from commit 566a5ef0bbf3c2198fa9e0b63d34e38ac9c57d18)
2013-04-18 17:15:29 -04:00
Zev Benjamin
e9f6d9ceff
puppet: Fix location of stats directory
...
(imported from commit b482d6c22e5c1844a65cbee41d1e39378500a9c7)
2013-04-18 17:14:32 -04:00
Tim Abbott
5afe06e8cb
Decrease idle event queue timeout back to 10 minutes.
...
(imported from commit 1ca1c99c013f3e7f7e70e1fd9c5386b0d5a27b98)
2013-04-18 16:58:31 -04:00
Leo Franchi
aa75f51d5e
Catch IncompatibleProtoclErrors as well, since our failure to connect might happen during the initial handshake phase
...
(imported from commit 55115f19a5a101676e3ce1ca2a7b9cd2a2d5b028)
2013-04-18 15:46:43 -04:00
Tim Abbott
3811bcc025
Increase the threshhold for triggering collapsing./
...
(imported from commit cd1dac8b4726cef82eb2dc957fc7edced298fa9c)
2013-04-18 15:39:45 -04:00
Jeff Arnold
cce1213320
Don't collapse messages that would only be collapsed by a small amount
...
(imported from commit 56e8df87d3eae62080962474eae23ab75f009819)
2013-04-18 13:17:22 -04:00
Luke Faraone
1e34114439
Add an example of the call_on_each_message function.
...
(imported from commit 164689ee246bcdfc0d39366b1c30f1af44935386)
2013-04-18 09:57:58 -07:00
Luke Faraone
3703d33219
Switch default tab to Python
...
(imported from commit 43fe8126f7eae218338c31ba96f6531d59232053)
2013-04-18 09:57:58 -07:00
Luke Faraone
546a376d1c
Move API endpoint docs onto their own page.
...
(imported from commit 0472c9051ba75e8c8ea4f80941ca9ef3b7ad949e)
2013-04-18 09:57:57 -07:00
Luke Faraone
a97d4b7cb2
Switch to pretty codehighlighted humbugrc
...
(imported from commit 3e4f156a3d017166d1339784c5b3593b402d7805)
2013-04-18 09:57:57 -07:00
Luke Faraone
724ecce063
Add breadcrumbs to static pages.
...
(imported from commit a2ad69953e320847c063026e2debaf0916167c35)
2013-04-18 09:57:57 -07:00
Luke Faraone
f5d4925360
Create aggregate jobs page.
...
(imported from commit a7271fb7586252ee7168115f7cf9bbf4db58ef0e)
2013-04-18 09:57:57 -07:00
Luke Faraone
ea7965d9bb
Rework API documentation to cover all supported calls.
...
We now generate our API documentation page based off of JSON source.
(imported from commit 0e8a91ef4278684dbcad89cad39a1977672245fc)
2013-04-18 09:57:56 -07:00
Luke Faraone
4601db82e5
Bump API version on /api to 0.1.6
...
(imported from commit 41a0e4f77fe2960d55b4302a502f8d3b8721c787)
2013-04-18 09:57:55 -07:00
Luke Faraone
e3b72155b8
Bump API version
...
(imported from commit 2366dbabbb0395676bfe7ad908ce362c3aca84c2)
2013-04-18 09:57:54 -07:00
Luke Faraone
80e452af82
Include get_messages call in tarball.
...
(imported from commit ed030c97ba3c34a72eb7ced867c20d1a7c315159)
2013-04-18 09:57:53 -07:00
Luke Faraone
8e1268c8fa
Update README so as not to lie about min requests version :)
...
(imported from commit 074adaa6d15014caad83b19f234dd291025fc667)
2013-04-18 09:57:53 -07:00
Zev Benjamin
8bc0de19dc
Center the message condenser messages with respect to the message body
...
Previously it was centered with respect to its enclosing div, which
looked slightly off.
(imported from commit a56ca3e9f20e9b01236b58be7a279d28b97e74bc)
2013-04-18 11:29:32 -04:00
Jeff Arnold
33c8368734
Automatically condense long messages
...
Addresses Trac #747 .
(imported from commit 057f08f2fcef43070b0838a600f6a89c479b4ee8)
2013-04-18 11:29:32 -04:00
Leo Franchi
fb2b3ae21a
Handle multiple preregistration user objects when choosing streams
...
(imported from commit 52faa0256a719bed8a8ccc120f8177cce20450e2)
2013-04-17 15:48:30 -04:00
Jessica McKellar
1bd5f788b3
subs: remove redundant call to add_sub after create_sub.
...
(imported from commit ad47d9e9964a850892baeff17d3c94cfedbc9f0f)
2013-04-17 13:27:48 -04:00
Jessica McKellar
a87e41d66c
Make inviting users to your realm case-insensitive.
...
Before this commit, foo@Bar.com couldn't be invited to bar.com.
(imported from commit 04b16f66a6ec9e157bdc7523972b37432358f5cd)
2013-04-17 13:27:48 -04:00
Jessica McKellar
3e9e8eec1b
tutorial: move script creation down the file to appease the linter.
...
(imported from commit 77b2b18874a19b39ec0a60c3c25b8459b50ce9ee)
2013-04-17 13:27:48 -04:00
Jessica McKellar
7d389d8c13
tutorial: fix broken pipelining of asynchronous requests.
...
Some functions invoked by the make_script framework weren't returning
their Deferreds. I noticed this as the hello stream not getting picked
correctly because loading your real subs hadn't completed yet.
(imported from commit fac3fa36b77585bd5c03bf8fbaec052fe397a481)
2013-04-17 13:27:48 -04:00
Jessica McKellar
e15dd90bd9
tutorial: don't recommend saying hi on a tutorial stream.
...
Now we don't unsub you from it until after we've picked the hello
stream.
(imported from commit b1489007e972af7713804ba5ff98764a6393a0b6)
2013-04-17 13:27:48 -04:00
Jessica McKellar
750b8326d7
subs: fix incorrect stream_info re-initialization.
...
Using [] doesn't cause incorrect behavior, but it's a mismatch with
how stream_info is initially declared and gives you a confusing
representation at the console.
(imported from commit c03d9e6a29ff990659f41ee478f631a019a5ac25)
2013-04-17 13:27:48 -04:00
Jessica McKellar
6b4196a74a
tutorial: fix race that could cause you to not see the goodbye message.
...
(imported from commit 52afce208890dbd863fc1661729e4351160d09ac)
2013-04-17 13:27:47 -04:00
Jessica McKellar
3945335e6e
tutorial: don't let punctuation get in the way of exiting.
...
(imported from commit 7b97f382684bd2ddb92fc3efa6e1a635c4662aef)
2013-04-17 13:27:47 -04:00
Jessica McKellar
a76977f57f
tutorial: don't let the tutorial recommend saying hi on a non-existent stream.
...
Previously we added some names to your subs to use them as examples
during the tutorial. We no longer do that, but the tutorial could pick
a name from that list to recommend that you say hi on, even if you
aren't subbed.
Don't do that, and instead try to pick a stream that is in turn:
* your company name
* a probably-good stream name like social
* a stream that is hopefully not an alert stream like nagios
* eventually give up and pick anything
(imported from commit ec20c7722ea95b025dec62bcf47e33c62d1a8029)
2013-04-17 13:27:47 -04:00
Jessica McKellar
bb315d4033
tutorial: remove CUSTOMER18 customer18stream1 hack.
...
(imported from commit b333fe10bf22aa5471b672fd51b2426191f259bf)
2013-04-17 13:27:47 -04:00
Jessica McKellar
ac4385e410
tutorial: don't start the tutorial until you're subbed to the tutorial stream.
...
Also handle the case of subscribing failing.
This race could cause you to not see initial traffic from the tutorial bot.
(imported from commit 395a2968555e20a4dbc106dfa9d5790e9f102a3e)
2013-04-17 13:27:47 -04:00