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
a2b8e3da9d
fix register test, view now redirects
2018-01-30 12:37:12 +01:00
Fabian Weisshaar
cbf7027287
already something for Django 2.0
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
elnappo
a5f0a00e79
add some tests
2015-01-02 13:19:51 +01:00
elnappo
e69fe96904
New layout for user area (change password, delete acc, change profil)
2014-12-29 17:27:45 +01:00
elnappo
419704618d
replace __unicode__() with text_type for python3
2014-12-28 14:52:17 +01:00
elnappo
bc8041fd26
remove unicode_literals from account models
2014-12-28 14:24:05 +01:00
elnappo
cbc181024f
python3 compatibility for account models
2014-12-06 12:43:35 +01:00
ThomasWaldmann
1d262b4f1e
Merge pull request #186 from jluebbe/master
...
add registration_closed template
2014-11-28 19:57:52 +01:00
Jan Luebbe
c48e7dc5fc
add registration_closed template
2014-11-28 16:48:30 +01:00
elnappo
e2db28a9fb
fix #183
2014-11-26 10:50:54 +01:00
Thomas Waldmann
202d3bc2dd
fix migration, only works like that
...
previous code gave:
ValueError: Cannot assign "<User: joedoe>": "UserProfile.user" must be a "User" instance.
2014-11-26 00:23:52 +01:00
Thomas Waldmann
dbfded9e86
add a migration that creates UserProfile records for all User records
2014-11-25 23:44:20 +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
73d69e7502
fix method signature of get_context_data, fixes #180
2014-11-17 22:09:39 +01:00
Thomas Waldmann
84b04ee1ab
use blocktrans trimmed to have better template formatting, simplify blocktrans to trans at some places
2014-11-01 23:03:02 +01:00
Thomas Waldmann
b91045b083
remove unused template
2014-11-01 22:04:18 +01:00
elnappo
b617396f2a
make registration views prettier (fix missing trans, layout improvments and code cleanup) #119
2014-10-28 17:10:53 +01:00
Thomas Waldmann
d77b4fc702
add tests for accounts package views
2014-10-27 22:45:38 +01:00
Thomas Waldmann
12f045cdb4
add delete useraccount functionality, fixes #170
2014-10-27 22:38:25 +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
8a39d6a90e
reduce amount of i18n strings / words, standardize some terms, use placeholders
2014-09-04 18:48:29 +02:00
Thomas Waldmann
cbab09fd1e
fix wrong english word
2014-07-27 15:59:40 +02:00
mandrag0ra
c3ab638092
correct syntax errors
2014-05-27 01:36:57 +02:00
mandrag0ra
e264b10fd6
{% trans %} on .html files
2014-05-23 17:22:32 +02:00
Thomas Waldmann
9fcd65576c
fix login url generation in activation_complate template, fixes #139
2014-01-26 00:51:11 +01:00
Fabian Weisshaar
0f0bb633d5
fix errors for pull request
2014-01-15 15:24:26 +01:00
Fabian Weisshaar
8870c0e4eb
change some forms for better looking
2013-12-30 14:24:14 +01:00
Fabian Weisshaar
43622ab183
remove login, password_change and password_reset template from old location
2013-12-29 22:56:07 +01:00
Fabian Weisshaar
7bc356a67c
add registration urls. fixes django 1.6 and django-registration issue
2013-12-29 22:18:28 +01:00
Fabian Weisshaar
47900ff37e
layout
2013-12-29 21:48:20 +01:00
Thomas Waldmann
3aabe41c1b
profile view: require login (gave 500 without login)
2013-12-25 16:30:33 +01:00
Thomas Waldmann
14b9407ab5
remove unused imports
2013-12-15 18:27:59 +01:00
Thomas Waldmann
d83df3ead1
use get_user_model and AUTH_USER_MODEL
2013-11-24 09:37:47 +01:00
Thomas Waldmann
f2aca63d2d
fix typo
2013-11-22 04:15:51 +01:00
Thomas Waldmann
a0a33f36d3
add some hints to the login view. Fixes #89
2013-11-22 03:55:06 +01:00
Thomas Waldmann
be43b61a97
prettier and more clear login screen
...
separate the forgot pw / register stuff from the usual login form
use more button style
2013-11-22 03:39:47 +01:00
Thomas Waldmann
ae260e2725
prettier remote login selection. Fixes #90
2013-11-21 14:19:03 +01:00
Thomas Waldmann
56341d0581
implement remember_me checkbox in the login view
...
if checked, we use a permanent cookie as configured in settings.
if not, we use a session cookie that gets cleared at the end of the session.
2013-11-16 04:52:45 +01:00
Thomas Waldmann
aa755d2ce2
so much pain and duplication just to get the cursor into the right field using html5 autofocus attr
2013-11-15 10:07:40 +01:00
Thomas Waldmann
b3ef4b0ce7
removed unused PasswordChangeView class
2013-11-08 06:57:19 +01:00
Thomas Waldmann
f59981616f
offer test account
2013-11-08 05:19:43 +01:00
Thomas Waldmann
808c9e7d5d
use post requests for disconnecting from social account
2013-11-02 09:28:29 +01:00
Thomas Waldmann
4753a2a84c
(de)associate local profile with remote accounts
2013-11-02 08:26:15 +01:00
Thomas Waldmann
4029deb1bf
rearrange login screen
2013-11-02 08:04:17 +01:00
Thomas Waldmann
972146ec87
add python-social-auth for amazon, bitbucket, dropbox, reddit, soundcloud, stackoverflow
2013-11-02 07:20:20 +01:00
Thomas Waldmann
49a466ef1e
fix some social-auth urls, remove twitter auth
...
twitter does not support ipv6 and our production server VM
has only v6. :-(
2013-11-02 06:14:51 +01:00
Thomas Waldmann
f357997f07
add python-social-auth for twitter, github, google
...
still incomplete, only login view
2013-11-02 05:15:06 +01:00
Thomas Waldmann
7436a8b578
add autofocussed fields
...
TODO: autofocus for registration / login views
2013-11-01 21:11:57 +01:00