Scott Feeney
6eea2d7988
Rename views.py to views/__init__.py
...
(imported from commit 6d2fc769b3997f8ae9aea1119ebe1c27872baf42)
2013-08-30 10:18:49 -04:00
Jessica McKellar
864ae3ad51
Enable the email forwarding UI for CUSTOMER6.
...
(imported from commit 587159412ad208d1f5e44479f50ca2f25a98f70a)
2013-08-29 18:13:21 -04:00
Jessica McKellar
de383c43c4
integrations: document email forwarding.
...
(imported from commit db4b258382c3be5a03ed41a4c12a1972777112c4)
2013-08-29 18:13:21 -04:00
Jessica McKellar
acdfb6afa0
email mirror: make being one of many recipients okay.
...
Previously the email gateway had to be the only address in a recipient
field or we'd mis-parse the recipient.
This commit also makes the mirror correctly handle addresses of the
form "Jessica McKellar <jesstess@zulip.com>".
(imported from commit 7435f2b59b8f47dc599cc869f64597a730af7d12)
2013-08-29 18:13:21 -04:00
Jessica McKellar
c4157ed2b6
Make email mirror testing easier by using a different mailbox locally.
...
The mirror will use INBOX when deployed and Test locally. Send an
e-mail to the Test mailbox by including the word "localhost" in the
subject; a GMail filter will place it in Test on receipt.
(imported from commit bacf9a9554c8c5e1f3ec8497761edf2c15d3745d)
2013-08-29 18:13:21 -04:00
acrefoot
9e690e8625
Fixup 484bc12681a43cd01fe0189c072ab4230eb32c22 typo
...
(imported from commit ff4043b6ea0c2389560114dcda6269fd64932cd5)
2013-08-29 18:07:49 +00:00
Jeff Arnold
6a9b441853
Clear a desktop notification once its source message has been read.
...
Addresses Trac #1698 .
(imported from commit 859fc7d436904f21427d15f6363c4e0ca859e02a)
2013-08-29 17:16:11 -04:00
acrefoot
a25b77287e
Documentation on the integrations page for the Basecamp mirror script
...
(imported from commit 302fbd4e14ca92e4462ddf19e5b874a69d4a96f3)
2013-08-30 20:06:32 +00:00
acrefoot
dc175c9427
Basecamp mirroring script
...
This mirrors all the "events" in a Basecamp account onto a stream in Zulip
(default "basecamp"); it sets the topic as the calendar or project that the
event belongs to.
Unfortunately, Basecamp will not host hooks, and neither do we, so this script
is currently intended to be run by our customers, much like the Trello mirror.
(imported from commit 484bc12681a43cd01fe0189c072ab4230eb32c22)
2013-08-30 20:00:07 +00:00
Scott Feeney
f386d87f8e
Add "announce stream" option to frontend UI
...
When creating a new stream, this option lets you announce its
creation to everyone who you didn't explicitly add.
(imported from commit ae4140b4268b73e8b4bb54f5a6eea12fe07cd110)
2013-08-29 10:32:37 -04:00
Scott Feeney
c94ba52d3a
Backend support for "announce stream"
...
(imported from commit dab3206a973083c3cee8225fa9ca71f4eecc269f)
2013-08-29 10:32:32 -04:00
Scott Feeney
e3247de572
Factor out get_active_user_profiles_by_realm()
...
(imported from commit 634ebf265b02303a938f7595de3622e25bc22b49)
2013-08-29 10:28:20 -04:00
Scott Feeney
09ff770435
Make invite-only stream invite notifications less confusing
...
Previously, when added to an invite-only stream, you got notifications
like this:
Hi there! We thought you'd like to know that Some Person just subscribed
you to the invite-only stream 'Secret stuff'
You can see historical content on a non-invite-only stream by narrowing
to it.
Note that the second line is irrelevant and confusing in light of the
first!
This commit leaves this out, and also, to make sure I didn't mess
anything up (and because I needed to change the tests anyway), adds a
test for invite-only stream notifications.
(imported from commit 49c333629c78fc06f6d2f1ec8a627c6d38e7716a)
2013-08-29 10:27:34 -04:00
Tim Abbott
ac1f9b5128
check_message: Allow zephyr mirroring bot to send to invite-only streams.
...
(imported from commit d45c75915cc4e29328768f1ed0e0ec972e5b7269)
2013-08-28 19:07:05 -04:00
Tim Abbott
5b62101a5f
check_message: Clean up confusing and redundant authorization checks.
...
(imported from commit 1b756c89ec740f988e8f15d21fb413de9947d658)
2013-08-28 19:07:05 -04:00
Tim Abbott
371654adb3
zephyr_mirror: Make Webathena work for golem.
...
(imported from commit 6f8bf1f44c521b22c9fc990711d2821e5a60761d)
2013-08-28 18:56:54 -04:00
Tim Abbott
591b42bb1c
bugdown: Clarify code around inline_interesting_links processor.
...
(imported from commit a1d734230135ab9099fafea7814bfec25754ea4e)
2013-08-28 18:56:53 -04:00
Waseem Daher
dd6ddc0e1e
Revert "Prevent unread counts from overflowing."
...
This reverts commit 728a5415c8aa2ee18405c77746a0ea9543a20d98.
(imported from commit 7d91b564549e4e444fe656c2d8b811e2fcbff2d3)
2013-08-28 18:02:09 -04:00
Scott Feeney
affe78355a
Improve JIRA integration docs
...
Specifically, add more clarity to whether users should use the web-hook
or plugin method.
(imported from commit 0b3b8626ccbe6d9a658e7e58d662c5f6127be32e)
2013-08-28 17:59:11 -04:00
Steve Howell
1e88bb914e
Add test_private_suggestions() to search_suggestion.js
...
(imported from commit db89f8574a4f7e169e66ebaff3a9c2cd49a4b0dc)
2013-08-28 17:41:17 -04:00
Steve Howell
8363b7c59a
Add test_subset_suggestions() to search_suggestion.js
...
(imported from commit db9173ffa92ca225baf24a1103807034e4f31a7f)
2013-08-28 17:41:16 -04:00
Allen Rabinovich
98f7870150
Prevent unread counts from overflowing.
...
(imported from commit 728a5415c8aa2ee18405c77746a0ea9543a20d98)
2013-08-28 13:54:47 -07:00
Jessica McKellar
cf0f205f75
tests: check that non-subscribers can't send messages to an invite-only stream.
...
(imported from commit 5ee0fb49e994c4d283348d89a25606ca6d314005)
2013-08-28 16:43:40 -04:00
Jessica McKellar
2cc06aafe1
tests: don't skip message sending restriction checks!
...
We were using the internal do_send_message, which does not do any
security checks.
(imported from commit 14a31a39a392dd2bc6b79f4345aa80217d5356f2)
2013-08-28 16:43:40 -04:00
Jessica McKellar
ea1420d201
Add a (?) popover hint next to stream email addresses.
...
(imported from commit f365afcf7bd256d0417e67c69f9fa67c5b15d418)
2013-08-28 16:43:40 -04:00
Jessica McKellar
f67f5b7619
Allow superusers to send messages to even private streams.
...
(imported from commit b7253174fa25d61b5bda056a5e5353e3b8ea918b)
2013-08-28 16:43:40 -04:00
Jessica McKellar
d72ed33dc6
Be more verbose and explicit in the checks on who can send a message.
...
It was getting hard to follow and is going to get more complicated
with a new super user check in a later commit.
(imported from commit 8d5cfa960824519d87ce0f09aab3a120ba9ef357)
2013-08-28 16:43:40 -04:00
Jessica McKellar
c125db4917
email-mirror: put Nagios configuration in puppet.
...
(imported from commit a6ecac877628cf7918e55d553cf509aa5c0635cb)
2013-08-28 16:43:40 -04:00
Jessica McKellar
7737434dbe
email-mirror: run the management command as the humbug user.
...
We don't set up certs for root to be able to make database queries.
(imported from commit 0236745fb1d5aace3097acbe0ed4b5772a19b255)
2013-08-28 16:43:39 -04:00
Jessica McKellar
a7023cac17
Add a landing page just for new MIT users.
...
(imported from commit 023151e9d057b37f93c0a589e08429b14cc94225)
2013-08-28 16:30:18 -04:00
Scott Feeney
c98deb5988
Toggle user sidebar popover when chevron clicked again
...
Fixes Trac #1679 .
(imported from commit 998f3497f22f83297c9afd7c3e8ea6446b8a06db)
2013-08-28 16:10:33 -04:00
Zev Benjamin
ade55dc39c
Fix PATH for Postgres backup cron job
...
(imported from commit 9e4b868d444d73f9eab1507851b1b3ab47655977)
2013-08-28 15:16:25 -04:00
Leo Franchi
cfb623ae5c
Bump os x app to 0.3.6
...
(imported from commit 51ddf87797a94b97dec8ce998a08a83ed8837196)
2013-08-28 14:20:20 -04:00
Waseem Daher
ae4d53f977
Push inline message editing button to everyone.
...
Leaving the feature flag in in case certain realms don't like it,
so we can easily blacklist them from this feature.
(imported from commit 2a5884008be05216d195a582a327d7641bc419d5)
2013-08-28 13:48:45 -04:00
Steve Howell
5b598a6d9c
Avoid churning the cache for stream name changes that don't change the cache key.
...
(imported from commit 1cc1ed01eaaaec4e6ddd6901fb5b877f831b604c)
2013-08-28 13:34:26 -04:00
Steve Howell
6aecdda7f7
Allow stream renames like corporate -> Corporate
...
(imported from commit 46d5078fb700631ef2a5b847eeeb055ff75d87d1)
2013-08-28 13:34:25 -04:00
Zev Benjamin
1d13c091ef
pg_backup_and_purge.py: Set up logging
...
(imported from commit 0948f548b005505a7f0c38c3af245815ec9efd6c)
2013-08-28 13:30:51 -04:00
Steve Howell
857680102f
Remove enforce_arity checks from Dict
...
(imported from commit 8fdb6d8807e5c16349c7fcf71f25ce73348a5fe1)
2013-08-28 12:29:11 -04:00
Zev Benjamin
724ce3744c
zephyr_mirror: Tweak error text
...
(imported from commit 7bb9d42a261e08d3abe5d80b9ba2e88f1d0b03bf)
2013-08-28 10:41:53 -04:00
Jessica McKellar
b27f27f932
node tests: add some asserts for stream_data.delete_sub.
...
(imported from commit 3428f32206105b240e230e1050e7c16cd9c3729c)
2013-08-28 10:24:52 -04:00
Jessica McKellar
2be988e6b7
Give recipient_cache and associated functions a clearer name.
...
(imported from commit 14b12b196e33dfc4eeca5ab0f12c130ddaef1065)
2013-08-28 10:23:40 -04:00
Jessica McKellar
95c70967d2
rename-stream: support non-ASCII stream names.
...
(imported from commit 5fe2c803c0645bb6367f39bfe58acc478a66a0eb)
2013-08-28 10:23:39 -04:00
Jessica McKellar
9ffc292a57
Update a stream name in the UI when it has been changed.
...
(imported from commit 1fb90a83a62243997d870e1b5da0590402bd8529)
2013-08-28 10:23:39 -04:00
Jessica McKellar
081ae7771a
Add a MessageList method to update message recipients.
...
(imported from commit 3c24f045aa5726fcab8b9acd91105044e7783b63)
2013-08-28 10:23:39 -04:00
Jessica McKellar
8f3c5dc924
Add a management command to rename a stream.
...
(imported from commit b3acadc09b289b48e2ac298e50a5427545b6a473)
2013-08-28 10:23:39 -04:00
Jessica McKellar
97f0320dd1
Add the backend facilities for renaming a stream.
...
An important part of this is updating the various caches that cache
the display_recipient.
(imported from commit 888bf54fd205516cf31a25ba3f4e45ad11bbd4d5)
2013-08-28 10:23:39 -04:00
Jessica McKellar
c1439c8853
actions: factor stream name checks into a function.
...
(imported from commit e107e895f247f6bfafe2c21de12d8a3c5de9268a)
2013-08-28 10:23:39 -04:00
Jessica McKellar
1f4f799030
Flush the per-process recipient cache after every request.
...
This cache was created to make recipient lookups within a single
request (e.g. when fetching old messages) cheaper. To support stream
name changes, we need to invalidate this cache on every request so
that users get a consistent view of the name change.
(imported from commit 801051b9f6a108c1f50be7eca9a1242d661919b1)
2013-08-28 10:23:39 -04:00
Jessica McKellar
cd4daaa41f
Factor the display_recipient cache key into a function.
...
(imported from commit 4a80c4db6ddcf8104f45b6b068e598378e655bc0)
2013-08-28 10:23:37 -04:00
Jessica McKellar
d64c09b1ed
Add a cache_delete for deletion of items from memcached.
...
(imported from commit 4fbdc4c4b230a5ab029dacc2463437f81fb0d023)
2013-08-28 10:23:04 -04:00