aboutsummaryrefslogtreecommitdiffstats
path: root/report.py
Commit message (Collapse)AuthorAgeFilesLines
* slimmed down methods (#4)nico2019-11-081-12/+28
| | | | | | | | * slimmed down config class + add start stop arguments to config class init * update requirements.txt * correctly apply custom timestamp to report functions too * init report methods earlier
* spam time-bordernico2019-07-171-3/+4
| | | | | | | | | | | + add time-borders to all queries The JabberSpam manifesto states that the critical period for a server to be approved again is 14 days. Thus I adjusted all queries required for the report function to only count within these borders. Though if a domain is specified without the report argument the time border is increased to 1 month to increase visibility. misc: + add Codefactor badge
* Code cleanup (#2)nico2019-07-171-0/+133
* config class revamp + add get_at method + add set_at method + add unset_at method new config class to interactively get/set/unset config parameters from within other methods * move report function to new file + move all report functions to new report class the new report class works exactly like the internal one, but it is easier to maintain * + implement the new config functions + implement the changed report functions + update docstrings + update code comments * code cleanup * further code cleanup + add variable type to all methods * many indentation fixes