Thomas Butter
d93d4c7216
Fix settings documentation of twitter keys.
...
Twitter keys are stored in zulip-secrets.conf.
2015-09-29 17:45:05 -07:00
Tim Abbott
852ac66f8e
Extend the Google oauth documentation in local_server_template.py.
2015-09-28 10:05:58 -07:00
Amanpreet Singh
e20bc9f9b3
Fix "by hand" installation instructions.
...
- Add missing `python-dev` in apt-get install command
2015-09-28 09:24:55 -07:00
Tim Abbott
1f2f497cab
Unrevert run Zulip tests automatically using Travis CI.
...
This contains a fix written by nemeth from PR #63 for doing argument
parsing properly.
2015-09-28 09:18:51 -07:00
Luke Faraone
578f769f60
Revert "Run Zulip tests automatically using Travis CI."
...
Improper list access from `sys.argv` would result in an exception if no
arguments are passed.
This reverts commit d2f5937d89
.
2015-09-28 14:33:13 +00:00
Ian Whitlock
54fd321941
Add Vagrant-caused permissions problem to Possible Issues.
2015-09-27 17:48:07 -07:00
Tim Abbott
b6c1f1d162
Fix incorrect name for email_password secret in settings template.
...
Fixes #49 .
2015-09-27 17:06:03 -07:00
Tim Abbott
d2f5937d89
Run Zulip tests automatically using Travis CI.
...
This is a bit hackish in that ideally we'd use proper options parsing
in provision.py, but it works and I even ran the tests 100x for tests
for flakes and didn't get any, so it's definitely an improvement!
With this we'll be both testing the runtime and effectively the Dev VM
setup process, which is awesome; the additional thing I'd want to add
tests for is the production setup process...
2015-09-27 16:29:20 -07:00
Caleb Anderson
ed742fa847
small typo fix
2015-09-27 01:10:01 -06:00
Tim Abbott
a625ca49ec
puppet: Move /var/lib/nagios_state creation to zulip::base.pp.
...
Previously, in Zulip voyager, the cron jobs would spew error emails
every time they ran, due to this directory not existing.
This also tightens the permissions for the folder and avoids needing
to create a nagios user for Zulip voyager; it should be writeable by
both root and the zulip user and world-readable (and thus readable by
the Nagios user on zulip.com systems).
2015-09-26 21:44:23 -07:00
Tim Abbott
96bd1c38dc
install: Make sure python is installed before using it.
...
This is relevant for completely bare Ubuntu systems which might only
have python3 installed.
Fixes #40 .
2015-09-26 21:34:36 -07:00
Tim Abbott
9748780192
Remove unnecessary puppet.conf configuration.
...
Fixes #23 .
2015-09-26 21:34:19 -07:00
Tim Abbott
bc3f096918
Update redis config to be supported on Trusty.
...
Previously our redis config was built for precise.
Synced from redis-server 2:2.8.4-2 plus our one change, which is
disabling saving to disk, so just put that at the bottom for maximum
obviousness.
I wish there was a better way to represent the fact that this is all
we're doing, since this will make life more difficult for running on
precise as well.
Fixes #28 .
2015-09-26 21:33:55 -07:00
Tim Abbott
af4aac6836
settings: Document SMTP firewall issues in email configuration.
2015-09-26 21:32:47 -07:00
Tim Abbott
e5f7000a23
Add description of Zulip at top of README.md.
...
Based on PR #22 by GedLawrenson.
2015-09-26 18:07:06 -07:00
Tim Abbott
00bf7b25b5
install: Remote the python-django-guardian hack.
...
This is no longer required since it's in the PPA now.
2015-09-26 18:01:18 -07:00
Tim Abbott
2c6bfe136a
Remove confusing EMAIL_HOST_PASSWORD setting in SMTP configuration.
...
This was one of the various configuration options made confusing by
the secrets-to-configuration migration.
Fixes #27 .
2015-09-26 17:48:21 -07:00
Jon Johnson
db51a1c547
Fix typo in jabber mirror error
...
assistence -> assistance
2015-09-26 22:03:00 +00:00
Tim Abbott
3f76745235
Reorder README.md to highlight contributing section earlier.
2015-09-26 14:02:28 -07:00
Yuvi Panda
b59b5cac35
Fix TypeError in Google OAuth authenticator.
...
requests 1.0 changed response.json attribute to response.json()
instancemethod. The code wasn't updated to match that change,
causing a TypeError when attempting to use the Google OAuth
Authenticator backend.
This is fixed simply by using response.json() instead of response.json.
2015-09-26 13:51:27 -07:00
Tim Abbott
5dd330e769
Document how to setup Google auth for Zulip voyager.
2015-09-26 13:50:46 -07:00
Tim Abbott
140e598a89
Update configuration examples to use current Google auth backend.
2015-09-26 13:50:28 -07:00
Alice Pote
8159c03205
Add backticks around 'apt-get install'.
2015-09-26 12:13:21 -07:00
Anders Kaseorg
0d12dfd06f
Improve shell quoting hygiene
...
Most of these problems were found by ShellCheck
(http://www.shellcheck.net ).
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-09-25 23:25:08 -04:00
Josh Nichols
6888826d5b
Link to settings page with absolute path, rather than explicitly zulip.com
2015-09-25 22:59:35 -04:00
Adam Smith
f0add4638c
Update the puppet nginx file to match apache
...
this updates the nginx configuration file to match the installation documentation requirements and apache configuration file.
2015-09-25 19:34:58 -05:00
Leo Franchi
974a9bd0f3
Use -O option to wget when fetching zxcvbn
...
Otherwise the downloaded zxcvbn.js also includes garbage we don't want
2015-09-25 15:24:44 -07:00
Andreas Litt
aeb6a5df7c
Use current working dir instead of /tmp
2015-09-25 22:11:59 +02:00
Andreas Litt
94c35d8fb0
Fix 'python-django-guardian' download
...
While the docu on https://www.zulip.org/server.html says:
```
cd /root/zulip
./scripts/setup/install
```
This script downloads the `python-django-guardian_1.3-1~zulip4_all.deb` file to current working dir (`/root/zulip` if you follow the docu), but tries to install it from /root/.
This fails obviously. So i changed the download location to /tmp/.
2015-09-25 22:02:13 +02:00
Thomas Boyt
1d40b2291c
Fix Markdown formatting of code blocks & snippets
2015-09-25 12:07:55 -07:00
Allen Rabinovich
d6a41b4fe3
Add announcement of open sourcing to certain zulip.com pages.
2015-09-25 12:07:55 -07:00
Tim Abbott
5bf6f05f60
Add readthedocs requirements.txt.
2015-09-25 10:53:47 -07:00
Tim Abbott
b69c6228af
Hackishly install a correct version of python-django-guardian in prod install.
...
(imported from commit 1027e05a1a9805a17fcb4b8dea2c2cf8cda280af)
2015-09-25 09:45:26 -07:00
Tim Abbott
f4be74dafc
Postgres configuration updates for Postgres 9.3.
...
(imported from commit d643e742f3e582ecf1cc4db9635039b938e18a06)
2015-09-25 09:45:26 -07:00
Tim Abbott
abb1a13e31
Switch to new Trusty PPA for Voyager install process.
...
(imported from commit 91fdc16f121938d36c389f5b285f0da942558759)
2015-09-25 09:45:26 -07:00
Tim Abbott
3c3238d8e1
Fix puppet module name for voyager module.
...
(imported from commit c9db2eac98d77f94b432d96363c75cee01f2870d)
2015-09-25 09:45:26 -07:00
acrefoot
5accdf6d69
Add vagrant-lxc step to README.md
...
(imported from commit 1c0796dd70f535d11f492cb144b71ce3f34d3d4a)
2015-09-25 08:47:46 -07:00
Tim Abbott
1156a82297
Make ErrorReporter run successfully on Zulip voyager.
...
(imported from commit 8ab2fb57fb3e580775cb8959e3b8b5a1277ea9d3)
2015-09-25 04:09:16 -07:00
Zev Benjamin
81fe34d011
Stop deleting server logs and increase the size before rotation
...
(imported from commit c9bba20c5d7525b859833aa5eaa6ce210434970c)
2015-09-25 03:58:31 -07:00
Tim Abbott
3caa743951
rss: Support feeds that don't provide any sort of timestamp.
...
(imported from commit 9acc9dad7543a0e0a6bc2e71360b7017c3c7c63d)
2015-09-25 03:57:51 -07:00
Tim Abbott
45a8b050ac
Change get_events restart log notices to log level (not error).
...
(imported from commit 52c3828d1c880545303f00bdf68585bdac844599)
2015-09-25 03:57:39 -07:00
Tim Abbott
b21a105a99
Reorganize and delete obsolete content from testing.rst.
...
(imported from commit 1d62b50c0b01d5386c8a6ffbde745abb6d79ad6e)
2015-09-25 03:40:31 -07:00
Tim Abbott
8967029729
Clean up GitHub API hook v1 comment.
...
(imported from commit 3777f2c9305bb8000e5ea4142bd2974805fa3c90)
2015-09-25 03:18:00 -07:00
Tim Abbott
9c0c5c57a7
Download zxcvbn.js rather than vendoring it.
...
(imported from commit 8d55b6b903dc2292852636dfb444219b643b5f64)
2015-09-25 02:24:07 -07:00
Tim Abbott
f31816072d
Remove last customer-specific hack from github hook.
...
(imported from commit 897d9fd91e4f6c558d687f5ae6c360fad80574d9)
2015-09-25 00:47:15 -07:00
Anders Kaseorg
0ace7fe502
zanitizer: Remove -- argument that confuses some Git verisons
...
(imported from commit 42555ac7ca17c1568507ba665a8133a4db3375e6)
2015-09-25 00:46:00 -07:00
Tim Abbott
3770142635
Revert "Host "preview failed" image locally."
...
This reverts commit 39f2908a32c0276b1d87ecedc876c71dd35a9b2f.
We're not including the preview_fail.png image in the release.
(imported from commit 2de1451de2f9b1727fc3a7e64c380b71c0f2caa8)
2015-09-25 00:44:20 -07:00
Tim Abbott
441fa8ed9d
Add build_emoji command to by-hand setup instructions.
...
(imported from commit 343ee4bc6397ba52c9bf1d2563c54a0470e3478b)
2015-09-25 00:44:20 -07:00
Luke Faraone
11a51cf943
License disclosures and project licensing.
...
(imported from commit 65776787f62e954ed22a521968effa4559fd6d33)
2015-09-25 00:44:19 -07:00
Tim Abbott
cc33b68d73
Remove pre-built emoji images from version control.
...
Instead, build them automatically when provision the development
environment and in update-prod-static.
(imported from commit aac8dfeaafbe872c113e5f2b6bd8f655a1af36f2)
2015-09-25 00:22:15 -07:00