1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-10 14:58:05 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
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.
2010-10-28 19:09:16 +00:00
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.
2010-10-28 19:06:40 +00:00
Hidden Z
4bf683073f web/postkey/models.py: add new field "approved"
It's needed for doing confirmations manually.
2010-10-28 19:01:04 +00:00
Hidden Z
65f6b2b395 web/postkey/models.py: add new column "expires"
Needed for storing info about when some host must be expired.
2010-10-26 17:58:55 +00:00
Hidden Z
9fe393fce1 web/postkey/models.py: change type of "description" field
Now it limited to 4 KB.
2010-10-24 18:33:39 +00:00
Hidden Z
2529b6d6c3 web/postkey/models.py: last_seen is null by default now 2010-10-16 18:22:51 +00:00
Hidden Z
d6c360605b web/postkey/models.py: add "last_seen" field 2010-10-14 20:00:49 +00:00
Hidden Z
b083f59957 web/postkey/models.py: correct comment 2010-10-14 19:14:31 +00:00
Hidden Z
f2d7647b59 web/postkey/models.py: moar comments 2010-10-14 18:25:34 +00:00
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.
2010-10-14 18:21:50 +00:00
Hidden Z
5145fba180 web/postkey/models.py: add __unicode__() method 2010-10-13 18:07:52 +00:00
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.
2010-10-13 17:06:35 +00:00
Hidden Z
662399433d web/postkey/models.py: add "description" field 2010-10-07 00:56:47 +06:00
Hidden Z
08ffe2942e web/postkey/models.py: make "name" and "b64hash" fields unique 2010-10-07 00:56:47 +06:00
Hidden Z
e21d608b32 web/postkey/models.py: update b4hash description 2010-10-07 00:56:47 +06:00
Hidden Z
53e564265d Add models.py for "postkey" django app
"postkey" app are used to submit new i2p hostnames
2010-10-07 00:56:46 +06:00