Commit Graph

117 Commits

Author SHA1 Message Date
Darold Gilles f4e9b65acc Add missing description of --no-year-stat option to documentation and squid-analyzer usage. 2013-09-01 21:42:33 +02:00
Darold Gilles 9619067c3e Update Changelog and version to 5.2 2013-09-01 21:30:19 +02:00
Darold Gilles bded7721e9 Fix pod2man error with perl 5.18 about non-ascii character. Thanks to David Walser for the report. 2013-09-01 20:53:39 +02:00
Darold Gilles 7ad2bb51cd Skip some code when --no-year-stat is enabled. 2013-06-02 11:05:04 +02:00
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 5bc0268ce7 Fix issue where squid-analyzer use default configuration file even if a custom one is specified with the -c option. Thanks to Thibaud Aubert for the report. 2013-05-29 16:27:56 +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 c3ce63eed8 Fix translation for user and count. 2013-05-27 22:27:59 +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 33700abc47 Add translation string for user per url. 2013-05-26 22:46:32 +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 81a47a0da6 Fix install of configuration files. Thanks to David Wasler for the patch. 2013-02-03 15:27:24 +01:00
Darold Gilles dd54861370 Update ChangeLog with release informations. 2013-01-30 09:24:33 +01:00
Darold Gilles 83f0e31cea Update ChangeLog and upgrade version to 5.1. 2013-01-30 00:19:44 +01:00
Darold Gilles f9f6e71b1d Add usage information into documentation. 2013-01-30 00:06:48 +01:00
Darold Gilles a278d2ad84 Update INSTALL file about FreeBSD issue. 2013-01-29 23:54:42 +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 081f39bb74 Add -p | --preserve option to allow automatic removing of obsolete statistics. For example if it set to 6 all data and html statistics older than 6 month will be removed from filesystem. Thanks to ammdispose for the feature request. 2013-01-29 12:19:07 +01:00
Darold Gilles da27e2d2d6 Update year part of copyright 2013-01-29 09:49:51 +01:00
Darold Gilles 3fbb04b19d Update ChangeLog 2013-01-28 23:14:34 +01:00
Darold Gilles 9255a89b74 Fix documentation about OrderUrl that is limited to User detailed Urls reports, not Top Url and Top domain. 2013-01-28 21:19:28 +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 e8ea6b0d48 Update sorttable.js to allow sort on page load using the new sorttable.innerSortFunction(). 2013-01-28 19:05:10 +01:00
Darold Gilles a0ebc62ab4 Add documentation about FreeBSD install to avoid issue: FreeBSD: Cannot determine short module description 2013-01-28 18:27:07 +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