Revision history for SquidAnalyzer 5.1 - Wed Jan 30 00:11:57 CET 2013 This release adds more graphs, fixes several major issues and allow automatic removing of obsolete statistics. The Javascript library sorttable.js have been updated. - Add squid-analyzer usage information into documentation. - Update INSTALL file about FreeBSD issue. - Add -v | --version and -d | --debug command line options. - Add support to automatic deletion of obsolete statistics and data. - Add -p | --preserve option to allow automatic removing of obsolete statistic. Thanks to ammdispose for the feature request. - Fix documentation about OrderUrl that is limited to User detailed Urls reports, not Top Url and Top domain. - Set default sorttable sort in descending order first. - Fix default order in Mime, Network, User and User details views. Thanks to Wesley Bresson for the report. - Update sorttable.js to allow sort on page load using the new function sorttable.innerSortFunction(). - Add documentation about FreeBSD install to avoid issue with error: FreeBSD: Cannot determine short module description Thanks to hackson99 for the report. - Fix first and last visit time in the user detail view that was not displayed at all. - Fix parser issue when squid logformat has additional field at end. Thanks to nuxsmin for the patch. - Add pie chart on Mime type statistics. - Add MinPie configuration directive to set the percentage of pie graph data which under item will be stored in others label. - Force left alignment on largest Url column. - Add Locale configuration directive to set the locale when retrieving date from system. Thanks to Klaus Tachtler for the suggestion. - Fix missing Up link translation and some German translation. Thanks to Klaus Tachtler for the patch. - Fix HTML code in user and url reports. Thanks to Nathanael Bonin for the patch. - Fix typo in fr_FR.txt lang file. Thanks to Nathanael Bonin for the patch. - Replace .orig extension on configuration files by .sample. Thanks to David Walser for the report. - Update squidanalyzer.spec for RPM build. Thanks to David Walser for the patch. - Modify sorttable.js to be able to sort column with both value and percentage as numeric. - Remove percentage column and store the percent information directly in the column between parenthesis. Thanks for Nathanael Bonin for the patch. - Add missing class CSS style to user graphs table. Thanks to Nathanael Bonin for the report. UPGRADE: You must reinstall all. Backward compatibility is preserved on data files, but the HTML reports have changed, so after re-installing SquidAnalyzer you may want to run manually squid-analyzer with the --rebuild command line option to regenerate those files. So run the following commands: tar xzf SquidAnalyzer-5.1.tar.gz cd SquidAnalyzer-5.1/ perl Makefile.PL HTMLDIR=/var/www/squidanalyzer make && make install /usr/local/bin/squid-analyzer --rebuild should be the normal procedure to upgrade. Change the path to the HTML output dir if required. 5.0 - Mon Dec 10 22:24:23 CET 2012 Thanks to the great work of Nathanael Bonin, SquidAnalyzer has now a new design. I also replaced all GD graphs by the use of a Javascript Flotr2 graphic library, that mean that there is no more needs of Perl modules dependancies to install SquidAnalyzer. - Update documentation. - Add TransfertUnit configuration directive to allow changing default Bytes transfert unit. Possible values are BYTES, KB, MB and GB. Thanks to Nathanael Bonin for the feature request. - Fix date encoding with call to date+iconv or fallback to strftime(). - Fix sorttable with missing tbody tag. Thanks to Nathanael Bonin for the patch. - Remove some hardcoded CSS from the html code. Thanks to Nathanael Bonin for the patches. - Fix some translation issues. - Improve CSS and dynamic html general design. Thanks to Nathanael Bonin for the patches. - Fix some untranslated string. Thanks to Nathanael Bonin for the patch. - Fix accent within report, now SquidAnalyzer will use the CharSet translation directive to set the charset following the language. Default to utf-8, french, german and portuges will use iso-8859-15. - Fix github issue #5 where per user/ip network stats was wrong and very high. Thanks to Ben Tullis for the report. - Removed obsolete files. - Fix several design issues, moved png images in a dedicated directory. Thanks to Nathanael Bonin for the patches. - Reorder source tree and apply tree change on Perl install. - Removed FooterFile, no more used. - Remove code for graphs generated using GD::Graph libraries, replaced by the Javascript library Flotr2. - Fix extra .0 in networks report. Thanks to Ben Tullis for the report. - Add the use %M to replace month by its 3 letters abbreviation into DateFormat configuration directive. Thanks to pk-its for the feature request. - Add missing german translation. Thanks to pk-its for the patch. - Remove space in user alias to prevent corruption of data files. Thanks to Robert Becskei for the report. - Fix stat_user.dat format error when username have a space in its login name. Thanks to Moise Michel for the report. - Force date/time used in report generation date to used 24h notation. Thanks to Klaus Tachtler for the report - Fix install of squidanalyzer.conf, network-aliases, user-aliases and excluded to be copied with the .orig extention so that nones of these file can be overriden at upgrade. Thanks to Klaus Tachtler for the report. UPGRADE: You must reinstall all but backward compatibility is fully preserved. Even if backward compatibility is preserved on data files, the HTML and graph have changed, so after re-installing SquidAnalyzer you may want to run manually squid-analyzer with the --rebuild command line option to regenerate those files. So run the following commands: tar xzf SquidAnalyzer-5.0.tar.gz cd SquidAnalyzer-5.0/ perl Makefile.PL HTMLDIR=/var/www/squidanalyzer make && make install /usr/local/bin/squid-analyzer --rebuild should be the normal procedure to upgrade. Change the path to the HTML output dir if required. 4.4 - Tue Aug 21 21:01:43 CEST 2012 - Add support to bzip2 compressed log file. Feature request by Edmonds Namasenda. - Allow exclusion of URL from the report, the format of the exclude file has changed, see header of the excluded file. - Fix some RPM spec file issue. Patch by David Walser. - Add german translation file. Translation by Klaus Tachtler. - Fix translation file path into squidanalyzer.conf. 4.3 - Fri Apr 27 21:47:12 CEST 2012 - Fix broken statistics when an access log file run over multiple years. Thanks to Jugurtha Massinissa for the report. - Prevent buildHtml to create directories on month/day without log. - Sort year's view per decreasing years. - Peer CD_SIBLING_HIT status will now be taken as local cache hit with a new configuration directive (SiblingHit) to disable this feature. Default is enable. Documentation and configuration file has been updated - Thanks to Nathanael BONIN for the feature request. - Add spec file for RPM packaging - Thanks to David Walser for the patch. - Fix path and comment to translation file in squidanalyzer.conf. Thanks to Jugurtha Massinissa for the report. 4.2 - Sun Jan 22 16:52:27 CET 2012 - Fix network alias issue broken in last release, now data files will store the network alias instead of the default class C network. Thank to Fabrice Prigent for the report. - Add support to multiple regex pattern to match networks aliases. See network-aliases file for more information. - User aliases are now directly changed into data files instead of html file like before. - Add support to multiple regex pattern to match users aliases. See users-aliases file for more inforamtion. - Add AnonymizeLogin configuration directives to allow full anomymization of all users/ip. Thanks to Fabrice Prigent for the request. - Add support to squidmime logformat, original request and reply header are simply omitted. Squid and squidmime native format are still the only log format supported. UPGRADE: If you use network and/or user aliases, even if I try to preserved backward compatibility, you may want to start with new data files as these informations are now replaced directly into the data file instead of the HTML files. Changes only concern file SquidAnalyzer.pm so you can just override it. There's also a new configuration directive 'AnonymizeLogin' so you may copy/paste his definition in default squidanalyzer.conf file. 4.1 - Tue Jan 17 19:58:35 CET 2012 - Fix data file parser issue with largest_file_size or largest_file_url are empty. Thanks to David Walser for the report. - Add line number when reporting bad format into a data file. - Add missing DESTDIR variable into the allowed commande line arguments. Thanks to David Walser for the report. - Fix error when header file are missing as they are no more used now. Thanks to David Walser for the report. - Remove salogo.png from install script, it is now replaced by file logo-squidanalyzer.png. Thanks to David Walser for the report. - Install of README, INSTALL and Changelog is now disabled by default, you must set DOCDIR parameter to install those files in the desired directory. Thanks to David Walser for the request. 4.0 - Wed Dec 28 02:06:22 CET 2011 - Fix regex search failure on fake domain. Thanks to Michel Reischl for the report. - Add support to squid log with client dnsname instead of ip address. Thanks to Matthew Jurgens for the patch. - Add options --logfile (-l) and --configfile (-c) to squid-analyzer command line argument. Thanks to Matthew Jurgens for the patch. - Add the first and last time an url is viewed by a user on day and hour views. Thanks to Franco Mazz for the feature request. - Allow column sorting using the Javascript sorttable library available at http://www.kryogenix.org/code/browser/sorttable/. Thanks to Matthew Jurgens for the patch. - Renamed file Changes as ChangeLog. - Makefile.PL is now able to do a full install by creating directories and moving files. - Allow parsing of compressed log file. SquidAnalyzer will automaticaly use zcat when the logfile extention ends with .gz - The cost column now is not shown when the cost price is 0. - Change CSS style of links. - Complete rewrite of report menu and calendar sot that they appears on all HTML page. - Change License from Artistic to GPL v3. - Remove HeaderFile, replaced by squidanalyzer.css file. - Add --rebuild option to allow rebuilding of all html and graph output from data files. This should be done after upgrading. - Add ..._REFRESH_UNMODIFIED into cache HIT statistics. UPGRADE: Even if backward compatibility is preserved on data files, the HTML and graph have changed, so after re-installing SquidAnalyzer you may want to run squid-analyzer with the --rebuild command line option to regenerate those files. So run the following commands: tar xzf SquidAnalyzer-4.0.tar.gz cd SquidAnalyzer-4.0/ perl Makefile.PL HTMLDIR=/var/www/squidanalyzer make && make install /usr/local/bin/squid-analyzer --rebuild should the normal procedure to upgrade. Change the path to the HTML output if required. 3.1 - Mon Aug 6 12:48:14 CEST 2007 - Fix illegal division by zero errors. - Remove extra spaces in username 3.0 Fri May 7 12:31:01 CEST 2004 - Many thanks to Alexandre Sieira for all good ideas and reports ! - Add localization support. - Add date formatting option for localisation. - Add French translation. - Add Portugal/brazilan translation. - Add custom HTML header an footer support. 2.1 Tue May 4 16:35:08 CEST 2004 - Fix Url escaping problem on users pages - Add translation (En + Fr) 2.0 Wed Oct 15 11:40:03 CEST 2003 - This is a complete rewrite of SquidAnalyzer. - Add configuration file. - Add Top n of url and second level domain. - Add alias for client ip address and/or login. - Add exclusion from report of certain client ip addresses, network addresses and/or auth login. - Many bug fix. 1.1 Wed Feb 28 12:21:30 CET 2001 - Fix problem with access.log file has zero size. - Skip log line with field lenght != 8 1.0 Wed Jan 24 13:47:14 CET 2001 - original version