summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/updatefix.py
Commit message (Collapse)AuthorAgeFilesLines
* New database field: "is_sensitive"Holger Weiß2011-06-291-0/+1
| | | | | | The new "entry.reason.is_sensitive" flag indicates whether the file contents/diffs were omitted from the database due to the "sensitive" <Path> attribute.
* 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: PY3K + PEP8 fixesSol Jerome2011-04-061-13/+17
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* reports: fix bcfg2-admin reports init when db is nonexistentTim Laszlo2010-11-021-2/+6
|
* DBStats: Improved handling of binary objects in the databaseTim Laszlo2010-07-081-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5962 ce84e21b-d406-0410-9b95-82705330c041
* tabs -> spacesSol Jerome2010-06-101-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* updatefix.py doesn't load initial database version for django 1.*Tim Laszlo2010-06-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5892 ce84e21b-d406-0410-9b95-82705330c041
* Performance updates to dynamic reportsTim Laszlo2010-06-031-1/+37
| | | | | | | | | | | | | | | | | 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
* fix a logic error in updatefixNarayan Desai2009-02-041-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5064 ce84e21b-d406-0410-9b95-82705330c041
* Add support for alternate VCS backendsSol Jerome2009-01-131-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5023 ce84e21b-d406-0410-9b95-82705330c041
* Improve error handling around schema auto-update codeNarayan Desai2008-11-071-4/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4968 ce84e21b-d406-0410-9b95-82705330c041
* Fix for the trouble seen when dooing a database upgrade with sqlite3 backend ↵Steve Tousignant2008-09-031-0/+4
| | | | | | | | | of django. The backend don't like to have active connection while dooing it's maintenance so the database is closed before dooing the critical step of syncronizing. This is a sqlite quirk that caused the exception : OperationalError: SQL logic error or missing database git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4902 ce84e21b-d406-0410-9b95-82705330c041
* One more schema evolution fix from StousignantNarayan Desai2008-08-221-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4889 ce84e21b-d406-0410-9b95-82705330c041
* Fix for missing update_map keys (patch from sousignant, report from solj)Narayan Desai2008-08-211-1/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4887 ce84e21b-d406-0410-9b95-82705330c041
* Add reporting system schema evolution support (from Stousignant)Narayan Desai2008-08-201-0/+126
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4884 ce84e21b-d406-0410-9b95-82705330c041