aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to GitHub-native Dependabot (#7)HEADmasterdependabot-preview[bot]2021-04-291-0/+7
| | | Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
* Merge branch 'ingest_class'nico2019-11-082-230/+247
|\ | | | | | | | | | | | | transfer ingest methods (#5) * transfer ingest method to own class * adjusted in main method
| * * pep8 issuesnico2019-11-081-123/+123
| |
| * * minor restructuringnico2019-11-082-13/+10
| |
| * transfer ingest methodsnico2019-11-082-90/+110
|/ | | | | * transfer ingest method to own class * adjusted in main method
* slimmed down methods (#4)nico2019-11-084-70/+51
| | | | | | | | * 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
* feature: custom timeperiod (#3)nico2019-11-042-16/+48
| | | | | | | | | | | | | + add ability to define a custom time period This feature enables users to further narrow the expected query result by customizing the time period. Every script feature is able to handle the custom timestamps, but beware no further consistency checks are done. Thus if you provide a stop timestamp that is prior to the start timestamp the output will be empty, no error whatsoever. Timestamps must be conformal to the Python [datetime](https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior) module. The easiest way to achieve that is to use the ISO-8601 format from the unix date function: ```bash $date -Ins -d "3 weeks ago" $date --iso-8601 -d "3 weeks ago" ```
* revised templatenico2019-09-271-5/+5
| | | | * change templates wording
* 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