Thomas Waldmann
6554f9f1bf
abuse email msg text: make a constant from it
2014-09-02 23:57:06 +02:00
Thomas Waldmann
1f03834463
fix wrong cmdline option default for --reset-available
...
the value of reset_available option tells whether to do the reset (True) or not (False).
it has nothing to do with the value being written to h.available when the reset is executed.
2014-08-17 00:49:55 +02:00
Thomas Waldmann
7c1b260d3b
reformat / improve notification email text
2014-08-17 00:36:29 +02:00
Thomas Waldmann
df204d8ccf
add notifications by email when a host gets flagged as abusive
2014-08-17 00:18:01 +02:00
Thomas Waldmann
cafaeeb64e
use 1 transaction for the whole faults command db update
...
hopefully this is much faster than the default behaviour which does 1 transaction per save(),
so the database is not locked such a long time.
2014-05-29 20:42:29 +02:00
Thomas Waldmann
3d53d8f1fd
fix faults command help strings
2013-12-18 03:18:35 +01:00
Thomas Waldmann
14b9407ab5
remove unused imports
2013-12-15 18:27:59 +01:00
Thomas Waldmann
0df4efce1c
add/fix some module-level docstrings
2013-12-15 17:09:22 +01:00
Thomas Waldmann
2c5e756f15
add --flag-abuse, add some docs about abuse handling
2013-12-01 12:17:10 +01:00
Thomas Waldmann
866ddf3bea
add available, abuse and abuse_blocked flags to Host, show on UI, script to reset flags
...
there is an issue with south and sqlite - it doesn't handle migrations that add BooleanField columns with defaults.
just use the faults script to set the flags to their correct default after migrating with south.
2013-11-30 12:32:03 +01:00
Thomas Waldmann
47724a3d6b
pep8 fixes
2013-11-30 10:10:11 +01:00
Thomas Waldmann
9970e76bb5
faults managment script: show and reset client/server fault counters
2013-11-30 08:49:53 +01:00