Alexander Trost
84f7a1f1ea
Make rabbitmq, redis, and memcached configurable via user settings.py.
...
Previously these were hardcoded in zproject/settings.py to be accessed
on localhost.
[Modified by Tim Abbott to adjust comments and fix configure-rabbitmq]
2016-01-21 22:07:56 -08:00
Javier Ros
a6a47aacde
Add easy support for using a remote postgres database.
2016-01-11 08:56:03 -08:00
Tim Abbott
99975400df
Move LDAP password configuration to zulip-secrets.conf.
2015-12-25 16:47:48 -08:00
Tim Abbott
af8d75332c
Move email_gateway_password to zulip-secrets.conf.
2015-12-25 16:47:48 -08:00
Tim Abbott
f4e87936da
Silence 'Starting new HTTP connection' logs from requests library.
2015-12-25 16:23:57 -08:00
Tim Abbott
9d108989f3
Silence SimpleQueueClient info output by default.
2015-12-25 16:23:57 -08:00
Chris Chapman
44a9e1dff5
Fix for setting file upload size through settings file.
...
(Slightly tweaked by Tim Abbott to change the variable name, docs, and
default values).
Fixes #276 .
2015-11-24 06:06:46 -08:00
Allie Jones
85809e6140
Add webpack build process.
2015-11-06 09:13:25 -08:00
Shumbashi
123791bfdd
Fix 'manage.py makemessages' errors.
...
Running 'manage.py makemessages' produced two errors previously.
Closes #265 .
2015-11-04 07:39:48 -08:00
Tim Abbott
2ea0663a4a
Apply Python 3 futurize transform libmodernize.fixes.fix_imports_six.
2015-11-01 09:26:16 -08:00
Tim Abbott
9c66229456
Apply Python 3 futurize transform libfuturize.fixes.fix_absolute_import.
2015-11-01 09:26:16 -08:00
Tim Abbott
140e598a89
Update configuration examples to use current Google auth backend.
2015-09-26 13:50:28 -07:00
Tim Abbott
ae4cb6df35
Make python-postmonkey not a required package.
...
This is in some ways a regression, but because we don't have
python-postmonkey packaged right now, this is required to make the
Zulip production installation process work on Trusty.
(imported from commit 539d253eb7fedc20bf02cc1f0674e9345beebf48)
2015-09-25 00:22:14 -07:00
Tim Abbott
a0006d5faf
Remove duplicate REQUIRED_SETTINGS check.
...
This makes fetching settings from here for the rabbitmq config not
work; and the main place we check for this is in initialize-database
anyway.
(imported from commit fcc6eff3882f880fdc8b127daffc9a3173f3ff20)
2015-09-25 00:22:14 -07:00
Tim Abbott
36a9dc2cf7
Cleanup various minor Zanitization issues.
...
(imported from commit 5784eb5ac70706f72b05463354434a83a6e1beaa)
2015-09-20 00:25:38 -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
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
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
Tim Abbott
16e0f21687
Fix a bunch of Zulip Voyager related comments.
...
(imported from commit 176e875cbc310ba00d6137930ddb718bd68f1866)
2015-08-21 10:40:54 -07:00
David Roe
edf7e732a2
ENTERPRISE => VOYAGER.
...
(imported from commit 4f8080b9f506a87ca40bef32e39de5218cba916a)
2015-08-21 10:33:35 -07:00
David Roe
f9f1fdc4d7
change deploy_type in zulip.com conf file.
...
(imported from commit 6fad28d15f530a619d7359bce0a182ed61b876ab)
2015-08-21 10:33:35 -07:00
David Roe
d702ddb3cf
DEPLOYED => PRODUCTION
...
(imported from commit a7d365c07916c5103fc721c712db94f9af977640)
2015-08-21 10:33:35 -07:00
David Roe
63e576b811
STAGING_DEPLOYED => ZULIP_COM_STAGING
...
(imported from commit 25419979292218932c53cface59c1e8e2348a7c2)
2015-08-21 10:33:35 -07:00
David Roe
8778c4726a
Add settings.DEVELOPMENT as a complement of settings.DEPLOYED.
...
(imported from commit 0437140d9fee7eec7b28abe583cfe8cde3e07c21)
2015-08-21 10:33:35 -07:00
David Roe
24f6743288
Eliminate TESTING_DEPLOYED.
...
(imported from commit 477d8b7a15f703df1e10ae5682e02fea5ce040e4)
2015-08-21 10:33:35 -07:00
David Roe
59b94a901c
Moving ALLOWED_HOSTS to local_settings.
...
(imported from commit b89c6983fd87ede42954dd84706f999ed0de740d)
2015-08-21 10:33:35 -07:00
Tim Abbott
80651c99cd
Stop using local_settings.py at all in the Dev VM.
...
(imported from commit d067bcfe9d71628d8f671c5bc7bb38f521f9a965)
2015-08-21 10:33:35 -07:00
Tim Abbott
78277b5ee5
Make ADMIN_DOMAIN and ZULIP_ADMINISTRATOR have sane dev defaults.
...
(imported from commit 3d2602166541c7eaa72ea7fad87a2dc86f7c8f15)
2015-08-21 09:01:58 -07:00
Tim Abbott
3e61714035
Make DEPLOYMENT_ROLE_KEY no longer required.
...
(imported from commit 046ce610d847cc987d3f6d584ccc0bc84b55df84)
2015-08-21 09:01:58 -07:00
Reid Barton
ab9539cffe
Remove OpenID authentication
...
(imported from commit 70a859041a851ed10dc40cfc068330e472d2ed09)
2015-08-20 23:52:48 -07:00
Reid Barton
15fe02b618
Remove authhack
...
In Django 1.8 the username length limit seems to be 254 by default.
(imported from commit cf0027431f5a4fea9e366a49d345b9d09b90d869)
2015-08-20 23:15:45 -07:00
Reid Barton
0aab583bb1
Django 1.8 compatibility: transactions
...
- autocommit is now the default
- commit_on_success is now atomic
(imported from commit b6166ca666ff23d34f2871ca365ce3ec66b0fa86)
2015-08-20 23:15:45 -07:00
Reid Barton
599742536b
Switch from South to native Django migrations
...
This commit loses some indexes, unique constraints etc. that were
manually added by the old migrations. I plan to add them to a new
migration in a subsequent commit.
(imported from commit 4bcbf06080a7ad94788ac368385eac34b54623ce)
2015-08-20 23:01:26 -07:00
Yoyo Zhou
15abf9ed31
Move all remaining calls of get_secret from local_settings.py to settings.py.
...
(imported from commit 099a122121f8e06568cef3579f955cb73b20ee50)
2015-08-20 22:19:26 -07:00
Yoyo Zhou
bd5fc484f0
Move GOOGLE_OAUTH2_CLIENT_SECRET to be read in settings.py.
...
(imported from commit 814dc32cd6099516486be76fa8baffbafda69596)
2015-08-20 22:19:17 -07:00
Yoyo Zhou
4b3874988f
Move DROPBOX_APP_KEY to be read from get_secrets
...
(imported from commit 99acd66c4478a0826b0e0ec7bf26c9a59f7febca)
2015-08-20 21:58:59 -07:00
Yoyo Zhou
ef320c6e95
Remove Redis remote authentication feature.
...
We can add it back later but for now we can just stick with localhost
since that's what most people will want.
(imported from commit c5fe524282219dc62a0670f569c0cb6af04be339)
2015-08-20 21:58:59 -07:00
Yoyo Zhou
e41c00107d
Move twitter secret keys to use get_secrets in settings.py
...
(imported from commit cc21265ae64a49be20bec74386314d60ee822746)
2015-08-20 21:58:59 -07:00
Yoyo Zhou
32f6d1055d
Get s3_key and s3_secret_key from secrets in settings.py.
...
(imported from commit 2c2574988486bbb6f0f769250664a5a2a4c9e6c9)
2015-08-20 21:58:51 -07:00
Yoyo Zhou
d34d44e1d4
Read ANDROID_GCM_API_KEY from secrets; move to settings.py
...
(imported from commit 0d0d59116065956b9cbbe895eb09f0433b752cf1)
2015-08-20 21:54:55 -07:00
Yoyo Zhou
2cab113035
Rename getsecret -> get_secret and remove duplicate secret-reading code in settings.py
...
(imported from commit 097d6b4fad1fcf8b6f09dc212056fdb313efe5e4)
2015-08-20 21:52:26 -07:00
Tim Abbott
58e5c654fa
Make feedback button option default-off.
...
(imported from commit 23b89ab72bd04826016631e01da950af0a5df694)
2015-08-20 19:47:00 -07:00
David Roe
13f3b448e5
Kill Embed.ly integration.
...
(imported from commit dfe42a26e57100108c3c50298041bd520e0d8b1b)
2015-08-20 19:46:48 -07:00