301281228b
Fix the plus/minus line change counting in query results to ignore values from unreadable files. * lib/viewvc.py (build_commit): Calculate total plus/minus line change count for a given commit item (based on the sums of those values in non-forbidden file commits associated with it). (view_query): Update plus/minus line change count totals only *after* trimming unauthorized files * docs/template-authoring-guide.html (query_results): Note new commits.plus and commits.minus items; fix description of the plus_count and minus_count items. While here, also: * lib/viewvc.py (build_commit): Fix the authz check to use vclib.check_path_access, and feel vindicated by the fact that I actually found a use for that function. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1816 8cb11bc2-c004-0410-86c3-e597b4017df7 |
||
---|---|---|
.. | ||
template-authoring-guide.html | ||
upgrading-howto.html | ||
url-reference.html |