Hidden Z
|
e6c301b379
|
py-i2phosts-maint: fix rare situation with expires
If new calculated expires is in the past in relation to current
datetime, it was caused an exception.
|
9 years ago |
Hidden Z
|
06468a3c7c
|
Properly setup django in standalone scripts
https://docs.djangoproject.com/en/dev/releases/1.7/#standalone-scripts
|
9 years ago |
Hidden Z
|
6e3862d7ab
|
Convert tabs to spaces
|
9 years ago |
Hidden Z
|
3b18825e4d
|
py-i2phosts-maint: fix log message
|
11 years ago |
Hidden Z
|
484cb5bee7
|
Update default DJANGO_PROJECT_PATH
|
11 years ago |
Hidden Z
|
a432ef81a9
|
Update DJANGO_SETTINGS_MODULE in scripts
|
11 years ago |
Hidden Z
|
4a1d0a1f96
|
Move py-i2phosts-* to bin/
|
11 years ago |
Hidden Z
|
f9f90d4af6
|
py-i2phosts-maint: don't try to deactivate already deactivated hosts
|
14 years ago |
Hidden Z
|
7194fa8ca7
|
py-i2phosts-maint: fix typo
|
14 years ago |
Hidden Z
|
11453810e0
|
Use datetime.utcnow() instead of datetime.now()
|
14 years ago |
Hidden Z
|
0819e15db8
|
py-i2phosts-*: do imports from system-wide pyi2phosts
|
14 years ago |
Hidden Z
|
67ae54ab91
|
py-i2phosts-maint: add log message
|
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
|
df47c06b0b
|
py-i2phosts-maint: use check_logger_options()
|
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
|
6fe4d299dd
|
py-i2phosts-maint: activate only approved hosts
|
14 years ago |
Hidden Z
|
9f7b3d48fd
|
py-i2phosts-maint: remove tabwith settings for vim
|
14 years ago |
Hidden Z
|
9a6cc81403
|
py-i2phosts-maint: add workaround for situation when we updating expires first time
|
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 |