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

21 Commits

Author SHA1 Message Date
Hidden Z
918570cf9e Enable i18n 2011-02-18 19:44:56 +00:00
Hidden Z
12f33be276 Add names for rss urls 2011-02-17 17:29:52 +00:00
Hidden Z
2582283863 pyi2phosts/urls.py: fix including of /latest/ 2011-02-16 19:00:28 +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
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
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
0117ec7014 Add initial search app 2010-11-12 19:53:31 +00:00
Hidden Z
e4f7bdd104 pyi2phosts/urls.py: add FIXME note 2010-11-12 16:14:15 +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
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
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
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
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
2e5ba8d88d pyi2phosts/urls.py: allow django to serve static files when debug enabled 2010-11-05 11:57:47 +00:00
Hidden Z
6fb4d60ce6 Rename web -> pyi2phosts 2010-11-04 12:41:42 +00:00