16 Commits

Author SHA1 Message Date
Thomas Waldmann
029dc20be0 pep8 fixes 2013-11-02 10:02:51 +01:00
Thomas Waldmann
a91991bc5e redirect to /account/profile when (de)associating accounts 2013-11-02 09:34:59 +01:00
Thomas Waldmann
25259dd353 add python-social-auth for disqus 2013-11-02 07:45:26 +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
a15804429a add sample email sender setting - needs to be valid so user registration activation mails get through 2013-11-02 02:03:37 +01:00
Thomas Waldmann
60f03b0472 fix typo in CSRF setting, fix pep8 issues 2013-11-01 04:22:53 +01:00
Thomas Waldmann
2529263a48 remove stale IPs from session, so we don't show outdated information
could happen if there once was a IPv6 connection, but now is not any more.
it now kills infos older than 3 minutes from the session.

it also shows the age of the infos now on the hosts overview view (but not on home view due to cosmetic reasons).

optimization: only request the fake images for ipv4/v6 detection if we don't have a fresh IP already.

added example settings for using detectip on (ip6-)localhost
2013-11-01 04:03:34 +01:00
Thomas Waldmann
22028c24b4 logging: make sure ERRORs also go to stderr for the request logging handler
otherwise tracebacks just vanish (if you do not see them in the browser or in your email)
2013-11-01 02:14:25 +01:00
Thomas Waldmann
823d21dcef add more cookie settings (for now with defaults) 2013-11-01 01:36:09 +01:00
Thomas Waldmann
3a919c242d more helpful CSRF failure view, add CSRF settings to settings.py
without this, users get a rather unhelpful/misleading response after clicking "Login" if they don't have cookies enabled.
2013-11-01 01:05:12 +01:00
Thomas Waldmann
252a7e5d0b fix some stuff the pycharm code checker found
it also thought the db param of init_db is not needed, but it is, added a comment there
2013-10-27 13:34:56 +01:00
Thomas Waldmann
724f35225e move test settings to test_settings.py, add FIXME for resolver search list
make SECRET_KEY obviously non-secret and non-random + document it should be secret/random
2013-10-27 07:20:43 +01:00
Thomas Waldmann
49693121ea use zones/nameserver IPs/update keys from DB, logging (thanks to asmaps)
remove unneeded stuff from settings
(we still need some in conftest.py for the tests, though)
init DB for tests via conftest.py
more update algorithm choices
give origin zone (if we already know it) to dnstools functions
new views: DomainOverview, DeleteDomain
unify deletion templates using delete_object.html
add django-extensions
2013-10-18 15:30:17 -07:00
Bastian Blank
d2eab62ac4 Move all stuff into own top-level package 2013-10-17 23:59:07 +02:00