Tim Abbott
9ff8c9e358
subs: Access users by ID in new stream creation.
2017-01-06 23:18:53 -08:00
Tim Abbott
e228243723
install-aws-server: Add support for installing zulip.conf.
2017-01-06 21:58:16 -08:00
Tim Abbott
c6bdc2130b
install-aws-server: secrets enhancements.
2017-01-06 21:57:20 -08:00
Tim Abbott
ed0da5f874
install-aws-server: Fix usage output.
2017-01-06 21:57:20 -08:00
Tim Abbott
3e32102016
nagios: Fix various critical issues not tagged as pageable.
2017-01-06 21:49:20 -08:00
Tim Abbott
edebf7619b
puppet: Add PAM common_session disabling systemd-login.
...
This fixes a weird problem with systemd where logging into a server
via ssh frequently has a 15s+ lag.
2017-01-06 21:49:15 -08:00
Tim Abbott
93c2c19775
nagios: Increase process count limits.
2017-01-06 21:49:15 -08:00
Tim Abbott
2c6cb37385
munin: Add default munin configuration template.
2017-01-06 21:44:57 -08:00
Tim Abbott
46fc136943
feedback-bot: Add logging for successfully submitted feedback.
2017-01-06 21:42:16 -08:00
Tim Abbott
9ab8e7ba34
nagios: Disable swap checks for servers with no swap.
2017-01-06 21:39:07 -08:00
Tim Abbott
3e01ed1f73
nagios: Increase NTP max_check_attempts.
...
NTP often suffers from brief interruptions of service that lead to
spurious Nagios alerts; it makes sense to suppress these.
2017-01-06 21:32:43 -08:00
Tim Abbott
e4420b08d2
zulip_ops: Disable unattended upgrades of security packages.
...
Since Zulip does not handle e.g. postgres server restarts gracefully,
it's best for a system administrator to manually trigger security
updates.
2017-01-06 21:30:56 -08:00
Tim Abbott
6f9c73d0e5
zmirror: Update Debathena release in configuration.
...
The zulip_ops configuration is now for xenial, not obsolete wheezy.
2017-01-06 21:30:41 -08:00
Tim Abbott
bd9176d1d9
nagios: Remove some default files.
...
Nagios ships with a bunch of default configuration files that one
needs to delete in order to configure it.
2017-01-06 21:25:12 -08:00
Tim Abbott
7083899e77
zulip_ops: Add postgres config for enabling Nagios.
...
The old zulip_ops Nagios configuration depended on Nagios having the
ability to login as the zulip user (with essentially full write
access); this configuration is helpful for limiting nagios to special
"nagios" user with more limited credentials.
2017-01-06 21:24:24 -08:00
Tim Abbott
204edb0f85
zulip_ops: Cleanup pg_hba.conf configuration.
2017-01-06 21:23:51 -08:00
Tim Abbott
30c57eb2ae
zulip_ops: Add basic .emacs for production.
2017-01-06 21:20:21 -08:00
Tim Abbott
eb87d04168
puppet: Remove xxxxx password hardcoding in recovery.conf.
2017-01-06 21:20:21 -08:00
Tim Abbott
6404a1a5ff
zulip_ops: Add nagios-plugins-contrib.
...
This has a number of useful nagios plugins.
2017-01-06 21:19:59 -08:00
Tim Abbott
f7b77008ef
zulip_ops: Add aptitude dependency.
...
This is useful for `aptitude why`.
2017-01-06 21:19:50 -08:00
Tim Abbott
2510a51a8a
zulip_ops: Add letsencrypt dependency.
2017-01-06 21:19:31 -08:00
Tim Abbott
65774e1c4f
zulip_ops: use check_postgres package from apt.
2017-01-06 21:18:55 -08:00
Tim Abbott
165b4d3126
nagios: Fix check_send_receive_time threshholds.
...
Previously, the CRITICAL state would never fire (because x > 6 =>
x > 3). Additionally, 6s is not so unusually high as to deserve being
immediately pageable.
2017-01-06 21:16:37 -08:00
Tim Abbott
246bdbd829
update-prod-static: Fix node_modules/.bin being unavailable in prod.
...
Apparently `manage.py collectstatic` by default strips files starting
with "." from what it collects. This is a reasonably precaution,
though mostly irrelevant to us, since Zulip primarily runs that as
part of build-release tarball, which runs in a clean directory.
It also breaks our current approach for transferring node_modules to
prod machines via release tarballs; this change fixes that bug.
2017-01-06 20:23:46 -08:00
Tim Abbott
7df44f2e87
minify-js: Auto-detect virtualenv when possible.
...
Usually, update-prod-static takes care of this, but it's useful for
debugging purposes to be able to rerun this manually.
2017-01-06 19:55:08 -08:00
Rishi Gupta
38c2dc8790
Change settings.SYSTEM_ONLY_REALMS to use Realm.string_id.
2017-01-06 19:45:08 -08:00
Rishi Gupta
89af775e03
test_classes: Remove domain from ZulipTestCase.register.
2017-01-06 19:45:08 -08:00
Rishi Gupta
021c65a656
test_classes: Remove domain from ZulipTestCase.submit_reg_form_for_user.
2017-01-06 19:45:08 -08:00
Yago González
dafe06613e
docs: Add user guide for Send a status message.
...
Edited by tabbott for clarity.
2017-01-06 19:39:40 -08:00
Tim Abbott
3a3a1872e7
travis: Prevent upgrading oracle-java9-installer.
...
This fixes a minor performance problem, and also avoids errors when
Oracle's Java installer site is down.
2017-01-06 19:30:16 -08:00
Cynthia Lin
57e7941ba9
docs: Remove unnecessary content originally extracted from old ToC.
2017-01-06 18:41:57 -08:00
Tim Abbott
e256073214
docs: Remove all the redundant content from the index.
2017-01-06 18:41:07 -08:00
Tim Abbott
e2533cac7d
docs: Clean up message formatting duplication.
2017-01-06 18:32:36 -08:00
Tim Abbott
49a8a0e292
docs: Remove old table on contents.
2017-01-06 18:32:24 -08:00
Cynthia Lin
e66abbebf9
docs: Clean up table of contents.
2017-01-06 18:29:06 -08:00
Cynthia Lin
ad230de81b
docs: Extract new docs from sections of old index page.
2017-01-06 18:29:06 -08:00
Tim Abbott
d73cb4687e
docs: Fix explanation of unicode emoji.
2017-01-06 18:29:03 -08:00
Tim Abbott
89b47bb653
Revert "Fix Small Image Preview Sizing."
...
This reverts commit e4761782e0
.
This caused performance problems and jolting of the main UI, because
it broke the important invariant that the height of a Zulip message
should not depend on the content of slow-to-load assets such as
images.
2017-01-06 17:21:15 -08:00
Tim Abbott
0f50ef12f5
scripts: Fix path to install-node.
2017-01-06 16:48:18 -08:00
Brock Whittaker
c961172ab1
css: Fix emoji reactions jolt and padding issues.
...
This fixes two issues:
* If you had around 10 distinct emoji reactions on a message (enough
to force a line wrap if the add-your-emoji button was visible),
Zulip would add that button into a new row on hover, jolting the
message feed. This fixes that problem by leaving a blank last line
for the add-your-emoji button.
* We were incorrectly showing the padding for the emoji reactions
region even if there were no emoji reactions, causing messages to
have too much padding.
2017-01-06 16:38:12 -08:00
Tim Abbott
54acbc41ed
prod: Ensure the Zulip version of node is installed.
2017-01-06 16:18:29 -08:00
Tim Abbott
e4b065e03a
Move tools/setup/install-node to scripts/setup/.
2017-01-06 16:18:29 -08:00
Tim Abbott
374e900432
upgrade-zulip: Fix bug in migrations detection.
2017-01-06 16:18:29 -08:00
Tim Abbott
c65820618f
settings: Set an intelligent default for ALLOWED_HOSTS.
2017-01-06 14:46:47 -08:00
Tim Abbott
f3ee0eb67b
settings: Improve ALLOWED_HOSTS defaults.
2017-01-06 14:46:47 -08:00
Tim Abbott
a6cd0650fe
css: Fix styling for bulleted lists.
...
Previously, Zulip's bulleted list styling didn't have balanced
margins, which mean that they would look misplaced within single-line
messages.
2017-01-06 14:46:47 -08:00
Tim Abbott
bea788ec73
docs: Fix executable help documentation images.
2017-01-06 14:18:30 -08:00
Tim Abbott
e5fbea1007
upgrade-zulip: Move static asset compilation before shutdown.
...
This saves about a minute of downtime when using
upgrade-zulip-from-git in the default configuration.
It should also save several seconds of downtime when upgrading to a
production release tarball as well.
2017-01-06 14:04:54 -08:00
Tim Abbott
90ee8d1207
upgrade-zulip: Only pause for migrations if not current.
...
This saves about 1s of downtime when doing a no-op upgrade with the
default settings. Small, but worthwhile.
2017-01-06 14:03:55 -08:00
Harshit Bansal
ceb636dbd9
Manage allowed domains from admin settings.
...
Fixes : #1867 .
2017-01-06 12:03:31 -08:00