Commit Graph

74 Commits

Author SHA1 Message Date
Darold Gilles 658222636b Fix graphs on domain statistics reports. 2013-06-01 18:23:40 +02:00
Darold Gilles 3ab029534b Fix badly ordered check on squid log file to parse. Thanks to wordelle for the report. 2013-05-29 18:14:41 +02:00
Darold Gilles 1e609e8b5c Add --no-year-stat to disable year statistics, reports will start at month level. 2013-05-29 01:03:58 +02:00
Darold Gilles 7a8e2b7bea Allow composed top level domain statistics in Top Domain report, like co.uk. Thanks to Thibaut Aubert for the feature request. 2013-05-28 18:51:11 +02:00
Darold Gilles cbfaefa52e Add support to CIDR notation in network-alias file. Thanks to Thibaud Aubert for the feature request. 2013-05-28 00:44:29 +02:00
Darold Gilles f06f9fc6aa Fix issue in Domain report where domain of top url was not found in the domain report even if the download was bigger than those reported. Thanks to Aubert Thibaud for the report. 2013-05-27 23:48:55 +02:00
Darold Gilles 0db63c377a Fix bug in last/first hour of a day data storage that mixed collected data over the two days and stored false first and last visit time. 2013-05-27 23:37:21 +02:00
Darold Gilles a3c6807ffd Add -b | --build_date command line option to limit rebuilt to the given date, the format of its value can be yyyy-mm-dd, yyyy-mm or yyyy. This should be used to prevent rebuilding all html file from all data file. 2013-05-27 22:27:18 +02:00
Darold Gilles 736b6c2d97 New feature to show the top N users that look at an url or a domain. Add a new configuration directive, TopUrlUser, to control the number of users to show. Thanks to Mr-Ed for the feature resquest. 2013-05-26 17:20:55 +02:00
Darold Gilles cd53dde6c9 Fix first and last visit that was displayed in random order. Thanks to MangOuste for the report. 2013-05-26 11:25:29 +02:00
Darold Gilles 63d2664447 Allow CIDR notation in exclude file to skip line matching the given xxx.xxx.xxx.xxx/n network. Thanks to the MangOuste for the patch. 2013-05-25 19:09:59 +02:00
Darold Gilles 66d6d91bff Add WriteDelay configuration directive (default to 3600 - stores one hour of statistics from log file) to be able to save ressources on huge log file. On small log file it is not a good idea to set a lower value as SquidAnalyzer will spend his time to write and read from disk. 2013-05-20 11:20:49 +02:00
Darold Gilles 0d0a131dd8 Add regex checker for alias file and improve speed for network and alias replacement. Thanks to jcputter for the report. 2013-05-18 11:59:29 +02:00
Darold Gilles 381e299bdf Fix unwanted message display in quiet mode. 2013-05-18 10:45:29 +02:00
Darold Gilles df54649787 call localtime as little time as possible. Thanks to ammdispose for the patch. 2013-05-17 23:51:50 +02:00
Darold Gilles 914569115b Remove the use of backstick to call system command in loop to gain some speed. Thanks to ammdispose for the patch. 2013-05-17 19:57:28 +02:00
Darold Gilles 1466dd37c1 Revome the call to date and iconv system command each time a HTML file is genrated, call it just one time if directive Locale is defined at initialisation. Thanks to ammdispose for the report. 2013-05-17 19:48:45 +02:00
Darold Gilles 7b22d55fec Fix some print statements were outputting to STDOUT instead of STDERR. Thanks to ammdispose for the patch. 2013-05-17 19:31:09 +02:00
Darold Gilles c536b9300e First attempt to speedup statistics building, especially with year and month. 2013-05-14 19:12:21 +02:00
Darold Gilles c960a6e86f Allow peer SIBLING_HIT to be added to HIT count. Thanks to Maher Kassem forn the patch. 2013-03-27 21:34:22 +01:00
Darold Gilles 24c249723b Recode initial column sorted by default to fix pending sort issues. 2013-03-09 00:23:03 +01:00
Darold Gilles e8fff65b88 Fix bug on ordering column with sorttable. Thanks to David Walser for the report. 2013-03-08 00:15:47 +01:00
Darold Gilles 6d6a1ebea4 Fix support to regex with coma in user and network alias file. Regex like "1stFloor 192.168.1.1\d{0,2}" in user-aliases and network-aliases was not permitted. Thanks to Steffen Junick fot the report. 2013-02-24 13:21:41 +01:00
Darold Gilles 01038d43b5 Fix issue with log file provided at command line (option -l) and non existant LogFile in squidanalyzer.conf. Thanks to Kalin KOZHUHAROV for the report. 2013-02-17 10:27:05 +01:00
Darold Gilles e0888df14d Fix test to exclude old months and days from the statistics builder. Thanks to ammdispose for the patch. 2013-02-04 16:05:56 +01:00
Darold Gilles c1b4cdb535 Fix some code comment about month obsolescence. Thanks to ammdispose for the patch. 2013-02-04 15:49:42 +01:00
Darold Gilles 9cc2f8f231 Change code to remove obsolete statistics to more stable code with less iterations. Thanks to ammdispose for the patch. 2013-02-04 11:03:45 +01:00
Darold Gilles 83f0e31cea Update ChangeLog and upgrade version to 5.1. 2013-01-30 00:19:44 +01:00
Darold Gilles 775b60f3f8 Add -v | --version and -d | --debug command line options. 2013-01-29 12:33:13 +01:00
Darold Gilles 6f01df56c4 Add support to automatic deletion of obsolete statistics and data. 2013-01-29 12:19:58 +01:00
Darold Gilles da27e2d2d6 Update year part of copyright 2013-01-29 09:49:51 +01:00
Darold Gilles 6e6497fbbc Set default sorttable sort in descending order first. 2013-01-28 21:08:34 +01:00
Darold Gilles 14c6c4a21c Fix default order in Mime, Network, User and User details views. Thanks to Wesley Bresson for the report. 2013-01-28 20:48:06 +01:00
Darold Gilles febd4a28ff Fix first and last visit time in the user detail view that was not displayed at all. 2013-01-28 17:52:03 +01:00
Darold Gilles dfa1b3097a Fix parser issue when squid logformat has additional field at end. Thanks to nuxsmin for the patch. 2013-01-10 09:48:25 +01:00
Darold Gilles 0dc0e7a5f6 Add pie chart on Mime type statistics. 2012-12-26 18:11:52 +01:00
Darold Gilles 50e693b167 Force left alignment on largest Url column. 2012-12-26 17:30:03 +01:00
Darold Gilles 2130e3bee6 Add Locale configuration directive to set the locale when retrieving date from system. Thanks to Klaus Tachtler for the suggestion. 2012-12-24 12:52:42 +01:00
Darold Gilles 348b265b14 Fix missing Up link translation and some German translation. Thanks to Klaus Tachtler for the patch. 2012-12-24 12:34:46 +01:00
Darold 22886a423b Add MinPie configuration directive to set the percentage of pie graph data which under item will be stored in others label 2012-12-20 20:16:20 +01:00
Darold f139e78a94 Fix HTML code in user and url reports. Thanks to Nathanael Bonin for the patch. 2012-12-20 19:26:07 +01:00
Darold 377c02aafb Remove percentage column and store the percent information directly in the column between parenthesis. Thanks for Nathanael Bonin for the patch. 2012-12-16 17:23:25 +01:00
Darold 0e34cb888a Add missing class CSS style to user graphs table. Thanks to Nathanael Bonin for the report. 2012-12-16 16:34:30 +01:00
Darold Gilles 0f7016bba5 Add note "Click on year statistics link for details" to the main page. 2012-12-11 14:03:11 +01:00
Darold Gilles 78432d6e9b Fix 3 letter month date format. 2012-12-10 22:50:36 +01:00
Darold Gilles 6e1a88a214 Removed all absolete code related to FooterFile and HeaderFile. 2012-12-10 22:30:39 +01:00
Darold Gilles 661ab48324 Add TransfertUnit configuration directive to change default Bytes transfert unit. Possible values are BYTES, KB, MB and GB. Thanks to Nathanael Bonin for the feature request. 2012-12-10 21:59:38 +01:00
Darold Gilles 7b2d469609 Fix date encoding with call to date+iconv or fallback to strftime(). 2012-12-10 17:46:17 +01:00
Darold Gilles 5beef120ee Fix sorttalbe with missing tbody tag. Thanks to Nathanael Bonin for the patch. 2012-12-10 17:22:46 +01:00
Darold Gilles ef0768e332 Remove ytitle from pie graphs. 2012-12-10 16:25:56 +01:00