Tim Abbott
d6e38e2a5c
lint: Clean up E123 PEP-8 rule.
2017-01-23 21:34:26 -08:00
Tim Abbott
287b84d113
auth: Improve configuration/documentation for password strength.
...
Followup to #3190 .
2017-01-17 20:52:52 -08:00
Bojidar Marinov
786dd0fca4
auth: Make min password length and strength configurable.
...
This adds some configuration options to settings.py, namely
PASSWORD_MIN_LENGTH and PASSWORD_MIN_QUALITY, which control
when the frontend validator invalidates the password.
Closes #2628
2017-01-10 04:55:41 -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
nikolay
abc2ff4a06
pep8: Fix many rule E128 violations.
...
[Tweaked by tabbott to adjust some approaches used in wrapping]
2016-12-03 13:33:31 -08:00
Alex Huang
c8ddea16c3
pep8: Fix E122.
2016-12-01 23:16:35 -08:00
Kevin Chen
6107c877e8
bugdown: Add option to support "file:///" as hyperlink.
...
This contains contributions from Tim Abbott and Igor Tokarev.
Fixes #380 .
2016-11-06 22:30:05 -08:00
Steve Howell
ab0ee0b923
Upgrade: revert change to default LOCAL_UPLOADS_DIR in prod settings.
...
The main purpose of the "var" convention is to make it easy to write stuff
inside of our git repo when running a dev instance, and then "var" gets
excluded from checkins. For production, that's not as much of a concern.
For upgrades we don't want to be changing the directory around and confusing
matters, especially with the extra moving part of nginx configs (which have
their own issues in terms of being overwritten by accident when admins go to
S3).
2016-09-06 14:51:29 -07:00
Vishnu Ks
a7ead9e99d
settings: Eliminate ADMIN_DOMAIN for creating initial realm.
...
We now use `./manage.py generate_realm_creation_link` as the flow flow
for creating one's first realm.
2016-08-25 09:37:33 -07:00
Tim Abbott
21b9efd985
Clarify ALLOWED_HOSTS string format.
...
This is obvious to anyone who knows Python, but knowing Python should
not be a requirement to administer a Zulip server.
Fixes #1606 .
2016-08-24 22:19:54 -07:00
Taranjeet Singh
86ecf28588
prod_settings_template.py: Fix line with length greater than 120.
...
This updates file zproject/prod_settings_template.py.
2016-08-19 11:56:43 -07:00
Tim Abbott
11cac86a58
settings: Add support for specifying a remote redis password.
2016-08-11 16:54:22 -07:00
Tim Abbott
b3a768f4b2
settings: Improve ALLOWED_HOSTS defaults logic and docs.
...
This removes the requirement for the user to put localhost/127.0.0.1
in their ALLOWED_HOSTS list, since it is now added automatically.
Fixes : #1358 .
2016-08-05 21:25:29 -07:00
Umair Khan
6c248a662d
prod_settings_template.py: Add GitHub team and org.
2016-08-03 12:01:15 -07:00
Tim Abbott
25c0710800
prod_settings_template: Fix typo in redis documentation.
2016-07-31 19:45:53 -07:00
acrefoot
e568dbc76f
Add TERMS_OF_SERVICE setting.
...
This new setting allows the server administrator to add a custom
Terms of Service page by supplying the path to a markdown file.
Also adds a test.
2016-07-29 20:47:31 -07:00
Tim Abbott
eef66ee031
Document GitHub authentication.
2016-07-29 12:49:10 -07:00
Tim Abbott
d9b5f3089b
prod_settings: Cleanup intro to Google auth documentation.
2016-07-29 12:49:01 -07:00
Eklavya Sharma
3b3b5c7c16
Rename management command email-mirror to email_mirror.
...
All other zulip management command names have underscores, so
rename email-mirror to email_mirror.
This will also make it possible to import this module, which will
help in writing tests for it.
2016-07-28 14:52:09 -07:00
Eklavya Sharma
f067c7fb15
Fix email-mirror instructions in prod_settings_template.py.
...
When email mirroring is done via polling, the IMAP account's
password should be stored in zulip-secrets.conf in
email_gateway_password, not in email_gateway_login.
2016-07-25 11:30:17 -07:00
Tim Abbott
35339f5117
Rename local_settings_template to prod_settings_template.
2016-07-19 20:59:59 -07:00