]> git.ipfire.org Git - thirdparty/sarg.git/log
thirdparty/sarg.git
14 years agoFix a regression to accept any directory name length in the index
Frédéric Marchal [Wed, 19 May 2010 19:18:03 +0000 (19:18 +0000)] 
Fix a regression to accept any directory name length in the index

14 years agoChange default graph type to byte instead of elap
Frédéric Marchal [Wed, 19 May 2010 19:08:51 +0000 (19:08 +0000)] 
Change default graph type to byte instead of elap

14 years agoOutput both date/time textual reports.
Frédéric Marchal [Tue, 18 May 2010 20:46:56 +0000 (20:46 +0000)] 
Output both date/time textual reports.
Sarg log file stores the date as dd/mm/yyyy and doesn't change it depending on the current date representation selected in sarg.conf.
Intermediary log files store the date as dd/mm/yyyy irrespective of the current date representation in sarg.conf.

14 years agoUse constants in the plotting of the logarithmic scale
Frédéric Marchal [Tue, 18 May 2010 08:33:14 +0000 (08:33 +0000)] 
Use constants in the plotting of the logarithmic scale

14 years agoFix the scale of the Y axis on the graph
Frédéric Marchal [Tue, 18 May 2010 07:58:09 +0000 (07:58 +0000)] 
Fix the scale of the Y axis on the graph

14 years agoFix the creation of a report for only one user with command line option -u
Frédéric Marchal [Tue, 18 May 2010 07:12:48 +0000 (07:12 +0000)] 
Fix the creation of a report for only one user with command line option -u

14 years agoFix the graph plotting to use a computed logarithmic scale when plotting bytes.
Frédéric Marchal [Mon, 17 May 2010 21:02:54 +0000 (21:02 +0000)] 
Fix the graph plotting to use a computed logarithmic scale when plotting bytes.
Show the time when plotting the elapsed time.

14 years agoUse a boolean instead of a string compare
Frédéric Marchal [Wed, 12 May 2010 21:35:35 +0000 (21:35 +0000)] 
Use a boolean instead of a string compare

14 years agoUse a lower case message and avoid the extra processing
Frédéric Marchal [Wed, 12 May 2010 21:34:38 +0000 (21:34 +0000)] 
Use a lower case message and avoid the extra processing

14 years agoList the source of the redirection rule in a squidGuard log
Frédéric Marchal [Tue, 11 May 2010 08:26:17 +0000 (08:26 +0000)] 
List the source of the redirection rule in a squidGuard log

14 years agoFix a translation error
Frédéric Marchal [Tue, 11 May 2010 08:16:58 +0000 (08:16 +0000)] 
Fix a translation error

14 years agoAllow only one graph type at a time for now
Frédéric Marchal [Tue, 11 May 2010 08:16:30 +0000 (08:16 +0000)] 
Allow only one graph type at a time for now

14 years agoAccept the old option squidguard_log_format but display a warning if it is used.
Frédéric Marchal [Tue, 11 May 2010 07:00:43 +0000 (07:00 +0000)] 
Accept the old option squidguard_log_format but display a warning if it is used.
Replace squidguard_ignore_date by redirector_ignore_date but keep the old option with a warning.

14 years agoFix the validation of the sarg log file name.
Frédéric Marchal [Mon, 10 May 2010 12:12:26 +0000 (12:12 +0000)] 
Fix the validation of the sarg log file name.
Read a compressed log file through a pipe.

