summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/reports/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-415/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Add full PY3K compatibilitySol Jerome2011-04-261-1/+2
| | | | | | | | Note that Django still doesn't yet support version 3 so this won't necessarily work until there is a compatible version of django available for use. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: Fix deprecated 'raise' usageSol Jerome2011-04-061-4/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Reports: PY3K + PEP8 fixesSol Jerome2011-04-061-63/+98
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* web_reports: more PATH_INFO fixesTim Laszlo2010-10-181-2/+2
|
* web reports: tweaks and updatesTim Laszlo2010-10-141-21/+21
|
* web reports: new skinTim Laszlo2010-10-141-311/+336
|
* tabs -> spacesSol Jerome2010-06-101-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Updated files to match PEP 257 Fabian Affolter2010-06-091-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5903 ce84e21b-d406-0410-9b95-82705330c041
* Performance updates to dynamic reportsTim Laszlo2010-06-031-26/+34
| | | | | | | | | | | | | | | | | Added bad_entries, modified_entries, extra_entries database fields to reduce the number of calls. Created (bad|modified|extra)_entry_count methods to return the sbove fields and populate any missing values. Consolidate interaction_per_client query. Added unique constraint on client_id and timestamp in Interaction. Greatly improved the performance of interaction_per_client. Modified detailed-list.html to add modified field and reduce the database calls to two... unless the bad_entries, modified_entries, extra_entries fields need updating. Modified client index to use only two database queries. Adding automatic update Updating load_stats to update counters in reports_interaction git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5885 ce84e21b-d406-0410-9b95-82705330c041
* Assoicated elements only displays current elementTim Laszlo2010-06-011-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5871 ce84e21b-d406-0410-9b95-82705330c041
* reports: Fixes for Tickets #833 and #885Sol Jerome2010-05-201-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5861 ce84e21b-d406-0410-9b95-82705330c041
* Reports: Fix traceback in Summary/System views (ticket #793 Reported by ↵Sol Jerome2009-11-121-3/+5
| | | | | | | | | | | | Thorsten Lockert) This commit actually fixes two issues: * Check for unicode strings * We were trying to modify an immutable tuple Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5577 ce84e21b-d406-0410-9b95-82705330c041
* Reports: Detailed Client List view from Tim LaszloSol Jerome2009-11-091-0/+47
| | | | | | | | | | | This commit adds a new view for the reporting system submitted by Tim Laszlo. It gives detailed information about clients in a table format with State, Good/Bad/Extra entry counts, time of last run, and server client last communicated with. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5563 ce84e21b-d406-0410-9b95-82705330c041
* Reports: Fix interaction display (Patch from Tim Laszlo) [bugfix]Sol Jerome2009-11-091-2/+2
| | | | | | | | | | | | | | | | | | From mailing list: This has bugged me for a while.. not sure where it broke but when clicking on an action on a node the details no longer display. Every entry displayed "This item does not currently exist on the host but is specified to exist in the configuration.". This is for the "/elements/bad/266499/" views. Also the clients affected list was no longer being displayed. I changed the look up for item here to throw a 404 if it wasnt found. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5561 ce84e21b-d406-0410-9b95-82705330c041
* Alphabetize clients list in reports so that it looks more saneSol Jerome2009-01-121-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5016 ce84e21b-d406-0410-9b95-82705330c041
* Fix modified/extra entries in reports (Resolves Ticket #562)Sol Jerome2008-09-091-15/+22
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4907 ce84e21b-d406-0410-9b95-82705330c041
* Add reporting system schema evolution support (from Stousignant)Narayan Desai2008-08-201-101/+35
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4884 ce84e21b-d406-0410-9b95-82705330c041
* Fixed bug #492 reports now respect 'expiration' datesJoey Hagedorn2007-11-081-8/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3938 ce84e21b-d406-0410-9b95-82705330c041
* ensure that client_list_a is always filled before client_list_bNarayan Desai2007-10-291-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3879 ce84e21b-d406-0410-9b95-82705330c041
* updates reporting system to filter out 'expired' clients--allowing retired ↵Joey Hagedorn2007-06-261-14/+18
| | | | | | machines to disappear from reports git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3373 ce84e21b-d406-0410-9b95-82705330c041
* Added UI to disable old hosts, hopefully made it possible to install app in ↵Joey Hagedorn2007-06-251-0/+25
| | | | | | non-root of webserver git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3365 ce84e21b-d406-0410-9b95-82705330c041
* reverting accidentally committed changes from previous revisionJoey Hagedorn2007-06-061-7/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3249 ce84e21b-d406-0410-9b95-82705330c041
* bugfix to updated statistics retention policyJoey Hagedorn2007-06-061-0/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3248 ce84e21b-d406-0410-9b95-82705330c041
* Reporting system update to include browsing by config-item rather than ↵Joey Hagedorn2007-01-121-0/+71
| | | | | | | | | | | | host-only. This enables users of the system to track down where problems are occuring across the system by looking in a package and system oriented way, rather than a host centric view only. *It is expected to be useful to verify that critical security updates are applied.* Additionally this update includes a bunch of files (yet not complete) from the Yahoo User Interface Library. It is sparsely incorporated as the files are used. This library is BSD licensed and provides great capability for the web reports. It also will help when incorporating ajax technology in to the reports for performance improvements. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2660 ce84e21b-d406-0410-9b95-82705330c041
* Moved the new reporting system in to Server module.Joey Hagedorn2006-11-221-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2525 ce84e21b-d406-0410-9b95-82705330c041
* finishing moveJoey Hagedorn2006-11-221-0/+255
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2521 ce84e21b-d406-0410-9b95-82705330c041