Hidden Z
f81e9664f3
pyi2phosts/postkey/models.py: add i18n
14 years ago
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.
14 years ago
Hidden Z
6fb4d60ce6
Rename web -> pyi2phosts
14 years ago
Hidden Z
817d4490b9
web/postkey/models.py: make date fields blank by default
...
Need that for make them optional in i2phost editing in django admin.
14 years ago
Hidden Z
01f13f2208
web/postkey/models.py: add proxy model needed for django admin
...
Proxy model needed for displaying not approved hosts in django admin
separatelly.
14 years ago
Hidden Z
4bf683073f
web/postkey/models.py: add new field "approved"
...
It's needed for doing confirmations manually.
14 years ago
Hidden Z
65f6b2b395
web/postkey/models.py: add new column "expires"
...
Needed for storing info about when some host must be expired.
14 years ago
Hidden Z
9fe393fce1
web/postkey/models.py: change type of "description" field
...
Now it limited to 4 KB.
14 years ago
Hidden Z
2529b6d6c3
web/postkey/models.py: last_seen is null by default now
14 years ago
Hidden Z
d6c360605b
web/postkey/models.py: add "last_seen" field
14 years ago
Hidden Z
b083f59957
web/postkey/models.py: correct comment
14 years ago
Hidden Z
f2d7647b59
web/postkey/models.py: moar comments
14 years ago
Hidden Z
7410eb788d
web/postkey/models.py: add "external" field (bool)
...
It's needed for marking imported hosts from external sources.
Availability checks will not remove this hosts until other host-add
services implement auto-removing.
14 years ago
Hidden Z
5145fba180
web/postkey/models.py: add __unicode__() method
14 years ago
Hidden Z
def26f43ef
web/postkey/models.py: permit non-unique hashes in database
...
This needed because hosts.txt already contains a duplicates. But we
shouldn't permit adding dups via webinterface.
14 years ago
Hidden Z
662399433d
web/postkey/models.py: add "description" field
14 years ago
Hidden Z
08ffe2942e
web/postkey/models.py: make "name" and "b64hash" fields unique
14 years ago
Hidden Z
e21d608b32
web/postkey/models.py: update b4hash description
14 years ago
Hidden Z
53e564265d
Add models.py for "postkey" django app
...
"postkey" app are used to submit new i2p hostnames
14 years ago