Commit Graph

106 Commits

Author SHA1 Message Date
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
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 13a9bb3cbe Fix typo in fr_FR.txt lang file. THnaks to Nathanael Bonin for the patch. 2012-12-20 19:25:19 +01:00
Darold a62f6a7f97 Replace .orig extension on configuration files by .sample. Thanks to David Walser for the report. 2012-12-16 17:33:24 +01:00
Darold 1b96c2a2e4 Update squidanalyzer.spec for RPM build. Thanks to David Walser for the patch. 2012-12-16 17:31:59 +01:00
Darold 99d2f6f5f0 Modify sorttable.js to be able to sort column with both value and percentage as numeric. 2012-12-16 17:24:07 +01:00