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 |
Hidden Z
|
a475034cc4
|
web/templates/index.html: adjust subscription link
|
14 years ago |
Hidden Z
|
3f35ae2011
|
py-i2phosts-fetcher: call injector with '-a'
|
14 years ago |
Hidden Z
|
d48b1dfcd8
|
py-i2phosts-injector: add comment
|
14 years ago |
Hidden Z
|
2ab6566db2
|
py-i2phosts-injector: add argument for auto-approving hosts
|
14 years ago |
Hidden Z
|
6fe4d299dd
|
py-i2phosts-maint: activate only approved hosts
|
14 years ago |
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.
|
14 years ago |
Hidden Z
|
6e195df483
|
web/postkey/admin.py: initial admin interface for hosts managing
|
14 years ago |
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.
|
14 years ago |
Hidden Z
|
3a41972dd9
|
web/settings.py: activate django admin
|
14 years ago |
Hidden Z
|
4bf683073f
|
web/postkey/models.py: add new field "approved"
It's needed for doing confirmations manually.
|
14 years ago |
Hidden Z
|
9f7b3d48fd
|
py-i2phosts-maint: remove tabwith settings for vim
|
14 years ago |
Hidden Z
|
349cb809a2
|
web/jump/views.py: fix original GET params order
Before this requesting /jump/example.i2p/foo?a=b&c=d produced redirect
as http://example.i2p/?i2paddresshelper=key/foo?a=b&c=d
Now it http://example.i2p/foo?a=b&c=d&i2paddresshelper=key
|
14 years ago |
Hidden Z
|
376c9bb80b
|
py-i2phosts-injector: by default add hosts as NOT activated
|
14 years ago |
Hidden Z
|
6a844c42f0
|
py-i2phosts-injector: check for key conflicts when adding
Now we can see when key for some host are differs with our key
|
14 years ago |
Hidden Z
|
9a6cc81403
|
py-i2phosts-maint: add workaround for situation when we updating expires first time
|
14 years ago |
Hidden Z
|
e0e6113808
|
py-i2phosts-fetcher: add log message
|
14 years ago |
Hidden Z
|
0f66ec2d49
|
py-i2phosts-maint: improve log messages
|
14 years ago |
Hidden Z
|
76e49cfa11
|
py-i2phosts-maint: new script for doing hosts maintaince
It implements logic for all host-maintaince operations like:
- activating hosts
- deactivating hosts
- setting expiration date
- deleting hosts
|
14 years ago |
Hidden Z
|
65f6b2b395
|
web/postkey/models.py: add new column "expires"
Needed for storing info about when some host must be expired.
|
14 years ago |
Hidden Z
|
a3b8128002
|
py-i2phosts-builder: split queryset
Just for improve readability.
|
14 years ago |