aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* missing create method0.1.1nico2019-07-212-6/+38
| | | | | | | + add check method to prevent sqlite3.OperationalError tracebacks + add create method to create base schema if missing thanks to @weiss for reporting this
* spam time-bordernico2019-07-173-6/+10
| | | | | | | | | | | + 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-173-167/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* licence stuffnico2019-06-111-0/+13
| | | | + add ISC licence
* Merge branch 'report'0.1.0nico2019-06-106-53/+297
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Misc + add report directory + add template directory + add config.py loading user config Feature Release + add report feature --report + add basic report template + add feature to use -d/ --domain flag multiple times Optimization * further code optimization * update gitignore file
| * file system clutternico2019-06-021-2/+7
| | | | | | | | + add correct path to config.json to prevent file system clutter
| * further documentationnico2019-05-312-7/+55
| | | | | | | | | | | | | | * add more docstrings to main.py * add README entry for no argument Thanks to @weiss
| * readme config.py additionnico2019-05-302-1/+13
| | | | | | | | * update README to explain config.py
| * unnecessary elsenico2019-05-301-8/+7
| | | | | | | | * remove unnecessary else clause
| * readme updatenico2019-05-301-7/+30
| | | | | | | | * update README.md to the latest changes
| * initial release report featurenico2019-05-295-44/+201
|/ | | | | | | | | | | | | | | | Misc + add report directory + add template directory Feature Release + add report feature --report + add basic report template + add feature to use -d/ --domain flag multiple times Optimization + add config.py loading user config * further code optimization * update gitignore file
* multiple file and gzip file support0.0.1nico2019-05-232-10/+40
| | | | | + add support gzip compressed logs + add support for multiple input files
* no more direct system callsnico2019-05-223-17/+27
| | | | | | | | * replace system calls to sqlite + add tabulate module to format output * update sql commands with named parameter substitution asd
* makeshift abusereport generator scriptnico2019-05-152-1/+103
| | | | + add temporary abusereport generator script
* Don't set executable bit on documentationHolger Weiss2019-05-152-0/+0
|
* ingest correct delay tag correctionnico2019-05-151-1/+1
| | | | * corrected a missed find
* ingest correct delay tagnico2019-05-151-1/+6
| | | | + add filter for the delay tag search to prevent timestamp mixups
* body tag NoneType fixnico2019-05-151-1/+3
| | | | + add None catch to body tag filter
* Initial working commitnico2019-05-144-0/+299
+ python3 ingest and db management + abusereport bash script