summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin/Reports.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-376/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed typoChris St. Pierre2012-01-271-1/+1
|
* made bcfg2-admin accept -Q flag and a few others; general code cleanupChris St. Pierre2012-01-261-6/+6
|
* suppress error message from bcfg2-admin Reports module if Reports not ↵Chris St. Pierre2012-01-261-12/+8
| | | | configured (#1056)
* bcfg2-admin: Revert some changes that are not py3k compatibleSol Jerome2011-07-211-2/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Miscellaneous bcfg2-admin bug fixes:Chris St. Pierre2011-07-211-4/+3
| | | | | | * Fixed mode argument parsing when a config file is supplied * Fixed loading help messages when Reports is not configured * Improved option parsing; used Bcfg2.Options.OptionParser
* Accept non-ASCII diffsHolger Weiß2011-06-061-0/+6
| | | | | | | Currently, client reports don't include diffs of files which aren't US-ASCII encoded. The client transmits such files as Base64 blobs. As we'd like to change that, this commit teaches the server to properly handle non-ASCII diffs.
* Admin: Add full PY3K compatibilitySol Jerome2011-04-261-4/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: delete orphaned Reasons after the purge command is runTim Laszlo2011-04-111-0/+2
|
* bcfg2-admin: PY3K + PEP8 fixesSol Jerome2011-04-061-34/+40
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Fixed previous commit. Decorators are hard, let's go shopping.Chris St. Pierre2011-03-301-2/+2
|
* Use self.log.info() instead of 'print' to produce stats forChris St. Pierre2011-03-301-6/+10
| | | | 'bcfg2-admin reports purge' to make purge honor -q flag.
* Remove some deprecated toolsSol Jerome2010-12-161-0/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* DBStats: Purge historic data and expired clientsTim Laszlo2010-09-261-1/+165
| | | | | | | Adds a purge command to bcfg2-admin reports to permanently remove interactions and clients. Extends bcfg2-admin scrub to remove orphaned Reason and Entries objects. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6070 ce84e21b-d406-0410-9b95-82705330c041
* Fix typosSol Jerome2010-08-141-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6014 ce84e21b-d406-0410-9b95-82705330c041
* Don't assume python2.5 is being used on successful hashlib importSol Jerome2010-08-111-2/+3
| | | | | | | | | | | | The hashlib module has been backported to earlier versions of python. If we assume that 2.5 is in use, then python will go crazy looking for stuff that doesn't exist in earlier versions. This patch will allow older versions of python installed alongside a standalone hashlib module to work properly. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6004 ce84e21b-d406-0410-9b95-82705330c041
* DBStats: Support for postgresqlTim Laszlo2010-07-161-3/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5975 ce84e21b-d406-0410-9b95-82705330c041
* tabs -> spacesSol Jerome2010-06-101-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Added init command to bcfg2-admin reportsTim Laszlo2010-06-071-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5893 ce84e21b-d406-0410-9b95-82705330c041
* Performance improvements for bcfg2-admin reports scrub.Tim Laszlo2010-06-071-14/+11
| | | | | | | Switched object updates to executemany statements. Added BatchFetch to retreive Django objects in groups. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5891 ce84e21b-d406-0410-9b95-82705330c041
* Switch location to hostname. Urls break things.Tim Laszlo2010-06-041-5/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5887 ce84e21b-d406-0410-9b95-82705330c041
* Initial version of admin tool for reportsTim Laszlo2010-06-031-0/+189
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5886 ce84e21b-d406-0410-9b95-82705330c041
* removed the admin mode for nowJames Yang2008-07-141-170/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4785 ce84e21b-d406-0410-9b95-82705330c041
* Add option and error handlingNarayan Desai2008-07-121-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4778 ce84e21b-d406-0410-9b95-82705330c041
* git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4776 ↵James Yang2008-07-111-2/+19
| | | | ce84e21b-d406-0410-9b95-82705330c041
* Through the Reports Admin mode, clients can now be expired and un-expired. ↵James Yang2008-07-111-28/+122
| | | | | | Reports can also display the list of clients filtered or sorted by state, name, or bad entry. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4775 ce84e21b-d406-0410-9b95-82705330c041
* Fix tb in a couple of admin modes.Sol Jerome2008-07-091-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4765 ce84e21b-d406-0410-9b95-82705330c041
* Add new report command-line interfaceJames Yang2008-07-081-0/+52
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4761 ce84e21b-d406-0410-9b95-82705330c041