Hidden Z
b0c2851734
validation.py: fix grammar
2010-12-30 20:13:29 +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
83928b6dad
jump/views.py: change behavior when trying to access an inactive hostname
...
Instead of displaying "host unknown" page, we're displaying a search
results page when hostname known to us bot not activated and don't
published in exported addressbook.
2010-12-07 20:32:46 +00:00
Hidden Z
59beb95606
search/views.py: add case-sensitive search by base64 hash
2010-12-07 20:14:31 +00:00
Hidden Z
4d2d4ed29a
templates/browse.html: provide urls with i2padresshelper
2010-12-07 20:09:01 +00:00
Hidden Z
6321482047
postkey/admin.py: search by base64 hash also
2010-12-06 17:04:53 +00:00
Hidden Z
f9f90d4af6
py-i2phosts-maint: don't try to deactivate already deactivated hosts
2010-11-27 18:57:25 +00:00
Hidden Z
7194fa8ca7
py-i2phosts-maint: fix typo
2010-11-27 18:34:34 +00:00
Hidden Z
026fd7a10a
setup.py: add pyi2phosts.latest
2010-11-26 19:29:18 +00:00
Hidden Z
d7d032d940
Move latest
generic view to separate view
...
This should fix problem with datetime.datetime.utcnow() evaluation
caching in queryset.
2010-11-26 19:24:02 +00:00
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/
2010-11-26 19:06:40 +00:00
Hidden Z
a48e4a998e
templates/index.html: add contact info for INR
2010-11-20 18:21:23 +00:00
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/.
2010-11-20 17:49:14 +00:00
Hidden Z
48ce4ba473
Move {days,hosts}_count from urls to settings
2010-11-20 13:04:37 +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
dcc6699c33
py-i2phosts-injector: fill date_added field with UTC date
2010-11-15 19:02:08 +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
52f4bc15e1
Add template for search results
2010-11-12 20:48:41 +00:00
Hidden Z
9c4f778099
setup.py: add search module
2010-11-12 20:37:31 +00:00
Hidden Z
aae191c876
base.css: add "max-width" for "td"
2010-11-12 20:25:08 +00:00
Hidden Z
79a394cc45
base.css: add style for label
2010-11-12 20:17:05 +00:00
Hidden Z
215656bc4f
base.css: add styles for search
2010-11-12 19:54:19 +00:00
Hidden Z
c0221cd8ab
templates/base.html: include search field
2010-11-12 19:53:58 +00:00
Hidden Z
0117ec7014
Add initial search app
2010-11-12 19:53:31 +00:00
Hidden Z
eef7bf2e17
base.css: fix top padding of main div
2010-11-12 19:50:49 +00:00
Hidden Z
e4f7bdd104
pyi2phosts/urls.py: add FIXME note
2010-11-12 16:14:15 +00:00
Hidden Z
9b8e42fac2
templates/base.html: add "latest" to navigation menu
2010-11-11 19:28:33 +00:00
Hidden Z
2685dc485c
templates/base.html: add "header" block inside main div
2010-11-11 19:28:07 +00:00
Hidden Z
c42f6490e7
Add template for 'latest' view
2010-11-11 19:27:21 +00:00
Hidden Z
e346df0481
pyi2phosts/urls.py: add generic view for browsing latest hosts
2010-11-11 19:26:26 +00:00
Hidden Z
2b9346a404
templates/browse.html: display date added
2010-11-11 19:25:39 +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
ffa053e1d3
Add tool for manually changing description for some hosts
...
Normally you don't need this tool.
2010-11-10 17:07:01 +00:00
Hidden Z
036cddad48
py-i2phosts-checker: probe activated hosts firstly
2010-11-07 22:02:43 +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
d017333906
utils.py: get_b32(): handle bad base64 hashes
2010-11-07 20:46:25 +00:00
Hidden Z
29129ab2f2
py-i2phosts-checker: improve log message
2010-11-07 20:11:34 +00:00
Hidden Z
3d7433f44b
py-i2phosts-injector: add trailing newline where needed
2010-11-07 20:09:47 +00:00
Hidden Z
8bef1fd666
py-i2phosts-fetcher: improve log messages
2010-11-07 20:08:03 +00:00
Hidden Z
7b400f6a29
py-i2phosts-master: improve log messages
2010-11-07 19:41:02 +00:00
Hidden Z
42964c6047
pyi2phosts/settings.py: import local_settings after all
2010-11-07 18:06:17 +00:00
Hidden Z
5b5103293a
templates/index.html: suggest adding self destination
2010-11-07 17:59:54 +00:00
Hidden Z
56c177852c
py-i2phosts-injector: rewrite choosing of hosts.txt file for parsing
...
Now we doesn't fail when no HOME env var is present.
2010-11-07 17:02:17 +00:00
Hidden Z
17431a7973
templates/faq.html: spelling fixes (tnx 'dr|z3d')
2010-11-07 13:24:13 +00:00
Hidden Z
11453810e0
Use datetime.utcnow() instead of datetime.now()
2010-11-07 12:44:37 +00:00
Hidden Z
e5e82b428c
setup.py: include pyi2phosts.postkey.templatetags
2010-11-07 09:29:22 +00:00
Hidden Z
7a1c338662
templates/paginator.html: add total count
2010-11-07 09:22:09 +00:00
Hidden Z
dd440bcb51
base.css: style fixes
2010-11-07 09:04:04 +00:00
Hidden Z
b88ab181c6
base.css: add definition for tr:first-child
2010-11-07 09:03:35 +00:00