1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-08 22:07:55 +00:00
Commit Graph

397 Commits

Author SHA1 Message Date
Hidden Z
94828c5761 setup.py: package static/ 2010-11-05 14:09:15 +00:00
Hidden Z
646d1485c6 .gitignore: ignore inproxy.html 2010-11-05 14:07:53 +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
Hidden Z
c695871938 templates/index.html: some fixes 2010-11-05 11:27:49 +00:00
Hidden Z
9fdef74093 templates/index.html: update header 2010-11-05 08:39:44 +00:00
Hidden Z
cd95f59882 templates/index.html: some more fixes by 'user' 2010-11-05 08:39:22 +00:00
Hidden Z
611235dd2d pyi2phosts/templates/index.html: bugfix 2010-11-05 08:32:19 +00:00
Hidden Z
dcee6fbb08 pyi2phosts/templates/index.html: bugfix 2010-11-05 08:28:41 +00:00
Hidden Z
cb333b1282 templates/index.html: add points where needed 2010-11-05 08:27:03 +00:00
Hidden Z
b5aa472a0f pyi2phosts/templates/index.html: provide link to router's addressbook 2010-11-05 08:26:40 +00:00
Hidden Z
bd9cdd42bd templates/index.html: fix typo (tnx 'user') 2010-11-05 08:23:39 +00:00
Hidden Z
16c142a5c1 pyi2phosts/postkey/views.py: check for hostname presence in success() 2010-11-05 06:32:25 +00:00
Hidden Z
37994951c1 pyi2phosts/postkey/views.py: use redirect() instead of HttpResponseRedirect() 2010-11-05 06:31:47 +00:00
Hidden Z
dc02bc951c Revert "web/postkey/views.py: remove unneeded import"
This reverts commit 01964a33f8.

Whoops, this import is not unneeded!
2010-11-04 21:49:38 +00:00
Hidden Z
c1f1695ae3 py-i2phosts-master: remove unused config options 2010-11-04 14:38:23 +00:00
Hidden Z
0a6eca35c6 setup.py: update according to last changes 2010-11-04 14:37:44 +00:00
Hidden Z
571c4be84c pyi2phosts/templates/index.html: fix url references 2010-11-04 14:30:34 +00:00
Hidden Z
e1d0e545c3 Add .placeholder for distutils
We need to create /var/log/py-i2phosts at install-time, but distutils
doesn't creates an emty dirs.
2010-11-04 14:14:34 +00:00
Hidden Z
f1f54e61ed Fix imports in admin.py 2010-11-04 13:40:58 +00:00
Hidden Z
581c453b04 Add template for 500 error 2010-11-04 13:37:32 +00:00
Hidden Z
7ce4500b9c Fix "settings" import 2010-11-04 12:43:53 +00:00
Hidden Z
6fb4d60ce6 Rename web -> pyi2phosts 2010-11-04 12:41:42 +00:00
Hidden Z
f63768095d Revert "web: avoid importing or accessing modules using "web.*""
This reverts commit d50bb7a66f.

Conflicts:

	web/settings.py

Do imports from pyi2phosts.*
2010-11-04 12:25:18 +00:00
Hidden Z
14d076eb4d web/settings.py: prefix our apps with pyi2phosts.
We need this for correct import when installed as python package.
2010-11-04 12:16:50 +00:00
Hidden Z
a247ca2c7e Add symlink pyi2phosts -> web
It gave us possibility to run py-i2phosts-* scripts in-place (without
installing our python modules into system)
2010-11-04 07:25:24 +00:00
Hidden Z
0819e15db8 py-i2phosts-*: do imports from system-wide pyi2phosts 2010-11-03 20:28:08 +00:00
Hidden Z
9efdb0dfc1 setup.py: fix tempplates installation 2010-11-03 20:27:47 +00:00
Hidden Z
d50bb7a66f web: avoid importing or accessing modules using "web.*" 2010-11-03 19:26:58 +00:00
Hidden Z
9a9ddbc23f setup.py: minor reformat 2010-11-03 19:16:16 +00:00
Hidden Z
01964a33f8 web/postkey/views.py: remove unneeded import 2010-11-03 19:15:50 +00:00
Hidden Z
f6ec7720c7 Add setup.py 2010-11-03 19:05:44 +00:00
Hidden Z
ad386eea71 Add __init__.py where needed 2010-11-03 19:04:54 +00:00
Hidden Z
f07a3e5afd .gitignore: remove __init__.py
We need these files for distutils.
2010-11-03 19:02:38 +00:00
Hidden Z
bf411afcd6 web/settings.py: add default settings for logging 2010-11-02 18:36:13 +00:00
Hidden Z
489f1c9f15 web/lib/utils.py: add workaround for django
It helps to avoid multiple root loggers.
2010-11-02 18:34:25 +00:00
Hidden Z
c0b11b5efe web/postkey/views.py: add submission logging 2010-11-02 18:33:46 +00:00
Hidden Z
5311169c37 web/postkey/views.py: reorder imports 2010-11-02 17:32:51 +00:00
Hidden Z
d6881adba5 web/postkey/views.py: fix typo 2010-11-02 17:32:06 +00:00
Hidden Z
6e580ea449 .gitignore: add i2p/ 2010-11-02 17:11:07 +00:00
Hidden Z
793bf3cca1 py-i2phosts-master: add few log messages 2010-11-02 17:10:15 +00:00
Hidden Z
67ae54ab91 py-i2phosts-maint: add log message 2010-11-02 17:08:24 +00:00
Hidden Z
e48e67705f py-i2phosts-builder: require "hostsfile" to be defined
"hostsfile" should be defined by passing command-line option "-f" or
using config option
2010-11-02 16:28:45 +00:00
Hidden Z
7351534f88 py-i2phosts-builder: use validate_config() 2010-11-02 16:28:01 +00:00