Tim Abbott
e06722657a
[manual] Remove /messages/latest API and related legacy code.
...
This requires doing a puppet apply on our servers to take effect
properly.
(imported from commit 19dc56f071f07a5d2571eef49dd835121b2e82b6)
2013-11-05 14:19:40 -05:00
Zev Benjamin
ae8648b07f
puppet: Fix misc puppet bugs
...
(imported from commit b8bff5de95e8310d19e1b176c88f79b4f22afe6a)
2013-11-05 14:15:22 -05:00
Zev Benjamin
042ab1a68d
puppet: Add postgresql.conf for local servers and tune it during puppet apply
...
(imported from commit 0c29da5c6340f80ae425468c2207c49ed8278479)
2013-11-05 14:15:22 -05:00
Zev Benjamin
6c8884dbb9
puppet: Make zulip::local_server use zuilp::postgres_appdb
...
(imported from commit 23eac4233996d3515b48e972a1e98e43e1dd4bf0)
2013-11-05 14:14:53 -05:00
Zev Benjamin
2afdb4b11e
puppet: Move public portions of Postgres puppet config to the zulip module
...
(imported from commit 25cb2e386e16b5c12f8efa26aa029215e29099f2)
2013-11-05 14:14:19 -05:00
Zev Benjamin
b3e6d49d2f
puppet: Switch puppet to using include-style class declarations
...
This allows us to declare classes more than once, which we need as
we're making our class dependency graph more complicated. See
http://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html#aside-history-the-future-and-best-practices
(imported from commit d4199b0df0d92d166fbc3559957f67ee9cf2ecdc)
2013-11-05 14:14:19 -05:00
Zev Benjamin
0073014ea9
Remove redundant EXTERNAL_HOST settings
...
(imported from commit dcf9709bc5c2a2c3f00410fd1b2849d3ab879fb9)
2013-11-05 14:14:19 -05:00
Zev Benjamin
787215d743
[manual] Switch over to new /etc/zulip/zulip.conf config file
...
Run the following commands as root before deploying this branch:
# /root/zulip/tools/migrate-server-config
# rm /etc/zulip/machinetype /etc/zulip/server /etc/zulip/local /etc/humbug-machinetype /etc/humbug-server /etc/humbug-local
(imported from commit aa7dcc50d2f4792ce33834f14761e76512fca252)
2013-11-05 14:14:19 -05:00
acrefoot
e9bd56b5a0
Make topic edits propagate by default from message header form
...
(imported from commit 6adcce6ebf90b35e84316e9f079de4010a635f8b)
2013-11-05 12:46:59 -05:00
Leo Franchi
2551968966
Log end-to-end send time to statsd
...
(imported from commit 5a085b2cc72eaa69ca5dd704e3b33df895144b95)
2013-11-05 11:47:48 -05:00
Leo Franchi
7794373db6
Include 10.7+ info in mac app page, as well as link to 10.6-compatible version
...
(imported from commit 7af1f3709188baf2e388548783210ff1cab594be)
2013-11-05 11:29:31 -05:00
Steve Howell
d0722b6962
Remove dead code related to /activity.
...
(imported from commit ebec4ddb8727c16dc04ebd32829389e5594d49f5)
2013-11-05 11:00:59 -05:00
Steve Howell
c2f2987222
Link to newer realm report from /activity.
...
(imported from commit a52dab0532748b46d21157c49d758c389cafef86)
2013-11-05 10:46:42 -05:00
Steve Howell
bd84d1305e
Clean up titles in activity reports.
...
(imported from commit e516bbfaff7b3615059b4aafb3304e31db85edcc)
2013-11-05 08:13:00 -05:00
Steve Howell
23cd4016f4
Look for send_messages_backend in /activity page.
...
The main Activity page counts users as active if they have either
sent a message or updated a pointer. In the unlikely event that
somebody sent a message but never updated their pointer, we were
undercounting them, if they went through send_messages_backend.
(imported from commit 5f112be87a239980c38a18c13f9cd68e90d2e905)
2013-11-05 08:12:59 -05:00
Tim Abbott
8853d86b17
Disable notifying on sending outside view for now.
...
It's somewhat buggy, and has thus been annoying our internal users, so
better to disable it until we can fix the bugs.
(imported from commit f981791d32d321b0cfe06b4a337e26ab48832bb3)
2013-11-04 18:32:34 -05:00
Tim Abbott
792b283dcd
Report end-to-end sending times as experienced by clients.
...
This should help with determining the prevalence of slow sends as
experienced by users.
(imported from commit f00797679315c928af3c87ad8fdf0112f1dfa900)
2013-11-04 18:32:34 -05:00
Leo Franchi
0bcc8db924
Give the initial bots themselves as owners
...
(imported from commit aca5565a3705aa6c6d55eb8afb5ca84f0efc9a0c)
2013-11-04 17:36:14 -05:00
Tim Abbott
97e9615921
Add script to replace populate_db for local server.
...
(imported from commit ca51391fc1d8ed13c0fcd36e17c875a085c78eb0)
2013-11-04 17:01:41 -05:00
Leo Franchi
6765ec0795
Use a site-specific Zulip Admin email in django error pages
...
(imported from commit 2d5415d7cd81befc3051b5de3835c0cd258b6375)
2013-11-04 16:35:50 -05:00
Leo Franchi
64289b5630
Fix link to bootstrap css in our nginx error pages
...
(imported from commit 2206e108ffa355a671e2aeeb6ca564e420c359af)
2013-11-04 16:35:50 -05:00
Jeff Arnold
6483314f74
Only fade visible messages before rendering compose box
...
Partially addresses #1963
(imported from commit 0c941085ab6894e8e43015a116c49a5bdc674b5f)
2013-11-04 16:27:39 -05:00
Jeff Arnold
a1c0590043
Eliminate useless code. You can't click into the box when it's closed.
...
(imported from commit 67268d7d156ffede2c9ab6a3ec94ab04c3876118)
2013-11-04 16:25:06 -05:00
Leo Franchi
7a9e3ac90f
[puppet] Fix OS X 0.3.9 desktop app release
...
(imported from commit 2980b7df5e37a6bc6df8d816b0a4e43ce17aea0a)
2013-11-04 15:24:51 -05:00
Leo Franchi
c0450d4da4
[puppet] Update os x desktop app 0.3.9 signature in sparkle
...
(imported from commit 88075fdba0241d5f87f7b8138baf7b6dfd203b27)
2013-11-04 14:38:38 -05:00
Kevin Mehall
1686df4b48
Fix populate-db.
...
3fd81bfc moved test_messages.txt, but did not update a reference to its
path.
(imported from commit 6e4addcd8b69ed0cd01f3dabc272b197c87bd360)
2013-11-04 14:01:43 -05:00
Kevin Mehall
b30a0de6aa
Update gitignore
...
(imported from commit a9a2f261484caa761c3e649adcaa133018608c70)
2013-11-04 13:40:44 -05:00
Kevin Mehall
78b45b61fb
Minify JS in the localserver upgrade tarball.
...
This moves the list of removed files from .gitattributes to
tools/build-local-server-tarball because static/ and tools/ are
necessary for update-prod-static, and it seemed best to keep the
entire list in one place.
(imported from commit 2a447cbde29e90d776da43bb333650a40d4d363c)
2013-11-04 13:40:43 -05:00
Tim Abbott
ca0848b308
Don't purge old deployments on local server, for now.
...
(imported from commit 860e51691d90eee3e594388d514af07c9bb86d6a)
2013-11-04 13:22:42 -05:00
Tim Abbott
5f92ccb422
[manual] Move update-prod-static and update-deployments back to tools/.
...
update-deployment has been replaced by upgrade-zulip for local server
instances, since it won't be running off a git repository, and
update-prod-static won't be needed since we plan on shipping minified
javascript.
When we deploy this, the deployment will fail, and then we'll need to
update the git checkout from which post-receive runs on git.zulip.net.
(imported from commit 86aaedbab09c60ae86ac1d0ae492d0d1bc45569f)
2013-11-04 13:22:41 -05:00
Tim Abbott
bc19be977a
purge-old-deployments: Never purge the currently running deployment.
...
(imported from commit edccfc908f50a66e5c214bca8a5418625ed64bf0)
2013-11-04 13:22:41 -05:00
Tim Abbott
adc5771062
Rename purge-deployments to purge-old-deployments.
...
Since this is a user-facing script, we should make it more clear about
what it does.
(imported from commit eecaed8462a92fe7c688df5c32fea2e088b25058)
2013-11-04 13:22:41 -05:00
Tim Abbott
c828057986
Don't ship puppet/zulip-internal to local server instances.
...
(imported from commit 33cd03546d1a0958213b76943ee8a221e58dfb29)
2013-11-04 13:22:41 -05:00
Tim Abbott
81aff30127
Add script to upgrade a local server installation.
...
This has a decent amount of code copied from update-deployment, but
there's enough different that I think it's reasonable to write this
and then move some common code into the zulip_tools library.
(imported from commit ae4fdf8125daf802f04f4543a9f1ebae4e9cd3bd)
2013-11-04 13:22:41 -05:00
Tim Abbott
dc596f7a47
build-local-server-tarball: Add prefix.
...
(imported from commit 725b197e93133d81a2fdfe23c1cdd34103d52a11)
2013-11-04 13:22:41 -05:00
Tim Abbott
5afb0ed7d1
update-deployment: Remove obsolete deletion of pyc files.
...
Since we do a fresh clone every time, there never are any.
(imported from commit ffd0baba3cf26b019c968b99e7f43c9bcc40b175)
2013-11-04 13:22:41 -05:00
Tim Abbott
83fd197ffc
[puppet] Add missing consumer monitoring for recent queues.
...
(imported from commit 3c97bc8f964d38bf8b05fedca5dfc816798b1895)
2013-11-04 13:22:36 -05:00
Tim Abbott
87271b57cd
Fix feedback check to correctly use the recipients list.
...
Even for a PM, the "recipients" list is 2 people -- the sender and the
receiver.
(imported from commit 5503e0ee2abb643601a0a4e61366127914808245)
2013-11-04 12:58:40 -05:00
Leo Franchi
fe1313ad76
Split management commands for internal use into zilencer/
...
(imported from commit 3fd81bfc7e987fc88bd1d632546850eebbb92234)
2013-11-04 11:58:52 -05:00
Tim Abbott
54871853b1
Remove obsolete Tornado-internal user pointer cache.
...
It is from before we were caching UserProfile objects.
(imported from commit 5335728bf0c62efb330fa29a6e08efc43eb86691)
2013-11-04 11:51:18 -05:00
Tim Abbott
2a77cecc7a
Remove several unnecessary TODO notes.
...
(imported from commit 1292d048d63c056af69f62352cf8cab283ef5792)
2013-11-04 11:51:18 -05:00
Tim Abbott
68dcc760c3
Clean up some unused imports.
...
(imported from commit 0c5d8e2a55ba1b8909ba807fee3afe863dcdc226)
2013-11-04 11:51:17 -05:00
Zev Benjamin
2b24fbf523
Use a template comment instead of an HTML comment
...
We don't really want this kind of comment leaking out to our users.
(imported from commit 96249197d971d7cafc5cc663974a107116b44c8b)
2013-11-04 11:49:37 -05:00
Jeff Arnold
055b0ede04
Add an <li> to prevent opening the compose box from taking >500ms
...
(imported from commit 7c57051ab847cf4153a20c5eb07482ed9f6b594b)
2013-11-04 11:47:45 -05:00
Jessica McKellar
7e3035b2d9
Fix historical messages not getting their color updated on a color change.
...
Perhaps we should be checking based on an ID rather than the actual
text, but this fixes the proximal issue.
(imported from commit b125415c3a8356255b64c8e22733532491ea0065)
2013-11-04 10:44:55 -05:00
Jessica McKellar
d43c01c911
Complete rebranding of 'in home view' to 'muting' the stream on the Streams page.
...
(imported from commit a56ef49eefedbcc1ae14ec8486dd3ca73bed1f43)
2013-11-04 10:29:38 -05:00
Steve Howell
0c505c9b80
Exclude "desktop" from Client tab of /realm_activity.
...
The "desktop" counts aggregate all desktop clients, but on the
Clients tab, we are only interested in specific versions.
(imported from commit eea2d8da584a6fa32fa1f3a2bae71ef5daaba738)
2013-11-04 10:24:55 -05:00
Steve Howell
7a67fb34b0
Rename: queue_followup_emails -> enqueue_followup_emails.
...
(imported from commit c44e790de5b694f8d98b03608231f7a284856254)
2013-11-04 10:20:59 -05:00
Steve Howell
c4141eeeb0
Rename: queue_digest_emails -> enqueue_digest_emails.
...
(imported from commit a72fdf849814ff974117c55bf1b155c494a1b160)
2013-11-04 10:20:59 -05:00
Tim Abbott
03c5ae44a4
Remove unnecessary transaction in message flag updating.
...
We only needed a transaction here to workaround problems associated
with not having database-level autocommit.
(imported from commit 240ba05a4a4a846a7ff62e6e59e403ab0d78ab11)
2013-11-04 07:31:39 -05:00