28 Commits

Author SHA1 Message Date
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