Tim Abbott
013e84ef86
Remove obsolete explain_js_error management command.
...
(imported from commit 92f23e3bb7e6dbbad5162446b5f19e74728cf608)
2013-10-31 15:29:50 -04:00
Tim Abbott
217478e988
Remove obsolete clear_db management command.
...
do_destroy_rebuild_database is the "new" way to reset one's dev
database.
(imported from commit 8edb707ecd5e6e24b62eef324915cc3a4a5b8eda)
2013-10-31 15:29:50 -04:00
Tim Abbott
384f64d38d
Remove obsolete management commands from various field additions.
...
(imported from commit b44a2b683768c790839e82e2e9c9a18827670113)
2013-10-31 15:29:50 -04:00
Tim Abbott
f0580dd28c
Remove obsolete management command for activating MIT users.
...
(imported from commit a965eea8edfc9d73a00770d85cd517343f607338)
2013-10-31 15:29:50 -04:00
Tim Abbott
06d43a6f97
Remove obsolete management commands from the stream color transition.
...
(imported from commit d6d508d952714a1865ca4fddcb48d0ccedb6f4dd)
2013-10-31 15:29:50 -04:00
Tim Abbott
6d8fc371fb
Remove obsolete command to delete tutorial streams.
...
We don't have tutorial-bot anymore, so this is no longer needed.
(imported from commit b8a1bc9c2379a451e8cc1ed43b15f373bb3f2b06)
2013-10-31 15:29:50 -04:00
Tim Abbott
c8d07cc64c
Remove management commands from the mysql=>postgres migration.
...
(imported from commit 636f71b435a50e83fd8a9e40685d7c52b3b01f30)
2013-10-31 15:29:49 -04:00
Tim Abbott
ad128df3ac
Remove obsolete dots.svg (for generating pre-CSS presence dots).
...
(imported from commit 899ec477e33e742271de6e63b74d1dcf71d6f662)
2013-10-31 15:29:49 -04:00
Tim Abbott
21663601b4
Remove obsolete zulip.com/what-is-humbug page.
...
(imported from commit 0e2f317cf0bf262eb113caa7daab7d71ce564e9e)
2013-10-31 15:29:49 -04:00
Tim Abbott
a616800d8d
review: Rename humbug => zulip in test git repo path.
...
(imported from commit 1551003af066401914dbc055e75769911a335441)
2013-10-31 15:29:49 -04:00
Tim Abbott
4a15d135c1
Update unused puppet server name in puppet config.
...
(imported from commit b6fc02e4a6c55acb78ed3f4a3d91d526b9b7514d)
2013-10-31 15:29:49 -04:00
Tim Abbott
0e35424a7c
Rename humbug => zulip in some log file names.
...
(imported from commit 0bb5284566861e5a2f260cc66dcb53ebac0d7b97)
2013-10-31 15:29:49 -04:00
Tim Abbott
ba7c3a50f2
Remove migration code from database username migration.
...
(imported from commit 87a4ab08420b03aac331fda072149140804ee467)
2013-10-31 15:29:49 -04:00
Tim Abbott
c5b0076ecf
Rename humbug => zulip in audio files.
...
(imported from commit f297f1f9c8683d4e02e7a0c4ecf2182fc79b89f9)
2013-10-31 15:29:48 -04:00
Tim Abbott
eb4286bddd
Fix saving historical backups for our mediawiki.
...
Previously we were not commiting them to the right git repository.
(imported from commit 2a99db84fe6fce4d9fb970425af92d92507dce21)
2013-10-31 15:05:23 -04:00
Tim Abbott
161a1d4091
Rename humbug => zulip in paths for non-postgres backups.
...
(imported from commit a35065d3d94f86574d837a3e826023ee3a70819a)
2013-10-31 15:05:23 -04:00
Kevin Mehall
858b1f1bcd
Fix login page ?next= parameter.
...
request.get_full_path became the empty string and was ignored.
(imported from commit 6cced5969e74514e0a88c1dec2445a7e4cdf9806)
2013-10-31 14:36:35 -04:00
Kevin Mehall
c56110dd7b
Add /user_uploads parameter to return the link instead of redirecting.
...
(imported from commit 305e201e01aa919d2732dba3f1fd94ec4501d713)
2013-10-31 14:36:35 -04:00
Kevin Mehall
a09c7e1e0c
Make rest_dispatch errors cleaner for requests from browsers.
...
If you don't have a cookie or basic auth and the request looks like
a top-level page in the browser, redirect to the login page.
(imported from commit fc1bcb1080591522bd1b694664255f7049a5d443)
2013-10-31 14:36:34 -04:00
Jessica McKellar
c969c81fab
Revert "Remove 'Messages' gear menu item."
...
This reverts commit 01448ec2f28b88c3b1674b6a9e02d56f47a23fdf.
(imported from commit d109035f83a94aa48b0e57d5a5fa25ea781f566e)
2013-10-31 13:37:41 -04:00
Waseem Daher
1d784801cf
More settings.LOCALSERVER -> settings.LOCAL_SERVER.
...
(imported from commit 2b5045d302b8ebb2a5c7175264b4ab9cfef2844d)
2013-10-31 13:31:03 -04:00
Kevin Mehall
58f7138e07
Collect additional debug information for JS errors
...
(imported from commit 7c94ad118c2cd33e5b6eec4e27fd22dfa2d56909)
2013-10-31 13:18:43 -04:00
Steve Howell
70c1c31b3a
Simplify callback protocol for register_json_consumer().
...
The register_json_consumer() function now expects its callback
function to accept a single argument, which is the payload, as
none of the callbacks cared about channel, method, and properties.
This change breaks down as follows:
* A couple test stubs and subclasses were simplified.
* All the consume() and consume_wrapper() functions in
queue_processors.py were simplified.
* Two callbacks via runtornado.py were simplified. One
of the callbacks was socket.respond_send_message, which
had an additional caller, i.e. not register_json_consumer()
calling back to it, and the caller was simplified not
to pass None for the three removed arguments.
(imported from commit 792316e20be619458dd5036745233f37e6ffcf43)
2013-10-31 13:18:11 -04:00
Jessica McKellar
f1e90086f5
Remove the onboarding checklist.
...
Looking at the historical data, fewer than 50% of active users have
completed the checklist, which means that it is just persistent
clutter. We also have other better ways of encouraging people to send
traffic and get the apps now.
This commit removes both the frontend UI and backend work but leaves
the db row for now for the historical data.
(imported from commit e8f5780be37bbc75f794fb118e4dd41d8811f2bf)
2013-10-31 11:34:15 -04:00
Jessica McKellar
90457104a6
Remove 'Messages' gear menu item.
...
To help reduce visual clutter.
From our observations this is almost never used, and there are many
more intuitive ways to get back to your messages.
(imported from commit 01448ec2f28b88c3b1674b6a9e02d56f47a23fdf)
2013-10-31 11:34:15 -04:00
Zev Benjamin
0b461ec947
Add one-off tool for automating manual steps of recent puppet changes
...
(imported from commit 7add18afc7927cbbb5006a5a6c2b1c45092035f7)
2013-10-31 11:06:21 -04:00
Zev Benjamin
2731a4cb80
puppet: Fix incorrect include
...
(imported from commit d8277992f27e526550267dd6079711dbd22288b1)
2013-10-31 11:06:21 -04:00
Jessica McKellar
69481a0843
Remove 'All messages' sidebar link.
...
Nobody uses it, and it causes confusion. (How is it different from 'Home'?)
For now, leave in the ability to get to the narrow, although we may
ultimately want to do away with it as well.
(imported from commit 35b3f27e39c4de3391bc5571b32f7242a29f4cfa)
2013-10-31 10:38:49 -04:00
Tim Abbott
020bd9d4e9
signups: Don't count bots when reporting the number of users in realm.
...
(imported from commit 124b1baa76c1425824610679747e6576df55d189)
2013-10-30 20:39:40 -04:00
Tim Abbott
a788992f67
signups: Cleanup unnecessary database query.
...
(imported from commit 8d248999d8f02378fd44ce740ec6bad104745891)
2013-10-30 20:39:40 -04:00
Tim Abbott
8dd59c98a5
puppet: Increase worker_processes to optimize for prod0.
...
(imported from commit 35c7443c6ac3f8286ada4a7baf3655559176536e)
2013-10-30 20:39:39 -04:00
Tim Abbott
0792f2ba40
puppet: Raise worker_connections limit.
...
(imported from commit e120451e9386a9152baacce9f67779c53e40c5cc)
2013-10-30 20:39:39 -04:00
Tim Abbott
806fab9fe9
localserver: Initial prototype for an install script.
...
(imported from commit b0afd6493e2d5878e3c31d17f0bdee19b34062a5)
2013-10-30 20:39:39 -04:00
Tim Abbott
537dc49c86
Move servers/network-hardware-passwords under tools/secrets/.
...
Arguably this shouldn't live in git at all, but given that it does, we
can at least move it to saner location.
(imported from commit 72aad4c68e15a06bb2dffe54539999b1a8f8f66d)
2013-10-30 20:39:39 -04:00
Tim Abbott
ac745c8bf5
Move install-server under tools/.
...
(imported from commit 0999b09fbfd9f28a4bd421565aa8a884b7d2c3bc)
2013-10-30 20:39:39 -04:00
Tim Abbott
915bff3dcb
Clean up obsolete install-nodejs script (we install from apt now).
...
(imported from commit 1f406dda4b0d461964ff002332117f50e76b8aad)
2013-10-30 20:39:39 -04:00
Steve Howell
ddc7608afe
Add enqueue_file management command.
...
This reads lines from a file and pushes them on to one of our
worker queues.
(imported from commit 2ed3338c5065819f8bafb247a15799e2bc9e7d39)
2013-10-30 16:47:16 -04:00
Steve Howell
d7d1888ce0
Add TestWorker queue processor.
...
TestWorker is for troubleshooting, and it simply appends lines to a file
in /tmp.
(imported from commit 96b646a193a5474f3222b41725742e359b5301ec)
2013-10-30 16:47:16 -04:00
Zev Benjamin
d5b7cfd21a
Fix whitespace
...
(imported from commit 095ea8640a18560aae7bd5e045c4f68c96f96f73)
2013-10-30 15:52:35 -04:00
Zev Benjamin
eb7fd1ba51
Add some front-end debugging changes
...
(imported from commit 21684b09100bc0a24372948a9417c973709c1be2)
2013-10-30 15:52:35 -04:00
Zev Benjamin
2e6b3131b5
blueslip: Add `debug()` method that logs to the in-memory log but not the console
...
(imported from commit 7ca312d89ad3ec26c955b846e98c94b2b84a397e)
2013-10-30 15:52:35 -04:00
Zev Benjamin
dd678465ae
[manual] Move puppet modules to the top level
...
The new puppet.conf file has to be moved into place manually.
(imported from commit 253d9a95386dae8c803a998ce2dc7e8be40c880a)
2013-10-30 15:42:26 -04:00
Zev Benjamin
8ca76ba13f
Split our puppet configuration in two
...
The 'zulip' module contains the general setup for any server that
will run our app. The 'zulip-internal' module contains configuration
that is internal to Zulip the company.
(imported from commit 23c99dd889577c2917ddbf76892cf8f6cc66a13e)
2013-10-30 15:42:25 -04:00
Zev Benjamin
57bef07832
[manual] Move /etc/humbug-* files into /etc/zulip
...
The moved files are:
humbug-server
humbug-local
humbug-machinetype
Their new names are their old names with 'humbug-' removed.
zulip-puppet-apply must be run before this commit is deployed
(imported from commit f4eb523244d3409b5809c279301225d3fdf0c230)
2013-10-30 15:42:25 -04:00
Zev Benjamin
09acf1c22d
Remove old, unused update-server script
...
(imported from commit 45e6923859bd008d66f555eaea286425a6578562)
2013-10-30 15:42:25 -04:00
Allen Rabinovich
381ec4a7e0
Fix for integrations jumpiness
...
(imported from commit 106ca972d27e46cfacbd7b321dbbe5d69af463df)
2013-10-30 11:47:02 -07:00
Waseem Daher
db1f5065a7
Add tooltip for, e.g. !gravatar(wdaher@zulip.com) output.
...
(imported from commit eff24a2fc7da77edc26449074acf75832d368a17)
2013-10-30 13:29:37 -04:00
Luke Faraone
5991d19013
Require and set an API/web URL when creating a deployment
...
(imported from commit b60eecd6a425f052fa0f73c5d9414fb0d817987e)
2013-10-30 12:00:13 -04:00
Luke Faraone
6d3f3d0d67
Include the deployment's ID in the command output.
...
(imported from commit e5fe9f31a4c9336a8b6cb449938d935705639e71)
2013-10-30 12:00:13 -04:00
Luke Faraone
ab9b1be82c
Rework management commands to handle deployment assignment
...
We now ensure `create_realm` adds you to a default deployment and that
`create_deployment` removes the old deployment association when
performed.
(imported from commit 5b94fb07b8e11332765b057dc640a5ed873ec99e)
2013-10-30 12:00:13 -04:00