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 |
Hidden Z
|
d398eca9ab
|
py-i2phosts-checker: update help text for --debug
|
14 years ago |
Hidden Z
|
0e2f3c12aa
|
py-i2phosts-checker: add -v/--verbose option
Act as --debug, bug use 'info' loglevel
|
14 years ago |
Hidden Z
|
1574c1d13f
|
py-i2phosts-checker: bugfix: quote sam_addr
|
14 years ago |
Hidden Z
|
e1be09b22f
|
web/lib/utils.py: use WatchedFileHandler
Let admins safely rotate the logfiles with logrotate(8).
|
14 years ago |
Hidden Z
|
e0f1cb5a84
|
conf/maintainer.conf: config file for py-i2phosts-maint
|
14 years ago |
Hidden Z
|
d0388bc7e2
|
py-i2phosts-maint: use config values instead of hardcoded ones
|
14 years ago |
Hidden Z
|
1d909dc522
|
py-i2phosts-maint: add config file validation
|
14 years ago |
Hidden Z
|
fae3565684
|
py-i2phosts-maint: update help message for --debug
|
14 years ago |
Hidden Z
|
b42a24339d
|
py-i2phosts-maint: use config for django setup
|
14 years ago |
Hidden Z
|
f525698af3
|
py-i2phosts-maint: get logger with our get_logger()
|
14 years ago |
Hidden Z
|
2a16ddb3d3
|
py-i2phosts-maint: add config file support
|
14 years ago |
Hidden Z
|
c505b2ce68
|
py-i2phosts-checker: bugfix: pass log_file when creating a logger
|
14 years ago |
Hidden Z
|
610245adcf
|
py-i2phosts-checker: add config option for SAM address
|
14 years ago |
Hidden Z
|
1acd9f8e78
|
conf/builder.conf: config file for builder
|
14 years ago |
Hidden Z
|
47d0957550
|
py-i2phosts-builder: add cli and config option for output file
|
14 years ago |
Hidden Z
|
6bfc7d7fb3
|
py-i2phosts-builder: use config for django setup
|
14 years ago |
Hidden Z
|
e64139d729
|
py-i2phosts-builder: add config file support
|
14 years ago |
Hidden Z
|
00b98dfc93
|
py-i2phosts-builder: add command line options support
|
14 years ago |
Hidden Z
|
b5e5cdf81e
|
Add default configs
|
14 years ago |
Hidden Z
|
297c9e9b55
|
py-i2phosts-injector: replace print() with sys.stdout.write()
|
14 years ago |
Hidden Z
|
4755c0d35b
|
py-i2phosts-injector: replace sys.stderr with sys.stdout where needed
Writing such kind of messages to stderr was a mistake.
|
14 years ago |
Hidden Z
|
1e4933624a
|
py-i2phosts-injector: use config value for "approved"
|
14 years ago |
Hidden Z
|
a3a4d1ef51
|
py-i2phosts-injector: use config options in django setup
|
14 years ago |
Hidden Z
|
596981b854
|
py-i2phosts-injector: add config file support
|
14 years ago |
Hidden Z
|
08eedf6f2d
|
py-i2phosts-fetcher: log injector's output
|
14 years ago |
Hidden Z
|
802c79b156
|
py-i2phosts-fetcher: add debug message
|
14 years ago |
Hidden Z
|
af60e019f8
|
py-i2phosts-fetcher: handle httplib errors when fetching data
|
14 years ago |
Hidden Z
|
a7d98d8cf5
|
py-i2phosts-fetcher: replace print() and sys.std*() with log.<level>()
|
14 years ago |
Hidden Z
|
31e1cb0706
|
py-i2phosts-fetcher: add logger using our get_logger()
|
14 years ago |
Hidden Z
|
522cbd468c
|
py-i2phosts-fetcher: read configuration options from config file
|
14 years ago |
Hidden Z
|
dd46733afd
|
py-i2phosts-fetcher: add command-line options support
|
14 years ago |
Hidden Z
|
6c325725b0
|
py-i2phosts-checker: properly check DJANGO_PROJECT_PATH variable in config
|
14 years ago |
Hidden Z
|
fd380a2d4a
|
py-i2phosts-checker: include another config only if "include" is present
|
14 years ago |
Hidden Z
|
d3cc2e6b83
|
py-i2phosts-checker: remove unneded import
|
14 years ago |
Hidden Z
|
0833ff0adc
|
py-i2phosts-checker: add log message
|
14 years ago |
Hidden Z
|
59254857ad
|
py-i2phosts-checker: configure logger using get_logger()
|
14 years ago |
Hidden Z
|
a461c3cbe9
|
py-i2phosts-checker: take DJANGO_PROJECT_PATH from config
|
14 years ago |
Hidden Z
|
cf5e82c65f
|
py-i2phosts-checker: read config with configobj module
|
14 years ago |
Hidden Z
|
76e6685a15
|
py-i2phosts-checker: add --config option
|
14 years ago |
Hidden Z
|
85263b65cc
|
web/lib/utils.py: a set of various utils for project
And firstly write get_logger() function. It provides common mechanism
for creating logger instances inside scripts.
|
14 years ago |
Hidden Z
|
4a2de846b5
|
Add custom template "base_site.html" for django admin
|
14 years ago |
Hidden Z
|
f97b6f953a
|
web/settings.py: add template for local settings
|
14 years ago |
Hidden Z
|
27d9aadbe8
|
web/templates/postkey.html: add h3 header before the form
|
14 years ago |
Hidden Z
|
d6dfee3f78
|
web/postkey/views.py: allow only 2-level domains
Until we haven't implemented subdomain auth, reject subdomains
registration via webinterface et all.
|
14 years ago |
Hidden Z
|
390ab411f7
|
web/postkey/views.py: add additional validation set for hostnames
Disallow registering set of hostnames intended for i2p project use.
|
14 years ago |
Hidden Z
|
893d84c08f
|
web/lib/validation.py: disallow localhost.*
|
14 years ago |
Hidden Z
|
f34a78c9ab
|
web/lib/validation.py: disallow *b32.i2p and *b64.i2p
|
14 years ago |