summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Reporting/Reports.py
Commit message (Collapse)AuthorAgeFilesLines
* DBSettings: Call django.setup() right after configuring the settingsAlexander Sulfrian2016-11-281-2/+0
| | | | | | If required the DBSettings config hook will call django.setup right after configuring django with the required settings. So we can drop the calls to django.setup from all other places.
* Merge pull request #309 from AlexanderS/fix/report-filtersChris St. Pierre2015-10-131-12/+31
|\ | | | | Reporting: Do not fail, if no interactions found
| * Reporting: Do not fail, if no interactions foundAlexander Sulfrian2015-09-181-12/+31
| | | | | | | | | | | | With the filter feature of bcfg2-reports it is possible that all interactions of a client gets filtered. Now we simply skip those clients without interactions and do not fail with an exception.
* | Reporting: Add django.setup()Alexander Sulfrian2015-09-291-0/+3
|/ | | | | bcfg2-reports does not call sync_databases or migrate_databases before making the database queries. So we need to initialize django here, too.
* Reporting: Add --no-dry-run and --no-only-important flagsAlexander Sulfrian2015-05-121-68/+102
| | | | | All bcfg2-reports subcommands, that work with specific interactions, can now ignore interactions created by --dry-run or --only-important run.
* testsuite: Added unit tests for new option parsingChris St. Pierre2014-11-101-1/+2
|
* Reporting: add column staleAlexander Sulfrian2014-06-181-0/+2
| | | | | | Add a new column "stale", that displays if a host is stale or not. It could be determined by parsing the date column, but it would be more convenient to have a separate column for that.
* bcfg2-reports: rewrote with new option parserChris St. Pierre2013-10-301-0/+276