14 years agoFix a regression when processing an input log not in the squid format (the date was...
Frédéric Marchal [Mon, 10 May 2010 08:13:09 +0000 (08:13 +0000)] 
Fix a regression when processing an input log not in the squid format (the date was not written into the intermediary logs).
Check more return code when writing files.
Use a boolean to select the content of the graph instead of a string (the two possible values are not mutually exclusive on purpose).

14 years agoUse parameteric dimensions in the graph creation instead of hard coded constants.
Frédéric Marchal [Sun, 9 May 2010 16:00:59 +0000 (16:00 +0000)] 
Use parameteric dimensions in the graph creation instead of hard coded constants.
Remove the temporary file and sorting in graph creation.
Add the redirector_log option in sarg.conf to read a log file created by squidGuard or Rejik (thanks to Maxim Britov for pointing out this missing option).
Allow up to 64 redirector log files to be passed through the command line option -L and the sarg.conf option redirector_log.
Configuration option squidguard_log_format renamed into redirector_log_format for equity with the various redirectors that can be used with sarg.

14 years agoTake the length of the label in the locale language into account when placing it...
Frédéric Marchal [Fri, 7 May 2010 21:40:33 +0000 (21:40 +0000)] 
Take the length of the label in the locale language into account when placing it on the graph

14 years agoUpdate the messages
Frédéric Marchal [Fri, 7 May 2010 09:24:10 +0000 (09:24 +0000)] 
Update the messages

14 years agoTest some more write errors.
Frédéric Marchal [Fri, 7 May 2010 09:18:28 +0000 (09:18 +0000)] 
Test some more write errors.
Avoid a couple of close/open on the same file.
Purge sarg-general when the program exits.

14 years agoReview the creation of a file name from the URL to avoid any possible unsafe character
Frédéric Marchal [Fri, 7 May 2010 07:59:26 +0000 (07:59 +0000)] 
Review the creation of a file name from the URL to avoid any possible unsafe character

14 years agoStrengthen the making of the report file name to drastically limit the characters...
Frédéric Marchal [Fri, 7 May 2010 07:13:58 +0000 (07:13 +0000)] 
Strengthen the making of the report file name to drastically limit the characters from the user ID that can appear in the file name. The presence of an unescaped backquote in the user ID would execute the rest of the name as a shell command (fixes bug #2997707 reported by anonymous).

14 years agoAdd clever date ranges specification to command line option -d
Frédéric Marchal [Mon, 3 May 2010 20:09:11 +0000 (20:09 +0000)] 
Add clever date ranges specification to command line option -d

14 years agoChange the version date
Frédéric Marchal [Mon, 3 May 2010 10:27:04 +0000 (10:27 +0000)] 
Change the version date

14 years agoCompute the size of the excluded codes file instead of always allocating 1024 bytes.
Frédéric Marchal [Mon, 3 May 2010 10:25:43 +0000 (10:25 +0000)] 
Compute the size of the excluded codes file instead of always allocating 1024 bytes.
Check the return codes when moving the file pointers to compute the file size.

14 years agoExtend the comment to describe the content of the file
Frédéric Marchal [Mon, 3 May 2010 10:19:29 +0000 (10:19 +0000)] 
Extend the comment to describe the content of the file

14 years agoIgnore comments in exclude_code file
Frédéric Marchal [Mon, 3 May 2010 09:51:28 +0000 (09:51 +0000)] 
Ignore comments in exclude_code file

14 years agoFix the exclusion of status codes to exclude more than one code
Frédéric Marchal [Mon, 3 May 2010 09:38:04 +0000 (09:38 +0000)] 
Fix the exclusion of status codes to exclude more than one code

14 years agoAdd a Makefile rule to fetch the po files from translationproject.org
Frédéric Marchal [Mon, 26 Apr 2010 10:55:16 +0000 (10:55 +0000)] 
Add a Makefile rule to fetch the po files from translationproject.org

14 years agoLanguage updated by Juris Valdovskis
Frédéric Marchal [Mon, 26 Apr 2010 10:54:16 +0000 (10:54 +0000)] 
Language updated by Juris Valdovskis

14 years agoIgnore input log files too old to contain any entry to process
Frédéric Marchal [Tue, 13 Apr 2010 09:43:19 +0000 (09:43 +0000)] 
Ignore input log files too old to contain any entry to process

14 years agoThe date range passed as argument is not restricted to the actual range covered by...
Frédéric Marchal [Tue, 13 Apr 2010 09:17:49 +0000 (09:17 +0000)] 
The date range passed as argument is not restricted to the actual range covered by the log files

14 years agoUse the word "Redirector" instead of squidGuard in the report as other redirectors...
Frédéric Marchal [Mon, 12 Apr 2010 13:28:30 +0000 (13:28 +0000)] 
Use the word "Redirector" instead of squidGuard in the report as other redirectors may be compatible with sarg.
Display the correct user id and ip in the redirector report.
Reduce the number of ip resolution when computing the redirector report.

14 years agoKeep only UserIp at the global scope and remove global userip
Frédéric Marchal [Mon, 12 Apr 2010 13:25:21 +0000 (13:25 +0000)] 
Keep only UserIp at the global scope and remove global userip

14 years agoUse some boolean variables
Frédéric Marchal [Mon, 12 Apr 2010 13:22:14 +0000 (13:22 +0000)] 
Use some boolean variables

14 years agoClarify an entry of the report's menu
Frédéric Marchal [Mon, 12 Apr 2010 09:15:13 +0000 (09:15 +0000)] 
Clarify an entry of the report's menu

14 years agoCorrect a translation
Frédéric Marchal [Tue, 6 Apr 2010 08:02:17 +0000 (08:02 +0000)] 
Correct a translation

14 years agoRemove the line number from a message
Frédéric Marchal [Tue, 6 Apr 2010 07:49:58 +0000 (07:49 +0000)] 
Remove the line number from a message

14 years agoMake the reports title consistent
Frédéric Marchal [Tue, 6 Apr 2010 07:40:44 +0000 (07:40 +0000)] 
Make the reports title consistent

14 years agoOutput the period as an HTML text in the HTML reports
Frédéric Marchal [Mon, 5 Apr 2010 05:48:25 +0000 (05:48 +0000)] 
Output the period as an HTML text in the HTML reports

14 years agoAdd a Makefile rule to depend on the change of the include files
Frédéric Marchal [Sun, 4 Apr 2010 07:26:47 +0000 (07:26 +0000)] 
Add a Makefile rule to depend on the change of the include files

14 years agoChange a couple of messages and translates the missing messages into French
Frédéric Marchal [Fri, 2 Apr 2010 20:01:33 +0000 (20:01 +0000)] 
Change a couple of messages and translates the missing messages into French

14 years agoStore the period internaly and get rid of the sarg-period file.
Frédéric Marchal [Fri, 2 Apr 2010 19:53:06 +0000 (19:53 +0000)] 
Store the period internaly and get rid of the sarg-period file.
Display the period using the locale's month name in the HTML files.
Check the correct writing of the HTML files (thanks to Markus Elfring).

14 years agoUpdate the README file, especially the translations
Frédéric Marchal [Wed, 31 Mar 2010 12:45:52 +0000 (12:45 +0000)] 
Update the README file, especially the translations

14 years agoFix more text messages
Frédéric Marchal [Tue, 30 Mar 2010 14:42:17 +0000 (14:42 +0000)] 
Fix more text messages

14 years agoChange the version number of the release candidate to conform to the numbering of...
Frédéric Marchal [Tue, 30 Mar 2010 07:18:19 +0000 (07:18 +0000)] 
Change the version number of the release candidate to conform to the numbering of the translation project

14 years agoList the change of r306 in the ChangeLog (accept spaces in usertab)
Frédéric Marchal [Mon, 29 Mar 2010 13:53:36 +0000 (13:53 +0000)] 
List the change of r306 in the ChangeLog (accept spaces in usertab)

14 years agoAccept spaces in the replacement label of the usertab file
Frédéric Marchal [Mon, 29 Mar 2010 13:51:03 +0000 (13:51 +0000)] 
Accept spaces in the replacement label of the usertab file

14 years agoFix a couple of messages
Frédéric Marchal [Thu, 25 Mar 2010 10:32:48 +0000 (10:32 +0000)] 
Fix a couple of messages

14 years agoCheck the return code of every opendir.
Frédéric Marchal [Sat, 20 Mar 2010 18:43:55 +0000 (18:43 +0000)] 
Check the return code of every opendir.
Secure the writing of the sarg-period file.

14 years agoSpeed up a bit the reading of the files
Frédéric Marchal [Sat, 20 Mar 2010 18:08:25 +0000 (18:08 +0000)] 
Speed up a bit the reading of the files

14 years agoApply a few more recommandation from splint
Frédéric Marchal [Thu, 18 Mar 2010 14:41:25 +0000 (14:41 +0000)] 
Apply a few more recommandation from splint

14 years agoUpdate the message to translate
Frédéric Marchal [Wed, 17 Mar 2010 19:25:12 +0000 (19:25 +0000)] 
Update the message to translate

14 years agoMimic an opaque object to read long lines
Frédéric Marchal [Wed, 17 Mar 2010 19:11:02 +0000 (19:11 +0000)] 
Mimic an opaque object to read long lines

14 years agoMove longline module to a separate file
Frédéric Marchal [Wed, 17 Mar 2010 13:29:48 +0000 (13:29 +0000)] 
Move longline module to a separate file

14 years agoDisable __attribute__ for non gnu compiler
Frédéric Marchal [Wed, 17 Mar 2010 12:53:12 +0000 (12:53 +0000)] 
Disable __attribute__ for non gnu compiler

14 years agoBe sure no return codes from getword and friends are ignored (thanks to Markus Elfring)
Frédéric Marchal [Wed, 17 Mar 2010 12:01:29 +0000 (12:01 +0000)] 
Be sure no return codes from getword and friends are ignored (thanks to Markus Elfring)

14 years agoGive a try to splint and apply a few of the recommandations
Frédéric Marchal [Wed, 17 Mar 2010 08:54:14 +0000 (08:54 +0000)] 
Give a try to splint and apply a few of the recommandations

14 years agoRemove the u_long that may be incompatible with mini mac
Frédéric Marchal [Tue, 16 Mar 2010 10:05:26 +0000 (10:05 +0000)] 
Remove the u_long that may be incompatible with mini mac

14 years agoMessages ported to gettext. Only French translation exists
Frédéric Marchal [Sun, 14 Mar 2010 16:10:24 +0000 (16:10 +0000)] 
Messages ported to gettext. Only French translation exists

14 years agoMore messages to translate
Frédéric Marchal [Fri, 12 Mar 2010 20:05:57 +0000 (20:05 +0000)] 
More messages to translate

14 years agoFix more messages to translate
Frédéric Marchal [Fri, 12 Mar 2010 13:47:52 +0000 (13:47 +0000)] 
Fix more messages to translate

14 years agoAdd more messages to be translated and fix some difficult to translate messages
Frédéric Marchal [Fri, 12 Mar 2010 12:36:21 +0000 (12:36 +0000)] 
Add more messages to be translated and fix some difficult to translate messages

14 years agoupdate the documentation
Frédéric Marchal [Fri, 12 Mar 2010 08:10:26 +0000 (08:10 +0000)] 
update the documentation

14 years agoBuild the .htaccess of each report out of a template file.
Frédéric Marchal [Thu, 11 Mar 2010 19:54:17 +0000 (19:54 +0000)] 
Build the .htaccess of each report out of a template file.
That change required to rename the global dirname variable as outdirname.
Some more error  messages are translated.

14 years agoMore translations for gettext.
Frédéric Marchal [Wed, 10 Mar 2010 19:48:52 +0000 (19:48 +0000)] 
More translations for gettext.
The filtering by week day or hour now works for any input log format and not only for a common squid log file.

14 years agoUpdate the ChangeLog
Frédéric Marchal [Tue, 9 Mar 2010 18:53:54 +0000 (18:53 +0000)] 
Update the ChangeLog

14 years agoAppend \n at the end of every debuga
Frédéric Marchal [Mon, 8 Mar 2010 19:53:41 +0000 (19:53 +0000)] 
Append \n at the end of every debuga

14 years agoFix the creation of the datafile
Frédéric Marchal [Mon, 8 Mar 2010 14:09:54 +0000 (14:09 +0000)] 
Fix the creation of the datafile

14 years agoCan resolve IPv6 addresses
Frédéric Marchal [Mon, 8 Mar 2010 11:34:56 +0000 (11:34 +0000)] 
Can resolve IPv6 addresses

14 years agoFix typo and add CR at the end of debuga
Frédéric Marchal [Mon, 8 Mar 2010 08:00:48 +0000 (08:00 +0000)] 
Fix typo and add CR at the end of debuga

14 years agoPropose more messages for translation
Frédéric Marchal [Fri, 5 Mar 2010 20:49:01 +0000 (20:49 +0000)] 
Propose more messages for translation

14 years agoFix encoding problem in gettext translated strings
Frédéric Marchal [Fri, 5 Mar 2010 20:11:26 +0000 (20:11 +0000)] 
Fix encoding problem in gettext translated strings

14 years agoMore debug to use gettext
Frédéric Marchal [Fri, 5 Mar 2010 15:37:30 +0000 (15:37 +0000)] 
More debug to use gettext

14 years agoRemove the configuration and installation of the old language files.
Frédéric Marchal [Fri, 5 Mar 2010 14:03:28 +0000 (14:03 +0000)] 
Remove the configuration and installation of the old language files.
Make the installation of the po files functional.

14 years agoInitialize the required informations in the header
Frédéric Marchal [Fri, 5 Mar 2010 13:59:55 +0000 (13:59 +0000)] 
Initialize the required informations in the header

14 years agoReplace the tokens by their proper value in the header
Frédéric Marchal [Fri, 5 Mar 2010 13:58:07 +0000 (13:58 +0000)] 
Replace the tokens by their proper value in the header

14 years agoValidate the messages by translating them into French
Frédéric Marchal [Thu, 4 Mar 2010 21:02:00 +0000 (21:02 +0000)] 
Validate the messages by translating them into French

14 years agoPort the old language files to gettext
Frédéric Marchal [Thu, 4 Mar 2010 20:22:51 +0000 (20:22 +0000)] 
Port the old language files to gettext

14 years agoAutomated replacement of the translated strings by a gettext macro
Frédéric Marchal [Wed, 3 Mar 2010 19:49:27 +0000 (19:49 +0000)] 
Automated replacement of the translated strings by a gettext macro

14 years agoUse a substitution to maintain only one list of files to process
Frédéric Marchal [Wed, 3 Mar 2010 19:41:22 +0000 (19:41 +0000)] 
Use a substitution to maintain only one list of files to process

14 years agoFix problem in parsing of the header of an ISA log
Frédéric Marchal [Tue, 2 Mar 2010 13:49:32 +0000 (13:49 +0000)] 
Fix problem in parsing of the header of an ISA log

14 years agoDisplay the http protocol in the reported address
Frédéric Marchal [Tue, 2 Mar 2010 12:44:29 +0000 (12:44 +0000)] 
Display the http protocol in the reported address

14 years agoEarly rejection of an access.log line outside of the requested date range
Frédéric Marchal [Tue, 2 Mar 2010 12:10:39 +0000 (12:10 +0000)] 
Early rejection of an access.log line outside of the requested date range

14 years agoFix regression showing empty columns in the index
Frédéric Marchal [Tue, 2 Mar 2010 12:09:38 +0000 (12:09 +0000)] 
Fix regression showing empty columns in the index

14 years agoSmall optimizations to mitigate the 10% slow down observed while reading the access...
Frédéric Marchal [Tue, 2 Mar 2010 11:39:40 +0000 (11:39 +0000)] 
Small optimizations to mitigate the 10% slow down observed while reading the access.log file

14 years agoDon't mention -Wno-unused-parameter if -Wextra is unavailable
Frédéric Marchal [Tue, 2 Mar 2010 10:37:46 +0000 (10:37 +0000)] 
Don't mention -Wno-unused-parameter if -Wextra is unavailable

14 years agoContinue the replacement of the user info and the translation of the error messages
Frédéric Marchal [Tue, 2 Mar 2010 09:51:45 +0000 (09:51 +0000)] 
Continue the replacement of the user info and the translation of the error messages

14 years agoKeep the user name intact in the report.
Frédéric Marchal [Mon, 1 Mar 2010 21:01:32 +0000 (21:01 +0000)] 
Keep the user name intact in the report.
Speed up the processing of the access.log by keeping more temporary files open.
Replace more gettext macros.
Reduce the number of IP addresses resolutions.

14 years agoRemove string copies and protect against possible buffer overflow
Frédéric Marchal [Mon, 1 Mar 2010 11:29:18 +0000 (11:29 +0000)] 
Remove string copies and protect against possible buffer overflow

14 years agoUse one function to parse the lines from sarg-general instead of multiple codes scatt...
Frédéric Marchal [Sat, 20 Feb 2010 16:15:58 +0000 (16:15 +0000)] 
Use one function to parse the lines from sarg-general instead of multiple codes scattered around the program.
Remove a few unused global variables.

14 years agoTest for the availability of -Wextra not understood by gcc 3.3
Frédéric Marchal [Thu, 18 Feb 2010 08:03:22 +0000 (08:03 +0000)] 
Test for the availability of -Wextra not understood by gcc 3.3

14 years agoDisable the use of missing LC_MESSAGES under mingw
Frédéric Marchal [Wed, 17 Feb 2010 14:40:45 +0000 (14:40 +0000)] 
Disable the use of missing LC_MESSAGES under mingw

14 years agoClose a memory leak without any consequences
Frédéric Marchal [Mon, 15 Feb 2010 15:30:16 +0000 (15:30 +0000)] 
Close a memory leak without any consequences

14 years agoRemove the invalid nospaw attribute from html output
Frédéric Marchal [Mon, 15 Feb 2010 14:03:18 +0000 (14:03 +0000)] 
Remove the invalid nospaw attribute from html output

14 years agoRemove supernumerary %s in output
Frédéric Marchal [Mon, 15 Feb 2010 14:01:57 +0000 (14:01 +0000)] 
Remove supernumerary %s in output

14 years agoSome lines were skipped when reading a file with longline_read
Frédéric Marchal [Mon, 15 Feb 2010 13:47:50 +0000 (13:47 +0000)] 
Some lines were skipped when reading a file with longline_read

14 years agoProperly adjust the links on the top users report page
Frédéric Marchal [Mon, 15 Feb 2010 13:46:24 +0000 (13:46 +0000)] 
Properly adjust the links on the top users report page

14 years agoFix wrong detection of smartfilter
Frédéric Marchal [Mon, 15 Feb 2010 13:44:26 +0000 (13:44 +0000)] 
Fix wrong detection of smartfilter

14 years agoTrivial changes made while ensuring the reports are complete and accurate
Frédéric Marchal [Mon, 15 Feb 2010 10:09:04 +0000 (10:09 +0000)] 
Trivial changes made while ensuring the reports are complete and accurate

14 years agoRemove any limit on the maximum URL length (bugs remain)
Frédéric Marchal [Sun, 14 Feb 2010 14:38:42 +0000 (14:38 +0000)] 
Remove any limit on the maximum URL length (bugs remain)