Hidden Z
6cd0520be2
base.css: add "ul"
2011-02-19 13:28:25 +00:00
Hidden Z
41b1e7d10a
Add country flags for english and russian
2011-02-19 13:27:50 +00:00
Hidden Z
e3416c090e
Add translation tags into all templates
...
Also update success_submission.html a little.
2011-02-19 13:26:28 +00:00
Hidden Z
eb14141371
base.html: add language selector
2011-02-19 13:24:19 +00:00
Hidden Z
c2fac8396e
base.css: adjust look for i18n
2011-02-18 19:45:23 +00:00
Hidden Z
918570cf9e
Enable i18n
2011-02-18 19:44:56 +00:00
Hidden Z
49e084189d
pyi2phosts/postkey/admin.py: add admin action "Approve selected"
2011-02-17 19:07:21 +00:00
Hidden Z
70b7585e54
Add rss img into templates
2011-02-17 18:52:51 +00:00
Hidden Z
cb2e5eec10
Add rss image
2011-02-17 18:52:06 +00:00
Hidden Z
12f33be276
Add names for rss urls
2011-02-17 17:29:52 +00:00
Hidden Z
ba5ae8decc
pyi2phosts/latest/urls.py: enable rss feed for latest hosts
2011-02-16 19:01:02 +00:00
Hidden Z
2582283863
pyi2phosts/urls.py: fix including of /latest/
2011-02-16 19:00:28 +00:00
Hidden Z
ccfd0d2494
pyi2phosts/lib/rss.py: add subclass for freshy added hosts
2011-02-16 18:59:13 +00:00
Hidden Z
96a3e480dc
pyi2phosts/latest/views.py: move queryset to separate function
...
I'll use it later from another place.
2011-02-16 18:58:05 +00:00
Hidden Z
dc919135cc
Implement RSS export for all active hosts
...
KwukDuck asked me for RSS for using it with LiveBookmarks firefox
plugin in his portable I2P package.
2011-02-15 19:57:00 +00:00
Hidden Z
fe5e6ccc80
templates/index.html: add info how to add a jump service into i2ptunnel
...
Since I2P 0.8.3 user can add a custom jump-services.
2011-02-06 14:15:34 +00:00
Hidden Z
f53aa53a6b
jumper: add stub index
2011-02-06 14:15:03 +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
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
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
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
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
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
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
17431a7973
templates/faq.html: spelling fixes (tnx 'dr|z3d')
2010-11-07 13:24:13 +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
Hidden Z
b9386d4a4a
pyi2phosts/static/base.css: add rules for "table" and "tr" tags
2010-11-07 08:01:15 +00:00
Hidden Z
b67a9e9cc6
templates/browse.html: add last seen and description
2010-11-07 08:00:08 +00:00
Hidden Z
0806c2ffb0
pyi2phosts/urls.py: pass title to "browse" page
2010-11-07 07:58:25 +00:00
Hidden Z
92098bf0c7
Enable pagination in hosts browsing
2010-11-06 21:14:39 +00:00
Hidden Z
38109637cd
base.css: add default styles for paginator
2010-11-06 21:14:06 +00:00
Hidden Z
28de73a660
Add paginator.html template
2010-11-06 21:13:23 +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
ad77aebe4f
pyi2phosts/urls.py: add ordering for hosts browsing
2010-11-06 19:28:19 +00:00
Hidden Z
e3025b02e9
webinterface: add hosts browsing page
2010-11-06 19:11:08 +00:00
Hidden Z
c546f70757
templates/faq.html: add "_list" to "sources"
2010-11-06 19:04:14 +00:00
Hidden Z
30a856fdf9
pyi2phosts/urls.py: use list_detail.object_list for /faq/ url
...
It is more suitable for this case.
2010-11-06 19:02:22 +00:00
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
2010-11-06 16:06:23 +00:00
Hidden Z
cff54ef2be
pyi2phosts/templates/base.html: add slash to link tag
2010-11-06 08:50:18 +00:00
Hidden Z
c0bdadf0a0
pyi2phosts/templates/jump.html: fix meta tag
2010-11-06 08:49:33 +00:00
Hidden Z
f1f89c0c90
templates/faq.html: improvement by 'user'
2010-11-05 22:11:08 +00:00
Hidden Z
cd3895c7d1
templates/faq.html: apply fixes by 'user'
2010-11-05 22:06:14 +00:00
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".
2010-11-05 21:43:43 +00:00
Hidden Z
2b9e500d89
Delete unneded pyi2phosts/other/*
2010-11-05 21:21:47 +00:00
Hidden Z
bd7417f900
Implement index view throught django generic views
2010-11-05 21:21:16 +00:00
Hidden Z
12bedec93e
pyi2phosts/urls.py: add faq pattern using django generic views
2010-11-05 21:13:21 +00:00
Hidden Z
080af231d2
pyi2phosts/templates/index.html: add link to FAQ page
2010-11-05 21:12:58 +00:00
Hidden Z
1215fc05bc
pyi2phosts/templates/base.html: add link to FAQ page
2010-11-05 21:12:27 +00:00
Hidden Z
49dc7ebaf2
Add template for FAQ page
2010-11-05 21:11:44 +00:00
Hidden Z
07a2915235
pyi2phosts/templates/base.html: small fix
2010-11-05 19:54:04 +00:00
Hidden Z
6200a466ff
pyi2phosts/postkey/admin.py: order by descending
2010-11-05 19:43:19 +00:00
Hidden Z
d1366aea50
templates/index.html: fix spelling (tnx 'user')
2010-11-05 16:28:58 +00:00
Hidden Z
4f98a4febe
pyi2phosts/templates/base.html: remove "id" from menu div
2010-11-05 16:11:57 +00:00
Hidden Z
490f9617c3
base.css: convert menu identifiers to classes
2010-11-05 16:10:48 +00:00
Hidden Z
b268a3157d
pyi2phosts/postkey/admin.py: provide b32-link for preview
2010-11-05 15:06:30 +00:00
Hidden Z
8353439c5b
pyi2phosts/templates/base.html: fix link to css
2010-11-05 14:53:56 +00:00
Hidden Z
beb46692ae
templates/index.html: define block "footer-addon"
2010-11-05 14:39:06 +00:00
Hidden Z
866c451a67
pyi2phosts/other/views.py: pass b32, b64 variables to template
2010-11-05 14:38:38 +00:00
Hidden Z
5ead4d4e78
templates/base.html: add block "footer-addon" inside footer
2010-11-05 14:38:08 +00:00
Hidden Z
a3bf7c9f5c
pyi2phosts/settings.py: add MY_B64
2010-11-05 14:37:41 +00:00
Hidden Z
623134e1a2
pyi2phosts/lib/utils.py: add get_b32()
...
Because we want to use b64->b32 conversion from different places, move
in to our library.
2010-11-05 14:27:51 +00:00
Hidden Z
6b5d731c4b
base.css: add div.footer
2010-11-05 14:21:53 +00:00
Hidden Z
5019e5b185
base.css: add errorlist class
2010-11-05 14:12:41 +00:00
Hidden Z
d7c5c6f21a
base.css: fix indent
2010-11-05 14:10:54 +00:00
Hidden Z
282ccc79ec
Add base.css
2010-11-05 14:07:05 +00:00
Hidden Z
fba588688c
templates/base.html: add navigation block
2010-11-05 14:06:22 +00:00
Hidden Z
09faddf91b
templates/base.html: put block "content" into div
2010-11-05 14:04:16 +00:00
Hidden Z
6731162a04
templates/base.html: add css
2010-11-05 14:02:57 +00:00
Hidden Z
658e98b87c
templates/policy.html: spelling fixes (tnx 'user')
2010-11-05 12:04:18 +00:00
Hidden Z
93cd0aedd2
Place policy.html with other templates
...
Separate "templates/local/" directory doesn't make sense because most of
reg services will use own templates for most pages.
2010-11-05 12:01:12 +00:00
Hidden Z
2e5ba8d88d
pyi2phosts/urls.py: allow django to serve static files when debug enabled
2010-11-05 11:57:47 +00:00
Hidden Z
e8d0c8b07a
pyi2phosts/settings.py: define default media root and url
2010-11-05 11:57:23 +00:00