Hidden Z
7ea817f14a
Add wsgi.py
11 years ago
Hidden Z
59f0cb930f
Move common static files to static-common
...
And also use django.contrib.staticfiles to properly handle them.
11 years ago
Hidden Z
154eb7f7c2
Replace deprecated imports with actual
...
django.conf.urls.defaults is deprecated since django 1.5
old: from django.conf.urls.defaults import *
new: from django.conf.urls import *
11 years ago
Hidden Z
34d3243fcc
Use RequestContext in all render_to_response()
...
We have {% csrf_token %} in a templates, but the context in
render_to_response() does not provide the value.
https://docs.djangoproject.com/en/1.5/ref/contrib/csrf/
11 years ago
Hidden Z
8e2ac32684
Fix templates compatibility with django 1.5
11 years ago
Hidden Z
43bcfec7ed
Fix settings import
...
According to django 1.5 documentation, settings should be imported as
>>> from django.conf import settings
11 years ago
Hidden Z
3557122930
Update manage.py to django 1.5 version and move it one level above
11 years ago
Hidden Z
0c7b7781d2
base.html: fix <title>
13 years ago
Hidden Z
84836a5079
Simplify pagination in browse.html
...
Our old pagination is incompatible with new class-based generic views,
so switch to internal django pagination for some time.
13 years ago
Hidden Z
76ee7dbd0e
Migrate all function-based generic views to a class-based views
13 years ago
Hidden Z
a15bfb9cfa
Replace direct_to_template generic view with class-based TemplateView
...
This is done as a part of migration to django 1.3. See
https://docs.djangoproject.com/en/1.3/topics/generic-views-migration/
for additional info.
13 years ago
Hidden Z
3edb8fe653
validation.py: change python version in shebang
13 years ago
Hidden Z
eec3ecbb64
rss.py: remove shebang
13 years ago
Hidden Z
ec6d32895b
Fix russian translation
14 years ago
Hidden Z
ab3567a41f
base.css: remove left margin for table and increase it width
...
It makes browse table looks more nicely.
14 years ago
Hidden Z
e6db0d3ff2
latest.html: fix regression introduced in e3416c090e
...
RSS icon gets outside from h3; fix it.
14 years ago
Hidden Z
dd33ab9135
base.css: icrease right padding for div.main
14 years ago
Hidden Z
6ccc1341d9
base.css: improve look of /postkey/ page
...
Now list style is "outside" but list is moved to right a little, so list
looks pretty cool.
14 years ago
Hidden Z
cc50eec9c2
pyi2phosts/templates/policy.html: fix typo
14 years ago
Hidden Z
747010358e
Add sample inproxy.html
14 years ago
Hidden Z
5c1766374d
base.css: return back nice menu without list-markers
14 years ago
Hidden Z
3832f58128
Upadate russian translation
14 years ago
Hidden Z
5a61315d67
pyi2phosts/postkey/views.py: add i18n for SubdomainVerifyForm
14 years ago
Hidden Z
b5a518f560
Update russian translation
14 years ago
Hidden Z
6fce92307a
pyi2phosts/lib/validation.py: update error message
14 years ago
Hidden Z
483d14987d
pyi2phosts/lib/validation.py: add i18n
14 years ago
Hidden Z
65759c762f
pyi2phosts/postkey/views.py: add i18n
14 years ago
Hidden Z
f81e9664f3
pyi2phosts/postkey/models.py: add i18n
14 years ago
Hidden Z
40acdde338
Add russian translation
14 years ago
Hidden Z
6cd0520be2
base.css: add "ul"
14 years ago
Hidden Z
41b1e7d10a
Add country flags for english and russian
14 years ago
Hidden Z
e3416c090e
Add translation tags into all templates
...
Also update success_submission.html a little.
14 years ago
Hidden Z
eb14141371
base.html: add language selector
14 years ago
Hidden Z
c2fac8396e
base.css: adjust look for i18n
14 years ago
Hidden Z
918570cf9e
Enable i18n
14 years ago
Hidden Z
49e084189d
pyi2phosts/postkey/admin.py: add admin action "Approve selected"
14 years ago
Hidden Z
70b7585e54
Add rss img into templates
14 years ago
Hidden Z
cb2e5eec10
Add rss image
14 years ago
Hidden Z
12f33be276
Add names for rss urls
14 years ago
Hidden Z
ba5ae8decc
pyi2phosts/latest/urls.py: enable rss feed for latest hosts
14 years ago
Hidden Z
2582283863
pyi2phosts/urls.py: fix including of /latest/
14 years ago
Hidden Z
ccfd0d2494
pyi2phosts/lib/rss.py: add subclass for freshy added hosts
14 years ago
Hidden Z
96a3e480dc
pyi2phosts/latest/views.py: move queryset to separate function
...
I'll use it later from another place.
14 years ago
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.
14 years ago
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.
14 years ago
Hidden Z
f53aa53a6b
jumper: add stub index
14 years ago
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.
14 years ago
Hidden Z
b0c2851734
validation.py: fix grammar
14 years ago
Hidden Z
764e2e3f33
pyi2phosts/postkey/views.py: redefine is_valid() and log validation errors
14 years ago
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.
14 years ago