Allen Rabinovich
d9ecf6499c
Show topic chevrons only on hover and with proper offset
...
(imported from commit f19770bac4ec99eac83cf8211fc4d97e34c5aaa1)
2013-09-24 16:19:53 -04:00
Steve Howell
a387535d2d
Enable muting for internal MIT users.
...
(imported from commit 82dc8c620c5f9af5b7a366bd16aee9125b9ba634)
2013-09-24 16:19:53 -04:00
Steve Howell
f00c8d783a
Add Phabricator integration instructions
...
(imported from commit 065d25a64dcb4e1f51938f63df5b1e5538edc7ea)
2013-09-24 16:19:53 -04:00
Kevin Mehall
e31fb25d64
Correct cursor on the desktop apps alert close button.
...
Trac #1818 .
(imported from commit 507b19c8f333de9446a663b9a2ec05e1ba74e6ce)
2013-09-24 16:19:53 -04:00
Jessica McKellar
a0ff47a449
Add frontend support for newer realms receiving stream notifications by default.
...
(imported from commit 6b7f8d7bc85177d0d85384ac4bed508afdec7e83)
2013-09-24 16:19:53 -04:00
Jessica McKellar
f058e9cac5
Add backend support for newer realms receiving stream notifications by default.
...
(imported from commit ea8ee65071423a94a462571aa30013969d9f3f7a)
2013-09-24 16:19:53 -04:00
Jessica McKellar
d434bf4bb4
email mirror: use a message part's specific charset rather than the message charset.
...
The overall message charset may be null or not match the part's
charset. Even though it's unclear from the documentation,
experimentally using the charset for a message part seems to give you
the charset even for non-multipart emails.
(imported from commit 0e1d23073f4c53041f9760e66a6635f8a94893d1)
2013-09-24 16:19:53 -04:00
Jessica McKellar
7bb75e3acb
Populate date_created for existing realms.
...
(imported from commit 6a10150905a23589f098778ccbd8075025ff900f)
2013-09-24 16:19:52 -04:00
Jessica McKellar
f22023d4cb
[schema] Add a date_created field to Realm.
...
(imported from commit 1953f7c1f8af7f81d50d7362c704f6a81637d72e)
2013-09-24 16:19:52 -04:00
Jessica McKellar
4e74131008
Add a first pass at Redmine integration.
...
The integration supports events generated by creating and editing
issues.
(imported from commit 1988013d7a18df173623c0821e807fd4f42af3bc)
2013-09-24 16:19:52 -04:00
Steve Howell
50641c3337
[perf] Reduce the number of DB queries in send_message.
...
For a 4-person stream, we were hitting the DB 8 times, and 4 of
those queries were to lazily get user.email for the 4 recipients
due to upstream code using only(). I added user_profile__email
to the only() call.
I believe this regression started 9/18, and after pushing this
to prod, we would should look at this graph:
https://stats1.zulip.net/graphs/8274cd84588
(imported from commit 70629cb69fe5955c674ba76482609dfe78e5faaf)
2013-09-24 16:19:52 -04:00
Steve Howell
63de50d6f0
Add StreamMessagesTest.test_not_too_many_queries
...
(imported from commit bc49d7a0f932aecb1be7cecd0f6c5a9c95b2767d)
2013-09-24 16:19:52 -04:00
Steve Howell
9ee2f186ca
Add queries_captured() context manager for tests.
...
(imported from commit 14a9529aef057e79bc12c979d88b595828a8b3a3)
2013-09-24 16:19:52 -04:00
Leo Franchi
edbde0b78b
Handle unknown pivotal events, and log
...
(imported from commit f177d7d0d8f4c09b2b94bb23973cd90ca8930f3b)
2013-09-24 16:19:52 -04:00
Zev Benjamin
963b62873d
puppet: Show all nagios results on the same page
...
(imported from commit aff603faa93c5d24f372eb6afb541d870aaecf5b)
2013-09-24 16:19:52 -04:00
Zev Benjamin
233290d578
Add a management command to purge a rabbitmq queue
...
This is useful in debugging when you just want to discard all the
messages in a queue because they have the wrong structure.
(imported from commit 8559ac74f11841430b4d0c801d5506ebcb74c3eb)
2013-09-23 11:25:58 -04:00
Zev Benjamin
7d0fd364b2
Remove duplicate call to update_user_activity
...
(imported from commit e9d2dce02cb6863a3ba66045a7b88bd351fd0c5d)
2013-09-23 11:25:58 -04:00
Zev Benjamin
d7d17c993c
Fix using SimpleQueueClient with multiple queues
...
(imported from commit 18bda1430d76f8b436ad42f85d0ce3cab8fd8193)
2013-09-23 11:25:58 -04:00
Zev Benjamin
f5761401b7
Make LazyLoad copyright notice conform to our third-party JS standards
...
(imported from commit a7eba8569bf52e82f150f9fb3b2f3abfb0eb0c2b)
2013-09-23 11:25:58 -04:00
Steve Howell
660475bd0c
Hide muted messages.
...
Instead of collapsing muted messages, just hide them altogether
in view where it makes sense to hide them.
(imported from commit 1c2c987ff302ceb135a025753cf421b4de1aea71)
2013-09-23 10:53:06 -04:00
Steve Howell
6c6816491d
Add muting_enabled option to MessageList.
...
(imported from commit c86772b7dea864c49091c988772e17aae5efa5bc)
2013-09-23 10:53:06 -04:00
Steve Howell
022ef6e9b9
Add narrow.muting_enabled()
...
(imported from commit 8972d1e3ca347397664094a7f150ec86fd2f8f8e)
2013-09-23 10:53:06 -04:00
Steve Howell
21b30664b6
Create MessageList.add_messages() from zulip.js code.
...
I moved code into MessageList to further encapsulate details
of filtering. The MessageList instances should be their own
gatekeepers for what messages they care about.
(imported from commit ee6cd7f6eabf97962d724a05d7d0b0a3e6ab19e5)
2013-09-22 14:35:53 -04:00
Allen Rabinovich
9ed05a1f85
Fix to list height computation
...
(imported from commit c43b07fa25f41146c8410bc41d90278c1a90a34b)
2013-09-20 12:11:31 -07:00
Leo Franchi
8e6c7146f4
Move alert_words and alert_words_ui to before zulip.js in load order
...
(imported from commit b169622bc615b3e96fb18724c57887b030aca6f7)
2013-09-20 14:59:42 -04:00
Waseem Daher
675baf102b
norman-mailer: Deal more gracefully with fewer fields.
...
(imported from commit b83380c72e9ac2be77f4c1e74c82d63fe2d42244)
2013-09-20 14:36:00 -04:00
Waseem Daher
aa6a3e1299
Enable alert_words for MIT.
...
(imported from commit 1765e9f6cd72fece834ef482f898096eb4a4f552)
2013-09-20 14:18:43 -04:00
Waseem Daher
7afd3ecc81
Custom invite text for MIT invitations.
...
(imported from commit 21b72861e991159eb7faa74809edb8d01027c6c8)
2013-09-20 12:06:26 -04:00
Steve Howell
6eda9c3314
Rename function to send_pm_if_empty_stream().
...
This used to have a really long name.
(imported from commit d3027a75f49db428239d432cfaa8821aa733eb04)
2013-09-20 10:19:07 -04:00
Steve Howell
a457135a25
Use efficient stream.num_subscribers() for bot PMs.
...
Use stream.num_subscribers() in check_if_a_bot_is_sending_a_message_to_an_empty_stream().
The num_subscribers() function using Django's count() method, which returns
a single row, vs. len() on an iterator of query rows.
(imported from commit 6157fe248945e9288ee71d8cc39fb6dda4e9a247)
2013-09-20 10:19:07 -04:00
Steve Howell
4b75dd0d85
Add Stream.num_subscribers
...
(imported from commit 9b79ab84516c3634ef6795ef2d90db37553cc0d1)
2013-09-20 10:19:07 -04:00
Steve Howell
5ae5e3f881
Disable empty-stream PMs for MIT bots.
...
(imported from commit a855d612b6ba316fc183200c4f72102831b6179c)
2013-09-20 10:19:07 -04:00
Steve Howell
098720b6d1
Extract check_if_a_bot_is_sending_a_message_to_an_empty_stream().
...
(imported from commit 3312d70f6b94f4a13a42bbe0320f4bb1062262e7)
2013-09-20 10:19:07 -04:00
Steve Howell
a8f6c2fe55
Add CheckMessageTest.test_bot_pm_feature() test.
...
This tests that a bot's owner gets sent a message if the bot
sends a message to a stream with no subscribers. (Presumably
the message will be a PM; we could make the test more precise
in the future.)
(imported from commit 0aaf931a90cb9c7bc3fde8ac545c6b6ad0a55668)
2013-09-20 10:19:06 -04:00
Steve Howell
7b748fed7a
Add CheckMessageTest class
...
(imported from commit 07c4ba895570853c923703b1332c4fc403cc858e)
2013-09-20 10:19:06 -04:00
Jessica McKellar
ee2cd51c4c
generate_invite_links: work for open realms too.
...
(imported from commit ec2143d25cb2f6f4181ece7a25c79666334a1634)
2013-09-20 10:00:10 -04:00
Zev Benjamin
9b84b2dd67
github: Reduce code duplication
...
This includes:
* Merging the pull request and issue subject creation functions
* Factoring out pull request and issue content creation
(imported from commit 9cf90e999482a1998431e6483788522101607167)
2013-09-19 23:44:21 -04:00
Zev Benjamin
e5e7e2f7bf
github: Rearrange code to put the pull request and issue handlers next to each other
...
This makes their parallelism clearer.
(imported from commit 328d6df9443ed68ff5f462b405a930ecb6d90155)
2013-09-19 23:44:21 -04:00
Zev Benjamin
0394459f04
github: Put pull request comments on the 'commits' stream
...
(imported from commit d50c1f577737a07da1f08a1fbfc4242ca9d6d4a1)
2013-09-19 23:44:21 -04:00
Zev Benjamin
1c82a9ecfa
github: Format pull request messages more like issue messages
...
(imported from commit cba3a84c3abb6f33495e5afbe8e03d1a7a7d046c)
2013-09-19 23:44:21 -04:00
Zev Benjamin
f99cf15358
github: Add tests for pull requests
...
(imported from commit dd099cd0e630c09f490ecd5aac761ce131b0a8e2)
2013-09-19 23:44:21 -04:00
Zev Benjamin
df5c4bb202
github: Enable pull requests for zulip.com so we can test them
...
(imported from commit ab13951a77d6563a9ec41d6ed7f991579623c565)
2013-09-19 23:44:20 -04:00
Zev Benjamin
c5d4a640be
tests: Refactor Github tests to reduce code duplication
...
(imported from commit 7c34bd2eefe706898479f96a03685f6e027bf43f)
2013-09-19 23:44:20 -04:00
Zev Benjamin
f47258c740
github: Factor out pull request and issue subject creation
...
(imported from commit 539238f78b0ee49672a1338fc96d00bb21ce539d)
2013-09-19 23:44:20 -04:00
Zev Benjamin
7c74983370
Ensure select_on_focus handlers are not called recursively
...
This fixes #1696 .
(imported from commit 4d7ba3a1e34aa48d2675178913de30d081653762)
2013-09-19 19:10:45 -04:00
Kevin Mehall
4af8eaaa7a
Remove data-toggle="modal" from gear menu links
...
It makes bootstrap look up the href as a DOM element, which caused
a browser error because the path is not a CSS selector.
(imported from commit 196a5983ae6a31716b14ae577239fe7ab1416226)
2013-09-19 17:30:12 -04:00
Waseem Daher
190390d8ea
Allow MIT to invite coworkers.
...
(imported from commit 273b3abdd3dcc49c01c1a04001450983d4acb000)
2013-09-19 17:14:41 -04:00
Allen Rabinovich
0b9b01e96a
Revert to old logo
...
(imported from commit 0e4ccff295797d36ee89ffb078bef06b5a5edca0)
2013-09-19 13:20:27 -07:00
Steve Howell
e79e74ade4
Add narrowed_to_topic() helper function.
...
(imported from commit 9190caa9b183893fb7ae883686b9bdbd661d5895)
2013-09-19 15:41:00 -04:00
Steve Howell
a4e2ed9fd2
Add test_narrowed() to narrow.js unit tests.
...
(imported from commit 060032ac00d0c28a9625e2885ee3156bc94ff130)
2013-09-19 15:40:59 -04:00