Hidden Z
9b88d61af5
injector: add command-line option for description
14 years ago
Hidden Z
803bbef6c6
injector: output errors to stderr
14 years ago
Hidden Z
5e8b354f9f
injector: ignore comments and empty lines
14 years ago
Hidden Z
2858ba6084
injector: strip trailing '\n' from lines
...
We don't need a corrupted hashes in db :)
14 years ago
Hidden Z
798d5cb2a7
injector: ignore lines without '=' separator
14 years ago
Hidden Z
f6f2d25426
injector: add hostname/key validation using previously created library
14 years ago
Hidden Z
95f38f5ac0
injector: add new hosts with external=True
14 years ago
Hidden Z
e3ec6c34bc
Redefine DJANGO_PROJECT_PATH in scripts
...
Assume that wep-part are located in <scriptdir>/web. Later we should use
a config variable for it. In production environment scripts will be
located in /usr/bin/
14 years ago
Hidden Z
fd210c6fe3
injector: add command-line arguments parsing
...
And first option is: path to hosts.txt for parse
14 years ago
Hidden Z
40a708bb60
injector: permit adding hostnames with non-unique b64 hashes
14 years ago
Hidden Z
b71f2fc511
injector: use more efficient exists() method
14 years ago
Hidden Z
bc33f75238
Add injector program
...
This is an initial implementation of injector service needed for parse
external hosts.txt and adds hosts from them into our database.
14 years ago