Kevin Mehall
45b14a0c96
Set up people_dict before DOM load.
...
hashchange, which calls admin.setup_page, runs in another onready
event handler before zulip.js main().
(imported from commit 5d4e71f4666baf0a53e3fe9804561ce6cdc06261)
2013-09-09 12:13:33 -04:00
Steve Howell
682414e13c
Move code to alert_words_ui.js
...
(imported from commit 78797e690ced954fc79f854efebe5945dd360bde)
2013-09-09 12:06:45 -04:00
Leo Franchi
a33957db32
Handle mailchimp error 214 (duplicate email) in signup worker
...
(imported from commit cb34c153fc96bca7c8faed01d019aa2433fcf568)
2013-09-09 10:57:09 -04:00
Leo Franchi
e5a39e5b4f
Fix apache2 nagios confing redirect
...
(imported from commit 88775e874e2852e0c8b7846bdde04d7d1d2a1afe)
2013-09-09 10:43:04 -04:00
Scott Feeney
5d800c5186
Fade users when composing
...
This is feature-flagged to staging only.
There are basically 3 parts to the implementation:
1. In response to typing, fade/unfade the user list.
2. When a compose is aborted, unfade all users.
3. When the presence list is redrawn, fade/unfade the user list again.
(imported from commit cd416de232849a9f69dcacdc8b0fcfc20e3848a2)
2013-09-06 23:13:48 -04:00
Scott Feeney
9c454dfe02
Track peer_add/peer_remove events on client side
...
This is the last step in getting a consistent client-side picture of who
is on a stream (provided non-MIT realm, and provided the local user is
subscribed to that stream).
(imported from commit 8bca722f169860ad4c1c92fdcb70d62c60f70fed)
2013-09-06 23:13:48 -04:00
Scott Feeney
232804c480
Add a warning comment to stream_data.js
...
(imported from commit c179a6983ee2f15fee4dd901eaa66b3aa498ea78)
2013-09-06 23:13:48 -04:00
Scott Feeney
7d3727d3bd
Import subscribers list client-side when you subscribe to a stream
...
(imported from commit d42dfd6afc3778740934dad869ca86515dc966e5)
2013-09-06 23:13:48 -04:00
Scott Feeney
b8dc9cc198
Send you the subscribers list when you add a subscription
...
(imported from commit 810de1f03c6765ef1c5476df30aff4c467783cab)
2013-09-06 23:13:47 -04:00
Scott Feeney
dfaca2e9c7
Import initial subscriber lists from page_params.stream_list
...
(imported from commit b9679d30e4235efb6f47c2fa6c006790df616564)
2013-09-06 23:13:47 -04:00
Scott Feeney
17cad06a2d
Add Dict.from_array()
...
(imported from commit 0650edb2217afa2c37be1bbc4f9e2ac40f4c0e2c)
2013-09-06 23:13:47 -04:00
Scott Feeney
f9cfa6b5f7
Include subscriber list in page_params.stream_list
...
(imported from commit 7f03eec37c7cbdcdefb590c39a76444bd1b55230)
2013-09-06 23:13:47 -04:00
Scott Feeney
c46007e08e
When a user subscribes to a stream, notify other stream subscribers
...
This is a backend-only change. No frontend code that uses this is
included.
(imported from commit 4bc379de3bbfc0975ff939fa5895d716a4d1ff1b)
2013-09-06 23:13:47 -04:00
Scott Feeney
65ed20469e
Split out get_subscribers method on backend
...
(imported from commit b5941ff90bbf5b31a9fa31aa83e5d1856d483dcc)
2013-09-06 23:13:47 -04:00
Scott Feeney
eb59d06aab
Simplify subs member list rendering
...
(imported from commit 8772bc09341a89245c6013dcf106ce52c81abe7a)
2013-09-06 23:13:47 -04:00
Scott Feeney
1c2479c807
Fix overly-tight coupling in set_stream_color test
...
The test will fail if a new attribute is added to the structure that
gather_subscriptions() returns. It should only be concerned with the
subscription's color.
(imported from commit fd5bad97bbce2544e0078ee029f54d4e45da9c15)
2013-09-06 23:13:47 -04:00
Leo Franchi
828557c73e
Niceties for alert_word editing: add on enter, handle tab properly
...
(imported from commit 317be7774c02d507ba69548fdc28c1aca75d6e70)
2013-09-06 16:49:56 -04:00
Leo Franchi
cf59f07fed
Replace alert_words as event contains full list
...
(imported from commit 489975f8bcbd0c3bcec07dd5ed62de5cae686140)
2013-09-06 16:05:08 -04:00
Leo Franchi
a67d461139
Hoist joining of message content in alert_words processor
...
(imported from commit 5025b7108839ddc04d6d9e575a9a288223526fe8)
2013-09-06 16:05:08 -04:00
Leo Franchi
8c0e112aa7
Update generate-activity-metrics to use new graphite url
...
(imported from commit 4664e9f389d05edb014ddb3b7f271cfc32245f3f)
2013-09-06 15:14:55 -04:00
Leo Franchi
7d76c47321
Re-enable alert word bugdown processor for staging
...
(imported from commit a9fb8284a47d18b97b84d3ce37482132b21d3885)
2013-09-06 14:51:40 -04:00
Leo Franchi
8ad6a0daa9
Cache realm alert_words to avoid database hits when rendering
...
We found that since bugdown processes are threaded, the cost of
doing a db query in a markdown processor is quite high---each
thread must start up a new db connection including a SSL handshake
etc. We should strive to keep our rendering pipeline free of mandatory
DB queries.
(imported from commit 555066bd03da6c681b74ce6137acc264eb41c55d)
2013-09-06 14:50:25 -04:00
Leo Franchi
7b375634f9
Temporarily disable alert_words markdown processor on staging
...
(imported from commit ab3eed4ce36ebcd3d928d2d92fc34c9ebacc11f9)
2013-09-06 13:39:26 -04:00
Allen Rabinovich
a6dc890686
Standardize unread counts for user list
...
(imported from commit 2b82fbb6cbf89b8590a3319ce5e30dadf18cc87b)
2013-09-06 09:05:40 -07:00
Allen Rabinovich
30ab909182
Standardize unread counts for global filters
...
(imported from commit 0158206d40e873309999c266f5aa4d79e17c5760)
2013-09-06 08:36:14 -07:00
Allen Rabinovich
67f05f4df4
Remove email from user info and add name linebreak
...
(imported from commit e76b6dba7fa6c3e9c179d91c575b809977774d94)
2013-09-06 08:33:05 -07:00
Leo Franchi
252045fe2e
Fix assignee in JIRA created message
...
(imported from commit 5ebadd14dee58c20746c80dfd99ba70a3d772ab6)
2013-09-06 11:24:03 -04:00
Steve Howell
ca8b497f1b
Double the max height of the compose box
...
(imported from commit acf0ae068208153f027da84b636c307a20dccf43)
2013-09-06 10:58:49 -04:00
Steve Howell
b97c60b635
Restore the compose box's original size after hitting send.
...
This fix required upgrading to 1.1.17, but it's not squashed
with the upgrade, because that would complicate keeping the
copyright-fixing commit separate from the upgrading commit.
The new version of the plugin makes it so we can trigger a
resize event, but it's backward incompatible with our old
compose box code.
A minor cleanup here is that we also don't trigger a resize
right before hiding the compose box.
(imported from commit 6b0cb9ccd2ddef919fd375a80cfca535b5b74c0f)
2013-09-06 10:58:48 -04:00
Steve Howell
c0d1481e83
[third] Fix copyright for jquery.autosize.js
...
(imported from commit c680058ad5dc5e51e76308f5e79bd84a96c1de6a)
2013-09-06 10:58:48 -04:00
Steve Howell
7d3dfff9c7
[third] Upgrade jquery.autosize.js from 1.13 to 1.17.7
...
(imported from commit c6a3a911b4481a53000b3f937ea5a3b85a5be8d2)
2013-09-06 10:58:48 -04:00
Zev Benjamin
f666e168e1
nagios: Fix argument expansion in check_postgres_alert_args command
...
This was apparently causing some quoting weirdness.
(imported from commit 680d3cb9f4b1cf47cc1652feeb9f19855e7aa3e0)
2013-09-05 20:02:02 -04:00
Zev Benjamin
abe07b34d5
Up the thresholds for nagios alerts about Postgres locks
...
We can hopefully lower this again when we figure turn on autocommit
or figure out why we're suddenly taking more locks. For now, though,
the number of locks does not seem to be harmful to performance.
(imported from commit 0f8915d4a44aa28d1fa0969b93beea691d70d8d7)
2013-09-05 19:32:33 -04:00
acrefoot
cf3e98d74a
use staging for wdaher.com for the email script
...
(imported from commit fbad47386f5c48785f766886218370612db31c26)
2013-09-05 19:19:41 -04:00
acrefoot
592e1ead6b
Actually use the realm specified by the email mirror when doing the markdown
...
(imported from commit 00b909b1d0c70a3523ab53d2f91815ab14ba2a6f)
2013-09-05 18:24:55 -04:00
Scott Feeney
70dd92efa0
Size emoji to be 20px by 20px
...
The previous setting of 1.4em translates to about 19.6px. In the case of
the CUSTOMER4 emoji, 19.6px looks bad in Firefox on Linux while 20px
looks fine.
(imported from commit 01de911076e5f54e4aee96dc9edd3d40f03a4bb3)
2013-09-05 17:35:31 -04:00
Zev Benjamin
cb78014eef
bugdown: Allow block-level block quotes
...
It is triggered by specifying the "language" of a code block to
"quote" or "quoted":
Hamlet said:
~~~ quote
To be or **not** to be.
That is the question
~~~
(imported from commit 847a0602e335e9f2955e32d9955adf8ac8de068c)
2013-09-05 17:34:28 -04:00
Zev Benjamin
dd26260884
bugdown: Clarify variable name
...
(imported from commit 27968536bd6a3fcda6d26d8dde7f82d9f0990dd2)
2013-09-05 17:34:28 -04:00
Zev Benjamin
b3644ecfad
Fix attribution of Github issues messages
...
(imported from commit 941e52e51dfd9fddfe4f86bb33f25877d6d0edbd)
2013-09-05 16:04:59 -04:00
Zev Benjamin
11a503667d
Replace configuration references to trac.humbughq.com with trac.zulip.net
...
(imported from commit aa042a10ada3f04205fd8d3e94c2b13f12a5a1a7)
2013-09-05 15:43:08 -04:00
Zev Benjamin
2f1551e745
Replace comment references to trac.humbughq.com with trac.zulip.net
...
(imported from commit 231d0884345be525d58ce51f48a76bba6960f09d)
2013-09-05 15:43:08 -04:00
Zev Benjamin
5c81148839
Switch our trac realm filter to use trac.zulip.net
...
(imported from commit 19163f5be01a1d9370d9ed45c55bedd670772dac)
2013-09-05 15:43:07 -04:00
Luke Faraone
d95da86299
Apache etc configuration changes to stats to support stats1.zulip.net
...
(imported from commit 3a20e31b6a5bf897aa700b55eba1bb0e8346c36c)
2013-09-05 15:43:07 -04:00
Luke Faraone
1c48aa7b8c
Switch nagios to .zulip.net and add cert
...
We maintain a legacy hhq.c cert to avoid breaking links.
(imported from commit 4e8878185b02c0ed6c9193e21ff94ac96a2ef7b4)
2013-09-05 15:43:07 -04:00
Luke Faraone
4f6159049d
Switch trac to .zulip.net and add cert
...
We maintain a legacy hhq.c cert to avoid breaking links.
(imported from commit e9953a3cc93f057abd79d7ce652e0942051ff5dd)
2013-09-05 15:43:07 -04:00
Kevin Mehall
e58e6f1b7d
Check admin permissions on the target realm, not on their own realm.
...
Trac #1772
Also abstracts this into a method.
(imported from commit f435b3379fb5387f8b3fdf7ca728ab760eadbf95)
2013-09-05 15:36:59 -04:00
Waseem Daher
8e1470fb05
integrations: Update desk.com blurb.
...
(imported from commit e1bbaca1c47fac7b194d6a531ffe4a7ce15dbd06)
2013-09-05 15:23:09 -04:00
Tim Abbott
ce710292ca
Always use external-content.zulipcdn.net for mit.edu realm.
...
(imported from commit 21d1101185bf52f21fcc345e791217311e9c0a13)
2013-09-05 14:35:42 -04:00
Tim Abbott
b557b94d0b
bugdown: Rewrite image urls to avoid mixed-content warnings.
...
(imported from commit fc0a41befb04f2a8aad2937a856366ac3cadb192)
2013-09-05 14:35:29 -04:00
Tim Abbott
a575ea997f
puppet: Run GitHub Camo on lb0 for external-content.zulipcdn.net.
...
(imported from commit c03f2018fee1d88b747f45fc7841949f61e5c06c)
2013-09-05 14:35:29 -04:00