Hidden Z
d50bb7a66f
web: avoid importing or accessing modules using "web.*"
14 years ago
Hidden Z
9a9ddbc23f
setup.py: minor reformat
14 years ago
Hidden Z
01964a33f8
web/postkey/views.py: remove unneeded import
14 years ago
Hidden Z
f6ec7720c7
Add setup.py
14 years ago
Hidden Z
ad386eea71
Add __init__.py where needed
14 years ago
Hidden Z
f07a3e5afd
.gitignore: remove __init__.py
...
We need these files for distutils.
14 years ago
Hidden Z
bf411afcd6
web/settings.py: add default settings for logging
14 years ago
Hidden Z
489f1c9f15
web/lib/utils.py: add workaround for django
...
It helps to avoid multiple root loggers.
14 years ago
Hidden Z
c0b11b5efe
web/postkey/views.py: add submission logging
14 years ago
Hidden Z
5311169c37
web/postkey/views.py: reorder imports
14 years ago
Hidden Z
d6881adba5
web/postkey/views.py: fix typo
14 years ago
Hidden Z
6e580ea449
.gitignore: add i2p/
14 years ago
Hidden Z
793bf3cca1
py-i2phosts-master: add few log messages
14 years ago
Hidden Z
67ae54ab91
py-i2phosts-maint: add log message
14 years ago
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
14 years ago
Hidden Z
7351534f88
py-i2phosts-builder: use validate_config()
14 years ago
Hidden Z
c3a218978a
py-i2phosts-master: use validate_config()
14 years ago
Hidden Z
833b370d35
py-i2phosts-fetcher: use validate_config()
14 years ago
Hidden Z
50386d3f70
py-i2phosts-fetcher: update last_success only after injector's run
14 years ago
Hidden Z
999ad9577f
py-i2phosts-fetcher: use temp files for storing fetched content
14 years ago
Hidden Z
6e125f5ef0
Add conf/master.conf - config for master
14 years ago
Hidden Z
f68662f7b5
Add py-i2phosts-master
...
Master daemon needed for periodic run all other components.
14 years ago
Hidden Z
dafd5df3fb
py-i2phosts-builder: add -d/--debug
...
Currently it does nothing, but may be used later.
14 years ago
Hidden Z
4fa014add4
web/lib/utils.py: remove unneeded check_logger_options()
14 years ago
Hidden Z
c4535f353a
py-i2phosts-fetcher: stop using check_logger_options()
14 years ago
Hidden Z
7550b01e05
py-i2phosts-checker: stop using check_logger_options()
14 years ago
Hidden Z
2b898422f1
py-i2phosts-maint: stop using check_logger_options()
14 years ago
Hidden Z
389194b66d
py-i2phosts-maint: use validate_config()
14 years ago
Hidden Z
c9c4e189e4
web/lib/utils.py: add validate_config()
...
New function for handle config validation.
http://www.voidspace.org.uk/python/articles/configobj.shtml#validation
14 years ago
Hidden Z
3068a7279d
conf/checker.conf: remove unneeded options
14 years ago
Hidden Z
00f066fd2d
py-i2phosts-checker: remove daemonization
...
We will use separate master process.
14 years ago
Hidden Z
5957ee9bbe
py-i2phosts-fetcher: remove unneeded import
14 years ago
Hidden Z
b03396106c
conf/checker.conf: add new options
14 years ago
Hidden Z
26a87c4bb1
py-i2phosts-checker: optionally run fetcher/maint/builder
14 years ago
Hidden Z
be103aeb7a
py-i2phosts-checker: add run_prog()
...
Needed for run other tools in common way.
14 years ago
Hidden Z
94f885a7b8
py-i2phosts-fetcher: assume that injector in PATH
14 years ago
Hidden Z
df47c06b0b
py-i2phosts-maint: use check_logger_options()
14 years ago
Hidden Z
b92c03643d
py-i2phosts-fetcher: use check_logger_options()
14 years ago
Hidden Z
4c99772834
py-i2phosts-checker: use check_logger_options()
14 years ago
Hidden Z
891472cfac
web/lib/utils.py: add check_logger_options()
...
We need to check config options for logger in various scripts, and this
check is almost same, so move it to separate function.
14 years ago
Hidden Z
0c8968f31e
conf/checker.conf: add new parameters
14 years ago
Hidden Z
8f932a3e8b
py-i2phosts-checker: add daemonisation using python-daemon module
14 years ago
Hidden Z
1cff3cedcb
web/lib/utils.py: bugfix: take WatchedFileHandler properly
14 years ago
Hidden Z
e5c471340e
conf/fetcher.conf: remove sources (unneeded now)
14 years ago
Hidden Z
a5e938b74c
py-i2phosts-fetcher: integrate with django and use 'extsources'
...
- fetcher now takes sources list for fetch from django instead of config
- Info from Last-Modified and ETag are stored in database now
- fetcher now supports ETag
14 years ago
Hidden Z
ed063a86fc
web/settings.py: add web.extsources to INSTALLED_APPS
14 years ago
Hidden Z
342ba713a4
Add extsources to django admin
14 years ago
Hidden Z
3d38fbb9b0
New app "extsources"
...
Now we keep external hosts.txt sources in django.
14 years ago
Hidden Z
d9eb21932e
web/lib/validation.py: add validate_i2purl()
...
We need it for URL validation when adding external hosts sources.
14 years ago
Hidden Z
9f3773cebf
web/lib/validation.py: use plain ValidationError
14 years ago