126 Commits

Author SHA1 Message Date
Darold Gilles
4a294ee7f1 Update ChangeLog and version to 6.0 2014-08-30 22:08:44 +02:00
Darold Gilles
3edeb5ef12 Fix parsing of unordered miltiples log files. 2014-08-28 18:50:36 +02:00
Darold Gilles
cf0767f80a Fix week reports in multiprocess mode. 2014-08-27 19:24:14 +02:00
Darold Gilles
20caf824c7 Improve multiprocess and allow multiple log files to be given at command line arguments. 2014-08-26 23:59:07 +02:00
Darold Gilles
c13bf6a642 Add support to parse multiple access log file at a time. Fix infinite waiting of child when multiprocess is not used. 2014-08-15 18:29:35 +02:00
Darold Gilles
fea09d9625 Add multiprocess support to SquidAnalyzer. This can improve a lot speed performances. See notes at bottom of issue #18 for more details. Great thanks to Francisco Rodriguez for his help. 2014-08-14 22:06:22 +02:00
Darold Gilles
5e23057a7a Prevent HTML to be rebuilt when there is no new log entry. 2014-08-11 15:42:32 +02:00
Darold Gilles
4a1ff75a35 Add some other minor speed improvement. 2014-08-10 16:40:52 +02:00
Darold Gilles
77eb7936d9 Removed call to tell, we were spending too much time in this method unnecessary. 2014-08-10 16:07:22 +02:00
Darold Gilles
593c4a1f78 Fix reports with --no-year-stat. It now reports cache stat only in year and month view instead of empty page. 2014-08-10 13:44:45 +02:00
Darold Gilles
5ad6a64e4a Do some speed improvement and remove intermediate build of week reports. 2014-08-10 10:26:42 +02:00
Darold Gilles
b434305230 Fix Mime-Type transferts chart title to reflet the unit used: MBytes. Thanks to IMiGS for the report. 2014-08-08 21:37:14 +02:00
Darold Gilles
d23faf66b0 Fix case where days in calendar does not appear when DateFormat was changed. Thanks to joseh-henrique for the report. 2014-08-02 14:56:01 +02:00
Darold Gilles
5471d587d7 Fix missing cleaning of pid file when error occurs during configuration reading. 2014-08-02 14:36:49 +02:00
Darold Gilles
ac8edeaee5 Automatically remove \r when reading configuration file. 2014-08-02 14:03:21 +02:00
Darold Gilles
97d301620d Improve incremental mode by seeking directly to last position in logfile. 2014-07-11 15:07:48 +02:00
Darold Gilles
5309d93908 Fix issue on calendar when days of a month are over 6 week. Thanks to Michael Gauthier for the report. 2014-07-10 07:15:49 +02:00
Darold Gilles
2e34d59037 Fix weeks graph when a week overlaps over 2 months. 2014-06-05 23:25:05 +02:00
Darold Gilles
69b93723cb Fix bug on calendar with weeks. 2014-06-03 21:44:27 +02:00
Darold Gilles
d61c84575c Force removing of pid file after die of the process. Thanks to Klaus Tachtler for the report. 2014-05-19 13:39:39 +02:00
Darold Gilles
ce266f4484 Add ExcludedMimes configuration directive to allow exclusion fron statistics of a comma separated list of mimetype fullname or using regex like text/.*. Thanks to Ajayaks for the feature request. 2014-05-15 19:54:15 +02:00
Darold Gilles
ddf635ca17 Add ExcludedMethods configuration directive to allow exclusion fron statistics of a comma separated list of HTTP methods. Thanks to Ajayaks for the feature request. 2014-05-15 19:34:12 +02:00
Darold Gilles
898ce22b3a Fix error when rebuilding with old data repository that does not have week view repository. Week directory are now create with empty html reports. Thanks to Adam Ciarcinski for the report. 2014-05-15 19:06:16 +02:00
Darold Gilles
cda8c6b10f Fix error when rebuilding with old data repository that does not have week view repository. Week directory are now create with empty html reports. Thanks to Adam Ciarcinski for the report. 2014-05-15 18:50:18 +02:00
Darold Gilles
80b765ce74 Update ChangeLog and version to 5.4 2014-05-04 19:09:34 +02:00
Darold Gilles
b3ff727a55 Add CustomHeader to allow custom definition of the logo and title. See squidanalyzer.conf or documentation for more explanation and example. Thanks to Raktim Chatterjee. 2014-03-15 18:22:37 +01:00
Darold Gilles
0b6d1bc80d Prevents the script to run multiple instances using a pid file. This patch adds a new command line option -P to change the default pid file (/tmp/squid-analyzer.pid). Thanks to Gaetan Slongo for the patch. 2014-02-28 15:45:41 +01:00
Darold Gilles
adbc23a034 Remove \r or ^M when reading teranslation files. Thanks to Filipe Teixeira for the report. 2014-02-05 17:17:01 +01:00
Darold Gilles
a8d5a58277 Add new weekly reports. Thanks to Amish for the feature reports. 2014-02-02 17:26:05 +01:00
Darold Gilles
eebcf06dc5 Add build and storage of weekly statistics. 2014-01-31 18:22:07 +01:00
Darold Gilles
00ddef5bd0 Remove link on week, the week view is not available yet. 2014-01-31 16:39:33 +01:00
Darold Gilles
d3097ffa82 Add week day and week number to the calendar. 2014-01-31 16:31:49 +01:00
Darold Gilles
cbc7b1bb4a Fix bug where statistics from the last parsed day was count twice in months and years statisics. 2014-01-31 11:42:40 +01:00
Darold Gilles
e334911eea Add file etc/included to limit entries to the matching users, networks or ip address. Thanks to giovanniredix for the feature request. 2014-01-31 10:59:14 +01:00
Darold Gilles
06cdeaa3d1 Show values of all dataset when mouse is over graph. 2014-01-31 10:16:23 +01:00
Darold Gilles
86669adc45 Update flotr2 to most recent version. Replace bars in graphs with line to have mouse tracking on each dataset. Change line graphs colors and reformat label shown on mouse over graph data. 2013-12-23 23:24:04 +01:00
Darold Gilles
1f354bd4bb Add TCP DENIED report in cache statistics. Thanks to Karl Dawkins for the feature request. 2013-12-23 21:17:03 +01:00
Darold Gilles
328760ad41 Add ordering of pie legend following percentage. Thanks to Klaus Tachtler for the report. 2013-12-07 10:46:28 +01:00
Darold Gilles
2982b80964 Change trackFormatter so that mouse over the pie-chart color shows the domain/TLD name also with the value. Thanks to Jeetendra Poojari for the patch. 2013-12-02 19:15:01 +01:00
Darold Gilles
78f4e4af72 Fix some more issue on top second level report. 2013-12-01 17:09:40 +01:00
Darold Gilles
b1810b233b Set default timeout for DNS lookup to 100ms, default value for DNSLookupTimeout is now 0.0001 second. 2013-12-01 16:22:46 +01:00
Darold Gilles
c6163b817a Update version to 5.3 2013-12-01 11:43:53 +01:00
Darold Gilles
93d37d40fc Update and fix first and second top level domain name. Thanks to Luis Armando Roca Fumero for the report. 2013-12-01 11:39:31 +01:00
Darold Gilles
c8f5bbe5bc Fix dirty paste in code. 2013-11-30 19:14:19 +01:00
Darold Gilles
39051280a8 Add new directive DNSLookupTimeout to change the default timeout for DNS lookup. Add one second timeout when SquidAnalyzer look for an DNS name. Thanks to alex for the patch. 2013-11-26 19:42:21 +01:00
Darold Gilles
c81c111cc4 Add pie chart of top second level domains. Thanks to Jeetendra Poojari for the feature request. 2013-11-26 19:05:18 +01:00
Darold Gilles
7c81f640eb Fix some HTML tag issues and table ordering on Top domain hits and Top url hits. Thanks to Jeetendra Poojari for the report. 2013-11-25 21:57:11 +01:00
Darold Gilles
63432e3748 Change underscore used to replace space in username bi the special string _SPC_ so that undescore will not be wrongly replaced on HTML output. 2013-11-03 22:26:02 +01:00
Tim Allingham
65b28c2a62 modified HTML output to replace underscore in Full name with space 2013-10-31 16:58:23 +11:00
Darold Gilles
b0c7bfe690 Allow ip addresses on usernames to be replaced by their DNS name, this feature is activated by a new directive: UseClientDNSName. Thanks to Pfisztner Tamas for the patch. 2013-09-04 21:54:55 +02:00