1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 22:38:08 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Hidden Z
5a61315d67 pyi2phosts/postkey/views.py: add i18n for SubdomainVerifyForm 2011-02-19 15:30:34 +00:00
Hidden Z
65759c762f pyi2phosts/postkey/views.py: add i18n 2011-02-19 14:58:51 +00:00
Hidden Z
f81e9664f3 pyi2phosts/postkey/models.py: add i18n 2011-02-19 14:58:23 +00:00
Hidden Z
49e084189d pyi2phosts/postkey/admin.py: add admin action "Approve selected" 2011-02-17 19:07:21 +00:00
Hidden Z
0007450844 Implement 2nd-level domain verification when adding a subdomain
If user wants to register  a subdomain, he must prove he is owner of
2nd-level domain. He must create a file with random name generated by us
in webserver's document root in 2nd-level domain. Then we trying to
fetch this file. If it success, registration gets accepted.
2011-01-17 18:09:53 +00:00
Hidden Z
764e2e3f33 pyi2phosts/postkey/views.py: redefine is_valid() and log validation errors 2010-12-30 20:06:40 +00:00
Hidden Z
6321482047 postkey/admin.py: search by base64 hash also 2010-12-06 17:04:53 +00:00
Hidden Z
1a734f5af5 postkey/views.py: fill date_added field with UTC date 2010-11-15 19:02:56 +00:00
Hidden Z
fa93084df3 postkey/models.py: do not fill date_added automatically
Django uses localtime when using auto_add_now=True, but we wants an UTC
time. So, we will fill this field manually.
2010-11-15 19:00:51 +00:00
Hidden Z
da92902739 postkey/admin.py: don't require unique hash when changing host
This check makes editing completely impossible.
2010-11-10 17:13:15 +00:00
Hidden Z
a0bba86169 pyi2phosts/postkey/views.py: remove excessive import 2010-11-07 20:58:14 +00:00
Hidden Z
08fa9c1ae7 pyi2phosts/postkey/admin.py: add name/key validation 2010-11-07 20:47:33 +00:00
Hidden Z
5308d0b9f5 Add cool pagination templatetag
http://www.tummy.com/Community/Articles/django-pagination/
2010-11-06 21:12:45 +00:00
Hidden Z
6200a466ff pyi2phosts/postkey/admin.py: order by descending 2010-11-05 19:43:19 +00:00
Hidden Z
b268a3157d pyi2phosts/postkey/admin.py: provide b32-link for preview 2010-11-05 15:06:30 +00:00
Hidden Z
16c142a5c1 pyi2phosts/postkey/views.py: check for hostname presence in success() 2010-11-05 06:32:25 +00:00
Hidden Z
37994951c1 pyi2phosts/postkey/views.py: use redirect() instead of HttpResponseRedirect() 2010-11-05 06:31:47 +00:00
Hidden Z
dc02bc951c Revert "web/postkey/views.py: remove unneeded import"
This reverts commit 01964a33f8.

Whoops, this import is not unneeded!
2010-11-04 21:49:38 +00:00
Hidden Z
f1f54e61ed Fix imports in admin.py 2010-11-04 13:40:58 +00:00
Hidden Z
7ce4500b9c Fix "settings" import 2010-11-04 12:43:53 +00:00
Hidden Z
6fb4d60ce6 Rename web -> pyi2phosts 2010-11-04 12:41:42 +00:00