Tim Abbott
c0ec9e985a
Remove old humbug/ hack.
...
We shouldn't have any sessions still in existence from 2 years ago.
(imported from commit 7a96271ed8015d8a9908720cd84525e823bf3b21)
2015-09-19 18:07:18 -07:00
Tim Abbott
eca3c3bfaa
Add api/examples/print-events.
...
(imported from commit 8c0e3f7809f06e4aff3bd8c0640479819853c418)
2015-09-19 18:05:21 -07:00
Tim Abbott
87d2d543a5
Remove some tools unlikely to be relevant externally.
...
(imported from commit 557f5590d87b3267a2e37e9be72a77815ca392d9)
2015-09-19 17:45:31 -07:00
Tim Abbott
155958871d
Include Zulip financial projections tool in open source release.
...
It doesn't have any sensitive data since that lives in a separate
configuration file, and it's potentially useful.
(imported from commit 094e315439f8bd23ad07a8c2bc7d9776c8c7f096)
2015-09-19 17:45:31 -07:00
Tim Abbott
166192fb57
Add additional missing IP addresses to ALLOWED_HOSTS.
...
(imported from commit 4f81101a1df35074947228c259e944c4565061c6)
2015-09-19 15:51:27 -07:00
Tim Abbott
24dfa10556
Fix some test-related documentation in the README.
...
(imported from commit 130f316ffc87c8032219660a26c0c9681c6ab52b)
2015-09-19 15:51:26 -07:00
Tim Abbott
36445d1576
Fix running single frontend tests using just the test-names.
...
(imported from commit 0b93abc0379b0a2ec900fe317843a7839258f7a9)
2015-09-19 15:51:26 -07:00
Luke Faraone
7f8ef32704
Revert "Revert "Clarify test status in README.dev""
...
This reverts commit 89bf83fb93d4e61dc799857571c6a7bfc6774a1c.
(imported from commit 0663832146f485a74bdf325f39c31b0a30df5f63)
2015-09-19 15:35:17 -07:00
Luke Faraone
394a0aa774
Revert "Clarify test status in README.dev"
...
This reverts commit 910e58904e9af44b9382075b72e03b624c29256b.
(imported from commit 89bf83fb93d4e61dc799857571c6a7bfc6774a1c)
2015-09-19 15:33:20 -07:00
Luke Faraone
a8643e44b4
Clarify test status in README.dev
...
(imported from commit 910e58904e9af44b9382075b72e03b624c29256b)
2015-09-19 15:31:47 -07:00
Neeraj Wahi
9f0a6272fa
Removed dbx_branding flag and Dropbox corner logo
...
(imported from commit d205898671643985e2de7c0d6d300bdca32cae21)
2015-09-19 15:16:42 -07:00
Tim Abbott
cf1aff661c
Add current production IP addresses to ALLOWED_HOSTS.
...
(imported from commit c255acb6ad7cd47d8a51509f4c24a05ac06ebd9a)
2015-09-19 15:13:02 -07:00
Reid Barton
5be0c2902e
Connect to the zulip database correctly in postgres-init-db
...
(imported from commit b6ab80567ff5d229a00c7d2cf5866bca0ee9c7c5)
2015-08-29 12:07:33 -07:00
Reid Barton
73264ab530
Move VOYAGER detection to after initialization of ZULIP_COM
...
(imported from commit c9aa814ebc30a78abe8babfc3bf2eedb8198d17d)
2015-08-29 12:07:33 -07:00
Reid Barton
0a3bdc20e9
Only autofocus email/username fields when they are present
...
(imported from commit e5fa2e19a6e2ffaeeccf32b82e993188144e48ba)
2015-08-28 16:18:12 -07:00
Reid Barton
942e97d886
Create directory to write log of initial installation into
...
(imported from commit fa352a7b4f57379df14249fd5f168249ead64777)
2015-08-28 09:40:30 -07:00
Reid Barton
d8b44606a3
Make configure-rabbitmq fail on error
...
If there's a problem with Django settings then RMQPW would just be
empty, causing more confusing errors downstream.
(imported from commit 5948b1a15eb92fc032ea02e499be58365d8e9ecb)
2015-08-28 09:37:58 -07:00
Reid Barton
4e61c06903
Fix postgres syntax when creating zulip schema in production
...
(imported from commit 51ba85b995e4b5044f914163dab7f2ae14df908f)
2015-08-28 09:37:46 -07:00
Reid Barton
3239ca6728
Update build-voyager-tarball local settings hack
...
The tarball build process runs in DEVELOPMENT mode, assuming it is run
on a dev VM (since then there is no /etc/zulip directory). Commit
d067bcfe9d71 made settings.py import local_settings_template.py in
DEVELOPMENT mode (then "not DEPLOYED"), not local_settings.py.
(imported from commit 9a08138d748dfca9c4ab8b366bee5c2fb96c25af)
2015-08-23 23:08:45 -07:00
Reid Barton
1f07cbed1e
Remove tree forcefully when finished in build-voyager-tarball
...
Just importing zerver.lib.cache creates a file memcached_prefix that
is mode 0444, so we need to use -f or rm will prompt about whether to
remove it. Not sure why this is apparently a new issue.
(imported from commit 93c5140b66992339859e2b204c200d1dd7a35f2d)
2015-08-23 23:00:32 -07:00
Reid Barton
36716fe518
Add remaining custom indexes that were created by South migrations
...
(imported from commit 9798afa8161af4ae6b3fa0c5f4894a3211b77cd4)
2015-08-23 21:47:12 -07:00
Reid Barton
5768fd7f49
Remove reference to Zulip deployment key from Zulip Voyager README
...
(imported from commit 74a4f86839fb76eb175016453d91b916b9ce416d)
2015-08-23 21:44:27 -07:00
Reid Barton
bf8cc35edc
Add puppet to provision.py
...
We don't use it to set up the dev VM environment, but we do use it to
verify the Voyager puppet configuration parses in lint-all.
(imported from commit 3f116633ba3f535dfb4ae27915b6356e560ac84f)
2015-08-23 21:35:14 -07:00
Tim Abbott
1f2aa2fcab
Fix write_log_line for real.
...
(imported from commit cbb5c38b8e6c31822b28c478463978aa6cab33d4)
2015-08-22 14:40:47 -07:00
Tim Abbott
51841d5bcb
Fix terms of service and Dropbox logo on website.
...
(imported from commit 29c838fbd3aa495bb85b730b134b31f544de7a8b)
2015-08-22 14:33:15 -07:00
Tim Abbott
1d2efb46c1
Remove stray reference to our signup form.
...
(imported from commit d6e48d198c2e44387d4f2cd2f9cbcddd535a32db)
2015-08-22 14:24:02 -07:00
Tim Abbott
f1bf5ba24f
Fix write_log_line breakage for websockets.
...
(imported from commit 43bf24822329cf9729654ba58e9ffb0bff3403da)
2015-08-22 14:19:35 -07:00
Reid Barton
827a825c06
Schema migrations for Django 1.8
...
These are the result of either the upgrade to Django 1.8 itself
(username max length increased to 254), or the changes needed for
Django 1.8 compatibility.
(imported from commit 6b1d7e73c85e9a2f7de9e5b91d851977eb4959e8)
2015-08-22 13:51:35 -07:00
Tim Abbott
17fd248f23
Move postgres host configuration for zulip.com out of settings.py.
...
(imported from commit fe95011ae86ff7c5f20c789b459a763326da374d)
2015-08-22 13:49:43 -07:00
Tim Abbott
930c64df8a
Move zulip.com-related statsd configuration out of main settings.py.
...
This also removes the convenient way to run statsd in the Dev VM,
because we don't anticipate anyone doing that. It's just 2 lines of
config to configure it anyway:
STATSD_HOST = 'localhost'
STATSD_PREFIX = 'user'
(imported from commit 5b09422ee0e956bc7f336dd1e575634380b8bfa2)
2015-08-22 13:49:43 -07:00
Tim Abbott
3e87c82d56
Reorganize settings.py to put the default values in a sane place.
...
(imported from commit 00f09c6c65cb95d29c466e996b17f80a30635acf)
2015-08-22 13:49:43 -07:00
Yoyo Zhou
50ccbc4230
Refactor database configuration to make ZULIP_COM the special case instead of the default.
...
(imported from commit bba7a3a78dc4fd0e442503f8707295eabc581652)
2015-08-22 13:48:52 -07:00
Yoyo Zhou
8549606eb3
Require ALLOWED_HOSTS to be set in production.
...
(imported from commit 581e3d44aa42b5c8e6322b760b8b66a1f0aaf375)
2015-08-22 13:48:52 -07:00
Tim Abbott
da84aa3412
Require REQUIRED_SETTINGS in PRODUCTION.
...
(imported from commit 7f43ba4d54021f806481b2e369c5482b0e0f99fe)
2015-08-22 13:48:47 -07:00
Yoyo Zhou
ab5e04ef36
Add backend tests location
...
(imported from commit 2f2dcd1773be746bee5d9003ca99020230acae04)
2015-08-22 13:08:11 -07:00
Yoyo Zhou
e130884c6a
code-style: Simplify rST syntax.
...
(imported from commit c2bd43f97969b7be61476435ac00ae03fd05ec4d)
2015-08-22 13:08:07 -07:00
David Roe
c17e50e0c4
Add new feature tutorial.
...
(imported from commit 1577c2567232aba1a1f1c6d1df83370acf54af55)
2015-08-22 12:56:57 -07:00
David Roe
a9cf471239
Remove documentation on ALLOW_REGISTER since it is out of date.
...
(imported from commit 75938998507f2b903f49bd9c7c4ecc0eadb3259d)
2015-08-22 12:55:18 -07:00
David Roe
33b7b2d021
Add welcome.rst with info for new developers.
...
(imported from commit 14e27efc47cfb0802f16ec5d2d6c5eadeba7a2c2)
2015-08-22 12:54:20 -07:00
David Roe
1a3bc517d9
Improve docs/README.md
...
(imported from commit 78193958bdb5f92ae5d8706340a739dae0da5367)
2015-08-22 12:53:54 -07:00
Anders Kaseorg
2e5c82203d
Fix 05-settings.js test
...
The tests run as iago, who is now an administrator and therefore has
control over many more bots. Be specific about which bot to operate on.
(imported from commit 7a9d3e12da905338624747dd402702bb66907cfd)
2015-08-22 12:52:44 -07:00
Tim Abbott
cecbab3609
Remove now-unused is_customer4 flag.
...
(imported from commit 4ccd2126d7faef82c588f9523f3fe771fff273af)
2015-08-22 12:48:54 -07:00
Reid Barton
9eee250720
Give the realm created by populate_db a name
...
I got tired of seeing the tab title "null - Dropbox Chat".
(imported from commit fb88bf1e01b0d0ecbfe2320abb02a69afbb2ac38)
2015-08-21 17:02:47 -07:00
Reid Barton
a3d85f501b
Create tsearch_extras in production database setup
...
(imported from commit e6c699b06f022d923b57ccee7ad778f870bf890d)
2015-08-21 16:54:35 -07:00
Reid Barton
3649c7be73
Display instructions for debugging the frontend tests when they fail
...
(imported from commit 21f7e6adf1f3f500ce1faf3667f40674bf0f3d6e)
2015-08-21 15:04:50 -07:00
Reid Barton
f25f935c02
Install PhantomJS 1.9.8 from binary download
...
Now the tests don't crash for me all the time.
(imported from commit bbecff2840f888ca44115f83eed84709434500b2)
2015-08-21 15:04:50 -07:00
Reid Barton
3cfebbd9c0
Fix peer authentication error for process_fts_updates in run-dev.py
...
(imported from commit 1c73877a1c437ec51d909034460c3c1b54178183)
2015-08-21 14:10:52 -07:00
Tim Abbott
6f50a2703e
Remove duplicate ZULIP_COM detection from settings.py.
...
And fix up some required configuration.
(imported from commit 761758638baa297118848c9f5640638d6b2f4f67)
2015-08-21 10:48:13 -07:00
Tim Abbott
e78361f985
Move STATSD_CONFIGURATION below setting defaults.
...
(imported from commit 48d833c672ad96318f738c663c3bea61cd1ec382)
2015-08-21 10:42:15 -07:00
Tim Abbott
83a653efce
Change semantics of ZULIP_COM to include ZULIP_COM_STAGING machines.
...
(imported from commit 2e84c756b4ac41c13d619ab6ceb99e347d1f48cb)
2015-08-21 10:41:14 -07:00