Hidden Z
d7d032d940
Move `latest` generic view to separate view
...
This should fix problem with datetime.datetime.utcnow() evaluation
caching in queryset.
14 years ago
Hidden Z
efa9397a9c
Revert "pyi2phosts/urls.py: use separate functions to get dates"
...
This reverts commit 3c193bcdc3
.
This patch doesn't solves the problem. We need django 1.3 or workaround
like described here:
http://pascut.com/2008/08/16/django-generic-views-cache-behavior/
14 years ago
Hidden Z
a48e4a998e
templates/index.html: add contact info for INR
14 years ago
Hidden Z
3c193bcdc3
pyi2phosts/urls.py: use separate functions to get dates
...
We need to get current date and start date every time when /latest/
requested. Before this dates were evaluated only at webserver startup so
newly added and activated hosts weren't can be appeared in /latest/.
14 years ago
Hidden Z
48ce4ba473
Move {days,hosts}_count from urls to settings
14 years ago
Hidden Z
1a734f5af5
postkey/views.py: fill date_added field with UTC date
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
52f4bc15e1
Add template for search results
14 years ago
Hidden Z
aae191c876
base.css: add "max-width" for "td"
14 years ago
Hidden Z
79a394cc45
base.css: add style for label
14 years ago
Hidden Z
215656bc4f
base.css: add styles for search
14 years ago
Hidden Z
c0221cd8ab
templates/base.html: include search field
14 years ago
Hidden Z
0117ec7014
Add initial search app
14 years ago
Hidden Z
eef7bf2e17
base.css: fix top padding of main div
14 years ago
Hidden Z
e4f7bdd104
pyi2phosts/urls.py: add FIXME note
14 years ago
Hidden Z
9b8e42fac2
templates/base.html: add "latest" to navigation menu
14 years ago
Hidden Z
2685dc485c
templates/base.html: add "header" block inside main div
14 years ago
Hidden Z
c42f6490e7
Add template for 'latest' view
14 years ago
Hidden Z
e346df0481
pyi2phosts/urls.py: add generic view for browsing latest hosts
14 years ago
Hidden Z
2b9346a404
templates/browse.html: display date added
14 years ago
Hidden Z
da92902739
postkey/admin.py: don't require unique hash when changing host
...
This check makes editing completely impossible.
14 years ago
Hidden Z
a0bba86169
pyi2phosts/postkey/views.py: remove excessive import
14 years ago
Hidden Z
08fa9c1ae7
pyi2phosts/postkey/admin.py: add name/key validation
14 years ago
Hidden Z
d017333906
utils.py: get_b32(): handle bad base64 hashes
14 years ago
Hidden Z
42964c6047
pyi2phosts/settings.py: import local_settings after all
14 years ago
Hidden Z
5b5103293a
templates/index.html: suggest adding self destination
14 years ago
Hidden Z
17431a7973
templates/faq.html: spelling fixes (tnx 'dr|z3d')
14 years ago
Hidden Z
7a1c338662
templates/paginator.html: add total count
14 years ago
Hidden Z
dd440bcb51
base.css: style fixes
14 years ago
Hidden Z
b88ab181c6
base.css: add definition for tr:first-child
14 years ago
Hidden Z
b9386d4a4a
pyi2phosts/static/base.css: add rules for "table" and "tr" tags
14 years ago
Hidden Z
b67a9e9cc6
templates/browse.html: add last seen and description
14 years ago
Hidden Z
0806c2ffb0
pyi2phosts/urls.py: pass title to "browse" page
14 years ago
Hidden Z
92098bf0c7
Enable pagination in hosts browsing
14 years ago
Hidden Z
38109637cd
base.css: add default styles for paginator
14 years ago
Hidden Z
28de73a660
Add paginator.html template
14 years ago
Hidden Z
5308d0b9f5
Add cool pagination templatetag
...
http://www.tummy.com/Community/Articles/django-pagination/
14 years ago
Hidden Z
ad77aebe4f
pyi2phosts/urls.py: add ordering for hosts browsing
14 years ago
Hidden Z
e3025b02e9
webinterface: add hosts browsing page
14 years ago
Hidden Z
c546f70757
templates/faq.html: add "_list" to "sources"
14 years ago
Hidden Z
30a856fdf9
pyi2phosts/urls.py: use list_detail.object_list for /faq/ url
...
It is more suitable for this case.
14 years ago
Hidden Z
82b77b8b51
pyi2phosts/urls.py: use callable to get external sources
...
Needed for prevent queryset caching.
http://docs.djangoproject.com/en/1.2/topics/generic-views/#adding-extra-context
14 years ago
Hidden Z
cff54ef2be
pyi2phosts/templates/base.html: add slash to link tag
14 years ago
Hidden Z
c0bdadf0a0
pyi2phosts/templates/jump.html: fix meta tag
14 years ago
Hidden Z
f1f89c0c90
templates/faq.html: improvement by 'user'
14 years ago
Hidden Z
cd3895c7d1
templates/faq.html: apply fixes by 'user'
14 years ago
Hidden Z
b281f034b0
templates/policy.html: correction
...
Actually we don't require "must be active before registration", we're
require "host must pass availability check for registration".
14 years ago
Hidden Z
2b9e500d89
Delete unneded pyi2phosts/other/*
14 years ago
Hidden Z
bd7417f900
Implement index view throught django generic views
14 years ago
Hidden Z
12bedec93e
pyi2phosts/urls.py: add faq pattern using django generic views
14 years ago