Thomas Waldmann
067bf17f2f
use raw string for MAILDOMAIN_BLACKLIST (regexes)
2018-11-18 22:20:52 +01:00
Thomas Waldmann
6ecee32398
use new MIDDLEWARE setting (since Django 1.10)
...
MIDDLEWARE_CLASSES was removed in Django 2.0.
2018-10-19 23:37:29 +02:00
Thomas Waldmann
d494b41a9e
shorter default session expiry, fixes #381
...
otherwise too many not-expired sessions accumulate in the session store.
2018-10-18 23:32:54 +02:00
Thomas Waldmann
7dcf5a22bb
validate domain of email address in registration form, fixes #284
...
- via DNS (MX, A/AAAA records)
- against blacklist with regexes
This is implemented because without it, postmasters get tons of mailer daemon
emails each day, just because emails are invalid, domain has no mx, ...
2018-10-14 14:52:52 +02:00
Fabian Weisshaar
6b3d2ffbd8
Minor changes and fixes, v0.12 milestone
2018-01-30 12:37:12 +01:00
Fabian Weisshaar
55f47ff52d
Update to Django 1.11 LTS, fixes #293
2018-01-30 12:37:12 +01:00
TW
f38cc72c56
Merge pull request #291 from elnappo/registration
...
Upgrade django-registration-redux
2017-01-21 01:00:21 +01:00
Fabian Weisshaar
cb7f55d55d
upgrade python-social-auth
2016-12-29 17:53:27 +01:00
Fabian Weisshaar
dfe0e1c7f0
This fixes #250 , fixes #251 and fixes #252
2016-12-28 20:24:00 +01:00
Thomas Waldmann
d0f225b3af
settings.base: fix pep8
2016-08-14 02:38:34 +02:00
Thomas Waldmann
4deac259bc
use TEMPLATES setting for Django 1.8+
...
TEMPLATE_* == old, pre-django-1.8 settings (removed)
TEMPLATES == Django 1.8+ settings
2016-08-13 22:39:29 +02:00
Thomas Waldmann
893ef1ae00
do not use html registration emails
...
we override the text email template, but not the html email template.
the django-registration-redux docs say that one should switch off
html email in the config in that case.
2016-01-08 01:49:57 +01:00
Thomas Waldmann
1b3db1e124
use www.BASEDOMAIN for WWW_HOST, prepare for #224
...
we must not work without www. because if we get the basedomain on publicsuffix.org list,
the browser will not set cookies any more for that. if we use a host below, it will work normally.
2015-12-28 15:12:10 +01:00
Fabian Weisshaar
806d507d52
set SECRET_KEY in development configuration
2015-12-27 18:09:51 +01:00
Thomas Waldmann
9233deb017
some people forget to change the service email, so rather use an example one than a real one
2015-02-08 20:42:24 +01:00
elnappo
e51792f344
add console.EmailBackend to dev settings
2014-11-26 10:49:25 +01:00
Thomas Waldmann
aa425c3402
add UserProfiles with additional metadata (for now: language)
...
as the migrations depend on settings.LANGUAGES, I put a complete list there with what we have .po files for.
2014-11-25 14:08:48 +01:00
Thomas Waldmann
bfe2311b53
implement host IP blacklist, fixes #162
2014-11-18 00:14:23 +01:00
Thomas Waldmann
8aae3e2c73
make the pep8 checker happy
2014-11-01 20:23:08 +01:00
Thomas Waldmann
0c7c259901
prepare adding of zh-cn i18n
2014-11-01 19:33:39 +01:00
elnappo
06cbd2f6b0
use naturaltime in overview
2014-10-28 14:25:19 +01:00
Thomas Waldmann
39eb5e992e
support and require django 1.7 (and related changes)
...
drop python 2.6 (not supported by django any more)
switch from django-registration (dead and broken) to django-registration-redux, fix issue #116
remove south dependency (and south migrations)
create new initial migration with django's builtin migrations
update docs
2014-10-21 05:06:44 +02:00
Thomas Waldmann
63c1cdbe6b
remove support for django 1.5.x, stuff not needed any more when requiring >= 1.6
2014-09-26 02:25:08 +02:00
Thomas Waldmann
b6db7a33d8
use django's clickjacking protection middleware
2014-08-28 13:18:08 +02:00
Thomas Waldmann
8e911f488f
improve install docs, gunicorn and nginx config, fix django version in settings
2014-08-28 02:27:24 +02:00
Thomas Waldmann
7458271b5c
fix pep8 issues
2014-08-27 17:35:29 +02:00
Thomas Waldmann
e38e0bda55
remove middleware order - session must be before locale middleware, add i18n context processor
2014-08-25 00:00:16 +02:00
Thomas Waldmann
540616fdf3
fix LANGUAGES in dev settings - they are ADDITIONAL to the base settings, remove duplicates
2014-08-24 23:59:22 +02:00
Thomas Waldmann
9b4e27afca
add de/fr/it translation to production and development, add unfinished pl translation to development only
2014-07-29 19:11:54 +02:00
Thomas Waldmann
eca85172e7
add (still empty) german translation
2014-06-07 00:03:32 +02:00
Thomas Waldmann
5c4f8203eb
fix settings: no tabs, moved malfunctioning docstring to a comment above
2014-06-06 23:37:27 +02:00
Thomas Waldmann
077b91c0dd
Merge branch 'pu_translations' of github.com:mandrag0ra/nsupdate.info into mandrag0ra-pu_translations
...
Conflicts:
nsupdate/main/templates/main/includes/tabbed_router_configuration.html
nsupdate/main/templates/main/status.html
nsupdate/templates/base.html
2014-06-06 22:46:32 +02:00
Thomas Waldmann
d47793b71c
s/WE_HAVE_SSL/WE_HAVE_TLS/g
...
SSL is the old/outdated name. Since 1999, it's called TLS.
Changed the name of the configuration setting.
2014-05-30 01:18:50 +02:00
mandrag0ra
b83440a073
correct syntax errors
2014-05-27 01:39:35 +02:00
mandrag0ra
bd7c2b9277
add languages option
2014-05-23 17:44:03 +02:00
Fabian Weisshaar
ffaa19abc2
add nsupdate.login app
2013-12-29 22:20:45 +01:00
Thomas Waldmann
bbe7ae096a
reorder apps, so templates of django's "admin" get considered last (so nsupdate or django registration can override them)
2013-12-22 02:58:25 +01:00
Thomas Waldmann
3f92c27125
include changelog in docs, cosmetic docs and pep8 fixes
2013-12-15 16:50:18 +01:00
Thomas Waldmann
cae77f53c9
make settings a package, split settings into base / dev / prod settings
2013-12-14 03:41:04 +01:00