Jessica McKellar
1c5110dbad
Send you a registration email if you try to sign up for an existing realm.
...
(imported from commit 9104096b424f31a22ee7c8b72378f05309bb978b)
2014-01-31 16:40:19 -05:00
Jessica McKellar
7c788c1a17
signup: point to /register at the top too.
...
The message to use /register if your group is already signed up is
below the fold on my laptop -- this probably contributes to people
trying to sign up their group when they are just trying to register.
(imported from commit 517df29d10182c05780017c15225c9f95b844225)
2014-01-31 16:40:19 -05:00
Steve Howell
f42b526749
Create test_signup.py.
...
(imported from commit 4dffbed84fbe60d5f5deaedfb614e4eb156b34c7)
2014-01-31 16:02:35 -05:00
Tim Abbott
88fbd5d16a
Split out new module message_store.js.
...
(imported from commit 57cf3f2b8e74d7c56e3baf75859d5b3646282225)
2014-01-31 15:57:28 -05:00
Tim Abbott
f5d3a6ddc7
Move suppress_unread_counts to unread.js.
...
(imported from commit fb64edc27b661d036c9f24715aeb3b4dbdf9463a)
2014-01-31 15:57:28 -05:00
acrefoot
171005a9de
Make realm-specific lines in api_github_landing shorter
...
(imported from commit 0b205256de1b6ad30d42a0aa59bf1fe62ab88847)
2014-01-31 15:51:50 -05:00
acrefoot
425b2df4b4
Filter out synchronize messages on github pull requests for CUSTOMER23
...
(imported from commit 7032edd79738eba6119eedf15acdb77ef04a8a3c)
2014-01-31 15:35:06 -05:00
Luke Faraone
38636d5125
Puppet configuration for postfix
...
(imported from commit 230325f6233c6d32ecab5f9fa3fc102373b22039)
2014-01-31 15:33:15 -05:00
Luke Faraone
0f96d2229e
email-mirror: Also accept original recipient via argv
...
(imported from commit 9a29fe6906713e75ee208c924b67211575c011f2)
2014-01-31 15:33:15 -05:00
Luke Faraone
abc0be9c8c
email-mirror: Catch ValueError returned by decode_email_address
...
This indicates that we didn't get the right sort of email address passed to us.
(imported from commit 26881d537296ea3d21ac29ff1b67ab260f838e13)
2014-01-31 15:33:15 -05:00
Luke Faraone
179be2051d
email-mirror: Encode messages as utf-8 before parsing
...
(imported from commit 7b896b1e24d382f024ab0a487d448d20448f0cca)
2014-01-31 15:33:15 -05:00
Luke Faraone
760cd7a474
email-mirror: Run queue worker from supervisord
...
(imported from commit f496046bbc92b3d3b41aa15c3fbdd1d38556d6d0)
2014-01-31 15:33:15 -05:00
Tim Abbott
004fd0eab8
Move unread-related functions from zulip.js to unread.js.
...
(imported from commit efc0dd84c2cd30b0203b906af6991475d8a63985)
2014-01-31 14:59:03 -05:00
Tim Abbott
c8d57fcafb
Split out message_flags.js.
...
(imported from commit 52afa76fa71141630e325e558cb9c6955d8c03d5)
2014-01-31 14:59:03 -05:00
Tim Abbott
55a88f049c
Remove unused within_viewport.
...
(imported from commit d528e022a0d088052bb0bac5c29864688dae59ca)
2014-01-31 14:59:03 -05:00
Luke Faraone
9a1159fb09
Include email in response to API key retrieval
...
This helps our iOS app when authenticating via Google Apps, since we
don't get the users' email address when we get the ID token from Google.
(imported from commit 066639958c1e8f7845505ebdabc37282defca5c5)
2014-01-31 13:50:19 -05:00
Luke Faraone
3263d09939
Convert zmirror to use puppet apt module for debathena sources
...
(imported from commit 080d59d2ac750d03b55460752d7fe7d02e72611c)
2014-01-31 13:43:04 -05:00
Luke Faraone
aa52475e96
Switch to puppetlabs/apt
...
(imported from commit b2f581280dc7877051ef79d86eac671bfd455ace)
2014-01-31 13:43:04 -05:00
Zev Benjamin
364bbf08cf
Don't drop the public schema when initializing the database
...
The production database has a public schema. I thought we had dropped it, but
apparently not. We should match what exists in prod either way.
(imported from commit 1bf956360029ebbd59afc3cc30fca9a859343adf)
2014-01-31 13:29:10 -05:00
Zev Benjamin
655bacc06d
postgres-init-db: Don't duplicate lines in .pgpass
...
(imported from commit 2a9d56a2aee2a7fcb2c12e4647bdfedabaee390b)
2014-01-31 13:29:10 -05:00
Zev Benjamin
8767c33536
Persist the tsearch_extras extension across rebuilding of the database
...
We do this by creating a new zulip{_test}_base database that only has the zulip
schema and the tsearch_extras extension. We then use that as a template when
creating zulip{_test}.
(imported from commit 8adb4b98410e4042a0187902e89c99561eac8c8f)
2014-01-31 13:29:10 -05:00
Zev Benjamin
17826dba42
generate-fixtures: Be more robust to databases being missing
...
(imported from commit f42d673c433b8d3df4af79159831e57f5db1ee1c)
2014-01-31 13:29:10 -05:00
Zev Benjamin
2b1a5ae141
Fix postgres-init-db shebang line
...
(imported from commit 408d0ae05e104c076c9875135c7387af89fa8954)
2014-01-31 13:29:10 -05:00
Zev Benjamin
3212ced8e7
Remove unneeded code to delete time.pyc
...
lib/time.py was removed January 10, 2013
(imported from commit bd48cb7d81e98dd1723cd37553cc64c4f10face1)
2014-01-31 13:29:10 -05:00
Steve Howell
c67ae498ff
Extract test_external.py
...
(imported from commit 838dd34f101025ba161291992a56972cd374104b)
2014-01-31 13:14:19 -05:00
Jessica McKellar
9b1090506e
Add tests for admins unsubscribing principals.
...
(imported from commit a2599ddc55ccddde3d39cb125bb1d5079772c652)
2014-01-31 11:23:14 -05:00
Jessica McKellar
ec88b3abaf
Give admins the ability to unsubscribe people from streams.
...
(imported from commit 7ec130a233a2976ad0be6f8a7b59c33ce0e0cf3f)
2014-01-31 11:23:14 -05:00
Jessica McKellar
c4c5ac210e
Convert stream member list to a handlebars template.
...
We had been concatenating strings.
(imported from commit 2d50d3f750a450029d39553ea9cd99ef824a149b)
2014-01-31 11:23:13 -05:00
Jessica McKellar
db4cbcd438
Make /json/subscriptions/remove support principals.
...
Admins will use this to unsubscribe other people from streams.
(imported from commit 5b42d5852ddcfa2c8776482c45471828c4daf453)
2014-01-31 11:23:13 -05:00
Steve Howell
5acf8ac0b6
Split out zerver/test_messages.py.
...
(imported from commit 61c40418bad4628a8f98298587a0e0defa9302bd)
2014-01-31 11:22:49 -05:00
Tim Abbott
6e5e5596fd
Remove deferred installation of scroll handler.
...
This is no longer required, now that we're no longer scrolling the
main body of the page.
(imported from commit c2aa0d403c8fd0679b3110fe8e7684d46a7557fa)
2014-01-31 11:15:14 -05:00
Tim Abbott
70df0b933c
check-all: Clean up some values that are no longer globals.
...
(imported from commit 0cd8d5de8b9e30dc40274f1a3d64b9f6e53d26b2)
2014-01-31 11:15:14 -05:00
Jessica McKellar
00673534ba
digest: log send failures and unsubscribe hard-bounce emails.
...
(imported from commit 3ffcc335d4d3ad3955da8981ff1129888fe681a4)
2014-01-31 10:57:31 -05:00
Leo Franchi
2fac412119
Get next local id correctly when all message list is empty
...
(imported from commit 07208222ea682251927ef13c684e9e89277233bf)
2014-01-30 18:08:48 -05:00
Leo Franchi
01e948ac97
Allow unnarrowing to an empty message list in unread-messages-read case
...
(imported from commit f377dbce61fe2fc2051bc286f7215e8112f92736)
2014-01-30 18:08:48 -05:00
Leo Franchi
1056078415
Truncate local ids when loading older messages if messages could be local only
...
(imported from commit b32ae8f3554632aa84ed2dd039a612bb0fa644e2)
2014-01-30 18:08:48 -05:00
Tim Abbott
e505583f52
Split out new module people.js for tracking people.
...
(imported from commit fb9b769819ade25d1d3d6e452e68c7ee8651cfdd)
2014-01-30 17:32:58 -05:00
Tim Abbott
d0ae8795c3
Clean up obsolete fields in get_events_params.
...
Both pointer and last are fields that were removed when we changed the
protocol to use events like a year ago.
This conveniently allows us to stop exporting get_updates_params to
other modules.
(imported from commit 13651ee240ce6e1bafb241b185e5ef653c348cdf)
2014-01-30 17:23:53 -05:00
Tim Abbott
2fb9baafb4
Start running get_events immediately on page load.
...
Previously, we waited until we'd fully loaded the home view to start
calling get_events, which:
(A) didn't make sense non-message related events
(B) resulted in our throwing "get_updates not started" errors when
users sent a message before the home view was fully loaded.
This commit only fixes problem (B); to fix problem (A) we will need to
change the event capture code to only capture some events.
(imported from commit 2aacd6bdfd1e7d7707e3a724f1fde7da4a556538)
2014-01-30 17:23:53 -05:00
Tim Abbott
f27edcd50a
Move initial call to get_events to server_events.home_view_loaded.
...
Note that this makes the event fire after the home view has messages
loaded all the way to current; previously it only waited for the first
batch of messages to load.
(imported from commit a5c408ea0136c761f4cc77e8be4977b13acc6d77)
2014-01-30 17:23:52 -05:00
Tim Abbott
1eb294ed11
Rename get_updates to get_events in the frontend.
...
We did this rename on the backend ages ago.
(imported from commit 11bdf6aa08d932fe2586de282f6174e3dba7267a)
2014-01-30 17:23:52 -05:00
Steve Howell
e60f148a3e
Clean up double negatives in message_matches_search_term
...
(imported from commit 677bb3a76d3404f9899498777e7f1169947422c7)
2014-01-30 17:19:50 -05:00
Steve Howell
189743e813
Extract message_matches_search_term in filter.js.
...
This diff really just moves code; it's a trivial function extraction.
(imported from commit 8ff82b089e49645a6c6034152a9fc9cd83da0737)
2014-01-30 16:46:51 -05:00
Steve Howell
3a412b35e1
Use _.all() in Filter._build_predicate.
...
By using _.all() instead of a for loop, we avoid a tiny bit of
confusing between "break" being for a switch statement and being for
the loop.
(imported from commit cd6e7ff788b50f4dadce93e7f0efcb381bc59270)
2014-01-30 16:45:47 -05:00
Steve Howell
15b0f9dcc7
Use operator/operand in narrow.collect_single().
...
(This is part of converting away from tuples.)
(imported from commit ba3083f8b3242fee1d532d7666aee68af89d8ddc)
2014-01-30 16:15:16 -05:00
Steve Howell
796ebfd007
Do not return raw operators from narrow.operators().
...
Even in the case where we are running embedded narrows,
we want narrow.operators() to return new-style operators
that you get with Filter objects, so that callees do
not need to support the legacy tuple format.
(imported from commit a6649881a926a2304e9f7cc8ca53b406e2c8828e)
2014-01-30 16:15:14 -05:00
Steve Howell
de7708ed6e
Handle id:<msg id> searches with multiple terms.
...
If you do a search like id:5 topic:foo and message #5
does not have the topic "foo", we now return zero results.
(imported from commit 8121fac1dbd79024c51af1f310d831dab9242e36)
2014-01-30 15:57:32 -05:00
Zev Benjamin
a2d989b318
Fix typo
...
(imported from commit dc7ef302a70291063c3ef339f72b6a91e8129dc1)
2014-01-30 15:57:32 -05:00
Zev Benjamin
50e1cb7ab3
socket: Specify reasons everywhere we close the SockJS object
...
(imported from commit 7314fa975b9408caba2c5f1374c8259d67784ad0)
2014-01-30 15:57:32 -05:00
Zev Benjamin
3df1097c95
socket: Wrap module in an anonymous function call
...
This is so we can have some class variables.
(imported from commit 6311444bb2739daebc6c5da2b7ea7eabdd88689d)
2014-01-30 15:57:31 -05:00