1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 14:28:03 +00:00
Commit Graph

357 Commits

Author SHA1 Message Date
Hidden Z
1d909dc522 py-i2phosts-maint: add config file validation 2010-10-30 20:53:33 +00:00
Hidden Z
fae3565684 py-i2phosts-maint: update help message for --debug 2010-10-30 19:03:14 +00:00
Hidden Z
b42a24339d py-i2phosts-maint: use config for django setup 2010-10-30 19:01:56 +00:00
Hidden Z
f525698af3 py-i2phosts-maint: get logger with our get_logger() 2010-10-30 19:01:00 +00:00
Hidden Z
2a16ddb3d3 py-i2phosts-maint: add config file support 2010-10-30 18:56:49 +00:00
Hidden Z
c505b2ce68 py-i2phosts-checker: bugfix: pass log_file when creating a logger 2010-10-30 18:54:25 +00:00
Hidden Z
610245adcf py-i2phosts-checker: add config option for SAM address 2010-10-30 18:46:35 +00:00
Hidden Z
1acd9f8e78 conf/builder.conf: config file for builder 2010-10-30 18:37:23 +00:00
Hidden Z
47d0957550 py-i2phosts-builder: add cli and config option for output file 2010-10-30 18:34:39 +00:00
Hidden Z
6bfc7d7fb3 py-i2phosts-builder: use config for django setup 2010-10-30 18:28:50 +00:00
Hidden Z
e64139d729 py-i2phosts-builder: add config file support 2010-10-30 18:23:56 +00:00
Hidden Z
00b98dfc93 py-i2phosts-builder: add command line options support 2010-10-30 18:23:14 +00:00
Hidden Z
b5e5cdf81e Add default configs 2010-10-30 18:16:16 +00:00
Hidden Z
297c9e9b55 py-i2phosts-injector: replace print() with sys.stdout.write() 2010-10-30 18:12:05 +00:00
Hidden Z
4755c0d35b py-i2phosts-injector: replace sys.stderr with sys.stdout where needed
Writing such kind of messages to stderr was a mistake.
2010-10-30 18:10:42 +00:00
Hidden Z
1e4933624a py-i2phosts-injector: use config value for "approved" 2010-10-30 18:09:22 +00:00
Hidden Z
a3a4d1ef51 py-i2phosts-injector: use config options in django setup 2010-10-30 18:09:00 +00:00
Hidden Z
596981b854 py-i2phosts-injector: add config file support 2010-10-30 18:07:52 +00:00
Hidden Z
08eedf6f2d py-i2phosts-fetcher: log injector's output 2010-10-30 18:03:04 +00:00
Hidden Z
802c79b156 py-i2phosts-fetcher: add debug message 2010-10-30 17:59:57 +00:00
Hidden Z
af60e019f8 py-i2phosts-fetcher: handle httplib errors when fetching data 2010-10-30 17:57:34 +00:00
Hidden Z
a7d98d8cf5 py-i2phosts-fetcher: replace print() and sys.std*() with log.<level>() 2010-10-30 17:55:37 +00:00
Hidden Z
31e1cb0706 py-i2phosts-fetcher: add logger using our get_logger() 2010-10-30 17:53:39 +00:00
Hidden Z
522cbd468c py-i2phosts-fetcher: read configuration options from config file 2010-10-30 17:52:52 +00:00
Hidden Z
dd46733afd py-i2phosts-fetcher: add command-line options support 2010-10-30 17:48:04 +00:00
Hidden Z
6c325725b0 py-i2phosts-checker: properly check DJANGO_PROJECT_PATH variable in config 2010-10-30 17:35:19 +00:00
Hidden Z
fd380a2d4a py-i2phosts-checker: include another config only if "include" is present 2010-10-30 17:31:57 +00:00
Hidden Z
d3cc2e6b83 py-i2phosts-checker: remove unneded import 2010-10-29 20:59:14 +00:00
Hidden Z
0833ff0adc py-i2phosts-checker: add log message 2010-10-29 20:54:51 +00:00
Hidden Z
59254857ad py-i2phosts-checker: configure logger using get_logger() 2010-10-29 20:54:21 +00:00
Hidden Z
a461c3cbe9 py-i2phosts-checker: take DJANGO_PROJECT_PATH from config 2010-10-29 20:53:43 +00:00
Hidden Z
cf5e82c65f py-i2phosts-checker: read config with configobj module 2010-10-29 20:50:14 +00:00
Hidden Z
76e6685a15 py-i2phosts-checker: add --config option 2010-10-29 20:48:44 +00:00
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.
2010-10-29 20:45:10 +00:00
Hidden Z
4a2de846b5 Add custom template "base_site.html" for django admin 2010-10-29 18:51:17 +00:00
Hidden Z
f97b6f953a web/settings.py: add template for local settings 2010-10-29 18:04:20 +00:00
Hidden Z
27d9aadbe8 web/templates/postkey.html: add h3 header before the form 2010-10-29 17:54:02 +00:00
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.
2010-10-29 17:50:21 +00:00
Hidden Z
390ab411f7 web/postkey/views.py: add additional validation set for hostnames
Disallow registering set of hostnames intended for i2p project use.
2010-10-29 17:45:46 +00:00
Hidden Z
893d84c08f web/lib/validation.py: disallow localhost.* 2010-10-29 17:45:10 +00:00
Hidden Z
f34a78c9ab web/lib/validation.py: disallow *b32.i2p and *b64.i2p 2010-10-29 17:44:21 +00:00
Hidden Z
a475034cc4 web/templates/index.html: adjust subscription link 2010-10-28 19:59:46 +00:00
Hidden Z
3f35ae2011 py-i2phosts-fetcher: call injector with '-a' 2010-10-28 19:34:35 +00:00
Hidden Z
d48b1dfcd8 py-i2phosts-injector: add comment 2010-10-28 19:34:21 +00:00
Hidden Z
2ab6566db2 py-i2phosts-injector: add argument for auto-approving hosts 2010-10-28 19:34:05 +00:00
Hidden Z
6fe4d299dd py-i2phosts-maint: activate only approved hosts 2010-10-28 19:10:57 +00:00
Hidden Z
817d4490b9 web/postkey/models.py: make date fields blank by default
Need that for make them optional in i2phost editing in django admin.
2010-10-28 19:09:16 +00:00
Hidden Z
6e195df483 web/postkey/admin.py: initial admin interface for hosts managing 2010-10-28 19:08:40 +00:00
Hidden Z
01f13f2208 web/postkey/models.py: add proxy model needed for django admin
Proxy model needed for displaying not approved hosts in django admin
separatelly.
2010-10-28 19:06:40 +00:00
Hidden Z
3a41972dd9 web/settings.py: activate django admin 2010-10-28 19:03:18 +00:00